CompileLib: cacheline.lib.o cacheline.c: In function mowgli_cacheline_bootstrap: cacheline.c:36:27: error: _SC_LEVEL1_DCACHE_LINESIZE undeclared (first use in this function) 36 | cacheline_size = sysconf(_SC_LEVEL1_DCACHE_LINESIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cacheline.c:36:27: note: each undeclared identifier is reported only once for each function it appears in ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl_hardened-20200328-201618 ------------------------------------------------------------------- Please see the tracker bug for details. gcc-config -l: [1] x86_64-gentoo-linux-musl-9.3.0 * clang version 10.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 [3] python3.6 [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.42.0 * timestamp of HEAD at this tinderbox image: /var/db/repos/gentoo Wed Apr 1 09:37:38 UTC 2020 /var/db/repos/musl Fri Mar 27 00:25:27 UTC 2020 emerge -qpvO dev-libs/libmowgli [ebuild N ] dev-libs/libmowgli-2.1.3 USE="ssl -libressl"
Created attachment 628416 [details] emerge-info.txt
Created attachment 628418 [details] dev-libs:libmowgli-2.1.3:20200401-110603.log
Created attachment 628420 [details] emerge-history.txt
Created attachment 628422 [details] environment
Created attachment 628424 [details] etc.portage.tbz2
Created attachment 628426 [details] logs.tbz2
Created attachment 628428 [details] temp.tbz2
alpine: https://git.alpinelinux.org/aports/tree/community/libmowgli/cacheline.patch
Thanks for finding the patch, Sam. PR has been created: https://github.com/gentoo/gentoo/pull/15241 though I currently do not have a set-up where I can reproduce the failure. Toralf, could you verify that the patch fixes the issue?
Upstream bug (applied the patch): https://github.com/atheme/libmowgli-2/issues/43 (In reply to Wade Cline from comment #9) > Thanks for finding the patch, Sam. PR has been created: > https://github.com/gentoo/gentoo/pull/15241 though I currently do not have a > set-up where I can reproduce the failure. Toralf, could you verify that the > patch fixes the issue? No problem, thanks for applying it so quickly! You need to fix the patch filename though, you put 2.3.1 instead of 2.1.3. Works otherwise. :)
>You need to fix the patch filename though, you put 2.3.1 instead of 2.1.3. Works otherwise. :) D'oh, I must have forgotten to unmask the '-r1' version when I did my tests. It should be fixed now!
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=583446d6c076aadebbb43856c3f992fcab61e3a5 commit 583446d6c076aadebbb43856c3f992fcab61e3a5 Author: Wade Cline <wadecline@hotmail.com> AuthorDate: 2020-04-05 20:09:10 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-04-10 10:30:04 +0000 dev-libs/libmowgli: Revbump Bug: https://bugs.gentoo.org/715752 Signed-off-by: Wade Cline <wadecline@hotmail.com> Closes: https://github.com/gentoo/gentoo/pull/15241 Signed-off-by: Joonas Niilola <juippis@gentoo.org> ...-Ensure-sysconf-var-is-defined-before-use.patch | 25 +++++++++++++++++++ dev-libs/libmowgli/libmowgli-2.1.3-r1.ebuild | 29 ++++++++++++++++++++++ 2 files changed, 54 insertions(+)