Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237339 - sys-libs/glibc-2.6.1 fails compiling on a case-insensitive filesystem
Summary: sys-libs/glibc-2.6.1 fails compiling on a case-insensitive filesystem
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-10 15:56 UTC by Albert Zeyer
Modified: 2008-10-26 11:11 UTC (History)
1 user (show)

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 Albert Zeyer 2008-09-10 15:56:51 UTC
...
cho 'csu/elf-init.oS' > /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/csu/stamp.oST
mv -f /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/csu/stamp.osT /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/csu/stamp.os
i686-pc-linux-gnu-gcc -nostdlib -nostartfiles -r -o /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/csu/crt1.o /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/csu/start.o /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/csu/abi-note.o /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/csu/init.o
mv -f /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/csu/stamp.oST /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/csu/stamp.oS
mv: cannot stat `/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/csu/stamp.oST': No such file or directory
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/csu/stamp.oS] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1'
make: *** [all] Error 2
 * 
 * ERROR: sys-libs/glibc-2.6.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3375:  Called eblit-run 'src_compile'
 *             environment, line 1108:  Called eblit-glibc-src_compile
 *       src_compile.eblit, line  181:  Called toolchain-glibc_src_compile
 *       src_compile.eblit, line  122:  Called die
 * The specific snippet of code:
 *   		make PARALLELMFLAGS="${MAKEOPTS}" || die "make for ${ABI} failed"
 *  The die message:
 *   make for default failed
 * 
 * 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/sys-libs/glibc-2.6.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.6.1/temp/environment'.
 *
Comment 1 Albert Zeyer 2008-09-10 15:57:16 UTC
macbook ~ # emerge --info
Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.18-6-686 i686)
=================================================================
System uname: 2.6.18-6-686 i686 Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz
Timestamp of tree: Tue, 09 Sep 2008 01:45:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe -ggdb"
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/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl acpi alsa altenburgcards amarok amr amuled apm applet async asyncns atm automount avahi bash-completion berkdb bluetooth bonjour bookmarks branding bzip2 cairo cdr cisco cli cracklib crypt cups cxx d daap dbus dedicated deskbar dga dhcp divx dri dv dvd dvdr dvdread dvi eap-tls eds emboss enblend encode esd evo exif extra-algorithms fam fasttrack ffmpeg firefox flac ftp galago gd gdbm german gif glib glitz gmedia gnome gnutella gnutls gphoto2 gpm gsf gstreamer gtk h323 hal haskell hddtemp hfs iconv icu id3 id3tag ieee1394 imlib injection inkjar ipv6 irda isdnlog isight jabber java javascript jit joystick jpeg jpeg2k kde kerberos kig-scripting kqemu latex lcms ldap libnotify lirc lm_sensors lua lzo macbook mad madwifi maps mdnsresponder-compat midi mikmod mmap mmx mng mozdevelop mp2 mp3 mp4 mpeg mplayer mtp mudflap music musicbrainz nautilus ncurses net network networking networkmanager njb nls nntp nptl nptlonly nsplugin ntfs ogg opengl openmp oss pam pascal pch pcre pdf perl pidgin plotutils pmu png pnm posix postgres postscript ppds pptp ps pth pulseaudio python qt3 qt3support qt4 quicktime rar rc5 rdesktop readline real realmedia reflection reiser4 reiserfs rtc samba screen sdl sdl-image sdl-sound sdlaudio server session sftp sharedmem sift slp smp sockets socks5 solver sourceview speex spell spl sse sse2 ssl ssse3 startup-notification subversion svg sysfs tetex theora threads threadsafe tiff timidity tk trayicon truetype unicode unzip usb v4l2 valgrind vcd video voice vorbis weak-algorithms wifi win32codecs wma wmp wxwindows x264 x86 xanim xattr xcomposite xext xface xine xml xmlreader xorg xrandr xscreensaver xulrunner xv xvid zip zlib zsh-completion" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="sony_dscf1 sony_dscf55" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="inputlirc macmini" USERLAND="GNU" VIDEO_CARDS="i810 vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 2 Albert Zeyer 2008-09-10 15:58:25 UTC
macbook ~ # ls -la /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/csu/stamp.o*
-rw-r--r-- 1 root portage 168 2008-09-10 17:10 /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/csu/stamp.o
-rw-r--r-- 1 root portage  16 2008-09-10 17:10 /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/csu/stamp.os
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-10 20:05:27 UTC
Oh right, so you did try to recompile sys-libs/glibc... I'm starting to see a pattern of emerge failing. Is this all on one system, Albert?
Comment 4 Albert Zeyer 2008-09-10 22:02:17 UTC
Yes, that is all on the same PC. I am not sure though at what point it is related (if it is at all).

Perhaps it helps to give some details about the setup:

Gentoo is running inside a VM (VMware Fusion) on a MacOSX Intel machine. The root directory is located in the MacOSX filesystem and Gentoo accesses via NFS (nfsroot kernel parameter).

Perhaps it could be a problem that MacOSX uses a case insensitive filesystem. I am not sure though if this is really related to the errors (I cannot see any connection between the error message and this).
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-15 13:51:10 UTC
Like your other case sensitivity bugs, it appears that the build system first writes a file *.oST, which is actually written to the file system in lower case *.ost, after which the build system tries to access *.oST again and of course it fails. I am beginning to think that you're simply running an unsupported setup. Fixing your problem would involve thousands of packages' build systems that rely on filenames returned to be case-matching the filenames it set.
Comment 6 Albert Zeyer 2008-09-15 14:03:32 UTC
Ah, yes I see it. My output already gives this information (should have read it more carefully).

I will later try to figure out how to fix that. At the moment I don't need to recompile glibc (I only tried it because I thought it would change something at the libX11 bug; but as I figured out, it is not related).

I have emerged 266 different packages so far and only got problems in 3 packages so far because of the case insensitive filesystem (bug #237701 (libX11) and bug #237338 (libperl) and this one). And I fixed already libX11 and libperl. I would not just drop the whole support for case insensitve filesystems because there are around 0.5% packages which fail. Also, there are Gentoo/Alt projects like Gentoo on MacOSX which require this support.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-15 14:40:15 UTC
That makes me curious how alt@ normally fixes such issues.
Comment 8 Fabian Groffen gentoo-dev 2008-09-15 15:54:59 UTC
Well, this bug has nothing to do with us, but we just rename things sometimes, but it's very very rare.  Most of the time upstreams are willing to come up with a unique name.

Please reassign to base-system or something that actually does something with glibc.  Though, nfs could be the culprit, but this bug really has little information to actually even judge what or who is at fault.
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-15 17:54:31 UTC
Have we ever supported case insensitive (root) file systems?
Comment 10 SpanKY gentoo-dev 2008-10-26 06:06:50 UTC
no we havent and we're not about to start.  there are many packages which rely on case.  like the Linux kernel.  or our C libraries.  or iptables.
Comment 11 Albert Zeyer 2008-10-26 10:47:08 UTC
(In reply to comment #10)
> no we havent and we're not about to start.  there are many packages which rely
> on case.  like the Linux kernel.  or our C libraries.  or iptables.
> 

What about Gentoo on MacOSX?
http://www.gentoo.org/proj/en/gentoo-alt/macos/
You have a case insensitive fs on MacOSX by default.

Anyway, I compiled a full Gnome system with more or less all my needed packages now (around 300 packages). Only 4 of them needed some small fixes.

I have these 4 packages in my local overlay, so I can continue using Gentoo now.
Comment 12 SpanKY gentoo-dev 2008-10-26 11:03:14 UTC
OS X supports case sensitivity ... you just have to enable it.  otherwise you create a loop back image via disk utils.

regardless, we arent going to start supporting broken file systems
Comment 13 Albert Zeyer 2008-10-26 11:11:48 UTC
(In reply to comment #12)
> OS X supports case sensitivity ... you just have to enable it.  otherwise you
> create a loop back image via disk utils.
> 

Yes I know you can, but it is not the default and it breaks many things on MacOSX (or in a lot of MacOSX) user applications, so it is really not a good idea to do so on MacOSX.

> regardless, we arent going to start supporting broken file systems
> 

:)

Anyway, what about Gentoo on cygwin? I doubt you have any option there.