Hi maintainer,
On Thu, 5 Sep 2024 19:40:56 +0800 zhangdandan wrote:
> Source: audit
> Version: 1:4.0.1-1
> Severity: normal
> Tags: patch
> User: [email protected]
> Usertags: loong64
>
> Dear maintainers,
>
> Compiling the audit failed for loong64 in the Debian Package
> Auto-Building environment.
> Build failed 4 times.
> The error log is as follows,
> ```
> ./auparse_test > auparse_test.cur
> diff -u ../../../../auparse/test/auparse_test.ref auparse_test.cur
> --- ../../../../auparse/test/auparse_test.ref 2024-09-02
> 08:39:33.000000000 +0000
> +++ auparse_test.cur 2024-09-02 08:40:30.328019810 +0000
> @@ -188,7 +188,7 @@
> uid=0 (root)
> subj=system_u:system_r:init_t:s0 (system_u:system_r:init_t:s0)
> old-auid=4294967295 (unset)
> - auid=42 (unknown(42))
> + auid=42 (_apt)
> tty=(none) ((none))
> old-ses=4294967295 (4294967295)
> ses=1 (1)
> ......
> ```
>
> The Full log can be found at
>
https://buildd.debian.org/status/logs.php?pkg=audit&ver=1%3A4.0.1-1&arch=loong64.
>
> Thanks to phorcys for the investigation (_apt user was added in
> base-passwd package).
> Please consider the patch I attached.
> The audit source package was built successfully on my local ENV.
> ```
> ......
> ./auparse_test > auparse_test.cur
> diff -u ../../../../auparse/test/auparse_test.ref auparse_test.cur
> ./auparselol_test -f test3.log --check | sort > auparse_test.cur
> sed -f ../../../../auparse/test/auditd_raw.sed test3.log | sort >
> auparse_test.raw
> diff -u auparse_test.raw auparse_test.cur
> cp ../../bindings/swig/python3/.libs/_audit.so
../../bindings/swig/python3
> ......
> dpkg-deb: building package 'python3-audit-dbgsym' in
> '../python3-audit-dbgsym_4.0.1-1_loong64.deb'.
> dpkg-deb: building package 'libaudit-dev' in
> '../libaudit-dev_4.0.1-1_loong64.deb'.
> dpkg-genbuildinfo --build=binary -O../audit_4.0.1-1_loong64.buildinfo
> dpkg-genchanges --build=binary -O../audit_4.0.1-1_loong64.changes
> ```
> Your opinions are welcome.
>
> Thanks,
> Dandan Zhang
>
audit was built failure on loong64 and other architectures, please check
https://buildd.debian.org/status/package.php?p=audit&suite=sid.
The fixed patch (due to _apt user was added in base-passwd package)
attached in bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1080523#5.
Please review.
Best regards,
Dandan