ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] failing to build kernel26-dir-build


From: Stuart Hughes
Subject: Re: [Ltib] failing to build kernel26-dir-build
Date: Tue, 24 Mar 2009 10:09:58 -0700

Hi Michael,

Looking at your output, it looks like you've edited the
kernel-common.tmpl spec file body:

------------------------
Executing(%build): /bin/sh -e 
/home/michael/iMX/eaglevision/ltib/ltib/tmp/rpm-tmp.89951
+ umask 022
+ cd /home/michael/iMX/eaglevision/ltib/ltib/rpm/BUILD
+ echo hallo
hallo
+ exit 0
--------------------

So nothing gets build and so the later sections will fail.
You need to back out of your changes if you want to go
back to normal building.

It may be enough just to delete _ltib_dir_/tmp/*.spec

Regards, Stuart

--- address@hidden wrote:

From: Michael Jones <address@hidden>
To: address@hidden
Subject: [Ltib] failing to build kernel26-dir-build
Date: Tue, 24 Mar 2009 16:16:40 +0100

Hi all,

While doing a seemingly routine ltib build recently, rpm froze up.  
Unfortunately I don't recall or have the record of where it exactly 
froze up.  After killing it, I was not able to build due to an RPM lock 
I wasn't able to find, so I restarted my PC.  Now I still can't build my 
out-of-tree kernel, and I understand too little about how LTIB builds 
out-of-tree kernels to debug it.  Below is the output from ltib. It is 
looking for something deep in tmp/kernel/, which doesn't exist.  './ltib 
-p kernel -m scbuild' has no errors, but it doesn't build anything, 
either.  It seems like this is the step where something is missing, not 
the install step where the error actually comes.

Does someone have a suggestion as to what the problem might be?

thanks,
Michael

############## Here's output from scbuild ######################
$ ./ltib -p kernel -m scbuild

Processing: kernel26-dir-build
================================
Build path taken because: build key set, no prebuilt rpm,

rpmbuild --dbpath 
/home/michael/iMX/eaglevision/ltib/ltib/rootfs//var/lib/rpm --target arm 
--define '_unpackaged_files_terminate_build 0' --define '_target_cpu 
arm' --define '__strip strip' --define '_topdir 
/home/michael/iMX/eaglevision/ltib/ltib/rpm' --define '_prefix /usr' 
--define '_tmppath /home/michael/iMX/eaglevision/ltib/ltib/tmp' --define 
'_mandir /usr/share/man' --define '_sysconfdir /etc' --define 
'_localstatedir /var' -bc --short-circuit  
/home/michael/iMX/eaglevision/ltib/ltib/rpm/SPECS/kernel26-dir-build.spec
Building target platforms: arm
Building for target arm
Executing(%build): /bin/sh -e 
/home/michael/iMX/eaglevision/ltib/ltib/tmp/rpm-tmp.89951
+ umask 022
+ cd /home/michael/iMX/eaglevision/ltib/ltib/rpm/BUILD
+ echo hallo
hallo
+ exit 0
Build time for kernel26-dir-build: 0 seconds


################ Here's errors from just running ./ltib #############
Processing: kernel26-dir-build
================================
Build path taken because: build key set, no prebuilt rpm,

rpmbuild --dbpath 
/home/michael/iMX/eaglevision/ltib/ltib/rootfs//var/lib/rpm --target arm 
--define '_unpackaged_files_terminate_build 0' --define '_target_cpu 
arm' --define '__strip strip' --define '_topdir 
/home/michael/iMX/eaglevision/ltib/ltib/rpm' --define '_prefix /usr' 
--define '_tmppath /home/michael/iMX/eaglevision/ltib/ltib/tmp' --define 
'_mandir /usr/share/man' --define '_sysconfdir /etc' --define 
'_localstatedir /var' -bb  
/home/michael/iMX/eaglevision/ltib/ltib/rpm/SPECS/kernel26-dir-build.spec
Building target platforms: arm
Building for target arm
Executing(%prep): /bin/sh -e 
/home/michael/iMX/eaglevision/ltib/ltib/tmp/rpm-tmp.53400
+ umask 022
+ cd /home/michael/iMX/eaglevision/ltib/ltib/rpm/BUILD
+ exit 0
Executing(%build): /bin/sh -e 
/home/michael/iMX/eaglevision/ltib/ltib/tmp/rpm-tmp.53400
+ umask 022
+ cd /home/michael/iMX/eaglevision/ltib/ltib/rpm/BUILD
+ echo hallo
hallo
+ exit 0
Executing(%install): /bin/sh -e 
/home/michael/iMX/eaglevision/ltib/ltib/tmp/rpm-tmp.53400
+ umask 022
+ cd /home/michael/iMX/eaglevision/ltib/ltib/rpm/BUILD
Processing files: kernel-local-1
error: File not found by glob: 
/home/michael/iMX/eaglevision/ltib/ltib/tmp/kernel/opt/freescale/rootfs/arm/*


RPM build errors:
    File not found by glob: 
/home/michael/iMX/eaglevision/ltib/ltib/tmp/kernel/opt/freescale/rootfs/arm/*
Build time for kernel26-dir-build: 0 seconds

Failed building kernel26-dir-build


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


MATRIX VISION GmbH, Talstraße 16, DE-71570 Oppenweiler
Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschäftsführer: Gerhard Thullner, Werner Armingeon, Uwe Furtner, Hans-Joachim 
Reich


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

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib




reply via email to

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