Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libarchive31 fails test #1028

Closed
nieder opened this issue May 25, 2023 · 0 comments
Closed

libarchive31 fails test #1028

nieder opened this issue May 25, 2023 · 0 comments
Labels
bug new upstream Package has an updated upstream version

Comments

@nieder
Copy link
Member

nieder commented May 25, 2023

On macOS12.6, libarchive31-3.4.0 fails a self-test:

$ cat /tmp/libarchive_test.2023-04-30T09.47.56-000/test_read_disk_directory_traversals.log 
test_read_disk_directory_traversals

libarchive/test/test_read_disk_directory_traversals.c:1052: SKIPPING: Can't test restoring atime on this filesystem
libarchive/test/test_read_disk_directory_traversals.c:1779: ARCHIVE_OK != r
      ARCHIVE_OK=0 (0x0, 00)
      r=-25 (0xffffffffffffffe7, 01777777777777777777747)
    errno: 9
   detail: lock2/dir1: Cannot stat

seems APFS doesn't support atime. Newer releases can skip this test by setting SKIP_TEST_RESTORE_ATIME=1, but that's not available on our v3.4.0 (I think added in 3.5.2).

https://github.com/libarchive/libarchive/blob/f180dcab3321149ef348e9899737db29eeaaecf0/libarchive/test/test_read_disk_directory_traversals.c#L1052-L1061

See libarchive/libarchive#1746

@nieder nieder added bug new upstream Package has an updated upstream version labels May 25, 2023
@nieder nieder closed this as completed in 30ce868 Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug new upstream Package has an updated upstream version
Projects
None yet
Development

No branches or pull requests

1 participant