Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85654 - 32bit plugins should not be installed in lib64 on amd64
Summary: 32bit plugins should not be installed in lib64 on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
: 85823 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-17 08:37 UTC by Herbie Hopkins (RETIRED)
Modified: 2005-03-30 12:21 UTC (History)
1 user (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 Herbie Hopkins (RETIRED) gentoo-dev 2005-03-17 08:37:46 UTC
There are several binary x86 packages in portage that install 32bit plugins in /usr/lib64/nsbrowser/plugins. I think it would make a lot more sence to install these plugins in /usr/lib32/nsbrowser/plugins so as not to confuse the webbrowswer. Also at present both mozilla-firefox and mozilla-firefox-bin create /usr/lib64/nsbrowser/plugins/libnullplugin.so (one 32bit and one 64bit).

This issue is actually quite easy to fix as the nslugins eclass seems to make use of get_libdir correctly. I made the following addition to mozilla-firefox-bin ebuild:

pkg_setup() {
    if use amd64; then
        ABI="x86"
    fi
}

forcing get_libdir to resolve as lib32 (as it should for a 32bit package) and now libnullplugin is installed to /usr/lib32/nsbrowser/plugins (as it should). Also /opt/firefox/plugins -> /usr/lib32/nsbrowser/plugins (as it should). Exactly the same change can be made to the following packages to get the 32bit plugins installed in lib32:

app-text/acroread
media-video/realplayer
net-www/netscape-flash


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Herbie Hopkins (RETIRED) gentoo-dev 2005-03-21 08:32:12 UTC
*** Bug 85823 has been marked as a duplicate of this bug. ***
Comment 2 Danny van Dyk (RETIRED) gentoo-dev 2005-03-25 09:37:19 UTC
I will use the following lines instead of your proposal, Herbie:

has_multilib_profile && ABI="x86"

This will be used in global scope of the ebuild.

app-text/acroread-{5.10,7.0} fixed.
Comment 3 Danny van Dyk (RETIRED) gentoo-dev 2005-03-26 15:46:01 UTC
net-www/netscape-flash-* fixed.
media-video/realplayer-10.0.3 fixed.
www-client/mozilla-firefox-bin-* fixed.

Resolving as FIXED.
Comment 4 Herbie Hopkins (RETIRED) gentoo-dev 2005-03-29 04:26:00 UTC
Kugelfang: please apply same fix to www-client/mozilla-bin so that it can locate the 32bit plugins.
Comment 5 Danny van Dyk (RETIRED) gentoo-dev 2005-03-30 12:21:32 UTC
done.