Eric Wong writes: >> (It may be of note however that I did not have Xapian enabled. Trying >> to build with that caused a host of other failures that were beyond my >> ability to troubleshoot, so I decided to just give up on running the >> tests for now, since they seem very dependent on the environment and the >> environment inside our build sandboxes is so different from what >> public-inbox will have on a running system anyway.) > > I don't know much about Nix, but I hope/expect public-inbox > tests to work on every reasonably modern Unix-like OS which > Perl5, git, and SQLite run on. > > If you post logs of the failures you encountered, it would > improve the chances that somebody here (maybe not me) can > help fix them. Thanks. As requested, following a test log, edited down to just failures / successes with error output: PERL_DL_NONLAZY=1 "/nix/store/5r85g4zzk0djffzs47zaimvkxfmbpp3q-perl-5.30.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/convert-compact.t ........ 1/? error: unable to create temporary file: Operation not permitted fatal: failed to write object t/search.t ................. fatal: Could not make /build/pi-search-i646IK/a.git/branches/ writable by group t/search.t ................. 1/? # Failed test 'git init (main)' # at t/search.t line 20. # got: '0' # expected: '32768' # Failed test 'undefined permission is group' # at t/search.t line 40. # got: '0' # expected: '432' t/search.t ................. 92/? # Failed test 'sharedRepository respected for msgmap.sqlite3' # at t/search.t line 455. # got: '420' # expected: '432' # Failed test 'sharedRepository respected for public-inbox' # at t/search.t line 455. # got: '493' # expected: '1528' # Failed test 'sharedRepository respected for xapian15' # at t/search.t line 455. # got: '493' # expected: '1528' # Failed test 'sharedRepository respected for docdata.glass' # at t/search.t line 455. # got: '420' # expected: '432' # Failed test 'sharedRepository respected for flintlock' # at t/search.t line 455. # got: '420' # expected: '432' # Failed test 'sharedRepository respected for iamglass' # at t/search.t line 455. # got: '420' # expected: '432' # Failed test 'sharedRepository respected for over.sqlite3' # at t/search.t line 455. # got: '420' # expected: '432' # Failed test 'sharedRepository respected for over.sqlite3-journal' # at t/search.t line 455. # got: '420' # expected: '432' # Failed test 'sharedRepository respected for position.glass' # at t/search.t line 455. # got: '420' # expected: '432' # Failed test 'sharedRepository respected for postlist.glass' # at t/search.t line 455. # got: '420' # expected: '432' # Failed test 'sharedRepository respected for spelling.glass' # at t/search.t line 455. # got: '420' # expected: '432' # Failed test 'sharedRepository respected for synonym.glass' # at t/search.t line 455. # got: '420' # expected: '432' # Failed test 'sharedRepository respected for termlist.glass' # at t/search.t line 455. # got: '420' # expected: '432' # Looks like you failed 15 tests of 114. t/search.t ................. Dubious, test returned 15 (wstat 3840, 0xf00) Failed 15/114 subtests t/v2writable.t ............. 3/? error: unable to create temporary file: Operation not permitted fatal: failed to write object t/v2writable.t ............. 48/? error: unable to create temporary file: Operation not permitted fatal: failed to write object t/v2writable.t ............. 97/? error: unable to create temporary file: Operation not permitted fatal: failed to write object error: unable to create temporary file: Operation not permitted fatal: failed to write object t/v2writable.t ............. 101/? error: unable to create temporary file: Operation not permitted fatal: failed to write object t/v2writable.t ............. ok Test Summary Report ------------------- t/search.t (Wstat: 3840 Tests: 114 Failed: 15) Failed tests: 1, 3, 93-105 Non-zero exit status: 15 Files=84, Tests=2967, 574 wallclock secs ( 1.03 usr 0.21 sys + 85.43 cusr 102.57 csys = 189.24 CPU) Result: FAIL Failed 1/84 test programs. 15/2967 subtests failed. make: *** [Makefile:1050: test_dynamic] Error 255