tomhrr / dale

Lisp-flavoured C
BSD 3-Clause "New" or "Revised" License
1.02k stars 48 forks source link

macos test failures #229

Closed rgkirch closed 3 months ago

rgkirch commented 3 months ago

dale is checked out:

commit 46e6dfca5137266b388fc1bfea5d5f6f27889dce (HEAD -> master, origin/master, origin/HEAD)
Author: Tom Harrison <tomhrr@tomhrr.org>
Date:   Mon Apr 15 17:02:26 2024 +1000

    [master] Add cstdint headers to (potentially) help with Windows builds.

and in dale.build I run cmake ../dale, make, and make tests log.txt The attached file has the full output. It's too much to post inline here. What I have posted here is the above "log.txt" file with some lines removed to give a preview.

/Users/richie/notMyCode/tomhrr/dale/t/003control/008and-or.t .......................... skipped: dispatch problems
/Users/richie/notMyCode/tomhrr/dale/t/008compiler/015eval-expression.t ................ skipped: problems
===(     614;89  0/4  0/4  0/? )========================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
===(     615;93  1/4  0/4  0/4  0/4 )===================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
===(     618;93  1/4  1/4  1/4  1/4 )===================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
===(     619;94  1/4  2/4  1/4  1/4 )===================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
===(     620;95  1/4  2/4  1/4  2/4 )===================================rm: t.dtm-fn-user.o: No such file or directory
/Users/richie/notMyCode/tomhrr/dale/t/009module/001dtm-fn-user.t ...................... ok
===(     623;95  2/4  1/4  2/4 )========================================rm: t.dtm-fn-user-macro.o: No such file or directory
/Users/richie/notMyCode/tomhrr/dale/t/009module/002dtm-fn-user-macro.t ................ ok
===(     627;96  2/4  3/4  0/4  0/4 )===================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
===(     628;98  2/4  3/4  1/4  0/4 )===================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
===(     632;99  4/4  4/4  1/4  1/4 )===================================rm: t.dtm-var-user-macro.o: No such file or directory
/Users/richie/notMyCode/tomhrr/dale/t/009module/004dtm-var-user-macro.t ............... ok
===(     632;99  4/4  1/4  1/4 )========================================rm: t.dtm-var-user.o: No such file or directory
/Users/richie/notMyCode/tomhrr/dale/t/009module/003dtm-var-user.t ..................... ok
===(     634;100  3/4  1/4  0/4  0/4 )==================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
===(     636;102  3/4  2/4  1/4  0/4 )==================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
===(     639;103  4/4  3/4  1/4  1/4 )==================================rm: t.dtm-struct-user.o: No such file or directory
/Users/richie/notMyCode/tomhrr/dale/t/009module/005dtm-struct-user.t .................. ok
===(     640;103  4/4  1/4  1/4 )=======================================rm: t.dtm-struct-user-macro.o: No such file or directory
/Users/richie/notMyCode/tomhrr/dale/t/009module/006dtm-struct-user-macro.t ............ ok
===(     640;103  1/4  1/4  0/? )=======================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
===(     642;106  2/4  1/4  1/4  0/4 )==================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
===(     646;106  3/4  3/4  1/4  1/4 )==================================rm: t.dtm-macro-user.o: No such file or directory
/Users/richie/notMyCode/tomhrr/dale/t/009module/007dtm-macro-user.t ................... ok
===(     648;106  4/4  1/4  1/4 )=======================================rm: t.dtm-enum-user.o: No such file or directory
/Users/richie/notMyCode/tomhrr/dale/t/009module/008dtm-enum-user.t .................... ok
===(     649;108  2/4  1/4  0/4  0/4 )==================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
===(     650;110  2/4  1/4  0/4  1/4 )==================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
===(     651;110  2/4  1/4  1/4  1/4 )==================================rm: t.dtm-enum-user-macro.o: No such file or directory
/Users/richie/notMyCode/tomhrr/dale/t/009module/009dtm-enum-user-macro.t .............. ok
===(     656;110  4/4  1/4  1/4 )=======================================rm: t.dtm-ns-user.o: No such file or directory
/Users/richie/notMyCode/tomhrr/dale/t/009module/010dtm-ns-user.t ...................... ok
===(     656;110  1/4  1/4  0/? )=======================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
===(     657;113  1/4  1/4  0/5  1/6 )==================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
===(     661;113  2/4  3/4  1/5  1/6 )==================================rm: t.dtm-inc-pre-user.o: No such file or directory
/Users/richie/notMyCode/tomhrr/dale/t/009module/012dtm-inc-pre-user.t ................. ok
===(     664;113  4/4  1/5  1/6 )=======================================rm: t.dtm-inc-user.o: No such file or directory
/Users/richie/notMyCode/tomhrr/dale/t/009module/011dtm-inc-user.t ..................... ok
===(     664;113  1/5  1/6  0/? )=======================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
===(     667;117  2/5  2/6  0/4  1/2 )==================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
===(     668;117  2/5  2/6  1/4  1/2 )==================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
===(     669;118  3/5  2/6  1/4  1/2 )==================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
warning: output path is ignored when building a modulerm: t.dtm-opstruct.o: No such file or directory
/Users/richie/notMyCode/tomhrr/dale/t/009module/016dtm-opstruct.t ..................... ok
===(     671;118  3/5  2/6  2/4 )=======================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
===(     672;120  3/5  3/6  2/4  0/? )==================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
===(     677;121  5/5  3/6  4/4  1/4 )==================================rm: t.dtm-infile.o: No such file or directory
/Users/richie/notMyCode/tomhrr/dale/t/009module/015dtm-infile.t ....................... ok
===(     678;121  5/5  4/6  1/4 )=======================================rm: t.dtm-mulinc.o: No such file or directory
/Users/richie/notMyCode/tomhrr/dale/t/009module/013dtm-mulinc.t ....................... ok
===(     678;121  4/6  1/4  0/? )=======================================rm: t.dtm-rec.o: No such file or directory
/Users/richie/notMyCode/tomhrr/dale/t/009module/014dtm-rec.t .......................... ok
===(     680;121  1/4  0/2  0/2 )=======================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
===(     683;124  2/4  1/2  1/2  0/4 )==================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
===(     684;124  2/4  1/2  1/2  1/4 )==================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
===(     685;125  2/4  1/2  2/2  1/4 )==================================rm: t.dtm-importforms.o: No such file or directory
/Users/richie/notMyCode/tomhrr/dale/t/009module/017dtm-importforms.t .................. ok
===(     687;125  1/2  2/2  1/4 )=======================================rm: t.dtm-noimport-int.o: No such file or directory
/Users/richie/notMyCode/tomhrr/dale/t/009module/019dtm-noimport-int.t ................. ok
===(     687;125  1/2  1/4  0/? )=======================================rm: t.dtm-noimport.o: No such file or directory
/Users/richie/notMyCode/tomhrr/dale/t/009module/018dtm-noimport.t ..................... ok
===(     689;126  2/4  0/4  0/2  0/3 )==================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
===(     690;128  2/4  1/4  0/2  0/3 )==================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
===(     694;128  4/4  1/4  1/2  1/3 )==================================rm: t.dtm-intover.o: No such file or directory
/Users/richie/notMyCode/tomhrr/dale/t/009module/020dtm-intover.t ...................... ok
===(     694;128  1/4  1/2  1/3 )=======================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
/Users/richie/notMyCode/tomhrr/dale/t/009module/024dtm-retval.t ....................... skipped: problems under 3.5
===(     696;128  1/4  2/2  2/3 )=======================================rm: t.dtm-typemap.o: No such file or directory
/Users/richie/notMyCode/tomhrr/dale/t/009module/022dtm-typemap.t ...................... ok
===(     696;129  1/4  2/3  0/? )=======================================rm: t.dash-M.o: No such file or directory
/Users/richie/notMyCode/tomhrr/dale/t/009module/023dash-M.t ........................... ok
===(     698;129  2/4  0/4  0/3 )=======================================rm: t.dtm-importns.o: No such file or directory
/Users/richie/notMyCode/tomhrr/dale/t/009module/021dtm-importns.t ..................... ok
===(     700;129  0/4  0/3  0/3 )=======================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
===(     710;131  1/4  0/?  0/? )=======================================ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
===(     880;165  1/3  0/3  0/3  0/? )==================================
#   Failed test 'Program executed successfully'
#   at /Users/richie/notMyCode/tomhrr/dale/t/014container/021map-rv.t line 15.
#          got: '6'
#     expected: '0'

#   Failed test 'Got correct results'
#   at /Users/richie/notMyCode/tomhrr/dale/t/014container/021map-rv.t line 19.
#     Structures begin differing at:
#          $got->[0] = Does not exist
#     $expected->[0] = '2 2'
# Looks like you failed 2 tests of 3.
/Users/richie/notMyCode/tomhrr/dale/t/014container/021map-rv.t ........................ Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/3 subtests
===(    1053;191   13/327  1/3  0/3  0/3 )==============================
#   Failed test 'Got incorrect number of compilation errors (auto-linkage.dt)'
#   at /Users/richie/notMyCode/tomhrr/dale/t/999last/001compile-errors.t line 28.
===(    1167;196   97/327  0/3  0/2 )===================================clang-14: warning: -rpath /Users/richie/notMyCode/tomhrr/dale.build: 'linker' input unused [-Wunused-command-line-argument]
clang-14: warning: -rpath /usr/local/lib/dale: 'linker' input unused [-Wunused-command-line-argument]
/Users/richie/notMyCode/tomhrr/dale/t/999last/001compile-errors.t ..................... 319/327 # Looks like you planned 327 tests but ran 326.
# Looks like you failed 1 test of 326 run.
/Users/richie/notMyCode/tomhrr/dale/t/999last/001compile-errors.t ..................... Dubious, test returned 1 (wstat 256, 0x100)
Failed 2/327 subtests

Test Summary Report
-------------------
/Users/richie/notMyCode/tomhrr/dale/t/014container/021map-rv.t                      (Wstat: 512 (exited 2) Tests: 3 Failed: 2)
  Failed tests:  2-3
  Non-zero exit status: 2
/Users/richie/notMyCode/tomhrr/dale/t/999last/001compile-errors.t                   (Wstat: 256 (exited 1) Tests: 326 Failed: 1)
  Failed test:  15
  Non-zero exit status: 1
  Parse errors: Bad plan.  You planned 327 tests but ran 326.
Files=360, Tests=1414, 206 wallclock secs ( 1.48 usr  1.15 sys + 412.19 cusr 78.57 csys = 493.39 CPU)
Result: FAIL
Failed 2/360 test programs. 3/1414 subtests failed.
make[3]: *** [CMakeFiles/tests] Error 1
make[2]: *** [CMakeFiles/tests.dir/all] Error 2
make[1]: *** [CMakeFiles/tests.dir/rule] Error 2
make: *** [tests] Error 2
tomhrr commented 3 months ago

Thanks for this. The map-rv test had a problem due to the use of uninitialised memory, and with that fixed the macOS build appears to be fine.