Lv Terry-R65388 | 3 Feb 07:40 2012

Re: Can ltib rpm host package installed in --nodeps way

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:seh <at> zee2.com] 
Sent: 2012年1月14日 21:19
To: Lv Terry-R65388
Cc: ltib <at> nongnu.org
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.
(Continue reading)

Stuart Hughes | 3 Feb 09:42 2012

Re: Can ltib rpm host package installed in --nodeps way

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:seh <at> zee2.com] 
> Sent: 2012年1月14日 21:19
> To: Lv Terry-R65388
(Continue reading)

lakshminarayana babu | 4 Feb 06:40 2012
Picon

Regarding nanosleep implemation problem in LTIB

I am using motorola MCF5485 processor board. We have ported  linux 2.6.25 kernel downloaded from LTIB.   .  I have written a small application program using "nanosleep". If i  give a delay of 100 milliseconds it is giving 120 miliseconds. Like this whatever may the amount i am giving in this function it is adding 20 milliseconds extra.  I tried with "usleep" and "sleep" also. In both the cases  same problem. Can you please help me out.


regards
babu 




On Fri, Feb 3, 2012 at 10:31 PM, <ltib-request <at> nongnu.org> wrote:
Send Ltib mailing list submissions to
       ltib <at> nongnu.org

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
       ltib-request <at> nongnu.org

You can reach the person managing the list at
       ltib-owner <at> nongnu.org

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 <r65388 <at> freescale.com>
To: Stuart Hughes <seh <at> zee2.com>
Cc: "ltib <at> nongnu.org" <ltib <at> nongnu.org>
Subject: Re: [Ltib] Can ltib rpm host package installed in --nodeps
       way
Message-ID:
       <5D7CDCE0FBAD974596A672304F004DC404E1FF <at> 039-SN2MPN1-011.039d.mgd.msft.net>

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:seh <at> zee2.com]
Sent: 2012?1?14? 21:19
To: Lv Terry-R65388
Cc: ltib <at> nongnu.org
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:
>
> r65388 <at> shlinux1:~/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
> r65388 <at> shlinux1:~/toolchain_ltib/ltib$
>
>       If I install this rpm package manually with --nodeps, it can be installed.
>
> r65388 <at> shlinux1:~/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
> Ltib <at> nongnu.org
> https://lists.nongnu.org/mailman/listinfo/ltib
>


------------------------------

Message: 2
Date: Fri, 03 Feb 2012 08:42:04 +0000
From: Stuart Hughes <seh <at> zee2.com>
To: Lv Terry-R65388 <r65388 <at> freescale.com>
Cc: "ltib <at> nongnu.org" <ltib <at> nongnu.org>
Subject: Re: [Ltib] Can ltib rpm host package installed in --nodeps
       way
Message-ID: <4F2B9DDC.2000804 <at> zee2.com>
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:seh <at> zee2.com]
> Sent: 2012?1?14? 21:19
> To: Lv Terry-R65388
> Cc: ltib <at> nongnu.org
> 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:
>>
>> r65388 <at> shlinux1:~/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
>> r65388 <at> shlinux1:~/toolchain_ltib/ltib$
>>
>>      If I install this rpm package manually with --nodeps, it can be installed.
>>
>> r65388 <at> shlinux1:~/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
>> Ltib <at> nongnu.org
>> https://lists.nongnu.org/mailman/listinfo/ltib
>>




------------------------------

_______________________________________________
Ltib mailing list
Ltib <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/ltib


End of Ltib Digest, Vol 70, Issue 1
***********************************

<div>
<p>I am using motorola MCF5485 processor board. We have ported &nbsp;linux 2.6.25 kernel downloaded from LTIB. &nbsp; . &nbsp;I have written a small application program using "nanosleep". If i &nbsp;give a delay of 100 milliseconds it is giving 120 miliseconds. Like this whatever may the amount i am giving in this function it is adding 20 milliseconds extra. &nbsp;I tried with "usleep" and "sleep" also. In both the cases &nbsp;same problem. Can you please help me out.</p>
<div>
<br>
</div>
<div>regards</div>
<div>babu&nbsp;<br><br><br><br><br><div class="gmail_quote">On Fri, Feb 3, 2012 at 10:31 PM,  <span dir="ltr">&lt;<a href="mailto:ltib-request <at> nongnu.org">ltib-request <at> nongnu.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">Send Ltib mailing list submissions to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:ltib <at> nongnu.org">ltib <at> nongnu.org</a><br><br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="https://lists.nongnu.org/mailman/listinfo/ltib" target="_blank">https://lists.nongnu.org/mailman/listinfo/ltib</a><br>
or, via email, send a message with subject or body 'help' to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:ltib-request <at> nongnu.org">ltib-request <at> nongnu.org</a><br><br>
You can reach the person managing the list at<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:ltib-owner <at> nongnu.org">ltib-owner <at> nongnu.org</a><br><br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Ltib digest..."<br><br><br>
Today's Topics:<br><br>
 &nbsp; 1. Re: Can ltib rpm host package installed in --nodeps way<br>
 &nbsp; &nbsp; &nbsp;(Lv Terry-R65388)<br>
 &nbsp; 2. Re: Can ltib rpm host package installed in --nodeps way<br>
 &nbsp; &nbsp; &nbsp;(Stuart Hughes)<br><br><br>
----------------------------------------------------------------------<br><br>
Message: 1<br>
Date: Fri, 3 Feb 2012 06:40:48 +0000<br>
From: Lv Terry-R65388 &lt;<a href="mailto:r65388 <at> freescale.com">r65388 <at> freescale.com</a>&gt;<br>
To: Stuart Hughes &lt;<a href="mailto:seh <at> zee2.com">seh <at> zee2.com</a>&gt;<br>
Cc: "<a href="mailto:ltib <at> nongnu.org">ltib <at> nongnu.org</a>" &lt;<a href="mailto:ltib <at> nongnu.org">ltib <at> nongnu.org</a>&gt;<br>
Subject: Re: [Ltib] Can ltib rpm host package installed in --nodeps<br>
 &nbsp; &nbsp; &nbsp; &nbsp;way<br>
Message-ID:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:5D7CDCE0FBAD974596A672304F004DC404E1FF <at> 039-SN2MPN1-011.039d.mgd.msft.net">5D7CDCE0FBAD974596A672304F004DC404E1FF <at> 039-SN2MPN1-011.039d.mgd.msft.net</a>&gt;<br><br>
Content-Type: text/plain; charset="gb2312"<br><br>
Hi Stuart,<br><br>
 &nbsp; &nbsp; &nbsp; &nbsp;I add --nodeps to function check_toolchain_setup() in ltib file for toolchain to install.<br><br>
my $cmd = &nbsp; "$cf-&gt;{sudo} $cf-&gt;{rpm} "<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;. "--dbpath $cf-&gt;{defpfx}/var/lib/rpm "<br>
- &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; . "-ivh --force --ignorearch $tc";<br>
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; . "-ivh --force --ignorearch --nodeps $tc";<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print "$cmd\n";<br><br>
 &nbsp; &nbsp; &nbsp; &nbsp;The side effect might be that toolchains that need system dependencies may not run.<br><br>
 &nbsp; &nbsp; &nbsp; &nbsp;Will it cause other issues?<br><br>
 &nbsp; &nbsp; &nbsp; &nbsp;Thanks~~<br><br>
Yours<br>
Terry<br><br>
-----Original Message-----<br>
From: Stuart Hughes [mailto:<a href="mailto:seh <at> zee2.com">seh <at> zee2.com</a>]<br>
Sent: 2012?1?14? 21:19<br>
To: Lv Terry-R65388<br>
Cc: <a href="mailto:ltib <at> nongnu.org">ltib <at> nongnu.org</a><br>
Subject: Re: [Ltib] Can ltib rpm host package installed in --nodeps way<br><br>
Hi Terry,<br><br>
Normally toolchains are built in a way that minimises their dependencies so that they may be run on many version/distributions of Linux.<br><br>
In this case it looks like it's been build with more dependencies.<br><br>
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.<br><br>
Regards, Stuart<br><br>
On 10/01/12 09:42, Lv Terry-R65388 wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; I'm trying to add a new cross-compiler toolchain in ltib.<br>
&gt; &nbsp; &nbsp; &nbsp; The toolchain needs libc6 2.13 and libc6 2.13 is provided itself.<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; I packed the toolchain to rpm package and tried to run ltib to install it.<br>
&gt; &nbsp; &nbsp; &nbsp; I encountered the following errors:<br>
&gt;<br>
&gt; r65388 <at> shlinux1:~/toolchain_ltib/ltib$ ./ltib<br>
&gt; Installing: gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1.i386.rpm<br>
&gt; sudo /opt/freescale/ltib/usr/bin/rpm --dbpath<br>
&gt; /opt/freescale/ltib/var/lib/rpm -ivh --force --ignorearch<br>
&gt; /opt/freescale/pkgs/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1.i3<br>
&gt; 86.rpm Failed to install:<br>
&gt; gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1.i386.rpm:<br>
&gt; error: failed dependencies:<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; libc.so.6(GLIBC_2.0) &nbsp; is needed by gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; libc.so.6(GLIBC_2.1) &nbsp; is needed by gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; libc.so.6(GLIBC_2.1.2) &nbsp; is needed by gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; libc.so.6(GLIBC_2.1.3) &nbsp; is needed by gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; libc.so.6(GLIBC_2.2) &nbsp; is needed by gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; libc.so.6(GLIBC_2.3) &nbsp; is needed by gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; libdl.so.2(GLIBC_2.0) &nbsp; is needed by gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; libdl.so.2(GLIBC_2.1) &nbsp; is needed by gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; libm.so.6(GLIBC_2.0) &nbsp; is needed by gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; libpthread.so.0(GLIBC_2.2) &nbsp; is needed by gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; libz.so.1 &nbsp; is needed by gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1<br>
&gt;<br>
&gt; traceback:<br>
&gt; &nbsp;main::check_toolchain_setup:2552<br>
&gt; &nbsp; main::pre_build_checks:1453<br>
&gt; &nbsp; &nbsp;main:557<br>
&gt;<br>
&gt;<br>
&gt; Started: Tue Jan 10 16:41:03 2012<br>
&gt; Ended: &nbsp; Tue Jan 10 16:41:05 2012<br>
&gt; Elapsed: 2 seconds<br>
&gt;<br>
&gt;<br>
&gt; Build Failed<br>
&gt;<br>
&gt; Exiting on error or interrupt<br>
&gt; r65388 <at> shlinux1:~/toolchain_ltib/ltib$<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; If I install this rpm package manually with --nodeps, it can be installed.<br>
&gt;<br>
&gt; r65388 <at> shlinux1:~/toolchain_ltib$ sudo rpm -ivh<br>
&gt; gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1.i386.rpm --nodeps<br>
&gt; rpm: RPM should not be used directly install RPM packages, use Alien instead!<br>
&gt; rpm: However assuming you know what you are doing...<br>
&gt; Preparing... &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;########################################### [100%]<br>
&gt;<br>
&gt; 1:gcc-linaro-4.6.3-glibc-###########################################<br>
&gt; [100%]<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; So my question is: can I install this rpm package in ltib in a implicit --nodeps way.<br>
&gt; &nbsp; &nbsp; &nbsp; 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.<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; Thanks a lot~~<br>
&gt;<br>
&gt; Yours<br>
&gt; Terry<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; LTIB home page: <a href="http://ltib.org" target="_blank">http://ltib.org</a><br>
&gt;<br>
&gt; Ltib mailing list<br>
&gt; <a href="mailto:Ltib <at> nongnu.org">Ltib <at> nongnu.org</a><br>
&gt; <a href="https://lists.nongnu.org/mailman/listinfo/ltib" target="_blank">https://lists.nongnu.org/mailman/listinfo/ltib</a><br>
&gt;<br><br><br>
------------------------------<br><br>
Message: 2<br>
Date: Fri, 03 Feb 2012 08:42:04 +0000<br>
From: Stuart Hughes &lt;<a href="mailto:seh <at> zee2.com">seh <at> zee2.com</a>&gt;<br>
To: Lv Terry-R65388 &lt;<a href="mailto:r65388 <at> freescale.com">r65388 <at> freescale.com</a>&gt;<br>
Cc: "<a href="mailto:ltib <at> nongnu.org">ltib <at> nongnu.org</a>" &lt;<a href="mailto:ltib <at> nongnu.org">ltib <at> nongnu.org</a>&gt;<br>
Subject: Re: [Ltib] Can ltib rpm host package installed in --nodeps<br>
 &nbsp; &nbsp; &nbsp; &nbsp;way<br>
Message-ID: &lt;<a href="mailto:4F2B9DDC.2000804 <at> zee2.com">4F2B9DDC.2000804 <at> zee2.com</a>&gt;<br>
Content-Type: text/plain; charset=GB2312<br><br>
Hi Terry,<br><br>
No, I don't think there should be any other side-effects.<br><br>
Regards, Stuart<br><br>
On 03/02/12 06:40, Lv Terry-R65388 wrote:<br>
&gt; Hi Stuart,<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; I add --nodeps to function check_toolchain_setup() in ltib file for toolchain to install.<br>
&gt;<br>
&gt; my $cmd = &nbsp; "$cf-&gt;{sudo} $cf-&gt;{rpm} "<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; . "--dbpath $cf-&gt;{defpfx}/var/lib/rpm "<br>
&gt; - &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; . "-ivh --force --ignorearch $tc";<br>
&gt; + &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; . "-ivh --force --ignorearch --nodeps $tc";<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;print "$cmd\n";<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; The side effect might be that toolchains that need system dependencies may not run.<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; Will it cause other issues?<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; Thanks~~<br>
&gt;<br>
&gt; Yours<br>
&gt; Terry<br>
&gt;<br>
&gt; -----Original Message-----<br>
&gt; From: Stuart Hughes [mailto:<a href="mailto:seh <at> zee2.com">seh <at> zee2.com</a>]<br>
&gt; Sent: 2012?1?14? 21:19<br>
&gt; To: Lv Terry-R65388<br>
&gt; Cc: <a href="mailto:ltib <at> nongnu.org">ltib <at> nongnu.org</a><br>
&gt; Subject: Re: [Ltib] Can ltib rpm host package installed in --nodeps way<br>
&gt;<br>
&gt; Hi Terry,<br>
&gt;<br>
&gt; Normally toolchains are built in a way that minimises their dependencies so that they may be run on many version/distributions of Linux.<br>
&gt;<br>
&gt; In this case it looks like it's been build with more dependencies.<br>
&gt;<br>
&gt; 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.<br>
&gt;<br>
&gt; Regards, Stuart<br>
&gt;<br>
&gt; On 10/01/12 09:42, Lv Terry-R65388 wrote:<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp;I'm trying to add a new cross-compiler toolchain in ltib.<br>
&gt;&gt; &nbsp; &nbsp; &nbsp;The toolchain needs libc6 2.13 and libc6 2.13 is provided itself.<br>
&gt;&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp;I packed the toolchain to rpm package and tried to run ltib to install it.<br>
&gt;&gt; &nbsp; &nbsp; &nbsp;I encountered the following errors:<br>
&gt;&gt;<br>
&gt;&gt; r65388 <at> shlinux1:~/toolchain_ltib/ltib$ ./ltib<br>
&gt;&gt; Installing: gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1.i386.rpm<br>
&gt;&gt; sudo /opt/freescale/ltib/usr/bin/rpm --dbpath<br>
&gt;&gt; /opt/freescale/ltib/var/lib/rpm -ivh --force --ignorearch<br>
&gt;&gt; /opt/freescale/pkgs/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1.i3<br>
&gt;&gt; 86.rpm Failed to install:<br>
&gt;&gt; gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1.i386.rpm:<br>
&gt;&gt; error: failed dependencies:<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; libc.so.6(GLIBC_2.0) &nbsp; is needed by gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; libc.so.6(GLIBC_2.1) &nbsp; is needed by gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; libc.so.6(GLIBC_2.1.2) &nbsp; is needed by gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; libc.so.6(GLIBC_2.1.3) &nbsp; is needed by gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; libc.so.6(GLIBC_2.2) &nbsp; is needed by gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; libc.so.6(GLIBC_2.3) &nbsp; is needed by gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; libdl.so.2(GLIBC_2.0) &nbsp; is needed by gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; libdl.so.2(GLIBC_2.1) &nbsp; is needed by gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; libm.so.6(GLIBC_2.0) &nbsp; is needed by gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; libpthread.so.0(GLIBC_2.2) &nbsp; is needed by gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; libz.so.1 &nbsp; is needed by gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1<br>
&gt;&gt;<br>
&gt;&gt; traceback:<br>
&gt;&gt; &nbsp;main::check_toolchain_setup:2552<br>
&gt;&gt; &nbsp; main::pre_build_checks:1453<br>
&gt;&gt; &nbsp; &nbsp;main:557<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Started: Tue Jan 10 16:41:03 2012<br>
&gt;&gt; Ended: &nbsp; Tue Jan 10 16:41:05 2012<br>
&gt;&gt; Elapsed: 2 seconds<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Build Failed<br>
&gt;&gt;<br>
&gt;&gt; Exiting on error or interrupt<br>
&gt;&gt; r65388 <at> shlinux1:~/toolchain_ltib/ltib$<br>
&gt;&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp;If I install this rpm package manually with --nodeps, it can be installed.<br>
&gt;&gt;<br>
&gt;&gt; r65388 <at> shlinux1:~/toolchain_ltib$ sudo rpm -ivh<br>
&gt;&gt; gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12-1.i386.rpm --nodeps<br>
&gt;&gt; rpm: RPM should not be used directly install RPM packages, use Alien instead!<br>
&gt;&gt; rpm: However assuming you know what you are doing...<br>
&gt;&gt; Preparing... &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;########################################### [100%]<br>
&gt;&gt;<br>
&gt;&gt; 1:gcc-linaro-4.6.3-glibc-###########################################<br>
&gt;&gt; [100%]<br>
&gt;&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp;So my question is: can I install this rpm package in ltib in a implicit --nodeps way.<br>
&gt;&gt; &nbsp; &nbsp; &nbsp;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.<br>
&gt;&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp;Thanks a lot~~<br>
&gt;&gt;<br>
&gt;&gt; Yours<br>
&gt;&gt; Terry<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; LTIB home page: <a href="http://ltib.org" target="_blank">http://ltib.org</a><br>
&gt;&gt;<br>
&gt;&gt; Ltib mailing list<br>
&gt;&gt; <a href="mailto:Ltib <at> nongnu.org">Ltib <at> nongnu.org</a><br>
&gt;&gt; <a href="https://lists.nongnu.org/mailman/listinfo/ltib" target="_blank">https://lists.nongnu.org/mailman/listinfo/ltib</a><br>
&gt;&gt;<br><br><br><br><br>
------------------------------<br><br>
_______________________________________________<br>
Ltib mailing list<br><a href="mailto:Ltib <at> nongnu.org">Ltib <at> nongnu.org</a><br><a href="https://lists.nongnu.org/mailman/listinfo/ltib" target="_blank">https://lists.nongnu.org/mailman/listinfo/ltib</a><br><br><br>
End of Ltib Digest, Vol 70, Issue 1<br>
***********************************≤br>
</blockquote>
</div>
<br>
</div>
</div>
Peter Barada | 4 Feb 07:04 2012

Re: Regarding nanosleep implemation problem in LTIB

On 02/04/2012 12:40 AM, lakshminarayana babu wrote:
> I am using motorola MCF5485 processor board. We have ported  linux 
> 2.6.25 kernel downloaded from LTIB.   .  I have written a small 
> application program using "nanosleep". If i  give a delay of 100 
> milliseconds it is giving 120 miliseconds. Like this whatever may the 
> amount i am giving in this function it is adding 20 milliseconds 
> extra.  I tried with "usleep" and "sleep" also. In both the cases 
>  same problem. Can you please help me out.
>
>
1) replying to a digest email in the list is not good - you've hijacked 
an email thread and leave a lot of us trying to figure out the context 
of your questions.

2) using nansleep from a userspace application either has the userspace 
trying to sleep (while the scheduler is still running), or it invkes a 
system call to do the same, either of which can easily add at least one 
tick to the delay; sleeps of that short a duration should only be done 
within the kernel - sounds like you're trying to do in userspace 
application what should be done in the kernel (i.e. hardware driver?). 
What is it you're really trying to do that requires a sleep of that 
short a duration???

--

-- 
Peter Barada
pete.barada <at> logicpd.com

Stuart Hughes | 5 Feb 14:18 2012

Re: quick question on submitting patches...

Hi Fritz,

If the packages/submission parts are related in some way, then it would
be best in one go when done.  Otherwise, please submit each topic as its
own patch.

Cheers, Stuart

On 30/01/12 23:20, Fritz Mueller wrote:
> Hi,
> 
> I've got an upcoming Avahi patch submission that builds on the dbus and libdaemon submissions that were
posted here earlier.
> 
> Question is: for Stuart managing his backlog, would the preference be to:
> 
> 	- post one combined patch for Avahi + dbus + libdaemon (easiest and most accurate since can be driven from
cvs diff), or
> 
> 	- post incremental patch for just Avahi, assuming previous dbus and libdaemon patches already
integrated (would have to find a way to generate this from a locally copied tree since the previous two
patches aren't yet integrated to cvs?)
> 
> Very appreciative of the fact that Stuart's time to work through his backlog is scarce and valuable, so
would like to try to present patches here in the best way possible.
> 
> 	thanks!
> 	  --FritzM.
> 
> 
> 
> _______________________________________________
> LTIB home page: http://ltib.org
> 
> Ltib mailing list
> Ltib <at> nongnu.org
> https://lists.nongnu.org/mailman/listinfo/ltib
> 

Sean Horton | 5 Feb 23:34 2012
Picon

SDIO Driver for LPC3250?

Hi,

I've been tasked with getting the SDIO slot on an LPC-3250, working for a cubesat project (I'm a student), but as far as I can tell, there's no driver. My experience with Linux is nil to none, and I was hoping someone knew of a driver, as there's no way I could make my own. There appears to be a driver for the Windows OS, but not Linux.

The board: http://www.phytec.com/products/som/ARM-XScale/phyCORE-ARM9-LPC3250.html

Thanks,
Sean
<div><div dir="ltr">
Hi,<br><br>I've been tasked with getting the SDIO slot on an LPC-3250, working for a cubesat project (I'm a student), but as far as I can tell, there's no driver. My experience with Linux is nil to none, and I was hoping someone knew of a driver, as there's no way I could make my own. There appears to be a driver for the Windows OS, but not Linux.<br><br>The board: http://www.phytec.com/products/som/ARM-XScale/phyCORE-ARM9-LPC3250.html<br><br>Thanks,<br>Sean
 		 	   		  </div></div>
Fritz Mueller | 5 Feb 23:45 2012

patch: nss-mdns, Avahi, dbus, libdaemon

(note: this patch includes/obsoletes the separate dbus and libdaemon patches previous submitted to this list)

Here's a proposed patch that:

  - adds Avahi 0.6.30
  - upgrades nss-mdns to 0.10
  - upgrades dbus to 1.4.16
  - upgrades libdaemon to 0.14
  - addresses build dependencies between these packages
  - adds config file and startup daemon support so the mdns stack works "out of the box"

Thanks to Mike Goins for getting me started with some work he had done with an earlier version of the Avahi
library stack (see previous posts on this list).  I found that while I could get service advertise to work
with those versions, I could not get service browse and other misc functionality to work.  Upgrading to the
latest available Avahi fixed this, and build requirements for that motivated updating the other
libraries in the stack.

As well as the addition of Avahi and upgrades to the other libs, the following are also addressed:

  - move ALSA libs into alphabetical order in packages.lkc
  - move d-bus to be after expat in pkg_map to fix existing build-order bug
  - change dbus config to write pid/socket files in /tmp for better restart behavior
  - latest nss-mdns requires Avahi, so make it auto-select
  - remove nis/nisplus entries from nsswitch.conf in skell package (nis/nisplus aren't even available in ltib?)
  - patch to the skell package to configure nsswitch.conf differently according to whether nss-mdns is selected

Tarballs for the new packages may be obtained here:

  http://0pointer.de/lennart/projects/nss-mdns/nss-mdns-0.10.tar.gz
  http://avahi.org/download/avahi-0.6.30.tar.gz
  http://dbus.freedesktop.org/releases/dbus/dbus-1.4.16.tar.gz
  http://0pointer.de/lennart/projects/libdaemon/libdaemon-0.14.tar.gz

Attached below are two pieces: a CVS diff that captures most of the changes, followed by the single new file
avahi.spec.  Please let me know if there is anything here that seems to need further attention and I will
rework and resubmit.

thanks!
  --FritzM.

Index: ltib
===================================================================
RCS file: /sources/ltib/ltib/ltib,v
retrieving revision 1.78
diff -u -a -r1.78 ltib
--- ltib    29 Nov 2011 07:43:55 -0000    1.78
+++ ltib    5 Feb 2012 21:31:25 -0000
 <at>  <at>  -262,7 +262,7  <at>  <at> 
            PKG_BASH     => [ qw/PKG_BASH_WANT_NO_SH_SYMLINK/  ],
            PKG_DHCP     => [ qw/PKG_DHCP_WANT_SERVER PKG_DHCP_WANT_CLIENT/ ],
            PKG_PPP      => [ qw/PKG_PPP_WANT_FILTER/ ],
-           PKG_SKELL    => [ qw/PKG_SKELL_WANT_TERMINFO/ ],
+           PKG_SKELL    => [ qw/PKG_SKELL_WANT_TERMINFO PKG_NSS_MDNS/ ],
            PKG_CAIRO    => [ qw/PKG_XORG_SERVER/ ],
            PKG_BOOST    => [ qw/PKG_BOOST_WANT_HEADER_ONLY/ ],
                };
 <at>  <at>  -1570,6 +1570,7  <at>  <at> 
     $ENV{LTIB_BATCH}      = $cf->{batch} || "";
     $ENV{PKG_BUSYBOX}    = $pcf->{PKG_BUSYBOX} || "";
     $ENV{PKG_SYSVINIT}    = $pcf->{PKG_SYSVINIT} || "";
+    $ENV{PKG_NSS_MDNS}    = $pcf->{PKG_NSS_MDNS} || "";
     $ENV{INITTAB_LINE}    = $pcf->{INITTAB_LINE} || "";
     $ENV{SOFT_FP_ARCH} = $pcf->{SOFT_FP_ARCH} || "";
     $ENV{GLIBC_WANT_KERNEL_HEADERS} = $pcf->{GLIBC_WANT_KERNEL_HEADERS} || "";
Index: config/userspace/packages.lkc
===================================================================
RCS file: /sources/ltib/ltib/config/userspace/packages.lkc,v
retrieving revision 1.45
diff -u -a -r1.45 packages.lkc
--- config/userspace/packages.lkc    31 Oct 2011 20:34:42 -0000    1.45
+++ config/userspace/packages.lkc    5 Feb 2012 21:31:25 -0000
 <at>  <at>  -5,6 +5,24  <at>  <at> 
 -source packages.lkc

 comment 'Common package selection list'
+config PKG_ALSA_LIB
+    bool "alsa-lib"
+    help
+       The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
+       functionality to the Linux operating system.  The alsa-lib user-space
+       library simplifies application programming and provides a higher level
+       of audio functionality compared to OSS.
+
+config PKG_ALSA_UTILS
+    select PKG_ALSA_LIB
+    select PKG_NCURSES
+    bool "alsa-utils"
+    help
+       This package contains the command line utilities for the ALSA project.
+       The package can be compiled only with the installed ALSA driver and
+       the ALSA C library.  Utilities include: alsaconf, alsactl, aplay/arecord,
+       amixer, alsamixer, amidi, and iecset.
+
 config PKG_APPTRK
     depends LINTARCH != arm
     bool "Apptrk"
 <at>  <at>  -86,23 +104,17  <at>  <at> 

        This fails on debian as autoconf is not on the host

-config PKG_ALSA_LIB
-    bool "alsa-lib"
-    help
-       The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
-       functionality to the Linux operating system.  The alsa-lib user-space
-       library simplifies application programming and provides a higher level
-       of audio functionality compared to OSS.
-
-config PKG_ALSA_UTILS
-    select PKG_ALSA_LIB
-    select PKG_NCURSES
-    bool "alsa-utils"
-    help
-       This package contains the command line utilities for the ALSA project.
-       The package can be compiled only with the installed ALSA driver and
-       the ALSA C library.  Utilities include: alsaconf, alsactl, aplay/arecord,
-       amixer, alsamixer, amidi, and iecset.
+config PKG_AVAHI
+    select PKG_DBUS
+    select PKG_EXPAT
+    bool "Avahi"
+    help 
+       Avahi is a system which facilitates service discovery on a local
+       network via the mDNS/DNS-SD protocol suite. This enables you to plug
+       your laptop or computer into a network and instantly be able to view
+       other people who you can chat with, find printers to print to or find
+       files being shared. Compatible technology is found in Apple MacOS X
+       (branded Bonjour and sometimes Zeroconf).

 config PKG_BASH
     depends CAP_HAS_MMU
 <at>  <at>  -1957,13 +1969,15  <at>  <at> 

 config PKG_NSS_MDNS
     depends CAP_HAS_MMU
+    select PKG_AVAHI
     bool "nss-mdns"
     help
        nss-mdns is a plugin for the GNU Name Service Switch (NSS)
        functionality of the GNU C Library (glibc) providing host name
        resolution via Multicast DNS (aka Zeroconf, aka Apple Rendezvous,
-       aka Apple Bonjour), effectively allowing name resolution by common
-       Unix/Linux programs in the ad-hoc mDNS domain .local.
+       aka Apple Bonjour, aka Avahi), effectively allowing name resolution
+       by common Unix/Linux programs in the ad-hoc mDNS domain .local.
+       Depends on kernel IP multicasting support, which must be enabled.

 config PKG_NTPCLIENT
     bool "ntpclient"
Index: config/userspace/pkg_map
===================================================================
RCS file: /sources/ltib/ltib/config/userspace/pkg_map,v
retrieving revision 1.30
diff -u -a -r1.30 pkg_map
--- config/userspace/pkg_map    28 Nov 2011 17:41:02 -0000    1.30
+++ config/userspace/pkg_map    5 Feb 2012 21:31:25 -0000
 <at>  <at>  -29,7 +29,6  <at>  <at> 
 PKG_SASH                         = sash
 PKG_COREUTILS                    = coreutils
 PKG_SEQ                          = seq
-PKG_DBUS                         = dbus
 PKG_ZLIB                         = zlib
 PKG_LFS_UTILS                    = lfs-utils
 PKG_FINDUTILS                    = findutils
 <at>  <at>  -112,6 +111,8  <at>  <at> 
 PKG_WHICH                        = which
 PKG_FAKEROOT                     = fakeroot
 PKG_EXPAT                        = expat
+PKG_DBUS                         = dbus
+PKG_AVAHI                        = avahi
 PKG_GDB                          = gdb
 PKG_GDB_BDM                      = m68k-gdb-bdm
 PKG_STRACE                       = strace
Index: config/userspace/sysconfig.lkc
===================================================================
RCS file: /sources/ltib/ltib/config/userspace/sysconfig.lkc,v
retrieving revision 1.2
diff -u -a -r1.2 sysconfig.lkc
--- config/userspace/sysconfig.lkc    12 Dec 2008 17:11:31 -0000    1.2
+++ config/userspace/sysconfig.lkc    5 Feb 2012 21:31:25 -0000
 <at>  <at>  -214,4 +214,21  <at>  <at> 
       The config file pango.modules must be created on the target.
 endif

+config SYSCFG_START_DBUS
+    depends PKG_DBUS
+    bool "start D-Bus system bus daemon"
+    default y
+    help
+        Starts the global D-Bus system bus instance.  This is used by Avahi
+        for communication between Avahi clients and the Avahi daemon, among
+        other things.
+
+config SYSCFG_START_AVAHI
+    depends PKG_AVAHI
+    bool "start Avahi daemon"
+    select SYSCFG_START_DBUS
+    default y
+    help
+        Starts the Avahi mDNS daemon.
+
 endmenu
Index: dist/lfs-5.1/dbus/dbus.spec
===================================================================
RCS file: /sources/ltib/ltib/dist/lfs-5.1/dbus/dbus.spec,v
retrieving revision 1.1
diff -u -a -r1.1 dbus.spec
--- dist/lfs-5.1/dbus/dbus.spec    5 Jun 2009 10:49:18 -0000    1.1
+++ dist/lfs-5.1/dbus/dbus.spec    5 Feb 2012 21:31:25 -0000
 <at>  <at>  -2,8 +2,8  <at>  <at> 

 Summary         : Message bus system for applications to talk to one another
 Name            : dbus
-Version         : 1.2.6
-Release         : 1
+Version         : 1.4.16
+Release         : 2
 License         : AFLv2.1 or GPLv2
 Vendor          : Free Desktop
 Packager        : Thierry Pierret/Stuart Hughes/Tarek Allaoua
 <at>  <at>  -22,7 +22,7  <at>  <at> 
 %Build
 # Note --with-xml could also specify libxml
 config_opts='ac_cv_have_abstract_sockets=yes'
-extra_opts='--with-xml=expat --without-x --enable-tests=no --enable-selinux=no'
+extra_opts='--with-xml=expat --without-x --enable-tests=no --enable-selinux=no --localstatedir=/tmp'

 eval $config_opts \
 ./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} \
Index: dist/lfs-5.1/libdaemon/libdaemon.spec
===================================================================
RCS file: /sources/ltib/ltib/dist/lfs-5.1/libdaemon/libdaemon.spec,v
retrieving revision 1.1
diff -u -a -r1.1 libdaemon.spec
--- dist/lfs-5.1/libdaemon/libdaemon.spec    6 Jul 2009 10:33:28 -0000    1.1
+++ dist/lfs-5.1/libdaemon/libdaemon.spec    5 Feb 2012 21:31:25 -0000
 <at>  <at>  -2,8 +2,8  <at>  <at> 

 Summary         : Lightweight C library that eases the writing of UNIX daemons.
 Name            : libdaemon
-Version         : 0.13
-Release         : 1
+Version         : 0.14
+Release         : 2
 License         : LGPL
 Vendor          : ltib.org
 Packager        : Mike Goins
Index: dist/lfs-5.1/nss-mdns/nss-mdns.spec
===================================================================
RCS file: /sources/ltib/ltib/dist/lfs-5.1/nss-mdns/nss-mdns.spec,v
retrieving revision 1.1.1.1
diff -u -a -r1.1.1.1 nss-mdns.spec
--- dist/lfs-5.1/nss-mdns/nss-mdns.spec    6 Nov 2007 15:44:42 -0000    1.1.1.1
+++ dist/lfs-5.1/nss-mdns/nss-mdns.spec    5 Feb 2012 21:31:25 -0000
 <at>  <at>  -2,8 +2,8  <at>  <at> 

 Summary         : plugin for the GNU Name Service Switch providing host name resolution via Multicast DNS
 Name            : nss-mdns
-Version         : 0.8
-Release         : 1
+Version         : 0.10
+Release         : 2
 License         : LGPL
 Vendor          : Freescale
 Packager        : Alan Tull
 <at>  <at>  -34,5 +34,3  <at>  <at> 
 %Files
 %defattr(-,root,root)
 %{pfx}/*
-
-
Index: dist/lfs-5.1/skell/skell.spec
===================================================================
RCS file: /sources/ltib/ltib/dist/lfs-5.1/skell/skell.spec,v
retrieving revision 1.4
diff -u -a -r1.4 skell.spec
--- dist/lfs-5.1/skell/skell.spec    20 Nov 2009 19:12:16 -0000    1.4
+++ dist/lfs-5.1/skell/skell.spec    5 Feb 2012 21:31:25 -0000
 <at>  <at>  -3,13 +3,14  <at>  <at> 
 Summary         : Skelleton files for an embedded root filesystem
 Name            : skell
 Version         : 1.19
-Release         : 1
+Release         : 2
 License         : GPL
 Vendor          : Freescale
 Packager        : Steve Papacharalambous/Stuart Hughes
 Group           : System Environment/Utilities
 Source          : %{name}-%{version}.tar.gz
 Patch1          : skell-1.19-ipautoconf.patch
+Patch2          : skell-1.19-avahi-dbus.patch
 BuildRoot       : %{_tmppath}/%{name}
 Prefix          : %{pfx}

 <at>  <at>  -19,6 +20,7  <at>  <at> 
 %Prep
 %setup
 %patch1 -p1
+%patch2 -p1

 %Build

 <at>  <at>  -29,6 +31,10  <at>  <at> 
 then
     rm -rf $RPM_BUILD_ROOT/%{pfx}/usr/share/terminfo
 fi
+if [ "$PKG_NSS_MDNS" = "y" ]
+then
+    sed -i 's/hosts:.*/hosts:      files mdns4_minimal [NOTFOUND=return] dns mdns4/' $RPM_BUILD_ROOT/%{pfx}/etc/nsswitch.conf
+fi

 %Clean
 rm -rf $RPM_BUILD_ROOT
Index: dist/lfs-5.1/sysconfig/sysconfig.spec
===================================================================
RCS file: /sources/ltib/ltib/dist/lfs-5.1/sysconfig/sysconfig.spec,v
retrieving revision 1.7
diff -u -a -r1.7 sysconfig.spec
--- dist/lfs-5.1/sysconfig/sysconfig.spec    18 Mar 2009 18:20:35 -0000    1.7
+++ dist/lfs-5.1/sysconfig/sysconfig.spec    5 Feb 2012 21:31:25 -0000
 <at>  <at>  -91,14 +91,22  <at>  <at> 
 then
     pango=pango
 fi
+if [ "$SYSCFG_START_DBUS" = "y" ]
+then
+    dbus=dbus
+fi
+if [ "$SYSCFG_START_AVAHI" = "y" ]
+then
+    avahi=avahi
+fi

 cat <<EOF > $RPM_BUILD_ROOT/%{pfx}/etc/rc.d/rc.conf
-all_services="mount-proc-sys mdev udev hostname devfsd depmod modules filesystems syslog network
inetd portmap dropbear sshd boa smb dhcpd settime qtopia watchdog gtk2 pango"
-all_services_r="pango gtk2 watchdog qtopia settime dhcpd smb boa sshd dropbear portmap inetd network
syslog filesystems modules depmod devfsd hostname udev mdev mount-proc-sys"
+all_services="mount-proc-sys mdev udev hostname devfsd depmod modules filesystems syslog network
inetd portmap dropbear sshd boa smb dhcpd settime qtopia watchdog gtk2 pango dbus avahi"
+all_services_r="avahi dbus pango gtk2 watchdog qtopia settime dhcpd smb boa sshd dropbear portmap
inetd network syslog filesystems modules depmod devfsd hostname udev mdev mount-proc-sys"

-cfg_services="mount-proc-sys $mdev $udev hostname $devfsd depmod modules filesystems $syslog
$network $inetd $portmap $dropbear $sshd $boa $smb $dhcpd $settime $qtopia $watchdog $gtk2 $pango"
+cfg_services="mount-proc-sys $mdev $udev hostname $devfsd depmod modules filesystems $syslog
$network $inetd $portmap $dropbear $sshd $boa $smb $dhcpd $settime $qtopia $watchdog $gtk2 $pango
$dbus $avahi"

-cfg_services_r="$pango $gtk2 $watchdog $qtopia $settime $dhcpd $smb $boa $sshd $dropbear $portmap
$inetd $network $syslog filesystems modules depmod $devfsd hostname $udev $mdev mount-proc-sys"
+cfg_services_r="$avahi $dbus $pango $gtk2 $watchdog $qtopia $settime $dhcpd $smb $boa $sshd
$dropbear $portmap $inetd $network $syslog filesystems modules depmod $devfsd hostname $udev $mdev mount-proc-sys"

 export HOSTNAME="${SYSCFG_HOSTNAME:-$PLATFORM}"
 export NTP_SERVER="$SYSCFG_NTP_SERVER"

***************** avahi.spec follows ***********************

%define pfx /opt/freescale/rootfs/%{_target_cpu}

Summary         : Avahi mDNS/DNS-SD service discovery suite
Name            : avahi
Version         : 0.6.30
Release         : 1
License         : LGPL
Vendor          : Avid Technology
Packager        : Fritz Mueller
Group           : xxxx
URL             : http://avahi.org
Source          : %{name}-%{version}.tar.gz
BuildRoot       : %{_tmppath}/%{name}
Prefix          : %{pfx}

%Description
%{summary}

%Prep
%setup 

%Build
./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} --with-distro=debian
--disable-nls --disable-glib --disable-gobject --disable-qt3 --disable-qt4 --disable-gtk
--disable-gtk3 --disable-gdbm --disable-mono --disable-monodoc --disable-autoipd
--disable-python --disable-doxygen-doc --disable-manpages --enable-compat-libdns_sd
make

%Install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}

%Clean
rm -rf $RPM_BUILD_ROOT

%Files
%defattr(-,root,root)
%{pfx}/*

Kevin Wells | 6 Feb 18:25 2012

Re: SDIO Driver for LPC3250?

Do you really need an full SDIO driver or just SD card support?

The PL118 AMBA driver with the LCP32x0 DMA driver provides support for

SD/MMC cards, but the PL118 is not good at doing SDIO cards, so there is

no support for SDIO.

 

The default kernel configurations should all support SD/MMC cards.

 

Kevin

 

 

From: ltib-bounces+kevin.wells=nxp.com <at> nongnu.org [mailto:ltib-bounces+kevin.wells=nxp.com <at> nongnu.org] On Behalf Of Sean Horton
Sent: Sunday, February 05, 2012 2:34 PM
To: ltib <at> nongnu.org
Subject: [Ltib] SDIO Driver for LPC3250?

 

Hi,

I've been tasked with getting the SDIO slot on an LPC-3250, working for a cubesat project (I'm a student), but as far as I can tell, there's no driver. My experience with Linux is nil to none, and I was hoping someone knew of a driver, as there's no way I could make my own. There appears to be a driver for the Windows OS, but not Linux.

The board: http://www.phytec.com/products/som/ARM-XScale/phyCORE-ARM9-LPC3250.html

Thanks,
Sean

<div><div class="WordSection1">
<p class="MsoNormal"><span>Do you really need an full SDIO driver or just SD card support?<p></p></span></p>
<p class="MsoNormal"><span>The PL118 AMBA driver with the LCP32x0 DMA driver provides support for<p></p></span></p>
<p class="MsoNormal"><span>SD/MMC cards, but the PL118 is not good at doing SDIO cards, so there is<p></p></span></p>
<p class="MsoNormal"><span>no support for SDIO.<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>The default kernel configurations should all support SD/MMC cards.<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>Kevin<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<div><div><p class="MsoNormal"><span>From:</span><span> ltib-bounces+kevin.wells=nxp.com <at> nongnu.org [mailto:ltib-bounces+kevin.wells=nxp.com <at> nongnu.org] On Behalf Of Sean Horton<br>Sent: Sunday, February 05, 2012 2:34 PM<br>To: ltib <at> nongnu.org<br>Subject: [Ltib] SDIO Driver for LPC3250?<p></p></span></p></div></div>
<p class="MsoNormal"><p>&nbsp;</p></p>
<div><p class="MsoNormal"><span>Hi,<br><br>I've been tasked with getting the SDIO slot on an LPC-3250, working for a cubesat project (I'm a student), but as far as I can tell, there's no driver. My experience with Linux is nil to none, and I was hoping someone knew of a driver, as there's no way I could make my own. There appears to be a driver for the Windows OS, but not Linux.<br><br>The board: http://www.phytec.com/products/som/ARM-XScale/phyCORE-ARM9-LPC3250.html<br><br>Thanks,<br>Sean <p></p></span></p></div>
</div></div>
Andy Yew | 9 Feb 11:20 2012
Picon

inotify-tools ?

Hi everyone,

Trying to cross-compile inotify-tools with LTIB but failed here:
##################################################################################
+ make
make  all-recursive
make[1]: Entering directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'
Making all in libinotifytools
make[2]: Entering directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/libinotifytools'
make[3]: Entering directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'
make[3]: Leaving directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'
Making all in src
make[3]: Entering directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/libinotifytools/src'
make[4]: Entering directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'
make[4]: Leaving directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'
Making all in inotifytools
make[4]: Entering directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/libinotifytools/src/inotifytools'
make[5]: Entering directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'
make[5]: Leaving directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'
cd ../../.. && /bin/bash /home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/missing --run autoheader
configure.ac:4: error: Autoconf version 2.59 or higher is required
configure.ac:4: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
autoheader: //opt/freescale/ltib/usr/bin/autom4te failed with exit status: 1
make[4]: *** [inotify.h.in] Error 1
make[4]: Leaving directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/libinotifytools/src/inotifytools'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/libinotifytools/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/libinotifytools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'
make: *** [all] Error 2
error: Bad exit status from /home/lucid/ltib/ltib/tmp/rpm-tmp.33225 (%build)


RPM build errors:
    Bad exit status from /home/lucid/ltib/ltib/tmp/rpm-tmp.33225 (%build)
Build time for inotify-tools: 61 seconds

Failed building inotify-tools


f_scbuild() returned an error, exiting
traceback:
 main:560

Exiting on error or interrupt
##################################################################################

I'm using:
inotify-tools-3.13
autoconf-2.64
automake-1.7.6
perl-5.8.8

I know there's Busybox Inotifyd which is similar to inotify-tools but it seems like Busybox version does not have features like inotifywait with "--format" and so on. Thus, i'm forced to use inotify-tools instead. Besides, the ./configure of inotify-tools does support buildcc and hostcc, which seems to me it's cross-compilable especially to ARM. Why it still ended up with the error as above (BOLDED)?

Thanks!


Attachment (inotify-tools build error): application/octet-stream, 12 KiB
<div><p>Hi everyone,<br><br>Trying to cross-compile inotify-tools with LTIB but failed here:<br>##################################################################################<br>+ make<br>make&nbsp; all-recursive<br>make[1]: Entering directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'<br>
Making all in libinotifytools<br>make[2]: Entering directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/libinotifytools'<br>make[3]: Entering directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'<br>
make[3]: Leaving directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'<br>Making all in src<br>make[3]: Entering directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/libinotifytools/src'<br>make[4]: Entering directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'<br>
make[4]: Leaving directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'<br>Making all in inotifytools<br>make[4]: Entering directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/libinotifytools/src/inotifytools'<br>
make[5]: Entering directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'<br>make[5]: Leaving directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'<br>cd ../../.. &amp;&amp; /bin/bash /home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/missing --run autoheader<br><a href="http://configure.ac:4">configure.ac:4</a>: error: Autoconf version 2.59 or higher is required<br><a href="http://configure.ac:4">configure.ac:4</a>: the top level<br>autom4te: /usr/bin/m4 failed with exit status: 1<br>
autoheader: //opt/freescale/ltib/usr/bin/autom4te failed with exit status: 1<br>make[4]: *** [<a href="http://inotify.h.in">inotify.h.in</a>] Error 1<br>make[4]: Leaving directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/libinotifytools/src/inotifytools'<br>
make[3]: *** [all-recursive] Error 1<br>make[3]: Leaving directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/libinotifytools/src'<br>make[2]: *** [all-recursive] Error 1<br>make[2]: Leaving directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/libinotifytools'<br>
make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'<br>make: *** [all] Error 2<br>error: Bad exit status from /home/lucid/ltib/ltib/tmp/rpm-tmp.33225 (%build)<br><br><br>RPM build errors:<br>&nbsp;&nbsp;&nbsp; Bad exit status from /home/lucid/ltib/ltib/tmp/rpm-tmp.33225 (%build)<br>Build time for inotify-tools: 61 seconds<br><br>Failed building inotify-tools<br><br><br>f_scbuild() returned an error, exiting<br>
traceback:<br>&nbsp;main:560<br><br>Exiting on error or interrupt<br>##################################################################################<br><br>I'm using:<br>inotify-tools-3.13<br>autoconf-2.64<br>automake-1.7.6<br>
perl-5.8.8<br><br>I know there's Busybox Inotifyd which is similar to inotify-tools but it seems like Busybox version does not have features like inotifywait with "--format" and so on. Thus, i'm forced to use inotify-tools instead. Besides, the ./configure of inotify-tools does support buildcc and hostcc, which seems to me it's cross-compilable especially to ARM. Why it still ended up with the error as above (BOLDED)?<br><br>Thanks!<br><br><br></p></div>
Mike Goins | 9 Feb 12:57 2012
Picon

Re: inotify-tools ?

On Thu, Feb 9, 2012 at 5:20 AM, Andy Yew <kiatairbrush <at> gmail.com> wrote:
> Hi everyone,
>
> Trying to cross-compile inotify-tools with LTIB but failed here:
> ##################################################################################
> + make
> make  all-recursive
> make[1]: Entering directory
> `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'
> Making all in libinotifytools
> make[2]: Entering directory
> `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/libinotifytools'
> make[3]: Entering directory
> `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'
> make[3]: Leaving directory
> `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'
> Making all in src
> make[3]: Entering directory
> `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/libinotifytools/src'
> make[4]: Entering directory
> `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'
> make[4]: Leaving directory
> `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'
> Making all in inotifytools
> make[4]: Entering directory
> `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/libinotifytools/src/inotifytools'
> make[5]: Entering directory
> `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'
> make[5]: Leaving directory
> `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'
> cd ../../.. && /bin/bash
> /home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/missing --run autoheader
> configure.ac:4: error: Autoconf version 2.59 or higher is required
> configure.ac:4: the top level
> autom4te: /usr/bin/m4 failed with exit status: 1
> autoheader: //opt/freescale/ltib/usr/bin/autom4te failed with exit status: 1
> make[4]: *** [inotify.h.in] Error 1
> make[4]: Leaving directory
> `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/libinotifytools/src/inotifytools'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/libinotifytools/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/libinotifytools'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'
> make: *** [all] Error 2
> error: Bad exit status from /home/lucid/ltib/ltib/tmp/rpm-tmp.33225 (%build)
>
>
> RPM build errors:
>     Bad exit status from /home/lucid/ltib/ltib/tmp/rpm-tmp.33225 (%build)
> Build time for inotify-tools: 61 seconds
>
> Failed building inotify-tools
>
>
> f_scbuild() returned an error, exiting
> traceback:
>  main:560
>
> Exiting on error or interrupt
> ##################################################################################
>
> I'm using:
> inotify-tools-3.13
> autoconf-2.64
> automake-1.7.6
> perl-5.8.8
>
> I know there's Busybox Inotifyd which is similar to inotify-tools but it
> seems like Busybox version does not have features like inotifywait with
> "--format" and so on. Thus, i'm forced to use inotify-tools instead.
> Besides, the ./configure of inotify-tools does support buildcc and hostcc,
> which seems to me it's cross-compilable especially to ARM. Why it still
> ended up with the error as above (BOLDED)?
>
> Thanks!

I built inotify-tools in ltib using version 3.12.  I don't think I
ever submitted it upstream since it was a messy hack and it was a long
time ago so not sure of the status.  I have a patch for it if you
would like to try.

Note:  I wanted to use the library but the license is GPL as opposed
to LGPL.   I ended up writing my own library around the kernel's
inotify system (which isn't that hard).


Gmane