Problem building glib-2.70.0 in BLFS-11
by hazel from LinuxQuestions.org on (#5PTJV)
glib now builds with meson and ninja instead of autotools. I'm building it with the recommended dependencies including xslt, but this makes ninja crash near the end of the run. The last messages I get are
Code:[1109/1132] Generating gapplication-man with a custom command
FAILED: docs/reference/gio/gapplication.1
/bin/xsltproc --nonet --stringparam man.output.quietly 1 --stringparam
funcsynopsis.style ansi --stringparam man.th.extra1.suppress 1
--stringparam man.authors.section.enabled 0 --stringparam
man.copyright.section.enabled 0 -o docs/reference/gio/gapplication.1
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
../docs/reference/gio/gapplication.xml
I/O error : Attempt to load network entity
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
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
[1114/1132] Compiling C object tests/onceinit.p/onceinit.c.o
ninja: build stopped: subcommand failed.I can't quite work out what is happening here. There's an xsltproc command but it uses --nonet so it shouldn't be trying to get stuff of the internet. So what's this http url doing? And why is it crashing?
glib is an absolutely foundational library. Loads of packages use it. So until I can get it to build, I am pretty much stuck.
PS: It occurs to me that this could perhaps be a race condition. I believe ninja always uses all available cores and I have 4. Do you think if I used -j1, it would work better?
Code:[1109/1132] Generating gapplication-man with a custom command
FAILED: docs/reference/gio/gapplication.1
/bin/xsltproc --nonet --stringparam man.output.quietly 1 --stringparam
funcsynopsis.style ansi --stringparam man.th.extra1.suppress 1
--stringparam man.authors.section.enabled 0 --stringparam
man.copyright.section.enabled 0 -o docs/reference/gio/gapplication.1
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
../docs/reference/gio/gapplication.xml
I/O error : Attempt to load network entity
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
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
[1114/1132] Compiling C object tests/onceinit.p/onceinit.c.o
ninja: build stopped: subcommand failed.I can't quite work out what is happening here. There's an xsltproc command but it uses --nonet so it shouldn't be trying to get stuff of the internet. So what's this http url doing? And why is it crashing?
glib is an absolutely foundational library. Loads of packages use it. So until I can get it to build, I am pretty much stuck.
PS: It occurs to me that this could perhaps be a race condition. I believe ninja always uses all available cores and I have 4. Do you think if I used -j1, it would work better?