Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263010 - www-client/opera USE=gnome - gnome2_src_configure() fails
Summary: www-client/opera USE=gnome - gnome2_src_configure() fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-19 10:41 UTC by Rafal Lalik
Modified: 2009-03-20 19:44 UTC (History)
3 users (show)

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


Attachments
patch to fix ebuild for opera (opera-10.00_pre4214-no_gnome.patch,399 bytes, patch)
2009-03-19 10:42 UTC, Rafal Lalik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rafal Lalik 2009-03-19 10:41:26 UTC
When I removed last Gnome ebuild (libgnome, libgnomeui, etc) then Opera stops install.

Log from portage:

# ebuild opera-10.00_pre4214.ebuild digest clean compile
>>> Creating Manifest for /usr/local/portage/www-client/opera
  digest.assumed                 3
   opera-10.00_pre4214::opera-10.00-4214.gcc4-bundled-qt4.i386.tar.bz2
   opera-10.00_pre4214::opera-10.00-4214.gcc4-qt4.i386.tar.bz2
   opera-10.00_pre4214::opera-10.00-4214.gcc4-shared-qt3.i386.tar.bz2
 * opera-10.00-4214.gcc4-shared-qt3.x86_64.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...         [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * checking opera-10.00-4214.gcc4-shared-qt3.x86_64.tar.bz2 ;-) ...      [ ok ]
>>> Unpacking source...
>>> Unpacking opera-10.00-4214.gcc4-shared-qt3.x86_64.tar.bz2 to /var/tmp/portage/www-client/opera-10.00_pre4214/work
 ^[[32;01m*^[[0m Working in /var/tmp/portage/www-client/opera-10.00_pre4214/work/opera-10.00-4214.gcc4-shared-qt3.x86_64
 ^[[32;01m*^[[0m Applying opera-gentoo.patch ...
^[[A^[[128C  ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
 ^[[32;01m*^[[0m Applying opera-simplify-desktop.patch ...
^[[A^[[128C  ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
 ^[[32;01m*^[[0m Applying opera-freedesktop.patch ...
^[[A^[[128C  ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
 ^[[32;01m*^[[0m Applying opera-9.50-pluginpath.patch ...
^[[A^[[128C  ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
>>> Source unpacked in /var/tmp/portage/www-client/opera-10.00_pre4214/work
>>> Preparing source in /var/tmp/portage/www-client/opera-10.00_pre4214/work/opera-10.00-4214.gcc4-shared-qt3.x86_64 ...
 ^[[32;01m*^[[0m Fixing OMF Makefiles ...
^[[A^[[128C  ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/www-client/opera-10.00_pre4214/work/opera-10.00-4214.gcc4-shared-qt3.x86_64 ...
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m ERROR: www-client/opera-10.00_pre4214 failed.
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m               ebuild.sh, line   48:  Called src_configure
 ^[[31;01m*^[[0m             environment, line 2813:  Called gnome2_src_configure
 ^[[31;01m*^[[0m             environment, line 2148:  Called econf
 ^[[31;01m*^[[0m               ebuild.sh, line  531:  Called die
 ^[[31;01m*^[[0m The specific snippet of code:
 ^[[31;01m*^[[0m                die "no configure script found"
 ^[[31;01m*^[[0m  The die message:
 ^[[31;01m*^[[0m   no configure script found
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m If you need support, post the topmost build error, and the call stack if relevant.
 ^[[31;01m*^[[0m A complete build log is located at '/var/log/portage/www-client:opera-10.00_pre4214:20090319-103305.log'.
 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/www-client/opera-10.00_pre4214/temp/environment'.
 ^[[31;01m*^[[0m This ebuild is from an overlay named 'local_overlay': '/usr/local/portage/'
 ^[[31;01m*^[[0m


Solution is patch below:

--- opera-10.00_pre4214.ebuild  2009-03-18 17:39:02.000000000 +0100
+++ opera-10.00_pre4214.ebuild  2009-03-19 11:39:06.000000000 +0100
@@ -132,6 +132,11 @@

 }

+src_configure() {
+       # See description in src_compile()
+       use gnome && gnome2_src_configure
+}
+
 src_compile() {
        # This workaround is sadly needed because gnome2.eclass doesn't check
        # whether a configure script or Makefile exists.
Comment 1 Rafal Lalik 2009-03-19 10:42:20 UTC
Created attachment 185498 [details, diff]
patch to fix ebuild for opera
Comment 2 Honza 2009-03-20 15:29:42 UTC
Same does happen in www-client/opera-9.64 (and probable all opera ebuilds):

 * Fixing OMF Makefiles ...                                                                                                        [ ok ]
>>> Configuring source in /var/tmp/portage/www-client/opera-9.64/work/opera-9.64-2480.gcc4-shared-qt3.i386 ...
 *
 * ERROR: www-client/opera-9.64 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 2702:  Called gnome2_src_configure
 *             environment, line 2064:  Called econf
 *               ebuild.sh, line  548:  Called die
 * The specific snippet of code:
 *              die "no configure script found"
 *  The die message:
 *   no configure script found
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/www-client:opera-9.64:20090320-142420.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/opera-9.64/temp/environment'.
 *
Comment 3 Piotr Szymaniak 2009-03-20 18:10:31 UTC
Similar error here:

>>> Source unpacked in /var/tmp/portage/www-client/opera-10.00_pre4214/work
>>> Preparing source in /var/tmp/portage/www-client/opera-10.00_pre4214/work/opera-10.00-4214.gcc4-bundled-qt4.i386 ...
 * Fixing OMF Makefiles ...                                                                       [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/www-client/opera-10.00_pre4214/work/opera-10.00-4214.gcc4-bundled-qt4.i386 ...
 * 
 * ERROR: www-client/opera-10.00_pre4214 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_configure
 *             environment, line 2696:  Called gnome2_src_configure
 *             environment, line 2040:  Called econf
 *               ebuild.sh, line  531:  Called die
 * The specific snippet of code:
 *              die "no configure script found"
 *  The die message:
 *   no configure script found
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/www-client:opera-10.00_pre4214:20090320-180510.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/opera-10.00_pre4214/temp/environment'.
 * 
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2009-03-20 19:35:07 UTC
Comment on attachment 185498 [details, diff]
patch to fix ebuild for opera

The patch is wrong because as with src_compile(), there is nothing to do at this stage of the build.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2009-03-20 19:44:51 UTC
I set up dummy (`true') src_configure()s for all ebuilds. Thanks for reporting.