Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145016 - dev-libs/klibc-1.2.1-r2 will not compile
Summary: dev-libs/klibc-1.2.1-r2 will not compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-24 14:25 UTC by MickKi
Modified: 2006-08-25 13:02 UTC (History)
0 users

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


Attachments
emerge log of klibc-1.2.1-r2 (klibc.txt,7.30 KB, text/plain)
2006-08-25 01:43 UTC, MickKi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MickKi 2006-08-24 14:25:07 UTC
This may be related to splashutils also bombing out with an error (but not sure).  Anyway, this is the klibc part:
================================================
http://gentoo.michaelkintzios.fastmail.fm/klibc.txt
================================================

This is my emerge --info:
================================================
# emerge --info
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) III Mobile CPU      1066MHz
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -msse -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -msse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer sandbox sfperms strict userlocales userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://212.219.56.132/sites/www.ibiblio.org/gentoo/ ftp://212.219.56.133/sites/www.ibiblio.org/gentoo/ http://194.117.143.70 ftp://212.219.56.134/sites/www.ibiblio.org/gentoo/ http://194.117.143.71 http://194.117.143.72"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acl acpi alsa apache2 apm arts asf avi berkdb bitmap-fonts bluetooth bzip2 ccache cdparanoia cli crypt cups curl dlloader dri dvd dvdread emboss encode ffmpeg flac foomaticdb fortran gdbm gif gpm gstreamer gtalk gtk2 imagemagick imlib irda irmc isdnlog jabber jpeg kde libg++ libwww live lm_sensors logrotate mad mikmod mng motif mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pcmcia pcre pdflib perl pmu png ppds pppd python qt3 qt4 quicktime readline real reflection scanner sdl session smime speex spell spl sse ssl svga tcpd theora tidy tiff truetype truetype-fonts type1-fonts udev usb vorbis win32codecs wmf xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_en_GB userland_GNU video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
================================================
--
Regards,
Mick
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-24 15:08:56 UTC
You didn't post any errors. And, don't refer to third-party links when filing bugs, please.
Comment 2 MickKi 2006-08-24 15:15:45 UTC
Sorry for the link. I need to find out how to attach logs . . .

Here's the error:
====================================================
. . .
  KLIBCAS klibc/syscalls/init_module.o
  KLIBCAS klibc/syscalls/delete_module.o
  KLIBCAS klibc/syscalls/klogctl.o
  KLIBCAS klibc/syscalls/__reboot.o
  KLIBCAS klibc/syscalls/sysinfo.o
  KLIBCAS klibc/syscalls/iopl.o
  KLIBCAS klibc/syscalls/ioperm.o
  KLIBCAS klibc/syscalls/vm86.o
  KLIBCLD klibc/syscalls/syscalls.o
make[1]: *** [all] Error 2
make: *** [klibc] Error 2

!!! ERROR: dev-libs/klibc-1.2.1-r2 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  klibc-1.2.1-r2.ebuild, line 138:   Called die

!!! Compile failed!
====================================================
-- 
Regards,
Mick
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-08-24 15:20:36 UTC
Not really useful, attach the real error.
Comment 4 MickKi 2006-08-25 01:43:15 UTC
Created attachment 95049 [details]
emerge log of klibc-1.2.1-r2

This is the complete emerge output. HTH.
-- 
Regards,
Mick
Comment 5 MickKi 2006-08-25 01:50:53 UTC
I suspect that this is the culprit:
=========================================
  KLIBCCC klibc/fork.o
  KLIBCAS klibc/syscalls/pipe.o
  KLIBCAS klibc/syscalls/umask.o
  KLIBCAS klibc/syscalls/chroot.o
In file included from linux/include/linux/linkage.h:4,
                 from linux/include/asm/signal.h:5,
                 from include/signal.h:13,
                 from klibc/fork.c:9:
linux/include/linux/config.h:6:28: warning: linux/include/linux/autoconf.h: Permission denied
linux/include/linux/config.h:6:28: linux/autoconf.h: No such file or directory
  KLIBCAS klibc/syscalls/symlink.o
make[2]: *** [klibc/fork.o] Error 1
make[2]: *** Waiting for unfinished jobs....
  KLIBCAS klibc/syscalls/readlink.o
  KLIBCAS klibc/syscalls/lstat.o
  KLIBCAS klibc/syscalls/stat.o
=========================================

This is the access rights on the file in question:
-rw-------  1 root root  47664 Aug 24 20:44 autoconf.h

Should it look different?
-- 
Regards,
Mick
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-08-25 02:23:35 UTC
(In reply to comment #5)
> I suspect that this is the culprit:

Yeah, that doesn't look good. ;)
Comment 7 MickKi 2006-08-25 13:02:03 UTC
Unless someone advises differently, I think that the error is a result of corrupted access rights of the autoconf.h file.  I have three kernel sources on this box and their access rights are as follows:
==========================================================
# ls -la /usr/src/linux-2.6.16-gentoo-r13/include/linux/autoconf.h 
-rw------- 1 root root 46596 Jul 19 
11:10 /usr/src/linux-2.6.16-gentoo-r13/include/linux/autoconf.h

# ls -la /usr/src/linux-2.6.17-gentoo-r4/include/linux/autoconf.h 
-rw------- 1 root root 47664 Aug 24 
20:44 /usr/src/linux-2.6.17-gentoo-r4/include/linux/autoconf.h

# ls -la /usr/src/linux-2.6.18-rc4/include/linux/autoconf.h 
-rw-r--r-- 1 root root 18921 Aug 15  14:04 /usr/src/linux-2.6.18-rc4/include/linux/autoconf.h
==========================================================

I tried to compile it with the linux-2.6.18-rc4 sources and of course it compiled without any problems.  Therefore, I am marking this bug as INVALID; unless this is not a problem with my fs but the sources tree or ebuild - in which case please change the status of this bug as you see fit.
-- 
Regards,
Mick