On Fri, Feb 3, 2012 at 10:31 PM,
<address@hidden> wrote:
Send Ltib mailing list submissions to
address@hidden
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.nongnu.org/mailman/listinfo/ltib
or, via email, send a message with subject or body 'help' to
address@hidden
You can reach the person managing the list at
address@hidden
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ltib digest..."
Today's Topics:
1. Re: Can ltib rpm host package installed in --nodeps way
(Lv Terry-R65388)
2. Re: Can ltib rpm host package installed in --nodeps way
(Stuart Hughes)
----------------------------------------------------------------------
Message: 1
Date: Fri, 3 Feb 2012 06:40:48 +0000
From: Lv Terry-R65388 <address@hidden>
To: Stuart Hughes <address@hidden>
Cc: "address@hidden" <address@hidden>
Subject: Re: [Ltib] Can ltib rpm host package installed in --nodeps
way
Message-ID:
<address@hidden>
Content-Type: text/plain; charset="gb2312"
Hi Stuart,
I add --nodeps to function check_toolchain_setup() in ltib file for toolchain to install.
my $cmd = "$cf->{sudo} $cf->{rpm} "
. "--dbpath $cf->{defpfx}/var/lib/rpm "
- . "-ivh --force --ignorearch $tc";
+ . "-ivh --force --ignorearch --nodeps $tc";
print "$cmd\n";
The side effect might be that toolchains that need system dependencies may not run.
Will it cause other issues?
Thanks~~
Yours
Terry
-----Original Message-----
From: Stuart Hughes [mailto:address@hidden]
Sent: 2012?1?14? 21:19
To: Lv Terry-R65388
Cc: address@hidden
Subject: Re: [Ltib] Can ltib rpm host package installed in --nodeps way
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.i3
> 86.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
>
------------------------------
Message: 2
Date: Fri, 03 Feb 2012 08:42:04 +0000
From: Stuart Hughes <address@hidden>
To: Lv Terry-R65388 <address@hidden>
Cc: "address@hidden" <address@hidden>
Subject: Re: [Ltib] Can ltib rpm host package installed in --nodeps
way
Message-ID: <address@hidden>
Content-Type: text/plain; charset=GB2312
Hi Terry,
No, I don't think there should be any other side-effects.
Regards, Stuart
On 03/02/12 06:40, Lv Terry-R65388 wrote:
> Hi Stuart,
>
> I add --nodeps to function check_toolchain_setup() in ltib file for toolchain to install.
>
> my $cmd = "$cf->{sudo} $cf->{rpm} "
> . "--dbpath $cf->{defpfx}/var/lib/rpm "
> - . "-ivh --force --ignorearch $tc";
> + . "-ivh --force --ignorearch --nodeps $tc";
> print "$cmd\n";
>
> The side effect might be that toolchains that need system dependencies may not run.
>
> Will it cause other issues?
>
> Thanks~~
>
> Yours
> Terry
>
> -----Original Message-----
> From: Stuart Hughes [mailto:address@hidden]
> Sent: 2012?1?14? 21:19
> To: Lv Terry-R65388
> Cc: address@hidden
> Subject: Re: [Ltib] Can ltib rpm host package installed in --nodeps way
>
> 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.i3
>> 86.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
>>
------------------------------
_______________________________________________
Ltib mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/ltib
End of Ltib Digest, Vol 70, Issue 1
***********************************