Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917760 - media-sound/flake-0.11 - make[1]: No rule to make target <snip>/libflake.a, needed by flake_g. Stop.
Summary: media-sound/flake-0.11 - make[1]: No rule to make target <snip>/libflake.a, n...
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-11-22 18:48 UTC by Toralf Förster
Modified: 2025-01-09 09:53 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.37 KB, text/plain)
2023-11-22 18:48 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,93.62 KB, application/x-xz)
2023-11-22 18:48 UTC, Toralf Förster
Details
environment (environment,58.78 KB, text/plain)
2023-11-22 18:48 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.08 KB, application/x-xz)
2023-11-22 18:48 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,33.01 KB, application/x-xz)
2023-11-22 18:48 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,344 bytes, application/x-xz)
2023-11-22 18:48 UTC, Toralf Förster
Details
media-sound:flake-0.11:20231122-134155.log (media-sound:flake-0.11:20231122-134155.log,4.44 KB, text/plain)
2023-11-22 18:48 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,95.26 KB, application/x-xz)
2023-11-22 18:48 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,15.29 KB, application/x-xz)
2023-11-22 18:48 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-11-22 18:48:46 UTC
   90 | extern size_t strnlen(const char *s, size_t maxlen);
      |               ^~~~~~~
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)
      |               ^~~~~~~
make[1]: *** No rule to make target '/var/tmp/portage/media-sound/flake-0.11/work/flake-0.11/libflake/libflake.a', needed by 'flake_g'.  Stop.
make[1]: Leaving directory '/var/tmp/portage/media-sound/flake-0.11/work/flake-0.11/flake'
make: *** [Makefile:23: progs] Error 2 shuffle=456958171

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-20231114-170805

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

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 17.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.5
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit ce8af218d39fbc2a60ac8b5b73ed93cafd94cc8f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Nov 22 12:31:53 2023 +0000

    2023-11-22 12:31:52 UTC

emerge -qpvO media-sound/flake
[ebuild  N    ] media-sound/flake-0.11
Comment 1 Toralf Förster gentoo-dev 2023-11-22 18:48:47 UTC
Created attachment 875384 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-22 18:48:48 UTC
Created attachment 875385 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-11-22 18:48:50 UTC
Created attachment 875386 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-11-22 18:48:50 UTC
Created attachment 875387 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-11-22 18:48:52 UTC
Created attachment 875388 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-22 18:48:52 UTC
Created attachment 875389 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-11-22 18:48:53 UTC
Created attachment 875390 [details]
media-sound:flake-0.11:20231122-134155.log
Comment 8 Toralf Förster gentoo-dev 2023-11-22 18:48:54 UTC
Created attachment 875391 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-11-22 18:48:55 UTC
Created attachment 875392 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2025-01-09 09:53:40 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(-)