Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 675360 - media-sound/ardour-5.12 with media-libs/lv2-1.14.1: uri_map.h:29:10: fatal error: lv2.h: No such file or directory
Summary: media-sound/ardour-5.12 with media-libs/lv2-1.14.1: uri_map.h:29:10: fatal er...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-01-13 20:02 UTC by Bernd Feige
Modified: 2019-12-14 16:16 UTC (History)
0 users

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


Attachments
Patch to fix compilation (lv2.patch,408 bytes, patch)
2019-01-13 20:02 UTC, Bernd Feige
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Feige 2019-01-13 20:02:42 UTC
Created attachment 560906 [details, diff]
Patch to fix compilation

The patch changes #include <lv2.h> to #include <lv2/lv2.h> in  libs/ardour/ardour/uri_map.h.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-01-13 21:42:35 UTC
It's useful to know which bug you think you're patching, so please don't send in a patch that fixes "the error", but show us the actual compilation error.
Comment 2 Bernd Feige 2019-01-14 09:10:39 UTC
Hmm, I don't know what is unclear in my original subject line:
"media-sound/ardour-5.12 with media-libs/lv2: lv2.h not found in libs/ardour/ardour/uri_map.h"?

Of course I meant to write "media-libs/lv2-1.14.1", but otherwise it's simply that compilation fails in the line "#include <lv2.h>" with the error "lv2.h not found". How is that an "undisclosed error"?

Obviously the include file lv2.h was present in /usr/include in a previous version of lv2 but now it's in /usr/include/lv2.
Comment 3 Helmut Jarausch 2019-01-14 14:57:10 UTC
(In reply to Bernd Feige from comment #2)
> Hmm, I don't know what is unclear in my original subject line:
> "media-sound/ardour-5.12 with media-libs/lv2: lv2.h not found in
> libs/ardour/ardour/uri_map.h"?
> 
> Of course I meant to write "media-libs/lv2-1.14.1", but otherwise it's
> simply that compilation fails in the line "#include <lv2.h>" with the error
> "lv2.h not found". How is that an "undisclosed error"?
> 
> Obviously the include file lv2.h was present in /usr/include in a previous
> version of lv2 but now it's in /usr/include/lv2.

Same here, patch is OK and necessary.
Comment 4 johnwarfin 2019-01-20 01:42:23 UTC
unpached package complied without error on my system
Comment 5 Andreas Schürch gentoo-dev 2019-01-20 10:12:41 UTC
Thanks for reporting!

But lv2-1.14.1 is not in tree yet and the patch would break a compile against in-tree lv2 afaics. 

There seems to be a fix coming...
https://github.com/drobilla/lv2/commit/96a6283a5fe023c59113242631f337da5f0eb278
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2019-10-05 08:55:05 UTC
(In reply to Bernd Feige from comment #2)
> Hmm, I don't know what is unclear in my original subject line

Looking for the exact error as output of the compiler might be what people look for in searching existing bug reports, and the bugzilla duplication tracker would also find a similarly described bug report that way, so including the complete error message in the Summary helps people find bug reports in several ways.
Comment 7 Bernd Feige 2019-10-05 09:37:35 UTC
(In reply to Jeroen Roovers from comment #6)
> (In reply to Bernd Feige from comment #2)
> > Hmm, I don't know what is unclear in my original subject line
> 
> Looking for the exact error as output of the compiler might be what people
> look for in searching existing bug reports, and the bugzilla duplication
> tracker would also find a similarly described bug report that way, so
> including the complete error message in the Summary helps people find bug
> reports in several ways.

'Undisclosed error' doesn't help a lot for discoverability I'd assume. Set the summary now to include the actual compiler output.
Comment 8 Bernd Feige 2019-10-05 09:51:10 UTC
(In reply to Andreas Schürch from comment #5)
> Thanks for reporting!
> 
> But lv2-1.14.1 is not in tree yet and the patch would break a compile
> against in-tree lv2 afaics. 
> 
> There seems to be a fix coming...
> https://github.com/drobilla/lv2/commit/
> 96a6283a5fe023c59113242631f337da5f0eb278

Exactly. I Just confirmed that current lv2 1.16.0 is backwards compatible, ie ardour-5.12 doesn't need the patch any more. See also https://bugs.gentoo.org/696394
Comment 9 Miroslav Šulc gentoo-dev 2019-12-14 16:16:47 UTC
we won't have 1.14.1 as we now have 1.16.0 in the tree which fixes this issue (that was never part of the tree).