Coder Social home page Coder Social logo

Fails to build on macos about sqsh-tools HOT 6 CLOSED

gottox avatar gottox commented on May 28, 2024
Fails to build on macos

from sqsh-tools.

Comments (6)

Gottox avatar Gottox commented on May 28, 2024

MacOS again... 🤬

from sqsh-tools.

JSchlarb avatar JSchlarb commented on May 28, 2024

grafik

Local build output
➜  libsqsh git:(origin/fix/macos-build) meson test -C /tmp/build -t 5
ninja: Entering directory `/private/tmp/build'
[169/169] Linking target test/read-chunk
 1/38 archive/compression_options.c                       OK               0.17s
 2/38 easy/directory.c                                    OK               0.33s
 3/38 easy/file.c                                         OK               0.49s
 4/38 cpp-test.cpp                                        OK               0.64s
 5/38 directory/directory_iterator.c                      OK               0.81s
 6/38 extract/extract.c                                   OK               0.98s
 7/38 extract/extract_manager.c                           OK               1.10s
 8/38 file/file_iterator.c                                OK               1.26s
 9/38 file/file_reader.c                                  OK               1.38s
10/38 fuzzer_repro.c                                      OK               1.57s
11/38 include_tests/sqsh_archive.c                        OK               1.55s
12/38 include_tests/sqsh_easy.c                           OK               1.53s
13/38 include_tests/sqsh_common.c                         OK               1.52s
14/38 include_tests/sqsh_directory.c                      OK               1.57s
15/38 include_tests/sqsh_error.c                          OK               1.56s
16/38 include_tests/sqsh_file.c                           OK               1.56s
17/38 include_tests/sqsh_mapper.c                         OK               1.58s
18/38 include_tests/sqsh_table.c                          OK               1.59s
19/38 include_tests/sqsh_tree.c                           OK               1.61s
20/38 include_tests/sqsh_xattr.c                          OK               1.57s
21/38 file/file.c                                         OK               1.60s
22/38 integration.c                                       OK               1.67s
23/38 mapper/map_iterator.c                               OK               1.59s
24/38 mapper/map_reader.c                                 OK               1.55s
25/38 metablock/metablock_iterator.c                      OK               1.54s
26/38 metablock/metablock_reader.c                        OK               1.54s
27/38 nasty.c                                             OK               1.51s
28/38 reader/reader.c                                     OK               1.49s
29/38 tree/walker.c                                       OK               1.53s
30/38 xattr/xattr_iterator.c                              OK               1.47s
31/38 tools/unpack/pathtraversal/pathtraversal.sh         OK               2.07s
32/38 tools/unpack/repack.sh                              OK               2.39s
33/38 tools/read-chunk/tail.sh                            OK               2.69s
34/38 selftest.sh                                         OK               4.90s
35/38 tools/cat/large-file-compressed.sh                  OK               6.56s
36/38 tools/cat/large-file-uncompressed.sh                OK               6.68s
37/38 tools/fs/large-file.sh (sqshfs2)                    FAIL            52.20s   exit status 1
>>> SOURCE_ROOT=/private/tmp/libsqsh SQSH_CAT=/private/tmp/build/tools/sqsh-cat SQSH_UNPACK=/private/tmp/build/tools/sqsh-unpack MALLOC_PERTURB_=120 BUILD_DIR=/private/tmp/build/test SQSH_LS=/private/tmp/build/tools/sqsh-ls SQSHFS=/private/tmp/build/tools/sqshfs2 MKSQUASHFS=/opt/homebrew/bin/mksquashfs READ_CHUNK=/private/tmp/build/test/read-chunk /private/tmp/libsqsh/test/tools/fs/large-file.sh

38/38 tools/fs/repack.sh (sqshfs2) FAIL 110.91s exit status 1

SOURCE_ROOT=/private/tmp/libsqsh SQSH_CAT=/private/tmp/build/tools/sqsh-cat SQSH_UNPACK=/private/tmp/build/tools/sqsh-unpack MALLOC_PERTURB_=249 BUILD_DIR=/private/tmp/build/test SQSH_LS=/private/tmp/build/tools/sqsh-ls SQSHFS=/private/tmp/build/tools/sqshfs2 MKSQUASHFS=/opt/homebrew/bin/mksquashfs READ_CHUNK=/private/tmp/build/test/read-chunk /private/tmp/libsqsh/test/tools/fs/repack.sh

Ok: 36
Expected Fail: 0
Fail: 2
Unexpected Pass: 0
Skipped: 0
Timeout: 0

Full log written to /private/tmp/build/meson-logs/testlog.txt

➜  libsqsh git:(origin/fix/macos-build) sw_vers
ProductName:		macOS
ProductVersion:		13.5
BuildVersion:		22G74
➜  libsqsh git:(origin/fix/macos-build) uname -a
Darwin blub.local 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul  5 22:22:05 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6000 arm

from sqsh-tools.

Gottox avatar Gottox commented on May 28, 2024

Automated testing of fuse filesystems on macos seems to be hard nowadays:

https://github.com/s3fs-fuse/s3fs-fuse/blob/e8cb6d6d3487507f5af62ac555a5dc21556f4571/.github/workflows/ci.yml#L126-L133

from sqsh-tools.

JSchlarb avatar JSchlarb commented on May 28, 2024

Tests passed for 09d5519

Local build output
➜  libsqsh git:(origin/fix/macos-build) meson test -C /tmp/build -t 5
ninja: Entering directory `/private/tmp/build'
[165/165] Linking target tools/sqsh-cat
 1/36 archive/compression_options.c                       OK               0.16s
 2/36 easy/directory.c                                    OK               0.32s
 3/36 easy/file.c                                         OK               0.46s
 4/36 cpp-test.cpp                                        OK               0.60s
 5/36 directory/directory_iterator.c                      OK               0.75s
 6/36 extract/extract.c                                   OK               0.90s
 7/36 extract/extract_manager.c                           OK               1.04s
 8/36 file/file_iterator.c                                OK               1.19s
 9/36 file/file_reader.c                                  OK               1.33s
10/36 fuzzer_repro.c                                      OK               1.50s
11/36 include_tests/sqsh_archive.c                        OK               1.49s
12/36 include_tests/sqsh_easy.c                           OK               1.47s
13/36 include_tests/sqsh_common.c                         OK               1.48s
14/36 include_tests/sqsh_directory.c                      OK               1.47s
15/36 include_tests/sqsh_error.c                          OK               1.47s
16/36 include_tests/sqsh_file.c                           OK               1.47s
17/36 include_tests/sqsh_mapper.c                         OK               1.48s
18/36 include_tests/sqsh_table.c                          OK               1.47s
19/36 include_tests/sqsh_tree.c                           OK               1.48s
20/36 include_tests/sqsh_xattr.c                          OK               1.47s
21/36 file/file.c                                         OK               1.49s
22/36 integration.c                                       OK               1.53s
23/36 mapper/map_iterator.c                               OK               1.48s
24/36 mapper/map_reader.c                                 OK               1.48s
25/36 metablock/metablock_iterator.c                      OK               1.49s
26/36 metablock/metablock_reader.c                        OK               1.52s
27/36 nasty.c                                             OK               1.74s
28/36 reader/reader.c                                     OK               1.75s
29/36 tree/walker.c                                       OK               1.77s
30/36 xattr/xattr_iterator.c                              OK               1.75s
31/36 tools/unpack/pathtraversal/pathtraversal.sh         OK               2.04s
32/36 tools/unpack/repack.sh                              OK               2.38s
33/36 tools/read-chunk/tail.sh                            OK               2.76s
34/36 selftest.sh                                         OK               4.67s
35/36 tools/cat/large-file-compressed.sh                  OK               6.84s
36/36 tools/cat/large-file-uncompressed.sh                OK               6.83s

Ok: 36
Expected Fail: 0
Fail: 0
Unexpected Pass: 0
Skipped: 0
Timeout: 0

Full log written to /private/tmp/build/meson-logs/testlog.txt

from sqsh-tools.

Gottox avatar Gottox commented on May 28, 2024

fixed in #78

from sqsh-tools.

Dr-Emann avatar Dr-Emann commented on May 28, 2024

Thank you!

from sqsh-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.