Bug 116961

Summary: make O= broken by one of our kbuild patches
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Olaf Hering <ohering>
Component: KernelAssignee: Andreas Gruenbacher <agruen>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: RC 3   
Target Milestone: ---   
Hardware: PowerPC   
OS: Linux   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Does this fix it?

Description Olaf Hering 2005-09-14 13:52:42 UTC
olaf@pomegranate:/dev/shm/r/linux-2.6.13> make ARCH=ppc O=../O -j12 
  Using /dev/shm/r/linux-2.6.13 as source for kernel
  CHK     /dev/shm/r/O/include/linux/version.h
  SYMLINK /dev/shm/r/O/include/asm -> include/asm-ppc
  GEN    /dev/shm/r/O/Makefile
make[1]: *** No rule to make target `include/linux/version.h', needed by
`arch/ppc/kernel/asm-offsets.s'.  Stop.
make[1]: *** Waiting for unfinished jobs....
make[1]: *** Waiting for unfinished jobs....
  UPD     /dev/shm/r/O/include/linux/version.h
  GEN    /dev/shm/r/O/Makefile
scripts/kconfig/conf -s arch/ppc/Kconfig
make[3]: *** [silentoldconfig] Interrupt
make[2]: *** [silentoldconfig] Interrupt
make[1]: *** [/dev/shm/r/O/include/linux/autoconf.h] Interrupt
make: *** [_all] Interrupt

olaf@pomegranate:/dev/shm/r/linux-2.6.13> history | tail
 1017  vi series.conf
 1018  env -i HOME=$HOME /usr/bin/time sh -c 'rm -rf /dev/shm/r ;
SCRATCH_AREA=/dev/shm/r ./scripts/sequence-patch.sh --quilt  '
 1019  cvs up
 1020  w
 1021  cd /dev/shm/r/linux-2.6.13
 1022  mkdir ../O
 1023  cp arch/ppc/defconfig.default ../O/.config
 1024  make ARCH=ppc O=../O -j12 oldconfig
 1025  make ARCH=ppc O=../O -j12 
 1026  history | tail

this works inside the linux-2.6.13.orig directory:

 1027  cd ../linux-2.6.13.orig/
 1028  make ARCH=ppc O=../O -j12 oldconfig
 1029  make ARCH=ppc O=../O -j12 
 1030  rm -rf ../O/
 1031  mkdir ../O
 1032  cp ../*/arch/ppc/defconfig.default ../O/.config
 1033  make ARCH=ppc O=../O -j12 oldconfig
 1034  make ARCH=ppc O=../O -j12 
 1035  history
Comment 1 Olaf Hering 2005-09-14 13:54:33 UTC
I have to run the make command twice to get it going. I remember that worked ok
a while back, a recent breakage.
Comment 2 Andreas Gruenbacher 2005-09-14 13:55:48 UTC
Oh no... 
Comment 3 Andreas Gruenbacher 2005-09-14 14:39:22 UTC
Created attachment 49910 [details]
Does this fix it?
Comment 4 Olaf Hering 2005-09-14 16:32:43 UTC
yes
Comment 5 Andreas Gruenbacher 2005-09-14 16:35:47 UTC
Okay, I'll check it in once 10.0 is out. Thanks. 
Comment 6 Andreas Gruenbacher 2005-10-17 11:15:38 UTC
Fixed in 10.0 (patches.rpmify/fix-separate-compilation-with-preconf-kernel.diff).