-----Original Message-----
From: Stuart Hughes [mailto:address@hidden
Sent: dinsdag 25 januari 2011 19:38
To: Lambrecht Jürgen
Cc: address@hidden
Subject: Re: [Ltib] error getting 'http://bitshrine.org/gpp//-
4.0.4.tar.gz'
Hi Jurgen,
Just to clarify, what's happening here is that LTIB is parsing the spec
file: dist/lfs-5.1/rpm/rpm-fs.spec
It should match the %defines and use them later to replace references
for things using them. In this case:
%define pkg_name rpm
is not being picked up, which is why you see:
dropping %{pkg_name} in spec token: source
as there is no replacement for the token. The other errors flow from
this.
This area is well tested. So it seems likely that this copy of LTIB is
corrupt in some way, which is why I made the suggestion about Windows.
I sometimes see issues if people have unpacked tarball, or otherwise
copied files across from Windows machines. These at \r before the end
of line, which may confuse the regex matcher on a Unix machine.
Bottom line; check your sources have not got in some way corrupted.
OK. Thanks.
Indeed with WinCVS - will try tomorrow on Linux (just moved away from windows
to linux - only the Exchange-2007 problem to solve).
I also have had some problems with the ntfs partition (containing the data) in
linux.
Kind regards,
Jürgen
Regards, Stuart
On 25/01/11 15:31, Stuart Hughes wrote:
Hi Jurgen,
The latest CVS should be fine and better than 10-1-1a.
What host distro are you trying to run?
Did you pull CVS on a Windows machine? this looks a very strange
error.
Regards, Stuart
On 25/01/11 14:41, Jürgen Lambrecht wrote:
Hello,
I am new to LTIB, and try to compile something with ltib.
I checked out the most recent source code from CVS today, and when
running ./ltib I got an error (written in host_config.log), see
below.
When I take the latest tarball release (ltib-10-1-1a-sv.tar.gz
<http://download.savannah.nongnu.org/releases/ltib/ltib-10-1-1a-
sv.tar.gz>)
and also run ./ltib, it goes ok: I am in the menu now.
Shouldn't I take the latest version from CVS, or only not the very
first
time when installing packages, or is this a bug?
Thanks,
Jürgen Lambrecht
<host_config.log>
Processing platform: host support
===================================
Processing: rpm-fs
====================
dropping %{pkg_name} in spec token: sources
dropping %{pkg_name} in spec token: pkg_dir_name
Build path taken because: no prebuilt rpm,
Testing network connectivity for gpp
OK GPP: is available
Try -4.0.4.tar.gz.md5 from the GPP
http://bitshrine.org/gpp//-4.0.4.tar.gz.md5:
2011-01-25 14:26:48 ERROR 404: Not Found.
Try -4.0.4.tar.gz from the GPP
http://bitshrine.org/gpp//-4.0.4.tar.gz:
2011-01-25 14:26:52 ERROR 404: Not Found.
Can't get: -4.0.4.tar.gz at ./ltib line 802.
Died at ./ltib line 2472.
traceback:
main::check_rpm_setup:2472
main::host_checks:1457
main:548
Started: Tue Jan 25 14:26:47 2011
Ended: Tue Jan 25 14:26:52 2011
Elapsed: 5 seconds
Use of uninitialized value in concatenation (.) or string at ./ltib
line
2792.
Use of uninitialized value in concatenation (.) or string at ./ltib
line
2792.
VERSION : 10.1.1
CVS_VERSION : $Revision: 1.72 $ (Savannah)
PLATFORM : host
GNUTARCH : i686
TOOLCHAIN :
TOOLCHAIN_CFLAGS :
These packages failed to build:
rpm-fs
Build Failed
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib