Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145089 - zlib-1.2.3 fails to compile
Summary: zlib-1.2.3 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-25 09:18 UTC by ismohaa
Modified: 2006-08-27 22:37 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 ismohaa 2006-08-25 09:18:37 UTC
I just switched from gcc 3.3.6 to 3.4.6, because there are already packages in the stable portage-tree which won't compile with 3.3.x

I switched compilers to 3.4.6 using the gcc-config tool, then did an "emerge --sync", but upon doing "emerge -e system" I got an error while installing zlib. Just issuing the command "emerge zlib" gives the same result.

Reproducible: Always

The error message:
>>> Emerging (1 of 1) sys-libs/zlib-1.2.3 to /
/usr/lib/portage/bin/ebuild.sh: line 1200: : File or folder does not exist

!!! ERROR: sys-libs/zlib-1.2.3 failed.
Call stack:
  ebuild.sh, line 1447:   Called source '/usr/portage/sys-libs/zlib/zlib-1.2.3.ebuild'
  zlib-1.2.3.ebuild, line 5:   Called inherit 'eutils' 'flag-o-matic' 'toolchain-funcs'
  ebuild.sh, line 1200:   Called die

!!! died sourcing  in inherit()

emerge --info:
Portage 2.1-r2 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.3.6-r4, 2.6.15-gentoo-r7 i686)
=================================================================
System uname: 2.6.15-gentoo-r7 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.4
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5, 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="-O3 -march=athlon-xp -msse2 -pipe -ftracer -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O3 -march=athlon-xp -msse2 -pipe -ftracer -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo ftp://ftp.linux.ee/pub/gentoo/distfiles http://distfiles.gentoo.org"
LC_ALL="sv_FI"
LINGUAS="sv"
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 3dnow 3dnowext X a52 aac alsa apm arts audiofile avi berkdb bitmap-fonts browserplugin bzip2 cddb cdparanoia cdr cli crypt cups divx4linux dlloader dri dv dvd dvdr dvdread eds emboss encode esd fame ffmpeg firefox flac foomaticdb gdbm gif gpm gstreamer gtk gtk2 idn imagemagick imlib isdnlog jack java jpeg kde lcms libg++ libwww live lzo mad matroska mikmod mmx mmxext motif mozilla mp3 mpeg mplayer ncurses nls nodrm nptl nsplugin nvidia ogg oggvorbis opengl oss pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline real reflection sdl session spell spl sse sse2 ssl subtitles svga tcltk tcpd tiff truetype truetype-fonts type1-fonts usb userlocales vorbis win32codecs x264 xml2 xmms xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_sv userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

gcc-config -l:
 [1] i686-pc-linux-gnu-3.3.6
 [2] i686-pc-linux-gnu-3.3.6-hardened
 [3] i686-pc-linux-gnu-3.3.6-hardenednopie
 [4] i686-pc-linux-gnu-3.3.6-hardenednopiessp
 [5] i686-pc-linux-gnu-3.3.6-hardenednossp
 [6] i686-pc-linux-gnu-3.4.6 *
 [7] i686-pc-linux-gnu-3.4.6-hardened
 [8] i686-pc-linux-gnu-3.4.6-hardenednopie
 [9] i686-pc-linux-gnu-3.4.6-hardenednopiessp
 [10] i686-pc-linux-gnu-3.4.6-hardenednossp
Comment 1 ismohaa 2006-08-25 09:39:58 UTC
It turns out that my description of the problem was inaccurate. (Sorry) This has nothing to do with zlib. The entire portage system is completely dead! I can't emerge a single package. It just throws an error almost identical to the one in the previous post. Here is an example. "emerge kfloppy":

>>> Emerging (1 of 1) kde-base/kfloppy-3.5.2 to /
/usr/lib/portage/bin/ebuild.sh: line 1200: : File or folder does not exist

!!! ERROR: kde-base/kfloppy-3.5.2 failed.
Call stack:
  ebuild.sh, line 1447:   Called source '/usr/portage/kde-base/kfloppy/kfloppy-3.5.2.ebuild'
  kfloppy-3.5.2.ebuild, line 8:   Called inherit 'kde-meta' 'eutils'
  ebuild.sh, line 1200:   Called die

!!! died sourcing  in inherit()
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 2 Zac Medico gentoo-dev 2006-08-25 16:27:16 UTC
Does /usr/portage/eclass/ exist?  That's where those apparently missing eclasses should be located.
Comment 3 ismohaa 2006-08-25 22:17:11 UTC
Yes, it exists and contains 202 .eclass files.

A further update: My system (for reasons I can't comprehend) now seems completely borked. I shut down the system yesterday after trying to troubleshoot the problem without success, and when I fired it up this morning I can't log in. Not as an ordinary user, nor as root. Not into KDE, and not into a terminal. The system accepts the password - and then presents a new login screen. I really don't have a clue as to why this is. I haven't done anything that should cause something like that to happen. (Oh, and I don't have pam installed, and USE="-pam")
Comment 4 ismohaa 2006-08-27 22:37:05 UTC
Okay. I solved the problem... somehow. If there ever was a case of computer voodoo, then this was it. Details for the interested can be found here:
http://forums.gentoo.org/viewtopic-t-492385.html