Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288160 - www-client/mozilla-firefox-3.5.3 doesn't compile with net-libs/xulrunner-1.9.1.3
Summary: www-client/mozilla-firefox-3.5.3 doesn't compile with net-libs/xulrunner-1.9.1.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-08 08:28 UTC by Sandro Bonazzola
Modified: 2009-10-08 10:47 UTC (History)
1 user (show)

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


Attachments
config.log (config.log,37.00 KB, text/plain)
2009-10-08 08:30 UTC, Sandro Bonazzola
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sandro Bonazzola 2009-10-08 08:28:17 UTC
#emerge -av mozilla-firefox
www-client/mozilla-firefox-3.5.3  USE="alsa dbus gnome java mozdevelop restrict-javascript startup-notification -bindist -custom-optimization -iceweasel*" LINGUAS="it -af -ar -as -be -bg -bn -bn_BD -bn_IN -ca -cs -cy -da -de -el -en -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 -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" 0 kB

...
checking whether the C++ "using" keyword can change access... yes
checking whether the C++ "using" keyword resolves ambiguity... yes
checking for "std::" namespace... yes
checking whether standard template operator!=() is ambiguous... unambiguous
checking for C++ reinterpret_cast... yes
checking for C++ dynamic_cast to void*... yes
checking whether C++ requires implementation of unused virtual methods... yes
checking for trouble comparing to zero near std::operator!=()... no
checking for LC_MESSAGES... yes
./configure: line 12027: cd: /usr/lib64/xulrunner-devel-1.9.1: No such file or directory
configure: error: /sdk/include/xpcom-config.h doesn't exist


looking at the build log:
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64
Adding configure options from ./.mozconfig:
  --enable-application=browser
  --enable-optimize
  --disable-installer
  --disable-pedantic
  --enable-crypto
  --with-system-jpeg
  --with-system-zlib
  --disable-updater
  --enable-pango
  --enable-svg
  --enable-system-cairo
  --disable-strip
  --disable-strip-libs
  --disable-install-strip
  --with-distribution-id=org.gentoo
  --enable-single-profile
  --disable-profilesharing
  --disable-profilelocking
  --enable-default-toolkit=cairo-gtk2
  --enable-startup-notification
  --disable-debug
  --disable-tests
  --enable-application=browser
  --disable-mailnews
  --disable-crashreporter
  --enable-image-encoder=all
  --enable-canvas
  --enable-oji
  --enable-mathml
  --enable-storage
  --enable-places
  --enable-safe-browsing
  --disable-installer
  --disable-updater
  --disable-strip
  --disable-install-strip
  --enable-system-cairo
  --enable-system-hunspell
  --with-system-nspr
  --with-system-nss
  --enable-system-lcms
  --with-system-bz2
  --with-system-libxul
  --with-libxul-sdk=/usr/lib64/xulrunner-devel-1.9.1
  --enable-jsd
  --enable-xpctools
  --enable-default-toolkit=cairo-gtk2
  --with-default-mozilla-five-home=/usr/lib64/mozilla-firefox
  --enable-ogg
  --enable-wave
  --enable-official-branding
  --enable-extensions=default

configure is called with --with-libxul-sdk=/usr/lib64/xulrunner-devel-1.9.1 but assuming xulrunner is fine:
# qcheck net-libs/xulrunner-1.9.1.3
Checking net-libs/xulrunner-1.9.1.3 ...
  * 3967 out of 3967 files are good

and /usr/lib64/xulrunner-devel-1.9.1 sohuld not exists
it should be:
--with-libxul-sdk=/usr/lib64/xulrunner-devel-1.9.1.3
Comment 1 Sandro Bonazzola 2009-10-08 08:30:00 UTC
Created attachment 206414 [details]
config.log
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2009-10-08 10:00:54 UTC
Please try to reemerge xulrunner, do env-update && source /etc/profile and emerge firefox. Report back what happens.
Please attach you emerge --info output.
Comment 3 Sandro Bonazzola 2009-10-08 10:47:23 UTC
Reemerging xulrunner, the file /etc/gre.d/1.9.1.3.system.conf changed:
-GRE_PATH=/usr/lib64/xulrunner-1.9.1.3
+GRE_PATH=/usr/lib64/xulrunner-1.9.1

and the process left /usr/lib/xulrunner-1.9.1.3 as empty dir.
mozilla-firefox configure now works fine.
This is fixed for me.