Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 884747 - media-sound/audacity-2.4.2-r3 - ODDecodeFlacTask.cpp:(.text+<snip>): undefined reference to FLAC::Decoder::Stream::seek_absolute(u
Summary: media-sound/audacity-2.4.2-r3 - ODDecodeFlacTask.cpp:(.text+<snip>): undefine...
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: PullRequest
Depends on:
Blocks:
 
Reported: 2022-12-07 19:36 UTC by Toralf Förster
Modified: 2024-04-16 22:57 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.61 KB, text/plain)
2022-12-07 19:36 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,82.16 KB, application/x-bzip)
2022-12-07 19:36 UTC, Toralf Förster
Details
environment (environment,106.58 KB, text/plain)
2022-12-07 19:36 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,705 bytes, application/x-bzip)
2022-12-07 19:36 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,47.73 KB, application/x-bzip)
2022-12-07 19:36 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,11.94 KB, application/x-bzip)
2022-12-07 19:36 UTC, Toralf Förster
Details
media-sound:audacity-2.4.2-r3:20221206-230350.log.bz2 (media-sound:audacity-2.4.2-r3:20221206-230350.log.bz2,26.39 KB, application/x-bzip)
2022-12-07 19:36 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,51.80 KB, application/x-bzip)
2022-12-07 19:36 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-12-07 19:36:03 UTC
too long lines were shrinked:

[745/750] /usr/bin/x86_64-pc-linux-gnu-g++ -DAudacity_EXPORTS -DBUILDING_AUDACITY -DCMAKE -DHAVE_LRINT -DHAVE_LRINTF -DHAVE_MLOCK -DPA_USE_ALSA=1 -DWXINTL_NO_GETTEXT_MACRO -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -I/var/tmp/portage/media-sound/audacity-2.4.2-r3/work/audacity-2.4.2_build/src/p
[746/750] /usr/bin/x86_64-pc-linux-gnu-g++ -DAudacity_EXPORTS -DBUILDING_AUDACITY -DCMAKE -DHAVE_LRINT -DHAVE_LRINTF -DHAVE_MLOCK -DPA_USE_ALSA=1 -DWXINTL_NO_GETTEXT_MACRO -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -I/var/tmp/portage/media-sound/audacity-2.4.2-r3/work/audacity-2.4.2_build/src/p
[747/750] : && /usr/bin/x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -std=gnu++14 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0   -Wl,--export-dynamic  -rdynamic src/CMakeFiles/Audacity.dir/AColor.cpp.o src/CMakeFiles/Audacity.dir/AboutDialog.cpp.o src/CMa
FAILED: bin/Gentoo/audacity 
: && /usr/bin/x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -std=gnu++14 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0   -Wl,--export-dynamic  -rdynamic src/CMakeFiles/Audacity.dir/AColor.cpp.o src/CMakeFiles/Audacity.dir/AboutDialog.cpp.o src/CMakeFiles/Au
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: src/CMakeFiles/Audacity.dir/ondemand/ODDecodeFlacTask.cpp.o: in function `ODFlacDecoder::Decode(SampleBuffer&, sampleFormat&, sampleCount, unsigned long, unsigned int)':
ODDecodeFlacTask.cpp:(.text+0x102): undefined reference to `FLAC::Decoder::Stream::seek_absolute(unsigned long)'
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: ODDecodeFlacTask.cpp:(.text+0x115): undefined reference to `FLAC::Decoder::Stream::process_single()'
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: src/CMakeFiles/Audacity.dir/ondemand/ODDecodeFlacTask.cpp.o: in function `ODFlacDecoder::~ODFlacDecoder()':

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20221203-111136

  -------------------------------------------------------------------

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-11
 [2] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.8
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit d49928d1a6aa32ff6e10161c12a594b4dd62efed
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 6 22:46:47 2022 +0000

    2022-12-06 22:46:47 UTC

emerge -qpvO media-sound/audacity
[ebuild  N    ] media-sound/audacity-2.4.2-r3  USE="alsa ffmpeg ladspa lv2 mad ogg portmixer vorbis vst -doc -flac -id3tag -jack -oss -portmidi -portsmf -sbsms -twolame -vamp"
Comment 1 Toralf Förster gentoo-dev 2022-12-07 19:36:04 UTC
Created attachment 840679 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-07 19:36:05 UTC
Created attachment 840681 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-12-07 19:36:06 UTC
Created attachment 840683 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-12-07 19:36:07 UTC
Created attachment 840685 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-12-07 19:36:08 UTC
Created attachment 840687 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-07 19:36:10 UTC
Created attachment 840689 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-07 19:36:11 UTC
Created attachment 840691 [details]
media-sound:audacity-2.4.2-r3:20221206-230350.log.bz2
Comment 8 Toralf Förster gentoo-dev 2022-12-07 19:36:12 UTC
Created attachment 840693 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2024-04-16 22:57:23 UTC
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(-)