>>> Unpacking source... >>> Unpacking checkpolicy-3.7.tar.gz to /var/tmp/portage/sys-apps/checkpolicy-3.7/work >>> Source unpacked in /var/tmp/portage/sys-apps/checkpolicy-3.7/work >>> Preparing source in /var/tmp/portage/sys-apps/checkpolicy-3.7/work/checkpolicy-3.7 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/checkpolicy-3.7/work/checkpolicy-3.7 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/checkpolicy-3.7/work/checkpolicy-3.7 ... make -j32 -l32 CC=riscv64-unknown-linux-gnu-gcc 'YACC=bison -y' LIBDIR=$(PREFIX)/lib64 bison -y -d policy_parse.y riscv64-unknown-linux-gnu-gcc -O2 -pipe -o queue.o -c queue.c riscv64-unknown-linux-gnu-gcc -O2 -pipe -o module_compiler.o -c module_compiler.c riscv64-unknown-linux-gnu-gcc -O2 -pipe -o parse_util.o -c parse_util.c riscv64-unknown-linux-gnu-gcc -O2 -pipe -o policy_define.o -c policy_define.c riscv64-unknown-linux-gnu-gcc -O2 -pipe -o checkpolicy.o -c checkpolicy.c riscv64-unknown-linux-gnu-gcc -O2 -pipe -o checkmodule.o -c checkmodule.c riscv64-unknown-linux-gnu-gcc -O2 -pipe -o y.tab.o -c y.tab.c flex policy_scan.l riscv64-unknown-linux-gnu-gcc -O2 -pipe -o lex.yy.o -c lex.yy.c riscv64-unknown-linux-gnu-gcc -O2 -pipe -o checkpolicy y.tab.o lex.yy.o queue.o module_compiler.o parse_util.o policy_define.o checkpolicy.o -Wl,-O1 -Wl,--as-needed -l:libsepol.a riscv64-unknown-linux-gnu-gcc -O2 -pipe -o checkmodule y.tab.o lex.yy.o queue.o module_compiler.o parse_util.o policy_define.o checkmodule.o -Wl,-O1 -Wl,--as-needed -l:libsepol.a /usr/lib/gcc/riscv64-unknown-linux-gnu/14/../../../../riscv64-unknown-linux-gnu/bin/ld: cannot find -l:libsepol.a: No such file or directory /usr/lib/gcc/riscv64-unknown-linux-gnu/14/../../../../riscv64-unknown-linux-gnu/bin/ld: cannot find -l:libsepol.a: No such file or directory collect2: error: ld returned 1 exit status collect2: error: ld returned 1 exit status make: *** [Makefile:36: checkmodule] Error 1 make: *** Waiting for unfinished jobs.... make: *** [Makefile:33: checkpolicy] Error 1 * ERROR: sys-apps/checkpolicy-3.7::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/checkpolicy-3.7::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/checkpolicy-3.7::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-apps/checkpolicy-3.7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/checkpolicy-3.7/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/checkpolicy-3.7/work/checkpolicy-3.7' * S: '/var/tmp/portage/sys-apps/checkpolicy-3.7/work/checkpolicy-3.7'
Oh dear, that's my fault, sorry. I'll fix it tonight.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b3d0ae59cfd2cac6e60117d96a5313e94bb6b49 commit 1b3d0ae59cfd2cac6e60117d96a5313e94bb6b49 Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2024-07-19 18:59:03 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2024-07-19 19:19:58 +0000 sys-apps/checkpolicy: Fix libsepol dependency by enforcing static-libs Closes: https://bugs.gentoo.org/936306 Signed-off-by: James Le Cuirot <chewi@gentoo.org> sys-apps/checkpolicy/checkpolicy-3.5.ebuild | 7 +++---- sys-apps/checkpolicy/checkpolicy-3.6.ebuild | 5 ++--- .../{checkpolicy-3.7.ebuild => checkpolicy-3.7-r1.ebuild} | 5 ++--- sys-apps/checkpolicy/checkpolicy-9999.ebuild | 5 ++--- 4 files changed, 9 insertions(+), 13 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8ab09e6b5b5b9094c877cf2cc95599fe525393c commit c8ab09e6b5b5b9094c877cf2cc95599fe525393c Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2024-07-19 19:15:48 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2024-07-19 19:22:10 +0000 sys-apps/selinux-python: Fix libsepol dependency by enforcing static-libs Bug: https://bugs.gentoo.org/936306 Signed-off-by: James Le Cuirot <chewi@gentoo.org> sys-apps/selinux-python/selinux-python-3.5.ebuild | 2 +- sys-apps/selinux-python/selinux-python-3.6.ebuild | 2 +- .../{selinux-python-3.7.ebuild => selinux-python-3.7-r1.ebuild} | 2 +- sys-apps/selinux-python/selinux-python-9999.ebuild | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb6f664fd509e6a0a217c99aa1f4e718e4d0ded9 commit fb6f664fd509e6a0a217c99aa1f4e718e4d0ded9 Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2024-07-19 19:13:34 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2024-07-19 19:22:09 +0000 sys-apps/mcstrans: Fix libsepol dependency by enforcing static-libs Bug: https://bugs.gentoo.org/936306 Signed-off-by: James Le Cuirot <chewi@gentoo.org> sys-apps/mcstrans/mcstrans-3.5.ebuild | 4 ++-- sys-apps/mcstrans/mcstrans-3.6.ebuild | 2 +- sys-apps/mcstrans/{mcstrans-3.7.ebuild => mcstrans-3.7-r1.ebuild} | 2 +- sys-apps/mcstrans/mcstrans-9999.ebuild | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c382195283257e995e4edad35bd9fbf64499dae commit 6c382195283257e995e4edad35bd9fbf64499dae Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2024-07-19 19:07:08 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2024-07-19 19:19:59 +0000 sys-libs/libselinux: Fix libsepol dependency by enforcing static-libs Bug: https://bugs.gentoo.org/936306 Signed-off-by: James Le Cuirot <chewi@gentoo.org> sys-libs/libselinux/libselinux-3.5-r1.ebuild | 2 +- sys-libs/libselinux/libselinux-3.6-r1.ebuild | 2 +- sys-libs/libselinux/{libselinux-3.7.ebuild => libselinux-3.7-r1.ebuild} | 2 +- sys-libs/libselinux/libselinux-9999.ebuild | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=323492b796511ad4cc8ae5c69ebef20810200f60 commit 323492b796511ad4cc8ae5c69ebef20810200f60 Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2024-07-19 19:19:31 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2024-07-19 19:19:57 +0000 sys-libs/libsepol: Enable static-libs by default Most revdeps need it. Bug: https://bugs.gentoo.org/936306 Signed-off-by: James Le Cuirot <chewi@gentoo.org> sys-libs/libsepol/libsepol-3.7.ebuild | 2 +- sys-libs/libsepol/libsepol-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Fixed now. I added [static-libs(+)] to all the ebuilds, but only revbumped the unstable ones, because I didn't add the flag to the stable libsepol versions. I also enabled static-libs by default, since it turns out most revdeps need it. I guess I can understand why, this stuff can be quite critical. With hindsight, it probably didn't need the USE flag, but I figured I might as well keep it now. Apologies again to perfinion. I should have been far more careful here.