Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912148 - media-sound/flake-0.11 - /.../flake.c:383: undefined reference to wavfile_init
Summary: media-sound/flake-0.11 - /.../flake.c:383: undefined reference to wavfile_init
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-08-11 22:28 UTC by Toralf Förster
Modified: 2025-01-09 09:53 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.99 KB, text/plain)
2023-08-11 22:28 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,114.57 KB, application/x-xz)
2023-08-11 22:28 UTC, Toralf Förster
Details
environment (environment,59.92 KB, text/plain)
2023-08-11 22:28 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,976 bytes, application/x-xz)
2023-08-11 22:28 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,42.77 KB, application/x-xz)
2023-08-11 22:28 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,344 bytes, application/x-xz)
2023-08-11 22:28 UTC, Toralf Förster
Details
media-sound:flake-0.11:20230811-124954.log (media-sound:flake-0.11:20230811-124954.log,4.81 KB, text/plain)
2023-08-11 22:28 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,15.91 KB, application/x-xz)
2023-08-11 22:28 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 2023-08-11 22:28:00 UTC
      |               ^~~~~~~
In file included from ../common.h:78:
/usr/include/string.h:413:15: note: previous declaration of strnlen with type size_t(const char *, size_t) {aka long unsigned int(const char *, long unsigned int)}
  413 | extern size_t strnlen (const char *__string, size_t __maxlen)
      |               ^~~~~~~
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: /var/tmp/portage/media-sound/flake-0.11/temp/ccljygXd.o: in function `encode_file':
/var/tmp/portage/media-sound/flake-0.11/work/flake-0.11/flake/flake.c:383: undefined reference to `wavfile_init'
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: /var/tmp/portage/media-sound/flake-0.11/work/flake-0.11/flake/flake.c:397: undefined reference to `flake_set_defaults'
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: /var/tmp/portage/media-sound/flake-0.11/work/flake-0.11/flake/flake.c:411: undefined reference to `flake_validate_params'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd_merged_usr-20230730-023704

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.71.1
  [2]   rust-1.71.1 *
The following VMs are available for generation-2:
php cli (if any):
go version go1.21.0 linux/amd64

  HEAD of ::gentoo
commit 1eaf704ff3abfb2037fe24c9134b8a52ff4a2cc8
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Aug 11 12:01:38 2023 +0000

    2023-08-11 12:01:38 UTC

emerge -qpvO media-sound/flake
[ebuild  N    ] media-sound/flake-0.11
Comment 1 Toralf Förster gentoo-dev 2023-08-11 22:28:01 UTC
Created attachment 867634 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-08-11 22:28:02 UTC
Created attachment 867635 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-08-11 22:28:03 UTC
Created attachment 867636 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-08-11 22:28:04 UTC
Created attachment 867637 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-08-11 22:28:05 UTC
Created attachment 867638 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-08-11 22:28:06 UTC
Created attachment 867639 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-08-11 22:28:07 UTC
Created attachment 867640 [details]
media-sound:flake-0.11:20230811-124954.log
Comment 8 Toralf Förster gentoo-dev 2023-08-11 22:28:08 UTC
Created attachment 867641 [details]
temp.tar.xz
Comment 9 NHO 2025-01-08 19:32:16 UTC
duplicate of https://bugs.gentoo.org/917760
there's mess with dependencies in makefiles
Comment 10 Larry the Git Cow gentoo-dev 2025-01-09 09:53:39 UTC
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(-)