AnsweredAssumed Answered

ltib build kernel failure

Question asked by George Dai on May 16, 2011
Latest reply on May 17, 2011 by Paul Genua

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-
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

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

These packages failed to build:

Build Failed

Exiting on error or interrupt