Summary: | media-sound/audacity-2.4.2-r1[-flac] - ld: src/CMakeFiles/Audacity.dir/ondemand/ODDecodeFlacTask.cpp.o: in function `ODFlacDecoder::ReadHeader()': ODDecodeFlacTask.cpp:(.text+0x768): undefined reference to `FLAC::Decoder::File::File()' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ernsteiswuerfel <erhard_f> |
Component: | Current packages | Assignee: | Professional Audio Applications Maintainers <proaudio> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fordfrog, jstein, kripton, mehw.is.me, richard |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/35903 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
build.log.xz build.log 2.4.2-r1 |
Description
ernsteiswuerfel
2020-09-12 19:32:36 UTC
Created attachment 659871 [details]
emerge --info
Created attachment 659874 [details]
build.log.xz
it fails when linking on-demand feature of audacity which is claimed to be withdrawn from audacity in 2.3.3+: https://alphamanual.audacityteam.org/man/On-Demand_Loading anyway, flac use flag is the only use flag that has to be enabled to compile it successfully so it seems it's not optional as of now. atm i'm not 100% sure making flac lib mandatory is the correct solution, maybe it's an upstream issue. anyway, thank you for the report. will try to find the appropriate solution to fix it. Created attachment 689163 [details]
build.log 2.4.2-r1
The issue I hit was:
In file included from /tmp/portage/media-sound/audacity-2.4.2-r1/work/audacity-Audacity-2.4.2/src/ProjectFileManager.cpp:54:
/tmp/portage/media-sound/audacity-2.4.2-r1/work/audacity-Audacity-2.4.2/src/ondemand/ODDecodeFlacTask.h:35:10: fatal error: FLAC++/decoder.h: No such file or directory
35 | #include "FLAC++/decoder.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72e8c24fcd0beb997a88f7d185a02a212abafe37 commit 72e8c24fcd0beb997a88f7d185a02a212abafe37 Author: Aliaksei Urbanski <aliaksei.urbanski@gmail.com> AuthorDate: 2024-04-16 19:03:31 +0000 Commit: Yixun Lan <dlan@gentoo.org> CommitDate: 2024-04-16 22:53:49 +0000 media-sound/audacity: fix various issues The flac USE flag was mistakenly used instead of the opus USE flag for configuring. Also, Audacity 3.4.2 introduced a brand new USE_OPUSFILE option which must be set properly. These changes: - fix the opus USE flag - add proper REQUIRED_USE - replace media-sound/mpg123 with media-sound/mpg123-base - move dev-libs/rapidjson from RDEPEND to DEPEND - fix missing `#include <limits>` for 2.4.2-r4 - limit media-video/ffmpeg to <5 for 2.4.2-r4 - add x11-base/xorg-proto to DEPEND - add some ASM to BDEPEND - add audacity-3.4.2-audiocom-std-string.patch to PATCHES for 3.3.3-r1 - add audacity-2.4.2-fix-libflac-undefined-references.patch to PATCHES for 2.4.2-r4 - reset KEYWORDS for 2.4.2-r4 and 3.3.3-r1 Closes: https://bugs.gentoo.org/741969 Closes: https://bugs.gentoo.org/884747 Closes: https://bugs.gentoo.org/910723 Closes: https://bugs.gentoo.org/922595 Closes: https://bugs.gentoo.org/927659 Closes: https://github.com/gentoo/gentoo/pull/35903 Co-authored-by: Matthew White <mehw.is.me@inventati.org> Signed-off-by: Aliaksei Urbanski <aliaksei.urbanski@gmail.com> Signed-off-by: Yixun Lan <dlan@gentoo.org> media-sound/audacity/audacity-2.4.2-r4.ebuild | 135 +++++++++++++++++++++ ...acity-3.3.3.ebuild => audacity-3.3.3-r1.ebuild} | 33 ++--- ...acity-3.4.2.ebuild => audacity-3.4.2-r1.ebuild} | 24 ++-- media-sound/audacity/audacity-9999.ebuild | 24 ++-- ...audacity-2.4.2-add-missing-include-limits.patch | 10 ++ ...ty-2.4.2-fix-libflac-undefined-references.patch | 61 ++++++++++ media-sound/audacity/metadata.xml | 4 +- 7 files changed, 258 insertions(+), 33 deletions(-) |