Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 531696 - www-client/firefox-34.0.5-r1 - /bin/sh: ./config.status: .../work/mozilla-releas: bad interpreter: No such file or directory
Summary: www-client/firefox-34.0.5-r1 - /bin/sh: ./config.status: .../work/mozilla-rel...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-04 17:26 UTC by Marko Doko
Modified: 2015-01-14 07:01 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,50.81 KB, text/plain)
2014-12-04 17:27 UTC, Marko Doko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Doko 2014-12-04 17:26:39 UTC
www-client/firefox-34.0.5-r1 fails to build. It seems like something is misspelled somewhere. The error states that ${WORKDIR}/mozilla-releas does not exist. I'm guessing that the file in question should be ${WORKDIR}/mozilla-release.

Reproducible: Always

Steps to Reproduce:
1. emerge -av1 =www-client/firefox-34.0.5-r1
2. Build fails.




emerge --info '=www-client/firefox-34.0.5-r1::gentoo' output:
Portage 2.2.14 (python 2.7.7-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.8.3, glibc-2.19-r1, 3.16.5-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.16.5-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1100T_Processor-with-gentoo-2.2
KiB Mem:     8177456 total,    419380 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Thu, 04 Dec 2014 17:00:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.7, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)                                                                                                                                
sys-libs/glibc:           2.19-r1                                                                                                                                                  
Repositories: gentoo seafile mdoko                                                                                                                                                 
ACCEPT_KEYWORDS="amd64"                                                                                                                                                            
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x PUEL skype-4.0.0.7-copyright"                                                                                                             
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --autounmask=y --misspell-suggestions=y --fail-clean=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://de-mirror.org/gentoo/ http://mirror.netcologne.de/gentoo/ http://gentoo.mirror.web4u.cz/ http://distfiles.gentoo.org/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/seafile /usr/local/portage/overlay-mdoko"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif glamor gpm iconv icu ipv6 java jpeg kde kipi lcms libnotify lm_sensors mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pango pcre pdf phonon plasma png policykit ppds pulseaudio qt3support qt4 readline sdl session spell sse sse2 ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" 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 ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="radeon r600" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON


emerge -pqv '=www-client/firefox-34.0.5-r1::gentoo' output:
[ebuild     U ] www-client/firefox-34.0.5-r1 [33.0-r1] USE="custom-cflags custom-optimization dbus gstreamer jit minimal pulseaudio startup-notification system-cairo system-icu system-jpeg system-libvpx system-sqlite -bindist -debug -gmp-autoupdate% -hardened (-pgo) (-selinux) {-test} -wifi" LINGUAS="-af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -csb -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW (-ku%) (-zu%)"
Comment 1 Marko Doko 2014-12-04 17:27:38 UTC
Created attachment 390938 [details]
build.log
Comment 2 Xavier Miller (RETIRED) gentoo-dev 2014-12-04 18:02:21 UTC
Happens in ~amd64 and ~x86. Tested with and without distcc.
Comment 3 Xavier Miller (RETIRED) gentoo-dev 2014-12-04 18:15:19 UTC
It seems there is a full path length problem.

Setting PORTAGE_TMPDIR to a smaller name ("/_" in place of a path name longer than "/var/tmp/portage", as "/usr/local/share/data/portage" or "/var/tmp/portage-notmpfs/portage" for me) seems to work.
Comment 4 Xavier Miller (RETIRED) gentoo-dev 2014-12-04 19:39:15 UTC
The build fails when len(PORTAGE_TMPDIR) >= 17, so mainly when it is not the default /var/tmp/portage, which is 16 chars.
Comment 5 Sam Jorna (wraeth) gentoo-dev 2014-12-05 00:07:24 UTC
(In reply to Xavier Miller from comment #3)
> It seems there is a full path length problem.
> 
> Setting PORTAGE_TMPDIR to a smaller name ("/_" in place of a path name
> longer than "/var/tmp/portage", as "/usr/local/share/data/portage" or
> "/var/tmp/portage-notmpfs/portage" for me) seems to work.

I encountered this issue as well, resolved by setting PORTAGE_TMPDIR to something shorter than my '-notmpfs' variant.

I think it's probably worth noting too that portage will resolve symlinks when determing the PORTAGE_TMPDIR path - I first tried using a symlink '/var/tmp/prt_ntmp -> portage-notmpfs' but this still resolved to the full (over-length) path during the build.
Comment 6 Ian Stakenvicius (RETIRED) gentoo-dev 2014-12-05 22:20:30 UTC
Right, so the issue that I think we're hitting here is that the shebang length limit (which is 80 chars) is being exceeded.

Unfortunately, I'm not sure what we're going to be able to do about this.  I can try and make the shebang and/or calls to the _virtualenv python be relative instead of absolute, but I think that's going to be a pretty big patch..

I'll keep looking into it.
Comment 7 Ian Stakenvicius (RETIRED) gentoo-dev 2014-12-05 23:07:43 UTC
OK, well this I can do, and it helps some.  Please reopen if problem persists, i know the issue is likely going to be a moving target (works for many, not for some)

+  05 Dec 2014; Ian Stakenvicius (_AxS_) <axs@gentoo.org>
+  firefox-34.0.5-r1.ebuild:
+  shorten objdir to support longer PORTAGE_TMPDIRs, bug 531696
+
Comment 8 Xavier Miller (RETIRED) gentoo-dev 2015-01-13 19:12:01 UTC
Same error for firerox 35!