Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 579122 - >=sys-apps/sandbox-2.10-r2 doesn't have ABI_* flags correctly set
Summary: >=sys-apps/sandbox-2.10-r2 doesn't have ABI_* flags correctly set
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Sandbox (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sandbox Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-06 00:46 UTC by Adam Feldman
Modified: 2016-04-06 02:13 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 Adam Feldman gentoo-dev 2016-04-06 00:46:19 UTC
<=sys-apps/sandbox-2.10-r1 has USE=multilib forced in profiles/features/multilib/package.use.force.  As a result, when upgrading to >2.10-r1, when the ebuild goes to use ABI_* with only the native ABI, not multiple ABIs (presuming the user hasn't forced multlib globally).

I'm not sure if you can (or should) add all of the ABIs to that file.  I believe that leaves forcing it on an arch by arch basis, which is kind of messy IMO.  Not sure if this is a good idea, but an alternative which might be worth considering (and idk the ramifications for an alternative package manager), would be to put DEPEND=sys-apps/sandbox[${MULTLIB_USEDEP}] in the multilib eclass.  This has a downside of not making multilib sandbox available for packages that implement multilib without the multilib eclass (though idk if that is possible, or even done)

Another option, would be to require all multilib ebuilds to specify the dep explicitly, but I strongly disagree with that, as it is really a system dependency. 

Reproducible: Always
Comment 1 Mike Gilbert gentoo-dev 2016-04-06 02:10:59 UTC
I get a copy of libsandbox.so for each ABI supported in my profile:

% qlist sandbox | grep libsandbox
/usr/lib/libsandbox.so
/usr/lib64/libsandbox.so

Can you better explain the problem you are having?
Comment 2 Mike Gilbert gentoo-dev 2016-04-06 02:12:09 UTC
Oh, that's because I have ABI_X86="32 64" in make.conf. Nevermind.
Comment 3 SpanKY gentoo-dev 2016-04-06 02:13:38 UTC
i've enabled all the ABIs by default:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b307b37bb8b409dc68713cd34c440af207680a47

otherwise, if the user wants to turn them on/off, it's WAI.  it's also not a big deal as there are very few non-native programs we'd be running in general.