Re: [Ltib] Linux Mint 1.6: Can't get: rpm-4.0.4.tar.gz at ./ltib line 83
From:
Stuart Hughes
Subject:
Re: [Ltib] Linux Mint 1.6: Can't get: rpm-4.0.4.tar.gz at ./ltib line 834
Date:
Wed, 10 Oct 2012 16:49:32 +0100
User-agent:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.28) Gecko/20120313 Lightning/1.0b2 Thunderbird/3.1.20
Hi Johan,
Unfortunately the actual names of the packages vary across distros,
so I can't only warn about the generic package name. People will
have to figure out what that actually means on their favourite
distro.
I'm not sure what your git package fail is. Try removing it
completely from /opt/ltib/usr/src/rpm/BUILD/ and re-try. If that
fails you need to look at why the directory bld is empty or
unreadable (as seen in your output):
(cd blt && tar cf - .) |
BTW: please feel free to send patches to improve the project. You
may be the first on Mint (I've never tried).
Regards, Stuart
On 10/10/12 13:36, Johan Cockx wrote:
Hi Stuart,
Thanks for your reply. I'm a few steps further now, but ltib is
not working yet. See below.
The wget command works, and produces exactly the expected
output, so network connectivity seems fine. Also, I know I am
not behing a proxy.
Anyway, I have installed libwww-perl and the initial messages
have disappeared. Also, the rpm-4.0.4.tar.gz error has
disappeared.
The next error was that the 'flex' command was not found, so I
have done `sudo apt-get install flex' as well, and manually
removed /opt/ltib/usr/src/rpm/BUILD/lkc-1.4 before retrying.
Shouldn't a check for flex have been included earlier in the ltib
script?
Anyway, I tried again, and now I get the following error for the
git:
install git
'/home/johan/ltib/tmp/git//opt/freescale/rootfs/x86_64/opt/ltib/usr/bin'
make -C templates
DESTDIR='/home/johan/ltib/tmp/git//opt/freescale/rootfs/x86_64'
install
make[1]: Entering directory
`/opt/ltib/usr/src/rpm/BUILD/git-1.5.6.5/templates'
install -d -m 755
'/home/johan/ltib/tmp/git//opt/freescale/rootfs/x86_64/opt/ltib/usr/share/git-core/templates/'
(cd blt && tar cf - .) | \
(cd
'/home/johan/ltib/tmp/git//opt/freescale/rootfs/x86_64/opt/ltib/usr/share/git-core/templates/'
&& umask 022 && tar xf -)
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
make[1]: *** [install] Error 2
make[1]: Leaving directory
`/opt/ltib/usr/src/rpm/BUILD/git-1.5.6.5/templates'
make: *** [install] Error 2
error: Bad exit status from /home/johan/ltib/tmp/rpm-tmp.53067
(%install)
RPM build errors:
Bad exit status from /home/johan/ltib/tmp/rpm-tmp.53067
(%install)
Build time for git: 43 seconds
Failed building git
Died at ./ltib line 1470.
traceback:
main::build_host_rpms:1470
main::host_checks:1532
main:561
Started: Wed Oct 10 14:28:15 2012
Ended: Wed Oct 10 14:31:39 2012
Elapsed: 204 seconds
As a side note, ltib initially complained about a number of
missing packages, including ncurses-devel and zlib-devel.
However, 'apt-get install ncurses-devel' and 'apt-get install
zlib-devel' cannot find these packages (in the default Mint
repositories). It took me some time to figure out that
libncurses5-dev and zlib1g-dev provide the required
functionality. Would it be a good idea to include this
information in the ltib output, so that other first-time
installers don't loose time?
Regards, Johan
On Wed, Oct 10, 2012 at 11:11 AM, Stuart
Hughes <address@hidden>
wrote:
Hi Johan,
The warnings mean that ltib can't test whether or not
proxies/networking is available.
I suspect from your error: "Can't get: rpm-4.0.4.tar.gz at
./ltib line 834".
you have network connectivity problem.
To check this, on the machine you're running ltib, make sure
you can run:
It should show: b92c46d5add17d6edff235d776cc1af3
rpm-4.0.4.tar.gz
If that doesn't work you don't have Internet access. That
means you may need to configure the .ltibrc if you're behind
a proxy.
Ideally you should install the missing HTTP::Request::Common
and LWP::UserAgent Perl modules, these should be in
libwww-perl, so: sudo apt-get install libwww-perl
Regards, Stuart
On 10/10/12 09:54, Johan Cockx wrote:
Hi,
I'm trying to install ltib on Linux Mint 1.6, but no
succes: the error is "Can't get: rpm-4.0.4.tar.gz at
./ltib line 834".
This is the first time that I am trying to use LTIB. I
did the following:
cvs -z3
-d:pserver:address@hidden:/sources/ltib
co -P ltib
cd ltib
./ltib
Output is:
Don't have
HTTP::Request::Common
Don't have LWP::UserAgent
Cannot test proxies, or remote file availability
without both
HTTP::Request::Common and LWP::UserAgent
Installing host support packages.
This only needs to be done once per host, but may
take up to
an hour to complete ...
If an error occurs, a log file with the full output
may be found in:
/home/johan/ltib/host_config.log
If you would like to see the log messages as the
host packages are built and
installed:
* Open another terminal in the same directory
* Run the command: tail -f host_config.log
* When you're done with the tail, use CTRL+C to
exit
Exiting on error or interrupt
Please see >> /home/johan/ltib/host_config.log
for details
I don't understand the first four lines (about HTTP
and LWP); is this related?
Here are the contents of host_config.log:
Processing platform:
host support
===================================
Processing: rpm-fs
====================
Build path taken because: no prebuilt rpm,
Can't get: rpm-4.0.4.tar.gz at ./ltib line 834.
Died at ./ltib line 2537.
traceback:
main::check_rpm_setup:2537
main::host_checks:1520
main:561
Started: Wed Oct 10 10:38:14 2012
Ended: Wed Oct 10 10:38:14 2012
Elapsed: 0 seconds