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

Bug 789429

Summary: media-libs/sratom-0.6.8: fatal error: lv2/atom/atom.h: No such file or directory
Product: Gentoo Linux Reporter: Nikita Zlobin <cook60020tmp>
Component: Current packagesAssignee: Professional Audio Applications Maintainers <proaudio>
Status: RESOLVED INVALID    
Severity: normal CC: fordfrog, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: sratom-0.6.8 build log
emerge --info =sratom-0.6.8

Description Nikita Zlobin 2021-05-11 09:32:29 UTC
This error appears for both versions 0.6.8 and 0.6.6. Probably due to incompatible changes is media-libs/lv2-1.18.2:

$ qlist -e lv2 | grep 'atom.h'
/usr/lib64/lv2/atom.lv2/atom.h
/usr/share/doc/lv2-1.18.2/lv2/ns/ext/atom.html

I see, sratom-0.6.8 is last official version.
May be atom->atom.lv2 symlink, added in lv2 ebuild, could workaround problem, but I did not check yet.

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-11 09:38:04 UTC
Full build.log and emerge —-info as always please.
Comment 2 Nikita Zlobin 2021-05-11 11:44:28 UTC
ok, but first
I'm not sure about symlink now, as it would be just dirty hack. Rebuilding all lv2/drobilla stack from live ebuilds (some available either at legacy proaudio or new audio-overlay) fixes this, as well as some warnings lv2ls (lilv) warnings about not finding some ttl files.
Comment 3 Nikita Zlobin 2021-05-11 11:58:56 UTC
Created attachment 707058 [details]
sratom-0.6.8 build log
Comment 4 Nikita Zlobin 2021-05-11 12:05:23 UTC
Created attachment 707061 [details]
emerge --info =sratom-0.6.8
Comment 5 Miroslav Šulc gentoo-dev 2021-05-12 06:21:26 UTC
i cannot reproduce it with sratom-0.6.8 and lv2-1.18.2.
Comment 6 Nikita Zlobin 2021-05-12 10:37:04 UTC
I double checked, necessary header file presents in current git lv2 version, but missing in lv2-1.18.2. Could be release bug.
Comment 7 Nikita Zlobin 2021-05-12 11:29:29 UTC
Found true reason. It's not sratom, but lv2-1.18.2 package bug.
All subdirs inside /usr/include/lv2 besides /usr/include/lv2/lv2plug.in are empty. Also there is broken symlink: /usr/include/lv2.h -> lv2/core/lv2.h
Comment 8 Nikita Zlobin 2021-05-12 12:20:50 UTC
It's revealed, this empty dirs must be symlinks. In fact these symlinks were in backups, in amount of 5. I can't understand, how could these empty dirs appear. After unmerging lv2 and removing all /usr/include/lv2 issue disappeared. Both lv2-1.18.2 and live lv2 install symlinks. They correctly reemerge, and when unmerged - no more orphane symlinks are left. Could be some bug, lasting from past.
Comment 9 Miroslav Šulc gentoo-dev 2021-05-12 13:27:26 UTC
thanks for reporting back. closing as invalid as it's not a package issue.