|
From: | Stuart Hughes |
Subject: | Re: [Ltib] Building ltib fails on Ubuntu 09.10 and 10.04 Beta 1 (because of texinfo) |
Date: | Tue, 30 Mar 2010 11:18:53 +0100 |
User-agent: | Thunderbird 2.0.0.16 (X11/20080707) |
Hi Franz, If you look at your build log it seems that rpm-fs is not actually installed: The Savannah CVS version is okay and has a fix for this. You should be able to fix your Freescale BSP by making sure you have this patch (or equivalent) applied:Build time for rpm-fs: 561 seconds error: cannot open Name index using db3 - No such file or directory (2) error: cannot open Name index using db3 - No such file or directory (2) sudo rpm --root / --dbpath /tmp/rpm-franz/rpmdb -e --allmatches --nodeps --define '_tmppath /home/franz/ltib/tmp' rpm-fs 2>/dev/null sudo rpm --root / --dbpath /tmp/rpm-franz/rpmdb --ignorearch -ivh --force --nodeps --excludedocs --define '_tmppath /home/franz/ltib/tmp' /tmp/rpm-franz/RPMS/i686/rpm-fs-4.0.4-1.i686.rpm rpm: please use alien to install rpm packages on Debian, if you are really sure use --force-debian switch. See README.Debian for more details. sudo /opt/freescale/ltib/usr/bin/rpm --root / --dbpath /opt/freescale/ltib/var/lib/rpm -Uv --justdb --notriggers --noscripts --nodeps /tmp/rpm-franz/RPMS/i686/rpm-fs-4.0.4-1.i686.rpm sudo: /opt/freescale/ltib/usr/bin/rpm: command not found Index: ltib =================================================================== RCS file: /sources/ltib/ltib/ltib,v retrieving revision 1.56 retrieving revision 1.57 diff -u -b -r1.56 -r1.57 --- ltib 11 Nov 2009 16:58:50 -0000 1.56 +++ ltib 1 Dec 2009 10:47:58 -0000 1.57 @@ -2419,8 +2419,10 @@ $cf->{dodrop} = 'no'; $cf->{prefix} = "$cf->{defpfx}/usr"; $cf->{sysconfdir} = "$cf->{defpfx}/etc"; - chomp($cf->{rpmbuild} = `which rpmbuild 2>/dev/null` || "rpm\n"); - $cf->{rpm} = "rpm"; + $hrpm = system('rpm --force-debian 2>/dev/null') == 0 ? + 'rpm --force-debian' : 'rpm'; + chomp($cf->{rpmbuild} = `which rpmbuild 2>/dev/null` || "$hrpm\n"); + $cf->{rpm} = $hrpm; $cf->{tmppath} = $cf->{projtmp}; $cf->{enrootn} = 0;Once you've applied this (or similar). You need to clean up the failed build and re-install: $ sudo rm -rf /tmp/rpm* $ sudo rm -rf /opt/freescale and then try the install from scratch (e.g re-run ./ltib) If that works, please contact Freescale and let them know about this issue and ask them to include a fix (point them at this list if you like). Regards, Stuart Franz Trierweiler wrote: Hi Stuart, Here is the full log, this time. I am going to try the latest CVS and keep you informed. Regards, Franz |
[Prev in Thread] | Current Thread | [Next in Thread] |