www-client/mozilla-firefox-3.5.3 fails to build. This appears to be caused by a missing directory 'xulrunner-devel-1.9.1.3'. --- 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/lib/xulrunner-devel-1.9.1.3: No such file or directory configure: error: /sdk/include/xpcom-config.h doesn't exist --- xulrunner-1.9.1.3 was successfully emerged. --- net-libs/xulrunner Latest version available: 1.9.1.3 Latest version installed: 1.9.1.3 Size of files: 45,678 kB Homepage: http://developer.mozilla.org/en/docs/XULRunner Description: Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications License: || ( MPL-1.1 GPL-2 LGPL-2.1 ) --- The emerge output from the xulrunner emerge didn't create any directory for 1.9.1.3 and appears to have used the 1.9.1 directory. The only xulrunner-devel directory on my system in /usr/lib is 'xulrunner-devel-1.9.1' Reproducible: Always Steps to Reproduce: 1. emerge www-client/mozilla-firefox-3.5.3 Actual Results: emerge of www-client/mozilla-firefox-3.5.3 fails Expected Results: successful emerge of www-client/mozilla-firefox-3.5.3
A temporary workaround is to create symlinks. I created the following (not sure if they are both required - the devel link may be sufficient): # ln -sn /usr/lib/xulrunner-1.9.1 /usr/lib/xulrunner-1.9.1.3 # ln -sn /usr/lib/xulrunner-devel-1.9.1 /usr/lib/xulrunner-devel-1.9.1.3
Attach build.log. See the values in i.e. /usr/lib/pkgconfig/libxul.pc - are those paths with 1.9.1 or 1.9.1.3 ?
I don't have the build log as I forgot to save it after the workaround. --- $ cat /usr/lib/pkgconfig/libxul.pc prefix=/usr sdkdir=/usr/lib/xulrunner-devel-1.9.1 includedir=/usr/include/xulrunner-1.9.1 idldir=/usr/share/idl/xulrunner-1.9.1 includetype=stable # Note: the default pkg-config includes will only list include directories # that contain stable (frozen or safe for linking) header files. To include # nonfrozen headers, run pkg-config with --define-variable=includetype=unstable Name: libxul Description: The Mozilla Runtime and Embedding Engine Version: 1.9.1.3 Requires: nspr >= 4.8.0 Libs: -L${sdkdir}/lib -lxpcomglue_s -lxul -lxpcom Cflags: -I${includedir}/${includetype} -fshort-wchar ---
resync your tree, this was already fixed by nirbheek when he made the change back to using main release version of upstream. I just tested xulrunner-1,9.1.3 with firefox-3.5.3 and compile was fine.
Fixed as said in previous comment.