libtool: compile: x86_64-gentoo-linux-musl-gcc -DPACKAGE_NAME=\lockdev\ -DPACKAGE_TARNAME=\lockdev\ -DPACKAGE_VERSION=\1.0.3\ -DPACKAGE_STRING=\lockdev 1.0.3\ -DPACKAGE_BUGREPORT=\BUG-REPORT-ADDRESS\ -DPACKAGE_URL=\\ -DPACKAGE=\lockdev\ -DVERSION=\1.0.3\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\.libs/\ -I. -O2 -pipe -march=native -c src/lockdev.c -fPIC -DPIC -o .libs/lockdev.o src/lockdev.c:131:4: error: #error put here a define for MAJOR and MINOR 131 | # error put here a define for MAJOR and MINOR | ^~~~~ src/lockdev.c:242:4: error: #error lock filename build missing ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl_hardened-20200328-201618 ------------------------------------------------------------------- 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-bin-1.42.0 [2] rust-1.42.0 * The following VMs are available for generation-2: Available Java Virtual Machines: (none found) timestamp of HEAD at this tinderbox image: /var/db/repos/gentoo Sat Apr 18 14:38:24 UTC 2020 /var/db/repos/musl Fri Apr 17 19:37:05 UTC 2020 emerge -qpvO dev-libs/lockdev [ebuild N ] dev-libs/lockdev-1.0.3.1.2-r3 USE="-perl"
Created attachment 633588 [details] emerge-info.txt
Created attachment 633590 [details] dev-libs:lockdev-1.0.3.1.2-r3:20200418-152257.log
Created attachment 633592 [details] emerge-history.txt
Created attachment 633594 [details] environment
Created attachment 633596 [details] etc.portage.tbz2
Created attachment 633598 [details] logs.tbz2
Created attachment 633600 [details] temp.tbz2
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c663abb66064ad670526a0765ea16e081ba0bcc commit 6c663abb66064ad670526a0765ea16e081ba0bcc Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2021-11-24 17:42:15 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2021-11-24 17:44:12 +0000 dev-libs/lockdev: do not hardcode glibc-specific major() and minor() Bug: https://bugs.gentoo.org/718062 Signed-off-by: Marek Szuba <marecki@gentoo.org> .../files/lockdev-1.0.3-add-autotools.patch | 5 ++++- .../lockdev/files/lockdev-1.0.3-major-minor.patch | 24 ++++++++++++++++++++++ dev-libs/lockdev/lockdev-1.0.3.1.2-r4.ebuild | 1 + 3 files changed, 29 insertions(+), 1 deletion(-)
This SHOULD have taken care of the problem but please check and confirm, musl users!