too long lines were shrinked: Deprecated command line option: -modern. This option is now always on. /bin/sh /var/tmp/portage/sys-process/audit-3.0.7-r1/work/audit-3.0.7-abi_x86_64.amd64/libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-process/audit-3.0.7-r1/work/audit-3.0.7/bindings/swig/python3 -I/var/tmp/portage/sys-process/audit-3.0.7-r1/work libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-process/audit-3.0.7-r1/work/audit-3.0.7/bindings/swig/python3 -I/var/tmp/portage/sys-process/audit-3.0.7-r1/work/audit-3.0.7-abi_x86_64.amd64 -I. -I/var/tmp/portage/sys-process/audit-3.0.7-r1/work/audit-3.0.7-abi_x audit_wrap.c: In function '_wrap_audit_rule_data_buf_set': audit_wrap.c:4701:17: error: cast specifies array type 4701 | arg1->buf = (char [])(char *)memcpy(malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size)); | ^ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib-j4_test-20220403-121949 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.1 * clang/llvm (if any): Python 3.9.9 php cli: HEAD of ::gentoo commit 3c2d741642eddefcaa0e40115e5a6747d5e3dd00 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Apr 3 13:49:30 2022 +0000 2022-04-03 13:49:29 UTC emerge -qpvO sys-process/audit [ebuild N ] sys-process/audit-3.0.7-r1 USE="ldap python (split-usr) test -gssapi -static-libs" PYTHON_TARGETS="python3_9 -python3_8 -python3_10"
Created attachment 768604 [details] emerge-info.txt
Created attachment 768605 [details] emerge-history.txt
Created attachment 768606 [details] environment
Created attachment 768607 [details] etc.portage.tar.bz2
Created attachment 768608 [details] logs.tar.bz2
Created attachment 768609 [details] sys-process:audit-3.0.7-r1:20220403-161004.log
Created attachment 768610 [details] temp.tar.bz2
Upstream rejected a workaround/fix at https://github.com/linux-audit/audit-userspace/pull/253 / https://github.com/linux-audit/audit-userspace/issues/252#issuecomment-1078595249. Instead, in Fedora (same maintainer as upstream), they're patching the headers then unpatching before install. Apparently the swig bindings are on their way out but I'm not convinced that's going to be a quick migration given the API will.. surely change? It's not ideal but let's take the patch slyfox ended up using in nixpkgs anyway.
(In reply to Sam James from comment #8) > Upstream rejected a workaround/fix at > https://github.com/linux-audit/audit-userspace/pull/253 / > https://github.com/linux-audit/audit-userspace/issues/252#issuecomment- > 1078595249. > > Instead, in Fedora (same maintainer as upstream), they're patching the > headers then unpatching before install. > > Apparently the swig bindings are on their way out but I'm not convinced > that's going to be a quick migration given the API will.. surely change? > > It's not ideal but let's take the patch slyfox ended up using in nixpkgs > anyway. Done this in 3.0.8, by the way.