Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301870 - [java-overlay] dev-java/icedtea6-1.6.2-r2 fails configure with xulrunner-1.9.2
Summary: [java-overlay] dev-java/icedtea6-1.6.2-r2 fails configure with xulrunner-1.9.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-22 21:02 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2010-02-01 09:18 UTC (History)
8 users (show)

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


Attachments
Patch from http://icedtea.classpath.org/hg/icedtea6/rev/8353f4e67ec1 (icedtea6-xulrunner-1.9.2.patch,67.92 KB, patch)
2010-01-24 15:50 UTC, rob shelton
Details | Diff
Starting point for ebuild for icedtea6-1.7 (needs adjustment to systemtap) (icedtea6-1.7.ebuild,8.74 KB, text/plain)
2010-01-28 00:11 UTC, rob shelton
Details
Ebuild that successfully built. Your mileage may vary! (icedtea6-1.7.ebuild,8.76 KB, text/plain)
2010-01-28 01:05 UTC, rob shelton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2010-01-22 21:02:18 UTC
net-libs/xulrunner-1.9.2 no longer installs the libxul-unstable pkgconfig file. As a result, icedtea6-1.6.2-r2 fails to configure:

# emerge icedtea6
[...]
checking for ALSA... yes
checking for LIBPULSE... yes
checking for XULRUNNER... configure: error: Package requirements (      nspr mozilla-js mozilla-plugin libxul-unstable >= 1.9) were not met:

No package 'libxul-unstable' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XULRUNNER_CFLAGS
and XULRUNNER_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-java/icedtea6-1.6.2-r2/work/icedtea6-1.6.2/config.log
 * ERROR: dev-java/icedtea6-1.6.2-r2 failed:
 *   econf failed
Comment 1 Ivan Iraci 2010-01-22 23:56:26 UTC
(In reply to comment #0)

> net-libs/xulrunner-1.9.2 no longer installs the libxul-unstable pkgconfig file.

> checking for XULRUNNER... configure: error: Package requirements (      nspr
> mozilla-js mozilla-plugin libxul-unstable >= 1.9) were not met:
> No package 'libxul-unstable' found

The same for me.
Comment 2 Juergen Rose 2010-01-23 11:30:24 UTC
And for me.
Comment 4 rob shelton 2010-01-24 15:50:36 UTC
Created attachment 217323 [details, diff]
Patch from http://icedtea.classpath.org/hg/icedtea6/rev/8353f4e67ec1

This is the patch from the icedtea6 mercurial site to compile against xulrunner-1.9.2.

Various changes will need to be made to the configure files to look for libxul rather than libxul-unstable. Will keep playing, and see what I can come up with.
Comment 5 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-01-24 18:01:56 UTC
(In reply to comment #4)
> Created an attachment (id=217323) [details]
> Patch from http://icedtea.classpath.org/hg/icedtea6/rev/8353f4e67ec1
> 
> This is the patch from the icedtea6 mercurial site to compile against
> xulrunner-1.9.2.
> 
> Various changes will need to be made to the configure files to look for libxul
> rather than libxul-unstable. Will keep playing, and see what I can come up
> with.

Thanks for trying, but maybe it's easier to wait for icedtea6-1.7 release which should be here soon.
Comment 6 rob shelton 2010-01-26 22:28:29 UTC
tend to agree... got it to go past the configure stage, and mainly compile, but then it errored out, with too many errors to be bothered with!

recommend "WON'T FIX"
Comment 7 rob shelton 2010-01-27 22:55:03 UTC
and a few days later...

http://blog.fuseyism.com/index.php/2010/01/27/icedtea6-17-released/

waiting for the overlay to be updated, but am giving it a go with a self-rolled ebuild based upon the icedtea6-1.6.2-r2.ebuild.

Will let you know the results, just installing xulrunner-1.9.2
Comment 8 Maciej Piechotka 2010-01-27 22:58:44 UTC
(In reply to comment #7)
> and a few days later...
> 
> http://blog.fuseyism.com/index.php/2010/01/27/icedtea6-17-released/
> 
> waiting for the overlay to be updated, but am giving it a go with a self-rolled
> ebuild based upon the icedtea6-1.6.2-r2.ebuild.
> 
> Will let you know the results, just installing xulrunner-1.9.2
> 

Hmm. Simple bump + removing patches (none of them could be applied) failed for me. If you get a working ebuild could you post it somewhere?
Comment 9 rob shelton 2010-01-28 00:09:46 UTC
Reading through the changelog, none of the patches should be required. It is still compiling here, taking a long time, used to error out a long time before this. Have chromium and firefox-3.6 ready for icedtea6-1.7 to finish compiling.

Note, the enable flag for the browser plugin in the configure script, changed from --enable-plugin to --enable-npplugin.

Have adjust my little ebuild to take this into account. Also, USE="-systemtap" as I apparently need a new version to installed.
Comment 10 rob shelton 2010-01-28 00:11:36 UTC
Created attachment 217683 [details]
Starting point for ebuild for icedtea6-1.7 (needs adjustment to systemtap)
Comment 11 rob shelton 2010-01-28 00:25:34 UTC
after a long time fails with:

!!! dohtml: README.html does not exist
 * ERROR: dev-java/icedtea6-1.7 failed:
 *   (no error message)
Comment 12 rob shelton 2010-01-28 01:04:48 UTC
Next problem, the compiled plugin is called IcedTeaNPPlugin.so rather than the old IcedTeaPlugin.so.

So another minor change to the ebuild.

laptop64 icedtea6 # qlist -IvU xulrunner icedtea6
dev-java/icedtea6-1.7 (javascript nio2 nsplugin xrender)
net-libs/xulrunner-1.8.1.19 (java)
net-libs/xulrunner-1.9.2-r1 (alsa custom-optimization dbus java libnotify startup-notification wifi)

Comment 13 rob shelton 2010-01-28 01:05:23 UTC
Created attachment 217689 [details]
Ebuild that successfully built. Your mileage may vary!
Comment 14 rob shelton 2010-01-28 01:06:42 UTC
Sorry, forgot to add to that, built and runs!
Comment 15 Andrew John Hughes 2010-01-28 01:16:32 UTC
1.6.2 has now been replaced by 1.7, so this bug can be closed.

Rob, you could have just waited for the ebuild!  Couldn't push as early as I wanted because subversion was playing up :-(

What version of systemtap did you try with?  Sounds like I may need to bump the requirements :-(
Comment 16 Eric Siegel 2010-01-28 06:04:32 UTC
icedtea6-1.7 works fine for me with firefox 3.6 AND CHROMIUM 4.0.302.2
Comment 17 rob shelton 2010-01-28 06:20:58 UTC
Aware I could of waited, but where is the fun in that, and I wouldn't have had IcedTea6-1.7 running for a whole few hours whilst I was asleep.

qlist -Iv systemtap
dev-util/systemtap-0.9.9

Will go with the official version later!
Comment 18 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-01-28 10:10:20 UTC
> qlist -Iv systemtap
> dev-util/systemtap-0.9.9

That version is not even in the tree anymore :)
Comment 19 Maciej Piechotka 2010-01-28 12:06:53 UTC
I have problems with webkit 1.1.19 from gnome-overlay (so probably it exists in older versions):
** (epiphany:22991): DEBUG: NP_Initialize
** (epiphany:22991): DEBUG: NP_Initialize succeeded
** (epiphany:22991): DEBUG: NP_Initialize
** (epiphany:22991): DEBUG: NP_Initialize succeeded
[XPCOM] Failed to get the service manager
** (epiphany:22991): DEBUG: NP_Initialize
** (epiphany:22991): DEBUG: NP_Initialize succeeded
/var/tmp/paludis/dev-java-icedtea6-1.7/work/icedtea6-1.7/plugin/icedteanp/IcedTeaNPPlugin.cc:1427: thread 0x6e2de0: Error: Failed to spawn applet viewer: Failed to execute child process "/usr/share/java-config-2/nsplugin/../../bin/java" (No such file or directory)
** (epiphany:22991): DEBUG: NP_Initialize
** (epiphany:22991): DEBUG: NP_Initialize succeeded
[XPCOM] Failed to get the service manager
** (epiphany:22991): DEBUG: NP_Initialize
** (epiphany:22991): DEBUG: NP_Initialize succeeded
** (epiphany:22991): DEBUG: NP_Initialize
** (epiphany:22991): DEBUG: NP_Initialize succeeded
[XPCOM] Failed to get the service manager
/var/tmp/paludis/dev-java-icedtea6-1.7/work/icedtea6-1.7/plugin/icedteanp/IcedTeaNPPlugin.cc:1427: thread 0x6e2de0: Error: Failed to spawn applet viewer: Failed to execute child process "/usr/share/java-config-2/nsplugin/../../bin/java" (No such file or directory)

And it blocks the browser.
Comment 20 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-02-01 09:18:13 UTC
(In reply to comment #19)
> I have problems with webkit 1.1.19 from gnome-overlay (so probably it exists in
> older versions):
> ** (epiphany:22991): DEBUG: NP_Initialize
> ** (epiphany:22991): DEBUG: NP_Initialize succeeded
> ** (epiphany:22991): DEBUG: NP_Initialize
> ** (epiphany:22991): DEBUG: NP_Initialize succeeded
> [XPCOM] Failed to get the service manager
> ** (epiphany:22991): DEBUG: NP_Initialize
> ** (epiphany:22991): DEBUG: NP_Initialize succeeded
> /var/tmp/paludis/dev-java-icedtea6-1.7/work/icedtea6-1.7/plugin/icedteanp/IcedTeaNPPlugin.cc:1427:
> thread 0x6e2de0: Error: Failed to spawn applet viewer: Failed to execute child
> process "/usr/share/java-config-2/nsplugin/../../bin/java" (No such file or
> directory)
> ** (epiphany:22991): DEBUG: NP_Initialize
> ** (epiphany:22991): DEBUG: NP_Initialize succeeded
> [XPCOM] Failed to get the service manager
> ** (epiphany:22991): DEBUG: NP_Initialize
> ** (epiphany:22991): DEBUG: NP_Initialize succeeded
> ** (epiphany:22991): DEBUG: NP_Initialize
> ** (epiphany:22991): DEBUG: NP_Initialize succeeded
> [XPCOM] Failed to get the service manager
> /var/tmp/paludis/dev-java-icedtea6-1.7/work/icedtea6-1.7/plugin/icedteanp/IcedTeaNPPlugin.cc:1427:
> thread 0x6e2de0: Error: Failed to spawn applet viewer: Failed to execute child
> process "/usr/share/java-config-2/nsplugin/../../bin/java" (No such file or
> directory)
> 
> And it blocks the browser.
> 

Looks like epiphany doesn't dereference the symlink or something. Please file a new bug. Closing this one, both icedtea6 and icedtea6-bin now work with xulrunner 1.9.2