Bug 116961 - make O= broken by one of our kbuild patches
Summary: make O= broken by one of our kbuild patches
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Kernel (show other bugs)
Version: RC 3
Hardware: PowerPC Linux
: P5 - None : Normal
Target Milestone: ---
Assignee: Andreas Gruenbacher
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-14 13:52 UTC by Olaf Hering
Modified: 2008-07-16 15:46 UTC (History)
0 users

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Does this fix it? (13.41 KB, patch)
2005-09-14 14:39 UTC, Andreas Gruenbacher
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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).