Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 531660 - mail-client/thunderbird-31.3.0 - src_compile(): .../work/comm-esr31/configure: line 129: Error: command not found
Summary: mail-client/thunderbird-31.3.0 - src_compile(): .../work/comm-esr31/configure...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
Depends on:
Reported: 2014-12-04 12:32 UTC by Phil Stracchino (Unix Ronin)
Modified: 2014-12-05 19:12 UTC (History)
0 users

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

build.log (build.log,19.34 KB, text/plain)
2014-12-04 12:32 UTC, Phil Stracchino (Unix Ronin)
Environment file (environment,189.08 KB, text/plain)
2014-12-04 12:32 UTC, Phil Stracchino (Unix Ronin)

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Stracchino (Unix Ronin) 2014-12-04 12:32:25 UTC
Created attachment 390916 [details]

While attempting to emerge mail-client/thunderbird-31.3.0 on Gentoo Linux configure failed and reported an error within mach.  Since I'm not totally certain this isn't some kind of environment oops (although it appears repeatable), I'm reporting it here as well as upstream.  Upstream bug is

Build log and environment are attached.

babylon5:root:~:8 # emerge --info '=mail-client/thunderbird-31.3.0::gentoo'
Portage 2.2.8-r2 (default/linux/amd64/13.0/desktop, gcc-4.8.3, glibc-2.19-r1, 3.17.4-gentoo-babylon5 x86_64)
                         System Settings
System uname: Linux-3.17.4-gentoo-babylon5-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.2
KiB Mem:    16411564 total,    902008 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Thu, 04 Dec 2014 07:00:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.3_p30-r1
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.7, 3.2.5-r6, 3.3.5-r1, 3.4.1
dev-util/ccache:          3.1.9-r3
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.9.6-r3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.6.3, 4.7.3-r1, 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 mysql x11 farmboy0 overlay-dev-alaric
CFLAGS="-march=amdfam10 -O2 -pipe -mfpmath=sse -mcx16 -mpopcnt"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/bind /var/lib/hsqldb"
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 -mfpmath=sse -mcx16 -mpopcnt"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks 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="                                                                  "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
PORTDIR_OVERLAY="/var/lib/layman/mysql /var/lib/layman/x11 /var/lib/layman/farmboy0 /var/lib/alaric"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif firefox flac fltk fortran gdbm gif glamor gpm gtk iconv id3tag imagemagick ipv6 java jpeg jpeg2k kde lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib mysql ncurses nls nptl nsplugin ogg opengl openmp opus pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl session speex spell sse sse2 sse4 ssl startup-notification svg tcpd theora threads tiff tk tools truetype udev udisks unicode upower usb utils v4l v4l2 vdpau vorbis wxwidgets x264 xcb xml xpm xv xvid zlib" ABI_X86="64" ALSA_CARDS="emu10k1 hda-intel" 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 keyboard mouse" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" 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="nouveau v4l" 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"

babylon5:root:~:9 # emerge -pqv '=mail-client/thunderbird-31.3.0::gentoo'
[ebuild     U ] mail-client/thunderbird-31.3.0 [31.2.0-r1] USE="crypt dbus jit ldap lightning minimal startup-notification -bindist -custom-cflags -custom-optimization -debug -gstreamer -mozdom -pulseaudio (-selinux) -system-cairo -system-icu -system-jpeg -system-libvpx* -system-sqlite" LINGUAS="-ar -ast -be -bg -bn_BD -br -ca -cs -da -de -el -en_GB -es_AR -es_ES -et -eu -fi -fr -fy_NL -ga_IE -gd -gl -he -hr -hu -hy_AM -id -is -it -ja -ko -lt -nb_NO -nl -nn_NO -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -sq -sr -sv_SE -ta_LK -tr -uk -vi -zh_CN -zh_TW"
Comment 1 Phil Stracchino (Unix Ronin) 2014-12-04 12:32:51 UTC
Created attachment 390918 [details]
Environment file
Comment 2 Ian Stakenvicius (RETIRED) gentoo-dev 2014-12-05 15:17:42 UTC
emerge --info =mail-client/thunderbird-31.3.0 too please?  I can't reproduce this on my own so far.
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2014-12-05 15:18:07 UTC
(In reply to Ian Stakenvicius from comment #2)
> emerge --info =mail-client/thunderbird-31.3.0 too please?  I can't reproduce
> this on my own so far.

Never mind, it's there -- i just need more coffee and sleep.
Comment 4 Ian Stakenvicius (RETIRED) gentoo-dev 2014-12-05 16:07:09 UTC
OK, so this I think might actually some sort of unpack failure.

Check ${S}/mozilla/mach , it should be a shell script that is executable.  It seems that based on your build.log, it isn't.

If it is there and executable, please cd ${S}/mozilla and try running './mach environment --format=configure' by hand and see what error it reports.

Finally (perhaps because I can't read today), is your /bin/sh pointing to /bin/bash ?
Comment 5 Ian Stakenvicius (RETIRED) gentoo-dev 2014-12-05 19:06:41 UTC
After some extensive debugging with the user on irc, it's been determined that the issue is from something custom declared in the user's environment.  Not a bug we can fix from the ebuild side of things - closing.
Comment 6 Phil Stracchino (Unix Ronin) 2014-12-05 19:12:40 UTC
We discovered during the course of troubleshooting that the problem is being caused by the existence of a src() bash shell function in my environment.  This appears to be causing a failure of the build process in 31.3.0 for some as-yet not understood reason, yet did not cause a problem in 31.2.0.

Per Ian's suggestion, I have disabled the function in the Portage environment by adding 'unset -f src' to /etc/portage/bashrc, and this appears to have solved the problem.