Summary: | x11/libwacom: building with synth fails | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Matthias Pfaller <matthias.pfaller> | ||||||
Component: | Individual Port(s) | Assignee: | freebsd-x11 (Nobody) <x11> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Some People | CC: | jbeich, jcfyecrayz, matthias.pfaller | ||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(x11) |
||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
See Also: | https://github.com/linuxwacom/libwacom/pull/219 | ||||||||
Attachments: |
|
Created attachment 212097 [details]
patch adding dependency to libxml2
The Makefile seems to be missing a dependency to libxml2. After adding the dependency x11/libwacom builds again. Matthias Regressed by ports r527163 but only affects users who disabled MANPAGES option in devel/glib20. (In reply to Matthias Pfaller from comment #2) As a quick workaround, try 'make MESON_ARGS=-Dtests=false'. libxml2 is declared as a dependency only if using the tests option. One fix might be to set -Dtests=true based on a non-default-on TESTS option (-Dtests=false if TESTS=off - and TEST_DEPENDS pointing to libxml2). It looks like the tests included with libwacom require more than just libxml2, however (e.g., bash & gnu coreutils' [g]ls -v) - or patching to avoid linuxisms (e.g., use sort -V). (In reply to John Hein from comment #4) I remove the libxml2 dependency from the Makefile and added MESON_ARGS=-Dtests=false Now it builds with synth as well. Thank's See review D23930 for the proposed fix. A commit references this bug: Author: jbeich Date: Thu Mar 5 12:37:18 UTC 2020 New revision: 527829 URL: https://svnweb.freebsd.org/changeset/ports/527829 Log: x11/libwacom: unbreak after r244554 when libxml2 isn't bootlegged PR: 244554 Reported by: Matthias Pfaller Approved by: manu, imp, zeising (x11) Differential Revision: https://reviews.freebsd.org/D23930 Changes: head/x11/libwacom/Makefile head/x11/libwacom/distinfo (In reply to John Hein from comment #4) > It looks like the tests included with libwacom require more than just libxml2, > however (e.g., bash & gnu coreutils' [g]ls -v) - or patching to avoid > linuxisms (e.g., use sort -V). Thanks for sort -V hint. I've submitted https://github.com/linuxwacom/libwacom/pull/221 (In reply to John Hein from comment #4) > It looks like the tests included with libwacom require more > than just libxml2, however (e.g., bash & gnu coreutils' [g]ls -v) > - or patching to avoid linuxisms (e.g., use sort -V). See review D24001 for the fix. |
Created attachment 212096 [details] synth buildlog Building x11/libwacom using synth fails for me. The logfile is attached. Building without synth succeeds. Matthias