... <ustat.h> found. <utime.h> found. <values.h> found. <gdbm.h> found. gdbm_open() found. Looking for extensions... What extensions do you wish to load dynamically? [B ByteLoader Cwd DB_File Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call GDBM_File I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/APItest XS/Typemap attrs re threads threads/shared] What extensions do you wish to load statically? [none] Stripping down executable paths... Creating config.sh... Doing variable substitutions on .SH files... Extracting cflags (with variable substitutions) Extracting config.h (with variable substitutions) Extracting makeaperl (with variable substitutions) Extracting makedepend (with variable substitutions) Extracting makedir (with variable substitutions) Extracting Makefile (with variable substitutions) Extracting myconfig (with variable substitutions) Extracting pod/Makefile (with variable substitutions) Extracting Policy.sh (with variable substitutions) Extracting writemain (with variable substitutions) Extracting x2p/cflags (with variable substitutions) Extracting x2p/Makefile (with variable substitutions) Configure done. If you compile perl5 on a different machine or from a different object directory, copy the Policy.sh file from this object directory to the new one before you run Configure -- this will help you with most of the policy defaults. make: Makefile: No such file or directory make: *** No rule to make target `Makefile'. Stop. * * ERROR: sys-devel/libperl-5.8.8-r2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2487: Called die * The specific snippet of code: * emake -j1 -f Makefile depend || die "Couldn't make libperl$(get_libname) depends"; * The die message: * Couldn't make libperl.so depends * * 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-devel/libperl-5.8.8-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-devel/libperl-5.8.8-r2/temp/environment'. *
macbook ~ # find /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8 -name Makefile* /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/Cross/Makefile /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/Cross/Makefile.SH.patch /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/cygwin/Makefile.SHs /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/attrs/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/B/C/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/B/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/ByteLoader/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Cwd/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Data/Dumper/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/DB_File/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Devel/DProf/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Devel/Peek/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Devel/PPPort/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Digest/MD5/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/DynaLoader/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Encode/Byte/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Encode/CN/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Encode/EBCDIC/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Encode/Encode/Makefile_PL.e2x /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Encode/JP/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Encode/KR/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Encode/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Encode/Symbol/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Encode/TW/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Encode/Unicode/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Errno/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Fcntl/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/File/Glob/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Filter/Util/Call/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/GDBM_File/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/I18N/Langinfo/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/IO/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/IPC/SysV/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/List/Util/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/MIME/Base64/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/NDBM_File/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/ODBM_File/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Opcode/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/PerlIO/encoding/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/PerlIO/scalar/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/PerlIO/via/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/POSIX/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/re/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/SDBM_File/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/SDBM_File/sdbm/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Socket/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Storable/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Sys/Hostname/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Sys/Syslog/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Thread/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/threads/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/threads/shared/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Time/HiRes/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Unicode/Normalize/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/XS/APItest/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/XS/Typemap/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/jpl/JNI/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/jpl/JPL/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/jpl/JPL_Rolo/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/jpl/PerlInterpreter/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/jpl/Sample/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/jpl/Test/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/lib/unicore/Makefile /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/Makefile.micro /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/Makefile.SH /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/mint/Makefile /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/NetWare/Makefile /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/os2/Makefile.SHs /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/os2/OS2/ExtAttr/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/os2/OS2/PrfDB/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/os2/OS2/Process/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/os2/OS2/REXX/DLL/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/os2/OS2/REXX/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/pod/Makefile /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/pod/Makefile.SH /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/utils/Makefile /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/vmesa/Makefile /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/vms/ext/DCLsym/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/vms/ext/Stdio/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/vos/Makefile /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/win32/ext/Win32/Makefile.PL /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/win32/Makefile /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/wince/Makefile.ce /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/x2p/Makefile.SH
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: Sun, 14 Sep 2008 17:00:02 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13, 2.5.2-r7 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.7.9-r1, 1.8.5-r3, 1.9.6-r2, 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 c++ 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 zeroconf 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
Created attachment 165467 [details] build.log
Even when I call Makefile.SH directly, I don't get the Makefile: macbook perl-5.8.8 # ./Makefile.SH Extracting Makefile (with variable substitutions) macbook perl-5.8.8 # ls Makefile* Makefile.micro Makefile.SH macbook perl-5.8.8 #
I found the problem: In Makefile.SH (I added some echos here and there): echo "STEP5" ls Makefile* echo "eunicefix = $eunicefix" echo "rm = $rm" echo "firstmakefile = $firstmakefile" $eunicefix Makefile case `pwd` in *SH) $rm -f ../Makefile $ln Makefile ../Makefile ;; esac $rm -f $firstmakefile echo "STEP6" ls Makefile* This gives the output: macbook perl-5.8.8 # ./Makefile.SH Extracting Makefile (with variable substitutions) spitshell = cat STEP1 Makefile Makefile.micro Makefile.SH STEP2 STEP3 Makefile Makefile.micro Makefile.SH STEP4 Makefile Makefile.micro Makefile.SH STEP5 Makefile Makefile.micro Makefile.SH eunicefix = : rm = rm firstmakefile = makefile STEP6 Makefile.micro Makefile.SH It tries to delete makefile. Because I have a case insensitive file system, it therefore deletes Makefile.
OK, that one was easy. Here is the fix: Just add the following sed to the src_compile() (just before the 'sh Configure ...') in the libperl-5.8.8-r2.ebuild: sed -i -e "s/firstmakefile='makefile'/firstmakefile='makefile.first'/g" Configure It compiles and emerges fine then.
What case insensitive file system is that? Specs please... Would this explain the other spurious bugs you have been reporting?
It should not matter which file system that is, it just matters that it is case insensitive (and therefore Makefile == makefile, that's the whole problem in this bug). But, just for completness: That is a NFS-directory which is located on a MacOSX machine which uses HFS+ with jornaling enabled and case sensitivity disabled. But this bug will for sure also occur on all other systems with case insensitive file systems. Which other bugs do you mean exactly? I haven't looked into details of bug #237707 (etc-update problem), therefore I don't know (but I don't think this bug is related to case sensitivity). Same for bug #237232 (emerge/pycrypto issue), bug #237339 (glibc) and bug #237325 (gcc). And I am very sure that bug #237709 (libpq) and bug #229415 (libgpg-error) are also not related. The only bug which was also because of a case insensitive filesystem was bug #237338 (libX11).