Failed to Compile with error : Unknown IO error
I tried to compile dia (latest repository source code) in Debian testing this way:
$ meson build -Dprefix=`pwd`/build/install
$ cd build
$ ninja install
[85/559] Generating lib/diamarshal_h with a custom command
INFO: Reading ../lib/diamarshal.list...
[89/559] Generating lib/diamarshal_c with a custom command
INFO: Reading ../lib/diamarshal.list...
[391/559] Compiling C object app/libdiaapp.so.p/disp_callbacks.c.o
../app/disp_callbacks.c: In function ‘ddisplay_canvas_events’:
../app/disp_callbacks.c:761:3: warning: enumeration value ‘GDK_TOUCH_BEGIN’ not handled in switch [-Wswitch-enum]
761 | switch (event->type) {
| ^~~~~~
../app/disp_callbacks.c:761:3: warning: enumeration value ‘GDK_TOUCH_UPDATE’ not handled in switch [-Wswitch-enum]
../app/disp_callbacks.c:761:3: warning: enumeration value ‘GDK_TOUCH_END’ not handled in switch [-Wswitch-enum]
../app/disp_callbacks.c:761:3: warning: enumeration value ‘GDK_TOUCH_CANCEL’ not handled in switch [-Wswitch-enum]
../app/disp_callbacks.c:761:3: warning: enumeration value ‘GDK_TOUCHPAD_SWIPE’ not handled in switch [-Wswitch-enum]
../app/disp_callbacks.c:761:3: warning: enumeration value ‘GDK_TOUCHPAD_PINCH’ not handled in switch [-Wswitch-enum]
../app/disp_callbacks.c:761:3: warning: enumeration value ‘GDK_PAD_BUTTON_PRESS’ not handled in switch [-Wswitch-enum]
../app/disp_callbacks.c:761:3: warning: enumeration value ‘GDK_PAD_BUTTON_RELEASE’ not handled in switch [-Wswitch-enum]
../app/disp_callbacks.c:761:3: warning: enumeration value ‘GDK_PAD_RING’ not handled in switch [-Wswitch-enum]
../app/disp_callbacks.c:761:3: warning: enumeration value ‘GDK_PAD_STRIP’ not handled in switch [-Wswitch-enum]
../app/disp_callbacks.c:761:3: warning: enumeration value ‘GDK_PAD_GROUP_MODE’ not handled in switch [-Wswitch-enum]
[529/559] Compiling C object plug-ins/libvdx_filter.so.p/vdx_vdx-xml.c.o
../plug-ins/vdx/vdx-xml.c: In function ‘vdx_write_object’:
../plug-ins/vdx/vdx-xml.c:3429:28: warning: variable ‘vdxText’ set but not used [-Wunused-but-set-variable]
3429 | const struct vdx_Text *vdxText;
| ^~~~~~~
../plug-ins/vdx/vdx-xml.c:3422:30: warning: variable ‘vdxShapes’ set but not used [-Wunused-but-set-variable]
3422 | const struct vdx_Shapes *vdxShapes;
| ^~~~~~~~~
[538/559] Generating doc/de/de-dia_html with a custom command
FAILED: doc/de/apa.html doc/de/ch01.html doc/de/ch02.html doc/de/ch02s02.html doc/de/ch02s03.html doc/de/ch02s04.html doc/de/ch02s05.html doc/de/ch02s06.html doc/de/ch02s07.html doc/de/ch03.html doc/de/ch03s02.html doc/de/ch03s03.html doc/de/ch03s04.html doc/de/ch03s05.html doc/de/ch03s06.html doc/de/ch03s07.html doc/de/ch04.html doc/de/ch04s02.html doc/de/ch04s03.html doc/de/ch04s04.html doc/de/ch04s05.html doc/de/ch05.html doc/de/ch06.html doc/de/ch07.html doc/de/ch07s02.html doc/de/ch07s03.html doc/de/ch08.html doc/de/ch08s02.html doc/de/ch09.html doc/de/ch10.html doc/de/index.html
/usr/bin/xsltproc --stringparam graphic.default.extension png --output doc/de/ ../doc/de/html.xsl ../doc/de/dia.xml
error : Unknown IO error
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"
compilation error: file ../doc/de/html.xsl line 5 element import
xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl
[541/559] Generating doc/en/en-dia.1 with a custom command
FAILED: doc/en/dia.1
/usr/bin/xsltproc --novalid --output doc/en/dia.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl ../doc/en/dia.dbk
error : Unknown IO error
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
[555/559] Generating doc/en/en-dia.pdf with a custom command
No template matches termdef in term.
No template matches termdef in term.
ninja: build stopped: subcommand failed.
Is there an easy workaround?
I attached the output of the meson build. All requirements are satisfied except the ogdf library, but as mentioned here, this should not be a show-stopper.