Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701606 - media-sound/linuxsampler-2.1.1 patch causes it to fail on lv2core which doesn't exist
Summary: media-sound/linuxsampler-2.1.1 patch causes it to fail on lv2core which doesn...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-30 17:37 UTC by Luke A. Guest
Modified: 2019-12-14 13:02 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 Luke A. Guest 2019-11-30 17:37:26 UTC
Gentoo has only an lv2 not an lv2core ebuild which installs an lv2.pc not an lv2core.pc. The new patch for this ebuild causes it to search for lv2core not lv2, causing a failure.

Reproducible: Always

Steps to Reproduce:
1. emerge =media-sound/linuxsampler-2.1.1

Actual Results:  
Fails to configure

Expected Results:  
Install

Comment out this line:


	"${FILESDIR}/${PN}-2.0.0-nptl-hardened.patch"
)
#	"${FILESDIR}/${PN}-2.0.0-lv2-automagic.patch"
Comment 1 Miroslav Šulc gentoo-dev 2019-12-03 10:13:28 UTC
i'm not sure what you mean:

# find /usr/ -name "lv2core.pc"
/usr/lib64/pkgconfig/lv2core.pc
/usr/lib/pkgconfig/lv2core.pc

# equery belongs /usr/lib64/pkgconfig/lv2core.pc
 * Searching for /usr/lib64/pkgconfig/lv2core.pc ... 
media-libs/lv2-1.14.0-r1 (/usr/lib64/pkgconfig/lv2core.pc)

on my system lv2core.pc apparently exists. could you please provide more details?
Comment 2 Luke A. Guest 2019-12-03 15:52:24 UTC
Ahhh, my mistake! I've updated locally to 1.16 and it no longer installs lv2core.pc.
Comment 3 Miroslav Šulc gentoo-dev 2019-12-03 16:15:13 UTC
thanks for reporting back.
Comment 4 Larry the Git Cow gentoo-dev 2019-12-14 13:01:51 UTC
The bug has been closed via the following commit(s):

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

commit cd98e174190d0f3f12c0f02682a58228a0167f28
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2019-12-14 12:53:31 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2019-12-14 13:01:40 +0000

    media-sound/linuxsampler: fixed linuxsampler-2.0.0-lv2-automagic.patch
    
    the patch unfortunately changed the logic of lv2 detection
    and broke it in such way that it worked with lv2-1.14.0 but
    did not work with lv2-1.16.0 so the patch had to be fixed
    
    Closes: https://bugs.gentoo.org/701606
    Package-Manager: Portage-2.3.81, Repoman-2.3.20
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 .../files/linuxsampler-2.0.0-lv2-automagic.patch            | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)
Comment 5 Miroslav Šulc gentoo-dev 2019-12-14 13:02:50 UTC
i just bumped lv2 to 1.16.0 so this report came handy, thanks again! :-)