Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 452734

Summary: www-client/firefox-18.0-r1 fails to build (prefix) - fatal error: jemalloc.h: No such file or directory
Product: Gentoo/Alt Reporter: Steven Trogdon <strogdon>
Component: OtherAssignee: Gentoo non-Linux Team <alt>
Status: RESOLVED OBSOLETE    
Severity: normal CC: moschlar
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log

Description Steven Trogdon 2013-01-17 20:30:33 UTC
Created attachment 335956 [details]
build log

firefox-18.0-r1 

---
emerge -pv =www-client/firefox-18.0-r1

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] www-client/firefox-18.0-r1::gentoo [17.0.2::gentoo_prefix] USE="alsa dbus jit minimal -bindist -custom-cflags -custom-optimization -debug -gstreamer -libnotify (-pgo) (-selinux) -startup-notification -system-jpeg% -system-sqlite -wifi" LINGUAS="-af -ak -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 -ku -lg -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -nso -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -ta_LK -te -th -tr -uk -vi -zh_CN -zh_TW -zu" 0 kB
---

fails to build on ~amd64-linux with:

nsIInterfaceRequestor.idl
/storage/strogdon/gentoo/var/tmp/portage/www-client/firefox-18.0-r1/work/mozilla-release/obj-x86_64-unknown-linux-gnu/_virtualenv/bin/python /storage/strogdon/gentoo/var/tmp/portage/www-client/firefox-18.0-r1/work/mozilla-release/config/pythonpath.py \
  -I/storage/strogdon/gentoo/var/tmp/portage/www-client/firefox-18.0-r1/work/mozilla-release/other-licenses/ply \
  -I/storage/strogdon/gentoo/var/tmp/portage/www-client/firefox-18.0-r1/work/mozilla-release/xpcom/typelib/xpt/tools \
  /storage/strogdon/gentoo/var/tmp/portage/www-client/firef
irefox-18.0-r1/work/mozilla-release/xpcom/base/nsIInterfaceRequestor.idl -d .deps/nsIInterfaceRequestor.xpt.pp -o _xpidlgen/nsIInterfaceRequestor.xpt
nsIMemory.idl
/storage/strogdon/gentoo/var/tmp/portage/www-client/firefox-18.0-r1/work/mozilla-release/obj-x86_64-unknown-linux-gnu/_virtualenv/bin/python /storage/strogdon/gentoo/var/tmp/portage/www-client/firefox-18.0-r1/work/mozilla-release/config/pythonpath.py \
  -I/storage/strogdon/gentoo/var/tmp/portage/www-client/firefox-18.0-r1/work/mozilla-release/other-licenses/ply \
  -I/storage/strogdon/gentoo/var/tmp/portage/www-client/firefox-18.0-r1/work/mozilla-release/xpcom/typelib/xpt/tools \
  /storage/strogdon/gentoo/var/tmp/portage/www-client/firef
irefox-18.0-r1/work/mozilla-release/xpcom/base/nsIMemory.idl -d .deps/nsIMemory.xpt.pp -o _xpidlgen/nsIMemory.xpt
nsIProgrammingLanguage.idl
In file included from /storage/strogdon/gentoo/var/tmp/portage/www-client/firefox-18.0-r1/work/mozilla-release/xpcom/base/AvailableMemoryTracker.cpp:29:0:
../../dist/system_wrappers/jemalloc.h:3:27: fatal error: jemalloc.h: No such file or directory
compilation terminated.

My emerge --info:

Portage 2.2.01.21580-prefix (prefix/linux/amd64, gcc-4.6.3, unavailable, 2.6.32-5-amd64 x86_64)
=================================================================
System uname: Linux-2.6.32-5-amd64-x86_64-Six-Core_AMD_Opteron-tm-_Processor_2427-with-debian-6.0.6
Timestamp of tree: Thu, 17 Jan 2013 15:38:43 +0000
ld GNU ld (GNU Binutils) 2.23
ccache version 3.1.8 [enabled]
app-shells/bash:          4.2_p39-r1::gentoo_prefix
dev-java/java-config:     2.1.11-r3::gentoo_prefix
dev-lang/python:          2.7.3-r2::gentoo_prefix, 3.3.0::gentoo_prefix
dev-util/ccache:          3.1.8::gentoo_prefix
dev-util/cmake:           2.8.10.2-r1::gentoo_prefix
dev-util/pkgconfig:       0.27.1::gentoo_prefix
sys-devel/autoconf:       2.13::gentoo_prefix, 2.69::gentoo_prefix
sys-devel/automake:       1.11.6::gentoo_prefix, 1.12.4::gentoo_prefix
sys-devel/binutils:       2.23::gentoo_prefix
sys-devel/gcc:            4.4.6-r1::gentoo_prefix, 4.5.4::gentoo_prefix, 4.6.3::gentoo_prefix
sys-devel/gcc-config:     1.8-r00.1::gentoo_prefix
sys-devel/libtool:        2.4.2::gentoo_prefix
sys-devel/make:           3.82-r4::gentoo_prefix
sys-kernel/linux-headers: 3.7::gentoo_prefix (virtual/os-headers)
Repositories: gentoo_prefix local-overlay sage-on-gentoo sage-on-prefix my-gentoo-sage
ACCEPT_KEYWORDS="~amd64-linux"
ACCEPT_LICENSE="* -@EULA dlj-1.1 Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=opteron -O2 -pipe"
DISTDIR="/storage/strogdon/gentoo/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-lo
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j13"
PKGDIR="/storage/strogdon/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/storage/strogdon/gentoo/"
PORTAGE_RSYNC_EXTRA_OPTS="--delete-after --timeout=500"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/storage/strogdon/gentoo/var/tmp"
PORTDIR="/storage/strogdon/gentoo/usr/portage"
PORTDIR_OVERLAY="/storage/strogdon/gentoo/usr/local/portage /storage/strogdon/gentoo/usr/local/portage/sage-on-gentoo /storage/strogdon/gentoo/usr/local/portage/sage-on-prefix /storage/strogdon/gentoo/usr/local/portage/my-gentoo-sage"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx modules mudflap ncurses nls nptl openmp pcre pppd prefix readline session sse sse2 ssl tcpd unicode zlib" 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" 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="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" 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 ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy 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"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON

I noticed in build.log that firefox is configured with

--disable-jemalloc              we have old glibc

presumably the host glibc. Perhaps this is the source of the problem.
Comment 1 Steven Trogdon 2013-01-29 19:41:01 UTC
firefox-18.0-r1 is gone from the tree, but the existing firefox-18.0.1 also fails in prefix with the same

In file included from /storage/strogdon/gentoo/var/tmp/portage/www-client/firefox-18.0.1/work/mozilla-release/xpcom/base/AvailableMemoryTracker.cpp:29:0:
../../dist/system_wrappers/jemalloc.h:3:27: fatal error: jemalloc.h: No such file or directory
compilation terminated.
Comment 2 Michael Jones 2015-05-27 21:55:50 UTC
www-client/firefox-18.0-r1 is no longer in the tree.

Is this bug reproducible with >=www-client/firefox-24.3.0 ?
Comment 3 Steven Trogdon 2015-05-28 03:03:34 UTC
I no longer have the prefix on which this bug appeared. My current prefix is on debian-7.8 and I am not using the host glibc. The prefix has its own glibc. firefox-37.0.2 installs without issue. Probably this bug needs to be closed.