Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285079 - www-client/mozilla-firefox-3.5.3: fails to build (xulrunner-devel-1.9.1.3 doesn't exist)
Summary: www-client/mozilla-firefox-3.5.3: fails to build (xulrunner-devel-1.9.1.3 doe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-15 11:50 UTC by Byrne G
Modified: 2009-09-16 19:59 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Byrne G 2009-09-15 11:50:35 UTC
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
Comment 1 Byrne G 2009-09-15 12:40:44 UTC
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
Comment 2 Rafał Mużyło 2009-09-15 13:47:42 UTC
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 ?
Comment 3 Byrne G 2009-09-15 15:07:20 UTC
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
---
Comment 4 Jory A. Pratt gentoo-dev 2009-09-15 19:19:44 UTC
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.
Comment 5 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-09-16 19:59:23 UTC
Fixed as said in previous comment.