Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136853 - opera ebuild appears not to require aspell on amd64
Summary: opera ebuild appears not to require aspell on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
: 237040 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-14 23:00 UTC by ta2002
Modified: 2008-12-20 23:52 UTC (History)
5 users (show)

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 ta2002 2006-06-14 23:00:31 UTC
I don't like filing bug reports just because something "looks wrong," as opposed to actually having caused me trouble, but here goes anyway. :)

From the 8.54 ebuild:

        amd64? ( qt-static? ( app-emulation/emul-linux-x86-xlibs )
                 !qt-static? ( app-emulation/emul-linux-x86-qtlibs ) )
        !amd64? ( virtual/motif
                  spell? ( app-text/aspell )
                  x86? ( !qt-static? ( =x11-libs/qt-3* ) )
                  media-libs/jpeg )"

This looks like the spell flag does not force the installation of aspell (which "USE='-* spell' emerge -epv opera" confirms) on amd64.

I can't see any reason for that.

I also (for the first time ever) have learned enought to suggest a patch. :)

--- /usr/portage/www-client/opera/opera-8.54.ebuild     2006-05-31 19:36:16.000000000 +0000
+++ opera-8.54.ebuild   2006-06-15 00:00:00.000000000 +0000
@@ -45,10 +45,10 @@
                          virtual/x11
                        )
        >=media-libs/fontconfig-2.1.94-r1
+       spell? ( app-text/aspell )
        amd64? ( qt-static? ( app-emulation/emul-linux-x86-xlibs )
                 !qt-static? ( app-emulation/emul-linux-x86-qtlibs ) )
        !amd64? ( virtual/motif
-                 spell? ( app-text/aspell )
                  x86? ( !qt-static? ( =x11-libs/qt-3* ) )
                  media-libs/jpeg )"

I also don't understand why the jpeg requirement also only appears in !amd64, but since I know even less about that, I won't claim a bug (maybe someone should look at it though).

Thank you.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-15 02:15:02 UTC
# file spellcheck.so 
spellcheck.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped

Does it answer your question? The plugin is useless on amd64, won't do any good unless your aspell is 32bit as well, ditto for the rest of plugins-related stuff. As for media-libs/jpeg, the 32bit version is provided by emul-linux-x86-baselibs, no need for that dependency on amd64. 

I suppose amd64 would prefer to have spell USE flag changed to something else and to use.mask this flag...
Comment 2 ta2002 2006-06-15 05:07:58 UTC
I think I understand now.

Opera, a 32 bit application, can run 32 bit plugins like netscape-flash, and aspell, a 64 bit application, can not.

I agree with masking the USE flag.

Thanks again.
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2006-06-23 10:00:46 UTC
or we could simply provide aspell in our emul-libs
Comment 4 Simon Stelling (RETIRED) gentoo-dev 2007-01-14 04:15:46 UTC
Actually, on a second thought, I'd rather keep the number of packages included in the emul-packages as small as possible. The flag is masked for opera only, so your initial problem is fixed.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2007-12-17 00:32:14 UTC
It seems the 64-bit Opera builds (9.50*) should be capable of using aspell, so it's probably a good idea to change the line in gentoo-x86/profiles/default-linux/amd64/package.use.mask to specify lesser versions (i.e. <www-client/opera-9.50).

(I reverted the original Summary change as the proposed change was never actually carried out (package.use.mask was used instead of adding aspell to emul-libs).
Comment 6 Pablo Barros 2008-07-10 14:05:24 UTC
Any news on this? Shouldn't the AMD64 builds be able to use the AMD64 aspell?
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2008-07-10 19:22:38 UTC
I think the amd64 team should fix the profiles and close this bug. :)
Comment 8 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-12-08 00:50:51 UTC
(In reply to comment #5)
> It seems the 64-bit Opera builds (9.50*) should be capable of using aspell, so
> it's probably a good idea to change the line in
> gentoo-x86/profiles/default-linux/amd64/package.use.mask to specify lesser
> versions (i.e. <www-client/opera-9.50).
> 
> (I reverted the original Summary change as the proposed change was never
> actually carried out (package.use.mask was used instead of adding aspell to
> emul-libs).
> 

Since amd64 is only keyworded on >=www-client/opera-9.62, I removed the entry completely for USE=spell on opera. Please open a new bug for new issues. Thanks.

Comment 9 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-12-20 23:52:00 UTC
*** Bug 237040 has been marked as a duplicate of this bug. ***