when trying to compile, the build fails complaining about missing header files. Reproducible: Always Steps to Reproduce: 1.emerge mozilla-firefox Actual Results: compiling fails Expected Results: compiling is successful
Created attachment 198594 [details] output of emerge --info
Created attachment 198596 [details] complete build log
Do you have any idea what may have caused: bash: warning: setlocale: LC_ALL: cannot change locale (en) - 'en' is an invalid value for a locale. Those "missing" headers are provided by xulrunner, so they should be there. Could you attach config.log ?
(In reply to comment #3) > Do you have any idea what may have caused: > bash: warning: setlocale: LC_ALL: cannot change locale (en) > - 'en' is an invalid value for a locale. > Those "missing" headers are provided by xulrunner, > so they should be there. Could you attach config.log ? > i tried setting LC_ALL to "en" because the errors were in german, which is my default locale. my fault, but hey, it did work, all messages are in english as they should be :) i tried both xulrunner-1.9 and xulrunner-1.9.1 with no change. at which location exactly should i find these headers? additionally i tried mozilla-firefox-3.0.11 which fails with the same error :(
> so they should be there. Could you attach config.log ? > where do i find this file? it's not under /var/tmp/portage/www-client/mozilla-firefox-3.5-r3/temp/
(In reply to comment #4) > i tried setting LC_ALL to "en" because the errors were in german, which is my > default locale. my fault, but hey, it did work, all messages are in english as > they should be :) > i tried both xulrunner-1.9 and xulrunner-1.9.1 with no change. at which > location exactly should i find these headers? > additionally i tried mozilla-firefox-3.0.11 which fails with the same error :( Use LC_ALL="C"
Please attach libxul-unstable.pc and libxul.pc to bug report. It appears that your pkgconfig is failing to pass proper lib options. also ensure you have run revdep-rebuild after making the jump to nspr-4.8 please.
Created attachment 198667 [details] libxul.pc (xulrunner-1.9.1)
Created attachment 198668 [details] libxul-unstable.pc (xulrunner-1.9.1)
(In reply to comment #7) > Please attach libxul-unstable.pc and libxul.pc to bug report. It appears that > your pkgconfig is failing to pass proper lib options. also ensure you have run > revdep-rebuild after making the jump to nspr-4.8 please. > files attached. i ran revdep-rebuild several times and as mentioned above, i even did an emerge -e world.
can you attach config.log also it can be found in ${WORKDIR}/mozilla* your pkgconfig files are fine.
Created attachment 198671 [details] config.log
(In reply to comment #11) > can you attach config.log also it can be found in ${WORKDIR}/mozilla* your > pkgconfig files are fine. > here it is
If you would please sync and test xulrunner-1.9.1 and firefox-3.5.1. If the bug persist I will have to setup a chroot to mimic your make.conf.
(In reply to comment #14) > If you would please sync and test xulrunner-1.9.1 and firefox-3.5.1. If the bug > persist I will have to setup a chroot to mimic your make.conf. > tried today with xulrunner-1.9.1-r1 and mozilla-firefox-3.5.1. same error. but i found, that the problem is xulrunner. under /usr/include/xulrunner-1.9.1/ there are two directories: "stable" and "unstable". on my notebook at home, where firefox is compiling fine, there are header-files in both directories, including the missing ones under "unstable". on the affected machine at work, where firefox doesn't build, there are header-files under the "stable" directory, but there is _nothing_ in the "unstable" directory. just picking up one of the missing headerfiles and doing an "equery belongs nsThreadUtils.h" i get on my notebook at home: * Searching for nsThreadUtils.h ... net-libs/xulrunner-1.9.1-r1 (/usr/include/xulrunner-1.9.1/unstable/nsThreadUtils.h) and on the affected machine at work: * Searching for nsThreadUtils.h ... and nothing! so i watched the output when emerging xulrunner and found this: * Running autoheader ... [ !! ] could this be the problem? there is a file called autoheader.out, see attachment. however, /usr/share/autoconf/acconfig.h mentioned in the autoheader.out are the same on both machines.
Created attachment 198787 [details] autoheader.out from emerging xulrunner
> * Running autoheader ... [ !! ] > > could this be the problem? there is a file called autoheader.out, see > attachment. however, /usr/share/autoconf/acconfig.h mentioned in the > autoheader.out are the same on both machines. > This is common for all gentoo users. if you would xulrunner 2&> install.txt and email to me, or attach it to bug report.
(In reply to comment #17) > > * Running autoheader ... [ !! ] > > > > could this be the problem? there is a file called autoheader.out, see > > attachment. however, /usr/share/autoconf/acconfig.h mentioned in the > > autoheader.out are the same on both machines. > > > > This is common for all gentoo users. if you would xulrunner 2&> install.txt and > email to me, or attach it to bug report. > That should be 'emerge xulrunner 2&> install.txt'
Created attachment 198799 [details] install.txt inside (about 5.5MB)
(In reply to comment #19) > Created an attachment (id=198799) [edit] > install.txt inside (about 5.5MB) > Alright, so it seems that this line: find ../../dist/include -xtype f -exec /var/tmp/portage/net-libs/xulrunner-1.9.1-r1/work/mozilla-1.9.1/config/nsinstall -t -m 644 {} /var/tmp/portage/net-libs/xulrunner-1.9.1-r1/image//usr/include/xulrunner-1.9.1/unstable \; isn't doing what it's supposed to do. Could you recompile findutils with FEATURES=test? That'll run tests for for findutils and try to narrow down the problem. Also, could you recompile xulrunner with FEATURES=keepwork? That'll prevent portage from deleting the /var/tmp/portage/net-libs/xulrunner* dir, and you can send it to us then.
(In reply to comment #20) > isn't doing what it's supposed to do. Could you recompile findutils with > FEATURES=test? That'll run tests for for findutils and try to narrow down the > problem. this is the result of the tests (the tests that did not run are because of not installed locales): ======================= All 61 tests passed (12 tests were not run) ======================= > > Also, could you recompile xulrunner with FEATURES=keepwork? That'll prevent > portage from deleting the /var/tmp/portage/net-libs/xulrunner* dir, and you can > send it to us then. do you need the complete dir? it's about 100MB as a tar.bz2 and you can download it here: http://files.getdropbox.com/u/968592/xulrunner-work.tar.bz2 otherwise i could provide what you need if you tell me what exactly you need.
Hi, I'm having the same problem. This problem ist not a problem of the new Version because I had it with older xulrunner Versions, too. I never solved it but used a Xulrunner Version built on another box.
(In reply to comment #22) > Hi, > > I'm having the same problem. > This problem ist not a problem of the new Version because I had it with older > xulrunner Versions, too. > > I never solved it but used a Xulrunner Version built on another box. > Attach emerge --info please.
Created attachment 199087 [details] output of emerge --info
Got similar error: [!!] about autoheader while compiling xulrunner-1.9.1.2-r1 (but it doesn't make emerge fail) and the same [!!] with autoheader while compiling mozilla-firefox-3.5.2-r1. My emerge --info: Portage 2.3_pre14093 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r2 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-2.0.1 Timestamp of tree: Fri, 21 Aug 2009 20:30:01 +0000 app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1, 3.1 dev-util/cmake: 2.6.4-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -msse4.1" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=core2 -msse4.1" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl " LANG="pl_PL.utf8" LDFLAGS="-Wl,-O1" LINGUAS="pl en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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" PORTDIR_OVERLAY="/usr/local/portage/layman/kde-testing /usr/local/portage/layman/roslin /usr/local/portage/layman/arcon /usr/local/portage/layman/x11 /usr/local/portage/layman/mpd /usr/local/portage/layman/berkano /usr/local/portage/layman/Eaedificata /usr/local/portage/layman/zen-overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa amd64 bash-completion berkdb branding bzip2 cdr cli cracklib crypt cups dri enca fortran gdbm gpm hal iconv ipv6 isdnlog jpeg jpeg2k kde laptop mmx mudflap multilib ncurses nls nptl nptlonly nvidia opengl openmp pam pcre perl pppd python qt4 readline reflection session spl sse sse2 ssl startup-notification sysfs tcpd unicode vim-syntax xcomposite xorg 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="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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 201915 [details] mozilla-firefox-3.5.2-r1 build log my firefox build.log
Hi, just wanted to say, that this BUG is fixed for me with the newest xulrunner and mozilla-firefox version. [ebuild R ] net-libs/xulrunner-1.9.1.3-r1 USE="alsa dbus gnome java python startup-notification -custom-optimization -debug -sqlite" [ebuild R ] www-client/mozilla-firefox-3.5.3-r1 USE="alsa dbus gnome java startup-notification -bindist -custom-optimization -iceweasel -mozdevelop -restrict-javascript -sqlite" LINGUAS="de en -af -ar -as -be -bg -bn -bn_BD -bn_IN -ca -cs -cy -da -el -en_GB -en_US -eo -es -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy -fy_NL -ga -ga_IE -gl -gu -gu_IN -he -hi -hi_IN -hr -hu -id -is -it -ja -ka -kk -kn -ko -ku -lt -lv -mk -ml -mn -mr -nb -nb_NO -nl -nn -nn_NO -oc -or -pa -pa_IN -pl -pt -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -sq -sr -sv -sv_SE -ta -ta_LK -te -th -tr -uk -vi -zh_CN -zh_TW"
Please test with atleast latest stable version in tree, reopen if problem is still there.