On 06/30/2011 03:15 PM, 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?
Hmm, if your local version doesn't have "-j1", add it, especially if you have a multi-core machine. Also the log doesn't show much detail on the error (except that it failed). Can you send the log (from "Processing: net-snmp" to the end) to make it easier to figure out *why* its failing?
Thanks,
Simon



----------------------------------------
Date: Thu, 30 Jun 2011 13:37:15 -0400
From: [email protected]
To: [email protected]
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: [email protected]
To: [email protected]
CC: [email protected]
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
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib
_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib

--
Peter Barada
[email protected]


_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib
                                        
_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib


--
Peter Barada
[email protected]


_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib

Reply via email to