[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] Failed dependency installing u-boot
From: |
Stuart Hughes |
Subject: |
Re: [Ltib] Failed dependency installing u-boot |
Date: |
Wed, 04 Feb 2009 16:04:56 +0000 |
Hi Peter,
This looks very old to me, so it's hard to help.
It's possible you accidentally packaged some test program that needs
glibc? Try running:
$ rpm -qlp rpm/RPMS/arm/u-boot-1.1.4-1.arm.rpm
I'd only expect to see: u-boot, u-boot.bin
Also try checking to see if there really is a dependency: for the u-boot
I have I see:
rpm -qp rpm/RPMS/ppc/u-boot-1.3.3-1.ppc.rpm --requires
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
If this shows glibc dependencies, you could then do:
$ rpm2cpio rpm/RPMS/arm/u-boot-1.1.4-1.arm.rpm | cpio --extract -d
$ find opt/freescale/rootfs -type f | xargs echo |
/opt/freescale/ltib/usr/lib/rpm/find-requires
If this shows glibc dependencies, you could then take a local copy of
find-requires and modify it to print out the names of the files with the
dependency.
Regards, Stuart
On Wed, 2009-02-04 at 09:13 -0500, Peter Barada wrote:
>
> I created a release .iso from my work, dragged the .iso from my FC6
> machine to a Ubuntu machine (for testing) and installed it. When I
> try "./ltib" to build the world, It fails with:
>
>
> > sudo /opt/freescale/ltib/usr/bin/rpm --dbpath
> > /home/mikee/Projects/OMAP-Linux/Release-1.0.0/ltib-omap3530lv_som-20090202/rpmdb
> > -e --allmatches --nodeps u-boot 2>/dev/null
> > sudo /opt/freescale/ltib/usr/bin/rpm --dbpath
> > /home/mikee/Projects/OMAP-Linux/Release-1.0.0/ltib-omap3530lv_som-20090202/rpmdb
> > --prefix
> > /home/mikee/Projects/OMAP-Linux/Release-1.0.0/ltib-omap3530lv_som-20090202/rootfs
> > --ignorearch -ivh --force --excludedocs
> > /home/mikee/Projects/OMAP-Linux/Release-1.0.0/ltib-omap3530lv_som-20090202/rpm/RPMS/arm/u-boot-1.1.4-1.arm.rpm
> > error: failed dependencies:
> > libc.so.6(GLIBC_2.4) is needed by u-boot-1.1.4-1
> >
> >
> > f_buildrpms() returned an error, exiting
> >
> > Started: Tue Feb 3 21:49:59 2009
> > Ended: Tue Feb 3 21:50:45 2009
> > Elapsed: 46 seconds
> >
> > Build Failed
>
> I'm using the tc-fsl-x86lnx-armeabi-nptl-4.1.1-6.rpm toolchain, and I
> wouldn't expect u-boot to need GLIBC at all since its the bootloader.
> Everything builds fine on my FC6 machine...
>
> Any ideas what's gone wrong?
>
> --
> Peter Barada <address@hidden>
> _______________________________________________
> LTIB home page: http://bitshrine.org
>
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib