ltib build kernel failure

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ltib build kernel failure

715 Views
GeorgeDai
Contributor I

I tried to build kernel with ltib and get following failure...

I did made some change on u-boot code and some configurations but still failed after backout them

 

 

./ltib -p kernel

Processing platform: Freescale p2020 PowerPC platform =======================================================
using config/platform/e500mc/.config

Processing: kernel-e500mc
===========================
Build path taken because: no prebuilt rpm,

rpmbuild --dbpath /usr/local/mpcxxxx/ltib-e500mc-20110128/rootfs//var/lib/rpm --target ppc --define '_unpackaged_files_terminate_build 0' --define '_target_cpu ppc' --define '__strip strip' --define '_topdir /usr/local/mpcxxxx/ltib-e500mc-20110128/rpm' --define '_prefix /usr' --define '_tmppath /usr/local/mpcxxxx/ltib-e500mc-20110128/tmp' --define '_rpmdir /usr/local/mpcxxxx/ltib-e500mc-20110128/rpm/RPMS'  --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bb  /usr/local/mpcxxxx/ltib-e500mc-20110128/rpm/SPECS/kernel-e500mc.spec
Building target platforms: ppc
Building for target ppc
Executing(%prep): /bin/sh -e /usr/local/mpcxxxx/ltib-e500mc-20110128/tmp/rpm-tmp.75401
+ umask 022
+ cd /usr/local/mpcxxxx/ltib-e500mc-20110128/rpm/BUILD
+ exit 0
Executing(%build): /bin/sh -e /usr/local/mpcxxxx/ltib-e500mc-20110128/tmp/rpm-tmp.75401
+ umask 022
+ cd /usr/local/mpcxxxx/ltib-e500mc-20110128/rpm/BUILD
+ exit 0
Executing(%install): /bin/sh -e /usr/local/mpcxxxx/ltib-e500mc-20110128/tmp/rpm-tmp.75401
+ umask 022
+ cd /usr/local/mpcxxxx/ltib-e500mc-20110128/rpm/BUILD
Processing files: kernel-2.6.34.6-2
error: File not found by glob: /usr/local/mpcxxxx/ltib-e500mc-20110128/tmp/kernel/opt/freescale/rootfs/ppc/*


RPM build errors:
    File not found by glob: /usr/local/mpcxxxx/ltib-e500mc-20110128/tmp/kernel/opt/freescale/rootfs/ppc/*
Build time for kernel-e500mc: 0 seconds

Failed building kernel-e500mc


f_buildrpms() returned an error, exiting
traceback:
 main:561


Started: Mon May 16 11:24:14 2011
Ended:   Mon May 16 11:24:14 2011
Elapsed: 0 seconds

These packages failed to build:
kernel-e500mc

Build Failed

Exiting on error or interrupt

0 Kudos
1 Reply

280 Views
genuap
NXP Employee
NXP Employee

I'll take a guess that it's a proxy thing? Are you building from within a firewall? In the ltib script there's a line where you can configure your proxy. It occasionally needs to go externally to get additional modules etc...

 

Just a guess for now.

0 Kudos