Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199048 - klibc-1.5.7-r1 breaks with KBUILD_OUTPUT
Summary: klibc-1.5.7-r1 breaks with KBUILD_OUTPUT
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Kernel Miscellaneous
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-13 14:58 UTC by Michal Januszewski (RETIRED)
Modified: 2007-11-14 06:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Januszewski (RETIRED) gentoo-dev 2007-11-13 14:58:47 UTC
I'm using KBUILD_OUTPUT (=/usr/src/out) to keep the object files separate from the kernel sources (/usr/src/linux).  This setup seems to break the latest klibc:

>>> Emerging (1 of 12) dev-libs/klibc-1.5.7-r1 to /
 * linux-2.6.23.tar.bz2 MD5 RMD160 SHA1 SHA256 size ;-) ...                                                                                             [ ok ]
 * klibc-1.5.7.tar.bz2 MD5 RMD160 SHA1 SHA256 size ;-) ...                                                                                              [ ok ]
>>> Creating Manifest for /var/portage/dev-libs/klibc
  digest.assumed                 4
   digest-klibc-1.1::klibc-1.1.tar.bz2
   digest-klibc-1.2.1-r1::klibc-1.2.1.tar.bz2
   digest-klibc-1.2.1-r2::klibc-1.2.1.tar.bz2
   digest-klibc-1.4.12::klibc-1.4.12.tar.bz2
   digest-klibc-1.4.13::klibc-1.4.13.tar.bz2
 * checking ebuild checksums ;-) ...                                                                                                                    [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                   [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                  [ ok ]
 * checking klibc-1.5.7.tar.bz2 ;-) ...                                                                                                                 [ ok ]
 * checking linux-2.6.23.tar.bz2 ;-) ...                                                                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking klibc-1.5.7.tar.bz2 to /var/tmp/portage/dev-libs/klibc-1.5.7-r1/work
>>> Unpacking linux-2.6.23.tar.bz2 to /var/tmp/portage/dev-libs/klibc-1.5.7-r1/work
 * Applying klibc-1.4.11-interp-flags.patch ...                                                                                                         [ ok ]
 * Applying klibc-1.5-sigaction.patch ...                                                                                                               [ ok ]
 * Applying klibc-1.5-klibcasmarch.patch ...                                                                                                            [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-libs/klibc-1.5.7-r1/work/klibc-1.5.7 ...
  GEN     /usr/src/out/Makefile
ACCESS DENIED  open_wr:   /usr/src/out/Makefile
/var/tmp/portage/dev-libs/klibc-1.5.7-r1/work/linux-2.6.23/scripts/mkmakefile: line 16: /usr/src/out/Makefile: Permission denied
make[1]: *** [outputmakefile] Error 1
make[1]: *** Waiting for unfinished jobs....
  HOSTCC  scripts/basic/fixdep
ACCESS DENIED  open_wr:   /usr/src/out/scripts/basic/.fixdep.d
/var/tmp/portage/dev-libs/klibc-1.5.7-r1/work/linux-2.6.23/scripts/basic/fixdep.c:399: fatal error: opening dependency file scripts/basic/.fixdep.d: Permission denied
compilation terminated.
make[2]: *** [scripts/basic/fixdep] Error 1
make[1]: *** [scripts_basic] Error 2
make: *** [defconfig] Error 2
 * 
 * ERROR: dev-libs/klibc-1.5.7-r1 failed.
 * Call stack:
 *               ebuild.sh, line 1701:  Called dyn_compile
 *               ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *               ebuild.sh, line   44:  Called src_compile
 *   klibc-1.5.7-r1.ebuild, line  107:  Called die
 * The specific snippet of code:
 *   	emake ${defconfig} || die "No defconfig"
 *  The die message:
 *   No defconfig
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-libs/klibc-1.5.7-r1/temp/build.log'.
 * 
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-dev-libs_-_klibc-1.5.7-r1-15446.log"

open_wr:   /usr/src/out/.15493.tmp
open_wr:   /usr/src/out/.15498.tmp
open_wr:   /usr/src/out/.15503.tmp
open_wr:   /usr/src/out/.15509.tmp
open_wr:   /usr/src/out/.15515.tmp
open_wr:   /usr/src/out/.15523.tmp
open_wr:   /usr/src/out/Makefile
open_wr:   /usr/src/out/scripts/basic/.fixdep.d
open_wr:   /usr/src/out/scripts/basic/.fixdep.d
open_wr:   /usr/src/out/scripts/basic/.fixdep.d
open_wr:   /usr/src/out/scripts/basic/.fixdep.d
--------------------------------------------------------------------------------
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-11-13 15:11:56 UTC
Thx. I'll come up with something for it.

Please tell me where on your system you are setting KBUILD_OUTPUT?
(It should have been ignored for -r1, since it uses a totally private copy of the sources).
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2007-11-13 15:50:36 UTC
I'm setting KBUILD_OUTPUT in /etc/make.conf.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-11-14 06:00:28 UTC
fixed in cvs.
the v86d build support is coming later this evening hopefully.