https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sys-block/parted-3.5 fails tests (DASH-SYSTEM). Discovered on: amd64 (internal ref: dash_tinderbox) NOTE: (DASH-SYSTEM) in the summary means that the bug was found on a machine that runs /bin/sh as dash but this bug MAY or MAY NOT BE related to dash.
Created attachment 848503 [details] build.log build log and emerge --info
Created attachment 848505 [details] 1-test-suite.log 1-test-suite.log
Error(s) that match a know pattern: Can't locate Digest/CRC.pm in @INC (you may need to install the Digest::CRC module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.36/x86_64-linux-debug-thread-multi /usr/local/lib64/perl5/5.36 /usr/lib64/perl5/vendor_perl/5.36/x86_64-linux-debug-thread-multi /usr/lib64/perl5/vendor_perl/5.36 /usr/lib64/perl5/5.36/x86_64-linux-debug-thread-multi /usr/lib64/perl5/5.36 /usr/lib64/perl5/vendor_perl/5.34) at -e line 1. + echo Error: The primary GPT table is corrupt, but the backup appears OK, so that will be used. -Error: The primary GPT table is corrupt, but the backup appears OK, so that will be used. FAIL: t0206-gpt-print-with-corrupt-primary-clobbers-pmbr FAIL: t0206-gpt-print-with-corrupt-primary-clobbers-pmbr.sh FAIL t0206-gpt-print-with-corrupt-primary-clobbers-pmbr.sh (exit status: 1) FAIL: t0280-gpt-corrupt FAIL: t0280-gpt-corrupt.sh FAIL t0280-gpt-corrupt.sh (exit status: 1) + grep Error: err
The principle of pusillanimous portability is very much at play here. I have identified the cause and shall submit a patch soon.
Created attachment 849189 [details, diff] 0001-Use-complementation-correctly-in-shell-globs.patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8489bdccc712eb390d43de5f3b0918bb839e8361 commit 8489bdccc712eb390d43de5f3b0918bb839e8361 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-06-16 02:56:01 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-06-16 02:56:01 +0000 sys-block/parted: fix test portability issues Closes: https://bugs.gentoo.org/753677 Closes: https://bugs.gentoo.org/890869 Thanks-to: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org> .../parted/files/parted-3.6-tests-non-bash.patch | 86 ++++++++++++++++++++++ .../parted/files/parted-3.6-tests-unicode.patch | 59 +++++++++++++++ sys-block/parted/parted-3.6.ebuild | 6 +- 3 files changed, 150 insertions(+), 1 deletion(-)