/usr/bin/x86_64-pc-linux-gnu-ld.bfd: flake.c:(.text+0x2a26): undefined reference to `flake_encode_frame' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: flake.c:(.text+0x2b30): undefined reference to `flake_encode_close' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: flake.c:(.text+0x2d97): undefined reference to `wavfile_print' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: flake.c:(.text+0x3180): undefined reference to `flake_encode_close' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [<builtin>: flake] Error 1 shuffle=4008752805 make[1]: Leaving directory '/var/tmp/portage/media-sound/flake-0.11/work/flake-0.11/flake' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome_systemd-j4-20221110-100005 ------------------------------------------------------------------- GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle" CC=clang CXX=clang++ gcc-config -l: [1] x86_64-pc-linux-gnu-12 * clang/llvm (if any): clang version 15.0.4 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.4 Python 3.10.8 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.64.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17] 2) Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 system-vm php cli (if any): HEAD of ::gentoo commit f80188f73da656ba570bd521ba865d631264dea6 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Nov 10 18:50:27 2022 +0000 2022-11-10 18:50:27 UTC emerge -qpvO media-sound/flake [ebuild N ] media-sound/flake-0.11
Created attachment 830477 [details] emerge-info.txt
Created attachment 830479 [details] emerge-history.txt
Created attachment 830481 [details] environment
Created attachment 830483 [details] etc.clang.tar.bz2
Created attachment 830485 [details] etc.portage.tar.bz2
Created attachment 830487 [details] logs.tar.bz2
Created attachment 830489 [details] media-sound:flake-0.11:20221110-193625.log
Created attachment 830491 [details] temp.tar.bz2
Created attachment 830493 [details] var.tmp.clang.tar.bz2
912148 and 917760 are duplicated makefile doesn't order dependencies properly when there's more than one job, or in --shuffle
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87d9e0b69de11e844087a7f74727a40261fa7bd5 commit 87d9e0b69de11e844087a7f74727a40261fa7bd5 Author: NHOrus <jy6x2b32pie9@yahoo.com> AuthorDate: 2025-01-09 08:10:33 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2025-01-09 09:50:33 +0000 media-sound/flake: update EAPI 7 -> 8, fix build instability Fixed wrong variable usage in ebuild Two main problems in makefile - lack of dependency of the program to library, so it fails if program is build before library. And false dependency for flake with weird renaming going on, so depgraph gets confused and make builds flake using default rules, not including library, or second compilation unit. One is fixed by rules addition, another is fixed by rule removal Closes: https://bugs.gentoo.org/880819 Closes: https://bugs.gentoo.org/912148 Closes: https://bugs.gentoo.org/917760 Closes: https://bugs.gentoo.org/836076 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/40064 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> .../flake/files/flake-0.11-make-instability.patch | 33 ++++++++++++++++++++++ media-sound/flake/flake-0.11.ebuild | 14 ++++----- 2 files changed, 39 insertions(+), 8 deletions(-)