linuxmint / xplayer-plparser

Other
6 stars 7 forks source link

Lacking/incorrect build instructions #6

Open bertvandepoel opened 1 month ago

bertvandepoel commented 1 month ago

The build instructions in the INSTALL file still mention `./configure; make; make install' but there's no configure file nor autoconf/autogen files to create it.

I guessed "meson build" and that does seem to do some stuff.

bertvandepoel commented 1 month ago

So I ended up doing meson build until I got all the depencencies ok, then ninja -C build and then ninja -C build test. Sadly It's not happy and I'm not sure if I'm just building it wrong or what's happening:

bert@berts-desktop:~/programs/xplayer-plparser$ ninja -C build test
ninja: Entering directory `build'
[0/1] Running all tests.
1/2 disc          OK              0.00s
2/2 parser        FAIL            1.08s   killed by signal 6 SIGABRT
>>> LD_LIBRARY_PATH=/home/bert/programs/xplayer-plparser/build/plparse UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=157 /home/bert/programs/xplayer-plparser/build/plparse/tests/parser
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ✀  ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
stdout:
TAP version 13
# random seed: R02S011a6dd9c7f6056451249994402a7907
# GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
# GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
1..44
# Start of parser tests
ok 1 /parser/duration
not ok /parser/date - ERROR:../plparse/tests/parser.c:133:test_date: assertion failed (xplayer_pl_parser_parse_date ("28 Mar 2007 10:28:18 GMT", verbose) == 1175077698): (110531773701024 == 1175077698)
Bail out!
stderr:
**
ERROR:../plparse/tests/parser.c:133:test_date: assertion failed (xplayer_pl_parser_parse_date ("28 Mar 2007 10:28:18 GMT", verbose) == 1175077698): (110531773701024 == 1175077698)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

Summary of Failures:

2/2 parser FAIL            1.08s   killed by signal 6 SIGABRT

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

Full log written to /home/bert/programs/xplayer-plparser/build/meson-logs/testlog.txt
FAILED: meson-internal__test 
/usr/bin/meson test --no-rebuild --print-errorlogs
ninja: build stopped: subcommand failed.
bert@berts-desktop:~/programs/xplayer-plparser$ 
bertvandepoel commented 1 month ago

a friend of mine recommended trying ninja -C build install and that seems to have done the trick. Should I create a PR with updated build instructions?