eselect-python-20100321 fails to regenerate autotools files: * Applying eselect-python-20100321-prefix.patch ... /opt/gentoo/usr/bin/autoheader: /opt/gentoo/usr/bin/autoheader-2.13: /opt/prefix-launcherinst/bin/bash: bad interpreter: No such file or directory /opt/gentoo/usr/bin/autoheader: line 175: /opt/gentoo/usr/bin/autoheader-2.13: Undefined error: 0 * ERROR: app-admin/eselect-python-20100321 failed: Reproducible: Always Steps to Reproduce: Portage 2.2.01.15553-prefix (prefix/windows/interix/3.5/x86, gcc-4.2.4, unavailable, 3.5 x86) ================================================================= System uname: Interix-3.5-x86-32bit Timestamp of tree: Sat, 16 Oct 2010 13:41:39 +0000 app-shells/bash: 4.1_p7 dev-lang/python: 2.6.4 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.2-r00.1, 1.11.1 sys-devel/binutils: 2.20.51.0.10 sys-devel/gcc: 4.2.4-r01.2 sys-devel/gcc-config: 1.4.1-r00.2 sys-devel/libtool: 2.2.6b sys-devel/make: 3.81-r2 ACCEPT_KEYWORDS="~x86-interix" ACCEPT_LICENSE="* -@EULA" CBUILD="i586-pc-interix3.5" CFLAGS="-O2 -pipe" CHOST="i586-pc-interix3.5" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/opt/gentoo/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--keep-going" FEATURES="assume-digests collision-protect distlocks fixlafiles fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://sapc154.salomon.at/pub/portage http://gentoo.ynet.sk/pub" LANG="de" LDFLAGS="" MAKEOPTS="-j3" PKGDIR="/opt/gentoo/usr/portage/packages" PORTAGE_CONFIGROOT="/opt/gentoo/" 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="/opt/gentoo/var/tmp" PORTDIR="/opt/gentoo/usr/portage" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="cracklib cxx modules ncurses prefix readline ssl vim-syntax x86-interix zlib" 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Interix" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Interix" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php-5.2" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 250913 [details] build log
(In reply to comment #0) > /opt/prefix-launcherinst/bin/bash: bad interpreter: No such file or directory hmmm... it built for me during bootstrap. what are you doing? bootstrapping yourself? if yes, do you have another prefix in path? prefix-launcher? need more info ;)
(In reply to comment #2) > (In reply to comment #0) > > /opt/prefix-launcherinst/bin/bash: bad interpreter: No such file or directory This path should really be "/opt/gentoo/bin/bash" - the prefix is the default one. > > hmmm... it built for me during bootstrap. > > what are you doing? bootstrapping yourself? if yes, do you have another prefix > in path? prefix-launcher? need more info ;) > I followed the instructions you described in http://mirrors.kernel.org/gentoo/experimental/prefix/x86-interix/current/gpx-installation-20100310.pdf . I used a different installer of SFU, because the default one does not install on XP Home (but this should not be the origin of this problem). After the installation was finished it wasnt clear to me how to actually start the prefixed Gentoo, but I saw the helpful message in ksh (I found the Korn Shell in SFU's start-menu entry) - so I started Prefix with typing "gentoo" in the Korn Shell. Yesterday, I noticed that this does not set EPREFIX, but SYS_EPREFIX. Is that a problem ? I currently do not have access to my Interix box but once I do have I will reinstall the prefix tree and grep for the wrong shebang; yesterday I was sure that these come with the default installation, but I better double-check it.
I removed my old /opt/gentoo directory and ran the installer again. Heres the output of "cd /opt && grep prefix-launcherinst . -r" (/opt/gentoo being the untouched directory): ./gentoo/usr/bin/autoconf-2.13:#! /opt/prefix-launcherinst/bin/bash ./gentoo/usr/bin/autoheader-2.13:#! /opt/prefix-launcherinst/bin/bash ./gentoo/usr/bin/automake-1.7: $ENV{'SHELL'} = '/opt/prefix-launcherinst/bin/bash' if exists $ENV{'DJGPP'}; ./gentoo/usr/bin/automake-1.8: $ENV{'SHELL'} = '/opt/prefix-launcherinst/bin/bash' if exists $ENV{'DJGPP'}; ./gentoo/usr/bin/automake-1.9: $ENV{'SHELL'} = '/opt/prefix-launcherinst/bin/bash' if exists $ENV{'DJGPP'}; ./gentoo/usr/bin/autoreconf-2.13:#! /opt/prefix-launcherinst/bin/bash ./gentoo/usr/bin/autoupdate-2.13:#! /opt/prefix-launcherinst/bin/bash ./gentoo/usr/bin/ifnames-2.13:#! /opt/prefix-launcherinst/bin/bash I guess this is either a problem of the installer or a wrong configuration of my installation. Rebuilding all my version of autoconf and automake made these wrong shebangs disappear and solved the problem!
Please mark bug #341361 as duplicate (also fixed after re-emerging autoconf and automake)
*** Bug 341431 has been marked as a duplicate of this bug. ***
i need to carefully watch out for such wrong paths in the new snapshots i'm building, but the actual bug is fixed for now.