ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ltib] LTIB generated RPM database


From: Kevin Wells
Subject: [Ltib] LTIB generated RPM database
Date: Wed, 14 Jan 2009 18:24:41 +0100

I have a custom built toolchain that has been bundled as an RPM file that I would like LTIB to download and install via GPP.

However, if I use the LTIB generated RPM database (--dbpath /opt/ltib/var/lib/rpm), I get dependency errors on the RPM installation. See below…

address@hidden ltib]$ ./ltib

Installing: tc-nxp-lnx-armvfp-4.3.2-1.i386.rpm

sudo /opt/ltib/usr/bin/rpm --dbpath /opt/ltib/var/lib/rpm -ivh --force --ignorearch /opt/ltib/pkgs/tc-nxp-lnx-armvfp-4.3.2-1.i386.rpm

Failed to install: tc-nxp-lnx-armvfp-4.3.2-1.i386.rpm:

error: failed dependencies:

      libz.so.1   is needed by tc-nxp-lnx-armvfp-4.3.2-1

      rtld(GNU_HASH)   is needed by tc-nxp-lnx-armvfp-4.3.2-1

 

traceback:

 main::check_toolchain_setup:2501

  main::pre_build_checks:1410

   main:549

 

 

Started: Wed Jan 14 09:59:39 2009

Ended:   Wed Jan 14 09:59:41 2009

Elapsed: 2 seconds

 

 

Build Failed

 

Exiting on error or interrupt

address@hidden ltib]$

 

In the ltib file where the toolchain is installed (sub check_toolchain_setup), if I remove the --dbpath line and use my version of rpm (/bin/rpm) and default RPM database, the RPM installs fine.

 

The RPM was built using the same machines RPM database (rpm -ba armtool.spec) as I currently used ltib on. All system updates have been installed via yum. (This toolchain was actually built on this machine too).

 

I've also tried building the RPM using the ltib supplied version of RPM and it's database and it builds into an RPM, but I get RPM installation issues also (although slightly different issues).

                /opt/ltib/var/use/bin/rpmbuild -dbpath /opt/ltib/vat/lib/rpm -ba armtool.spec

 

Will generate errors like…

                libz.so.1 is needed bt tc-x

                linux-gate.so.1 is needed by tc-x

 

I have forced a --m distclean for ltib and tried again, but still get the same dependency issues. Has anyone seen this and have any pointers on how to fix this specific issue?

 

Thanks,

Kevin Wells

NXP


reply via email to

[Prev in Thread] Current Thread [Next in Thread]