[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] Can ltib rpm host package installed in --nodeps way
From: |
Stuart Hughes |
Subject: |
Re: [Ltib] Can ltib rpm host package installed in --nodeps way |
Date: |
Sat, 14 Jan 2012 13:18:44 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 |
Hi Terry,
Normally toolchains are built in a way that minimises their dependencies
so that they may be run on many version/distributions of Linux.
In this case it looks like it's been build with more dependencies.
You can install with nodeps, but it is likely that when you ship it to
other people they won't be able to run the toolchain if it's vintage is
older than the machine that built the toolchain.
Regards, Stuart
On 10/01/12 09:42, Lv Terry-R65388 wrote:
> Hi,
>
> I'm trying to add a new cross-compiler toolchain in ltib.
> The toolchain needs libc6 2.13 and libc6 2.13 is provided itself.
>
> I packed the toolchain to rpm package and tried to run ltib to install
> it.
> I encountered the following errors:
>
> address@hidden:~/toolchain_ltib/ltib$ ./ltib
> Installing: gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1.i386.rpm
> sudo /opt/freescale/ltib/usr/bin/rpm --dbpath /opt/freescale/ltib/var/lib/rpm
> -ivh --force --ignorearch
> /opt/freescale/pkgs/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1.i386.rpm
> Failed to install: gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1.i386.rpm:
> error: failed dependencies:
> libc.so.6(GLIBC_2.0) is needed by
> gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1
> libc.so.6(GLIBC_2.1) is needed by
> gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1
> libc.so.6(GLIBC_2.1.2) is needed by
> gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1
> libc.so.6(GLIBC_2.1.3) is needed by
> gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1
> libc.so.6(GLIBC_2.2) is needed by
> gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1
> libc.so.6(GLIBC_2.3) is needed by
> gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1
> libdl.so.2(GLIBC_2.0) is needed by
> gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1
> libdl.so.2(GLIBC_2.1) is needed by
> gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1
> libm.so.6(GLIBC_2.0) is needed by
> gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1
> libpthread.so.0(GLIBC_2.2) is needed by
> gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1
> libz.so.1 is needed by
> gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1
>
> traceback:
> main::check_toolchain_setup:2552
> main::pre_build_checks:1453
> main:557
>
>
> Started: Tue Jan 10 16:41:03 2012
> Ended: Tue Jan 10 16:41:05 2012
> Elapsed: 2 seconds
>
>
> Build Failed
>
> Exiting on error or interrupt
> address@hidden:~/toolchain_ltib/ltib$
>
> If I install this rpm package manually with --nodeps, it can be
> installed.
>
> address@hidden:~/toolchain_ltib$ sudo rpm -ivh
> gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1.i386.rpm --nodeps
> rpm: RPM should not be used directly install RPM packages, use Alien instead!
> rpm: However assuming you know what you are doing...
> Preparing... ########################################### [100%]
> 1:gcc-linaro-4.6.3-glibc-########################################### [100%]
>
> So my question is: can I install this rpm package in ltib in a implicit
> --nodeps way.
> That is, I can tell ltib to install this package using --nodeps in spec
> or elsewhere, not need to add --nodeps as an option for ./ltib.
>
> Thanks a lot~~
>
> Yours
> Terry
>
>
> _______________________________________________
> LTIB home page: http://ltib.org
>
> Ltib mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/ltib
>