ltib
[Top][All Lists]
Advanced

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

[Ltib] Can ltib rpm host package installed in --nodeps way


From: Lv Terry-R65388
Subject: [Ltib] Can ltib rpm host package installed in --nodeps way
Date: Tue, 10 Jan 2012 09:42:48 +0000

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




reply via email to

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