Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 690676 - media-libs/vamp-plugin-sdk-2.7.1; misconfigured /usr/lib64/pkgconfig/vamp-sdk.pc causing issues with systems running the 17.1 profile
Summary: media-libs/vamp-plugin-sdk-2.7.1; misconfigured /usr/lib64/pkgconfig/vamp-sdk...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-25 01:49 UTC by Sandi (Sandy) Vujaković
Modified: 2020-08-24 09:51 UTC (History)
1 user (show)

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


Attachments
The promised emerge --info output (emerge --info vamp-plugin-sdk rubberband.txt,13.37 KB, text/plain)
2019-07-25 01:56 UTC, Sandi (Sandy) Vujaković
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sandi (Sandy) Vujaković 2019-07-25 01:49:18 UTC
When trying to emerge rubberband, the file "/usr/lib64/pkgconfig/vamp-sdk.pc" points to "${exec_prefix}/lib" instead of "${exec_prefix}/lib64", which results in make failing with "i386 architecture of input file `/var/tmp/portage/media-libs/rubberband-1.8.2/temp/vamp-rubberband.so.gDN8Du.ltrans0.ltrans.o' is incompatible with i386:x86-64 output", as the configuration script only looks in /usr/lib and completely overlooks /usr/lib64.

Reproducible: Didn't try

Steps to Reproduce:
1. Emerge vamp-plugin-sdk
2. Emerge rubberband
Actual Results:  
The emerge of rubberband fails with "i386 architecture of input file `/var/tmp/portage/media-libs/rubberband-1.8.2/temp/vamp-rubberband.so.gDN8Du.ltrans0.ltrans.o' is incompatible with i386:x86-64 output"

Expected Results:  
The emerge of rubberband finishes successfully.

My exact profile is default/linux/amd64/17.1/desktop/plasma/systemd (stable).
Though I have no doubt that this is in bad form, I shall link you to a forum thread by me regarding the issue: https://forums.gentoo.org/viewtopic-p-8354746.html

I apologize for simply linking to a forum thread, but I have already documented this in good detail on there and have already spent far too long on this, considering that it is currently past three in the morning where I live, as well as there being other circumstances. I will, however, provide a few more details regarding this issue and summarize it as best as I am able to. I will hereon out assume that you have gone through the forum thread regarding the issue.

I have just finished fighting with LibreOffice (GentooLTO stuff) and am two weeks behind on updates (emerge still ongoing as I type). After going over a few tickets on the GentooLTO GitHub, I was tweaking make.conf. Among other things, I decided to add ABI_X86="32 64", as I also needed to run a relatively old 32-bit version of Firefox (Java applet support). Afterwards, I ran "emerge --sync && emerge --verbose --deep --newuse --update @world && poweroff". When checking up on the laptop as it was going through 737 packages, I noticed vamp-plugin-sdk being emerged. It was innocuous at first, but it did pique my interest during the hunt for the problem with rubberband. At some point, after going over the thread once more, I thought about trying to see what can be done in /usr/lib64/pkgconfig/vamp-sdk.pc and, after seeing a clearly marked directory in the file, not to mention that it was a part of the libdir variable that I noticed during the configuration step after going over the output a few times, I got the idea to simply append "64" to that line. That fixed it for me. The only program to run concurrently with Konsole was Firefox Nightly (in /opt, not from a repository).

I shall be attaching the emerge --info output shortly.
Comment 1 Sandi (Sandy) Vujaković 2019-07-25 01:56:03 UTC
Created attachment 584464 [details]
The promised emerge --info output
Comment 2 Sandi (Sandy) Vujaković 2019-07-31 21:08:57 UTC
After reviewing my ticket, I have concluded that, while the fix is to simply add two numbers to the end of a line, it is still more than merely a minor issue. Also, I adjusted the title to make it a little more concise.
Comment 3 Sandi (Sandy) Vujaković 2019-08-12 11:19:44 UTC
After running `emerge --verbose --emptytree @world`, I can confirm that this is reproducible.
Comment 4 Larry the Git Cow gentoo-dev 2020-08-24 09:51:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e88a0ec57cb5d48f812bd036bdc14dbfc1de8f51

commit e88a0ec57cb5d48f812bd036bdc14dbfc1de8f51
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2020-08-24 09:51:33 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2020-08-24 09:51:49 +0000

    media-libs/vamp-plugin-sdk: bump to 2.10 + fixed .pc files
    
    Closes: https://bugs.gentoo.org/690676
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-libs/vamp-plugin-sdk/Manifest                |  1 +
 .../vamp-plugin-sdk/vamp-plugin-sdk-2.10.ebuild    | 74 ++++++++++++++++++++++
 ....7.1.ebuild => vamp-plugin-sdk-2.7.1-r1.ebuild} |  3 +
 3 files changed, 78 insertions(+)