ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] Tlib: Failed to compile net-snmp


From: Stuart Hughes
Subject: Re: [Ltib] Tlib: Failed to compile net-snmp
Date: Fri, 01 Jul 2011 06:39:41 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7

Hi Simon,

Peter is right, I added the -j1 as it's needed to prevent race errors
with the Makefiles for this package.

Your BSP is out of date, so at least add this updated .spec file to your
BSP.  Maybe ask Freescale if they have an update?

Regards, Stuart

On 30/06/11 20:15, Simon V Chamlian wrote:
> 
> 
> I compared: /ltib-modelo-20100709/dist/lfs-5.1/net-snmp/net-snmp.spec with 
> the one in Savannah.
> 
> Don't see much difference.
> 
> My Local                                                                      
>          Savannah
> -------------                                                                 
>              ------------------
> Version : 5.4.1                                                               
>         Version: 5.5
> ...
> make                                                                          
>             make -j1
> ...
> make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}     make -j1 install 
> DESTDIR=$RPM_BUILD_ROOT/%{pfx}
> ....
> make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}     make -j1 install 
> DESTDIR=$RPM_BUILD_ROOT/%{pfx}
> 
> 
> That's it. Basically all 'make' have been replaced by 'make -j1'. 
> 
> Could it be the source of the problem?
> 
> Thanks,
> Simon
> 
> 
> 
> ----------------------------------------
>> Date: Thu, 30 Jun 2011 13:37:15 -0400
>> From: address@hidden
>> To: address@hidden
>> Subject: Re: [Ltib] Tlib: Failed to compile net-snmp
>>
>> On 06/30/2011 12:09 PM, Simon V Chamlian wrote:
>>> It is Freescale BSP.
>>>
>>> Which .spec file is it?
>> Look father back in the log, you'll find "Processing: XXX" which is the
>> package its trying to build . From what you've provided, I think its
>> dist/lfs-5.1/net-snmp/net-snmp.spec...
>>> Simon
>>>
>>> ----------------------------------------
>>>> Date: Thu, 30 Jun 2011 08:50:40 +0100
>>>> From: address@hidden
>>>> To: address@hidden
>>>> CC: address@hidden
>>>> Subject: Re: [Ltib] Tlib: Failed to compile net-snmp
>>>>
>>>> Hi Simon,
>>>>
>>>> Which platform is this? it looks like it may be a Freescale BSP in which
>>>> case it may be better asking them.
>>>>
>>>> You could try adding some debug into the %install section of the .spec
>>>> file. Without access to the .spec file it's hard to help (can you check
>>>> it it's the same as the one in the public Savannah CVS tree)
>>>>
>>>> Regards, Stuart
>>>>
>>>> On 29/06/11 15:56, Simon V Chamlian wrote:
>>>>> Hi,
>>>>>
>>>>> I am trying to include net-snmp. I get the following error.
>>>>>
>>>>> Any hints?
>>>>> Simon
>>>>>
>>>>> ================================
>>>>>
>>>>> creating directory 
>>>>> /home/schamlian/M54418TWR_Linux/ltib-modelo-20100709/tmp/net-snmp//opt/freescale/rootfs/m68k/usr/include/net-snmp/machine
>>>>> /usr/bin/install -c -m 644 ./include/net-snmp/machine/generic.h 
>>>>> /home/schamlian/M54418TWR_Linux/ltib-modelo-20100709/tmp/net-snmp//opt/freescale/rootfs/m68k/usr/include/net-snmp/machine/generic.h
>>>>> installing generic.h in 
>>>>> /home/schamlian/M54418TWR_Linux/ltib-modelo-20100709/tmp/net-snmp//opt/freescale/rootfs/m68k/usr/include/net-snmp/machine
>>>>> error: Bad exit status from 
>>>>> /home/schamlian/M54418TWR_Linux/ltib-modelo-20100709/tmp/rpm-tmp.35381 
>>>>> (%install)
>>>>>
>>>>>
>>>>> RPM build errors:
>>>>> Bad exit status from 
>>>>> /home/schamlian/M54418TWR_Linux/ltib-modelo-20100709/tmp/rpm-tmp.35381 
>>>>> (%install)
>>>>> Build time for net-snmp: 17 seconds
>>>>>
>>>>> Failed building net-snmp
>>>>>
>>>>>
>>>>> f_buildrpms() returned an error, exiting
>>>>> traceback:
>>>>> main:560
>>>>>
>>>>>
>>>>> Started: Wed Jun 29 09:24:24 2011
>>>>> Ended: Wed Jun 29 09:28:21 2011
>>>>> Elapsed: 237 seconds
>>>>>
>>>>> These packages failed to build:
>>>>> net-snmp
>>>>>
>>>>> Build Failed
>>>>>
>>>>> Exiting on error or interrupt
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> LTIB home page: http://ltib.org
>>>>>
>>>>> Ltib mailing list
>>>>> address@hidden
>>>>> https://lists.nongnu.org/mailman/listinfo/ltib
>>>
>>> _______________________________________________
>>> LTIB home page: http://ltib.org
>>>
>>> Ltib mailing list
>>> address@hidden
>>> https://lists.nongnu.org/mailman/listinfo/ltib
>>
>>
>> --
>> Peter Barada
>> address@hidden
>>
>>
>> _______________________________________________
>> LTIB home page: http://ltib.org
>>
>> Ltib mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/ltib
>                                         
> _______________________________________________
> LTIB home page: http://ltib.org
> 
> Ltib mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/ltib
> 



reply via email to

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