Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 247643 - dev-python/gtkmozembed-python-2.19.1-r10 USE=xulrunner config flag incorrect
Summary: dev-python/gtkmozembed-python-2.19.1-r10 USE=xulrunner config flag incorrect
Status: RESOLVED DUPLICATE of bug 247098
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High trivial (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-19 23:29 UTC by Andrew "Drew" Freiberger
Modified: 2008-11-19 23:45 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 Andrew "Drew" Freiberger 2008-11-19 23:29:39 UTC
I have USE=xulrunner and when emerging gtkmozembed-python-2.19.1-r10 I found I got the error: 

configure: error: --with-gtkmozembed argument must be either 'mozilla', 'firefox', or 'xulrunner'

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-python/gtkmozembed-python-2.19.1-r10/work/gnome-python-extras-2.19.1/config.log
 * 
 * ERROR: dev-python/gtkmozembed-python-2.19.1-r10 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3695:  Called gnome2_src_compile
 *             environment, line 2875:  Called gnome2_src_configure
 *             environment, line 2889:  Called econf '--disable-allbindings' '--enable-gtkmozembed' '--with-gtkmozembed=xulrunner-1.9' '--disable-gtk-doc'


After looking at /usr/portage/dev-python/gtkmozembed-python/gtkmozembed-python-2.19.1-r10.ebuild, I removed the "-1.9" from line 47:

making the line:

        G2CONF="${G2CONF} --with-gtkmozembed=xulrunner"

This allowed my emerge to complete successfully.  I think when the requirement of adding the RDEPEND="xulrunner? ( =net-libs/xulrunner-1.9" ) was added, the other xulrunner line got -1.9 appended to it as well.

Please update and release a 2.19.1-r11 ebuild with this patch:

*** /tmp/gtkmozembed-python-2.19.1-r10.ebuild	Wed Nov 19 17:27:42 2008
--- gtkmozembed-python-2.19.1-r10.ebuild	Wed Nov 19 16:53:44 2008
*************** pkg_setup() {
*** 28,34 ****
          confutils_require_any "firefox" "seamonkey" "xulrunner"
  
          if use xulrunner; then
!                 G2CONF="${G2CONF} --with-gtkmozembed=xulrunner-1.9"
          elif use firefox; then
                  G2CONF="${G2CONF} --with-gtkmozembed=firefox"
          elif use seamonkey; then
--- 28,34 ----
          confutils_require_any "firefox" "seamonkey" "xulrunner"
  
          if use xulrunner; then
!                 G2CONF="${G2CONF} --with-gtkmozembed=xulrunner"
          elif use firefox; then
                  G2CONF="${G2CONF} --with-gtkmozembed=firefox"
          elif use seamonkey; then
Comment 1 Andrew "Drew" Freiberger 2008-11-19 23:33:00 UTC
Sorry, that was supposed to be line 31, not 47.  You can see that by the patch.
Comment 2 Andrew "Drew" Freiberger 2008-11-19 23:36:43 UTC
FYI, for those fixing this themselves before a new ebuild, you'll need to modify the file then run "ebuild /usr/portage/dev-python/gtkmozembed-python/gtkmozembed-python-2.19.1-r10.ebuild digest" before re-emerging.
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-11-19 23:45:25 UTC

*** This bug has been marked as a duplicate of bug 247098 ***