libarchive: unconditionally disable bsdcpio_test patrs on all linux targets

Without the change the tests started failing on filesystems with 64-bit
inode values (like `btrfs` with long age which saw 4B file creations/reletions)
as:

    cpio/test/test_basic.c:65: Contents don't match
       Description: Expected: bsdcpio: file: large inode number truncated: Numerical result out of range
    bsdcpio: linkfile: large inode number truncated: Numerical result out of range
    bsdcpio: symlink: large inode number truncated: Numerical result out of range
    bsdcpio: file2: large inode number truncated: Numerical result out of range
    bsdcpio: dir: large inode number truncated: Numerical result out of range

(cherry picked from commit 96c07856e2)
This commit is contained in:
Sergei Trofimovich
2025-08-21 06:35:23 +01:00
committed by Samuel Dionne-Riel
parent c19b95a6c5
commit ccabfb6bc5

View File

@@ -59,9 +59,9 @@ stdenv.mkDerivation (finalAttrs: {
# access-time-related tests flakey on some systems
"cpio/test/test_option_a.c"
"cpio/test/test_option_t.c"
]
++ lib.optionals (stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isLinux) [
# only on some aarch64-linux systems?
# fails tests on filesystems with 64-bit inode values:
# FAIL: bsdcpio_test
# bsdcpio: linkfile: large inode number truncated: Numerical result out of range
"cpio/test/test_basic.c"
"cpio/test/test_format_newc.c"
];