Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 463942

Summary: media-libs/nas: please provide multilib
Product: Gentoo Linux Reporter: Dion Moult (RETIRED) <moult>
Component: [OLD] LibraryAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: enhancement CC: amd64, azamat.hackimov, dev, multilib+disabled, pacho
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 468640    
Bug Blocks: 454644, 462036    
Attachments: nas-multilib.patch
Working ebuild :)

Description Dion Moult (RETIRED) gentoo-dev 2013-03-30 22:57:08 UTC
No package in portage supplies a 32-bit libaudio for a 64-bit system.
Comment 1 Pacho Ramos gentoo-dev 2013-03-31 13:39:58 UTC
What package provides native lib?
Comment 2 Dion Moult (RETIRED) gentoo-dev 2013-03-31 14:59:38 UTC
media-libs/nas as far as I know.
Comment 3 Pacho Ramos gentoo-dev 2013-03-31 17:08:22 UTC
Now that we have eclasses to allow native multilib support, I think would be much better to make nas used them than keep growing emul set
Comment 4 Mario Kicherer 2013-04-12 17:36:20 UTC
Created attachment 345400 [details, diff]
nas-multilib.patch

I've made a multilib patch. It compiles and installs but I don't have applications that actually use NAS.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-05-05 08:31:24 UTC
Does anything need 32-bit nas at all? To be honest, I'd rather see the thing lastrited. It never was anywhere near good, and nowadays it's nowhere near usable.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-05-05 09:11:53 UTC
(In reply to comment #4)
> Created attachment 345400 [details, diff] [details, diff]
> nas-multilib.patch
> 
> I've made a multilib patch. It compiles and installs but I don't have
> applications that actually use NAS.

Does that ebuild actually work for you? Since, erm, for me it installs 32-bit libaudio into lib64, then replaces it with 64-bit one...
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-05-05 09:15:26 UTC
Created attachment 347416 [details]
Working ebuild :)

A few notes though:

1. I've adjusted the deps per bug 468640 since the other (unnecessary) deps aren't multilib-ready.

2. xmkmf thing calls configure with no reasonable args. it even ignores explicit CC and friends.
Comment 8 Mario Kicherer 2013-05-05 10:08:00 UTC
I'm fine with "lastriting" it. It is a optional dep of libsdl that some users have enabled.
Comment 9 Dion Moult (RETIRED) gentoo-dev 2013-05-05 10:37:52 UTC
If it was last rited, I would like an alternative package that provided a 64-bit libaudio. It's needed by Draftsight package.
Comment 10 Alexis Ballier gentoo-dev 2013-08-22 13:26:29 UTC
added; I've changed it a bit not to build binaries for non native abis and thus reduced the multilib_usedep to what libaudio needs