Kakoune: xsltproc errors when trying to install

Created on 13 Dec 2016  ยท  5Comments  ยท  Source: mawww/kakoune

Here's my xsltproc --version:

โฏ xsltproc --version
Using libxml 20902, libxslt 10128 and libexslt 817
xsltproc was compiled against libxml 20902, libxslt 10128 and libexslt 817
libxslt 10128 was compiled against libxml 20902
libexslt 817 was compiled against libxml 20902

Here's the log from ~/Library/Logs/Homebrew/kakoune/01.make:

2016-12-13 06:39:03 -0800

make
install
PREFIX=/usr/local/Cellar/kakoune/HEAD-e441295

clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .alias_registry.debug.d -c -o .alias_registry.debug.o alias_registry.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .assert.debug.d -c -o .assert.debug.o assert.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .backtrace.debug.d -c -o .backtrace.debug.o backtrace.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .buffer.debug.d -c -o .buffer.debug.o buffer.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .buffer_manager.debug.d -c -o .buffer_manager.debug.o buffer_manager.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .buffer_utils.debug.d -c -o .buffer_utils.debug.o buffer_utils.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .client.debug.d -c -o .client.debug.o client.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .client_manager.debug.d -c -o .client_manager.debug.o client_manager.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .color.debug.d -c -o .color.debug.o color.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .command_manager.debug.d -c -o .command_manager.debug.o command_manager.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .commands.debug.d -c -o .commands.debug.o commands.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .completion.debug.d -c -o .completion.debug.o completion.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .context.debug.d -c -o .context.debug.o context.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .display_buffer.debug.d -c -o .display_buffer.debug.o display_buffer.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .env_vars.debug.d -c -o .env_vars.debug.o env_vars.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .event_manager.debug.d -c -o .event_manager.debug.o event_manager.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .exception.debug.d -c -o .exception.debug.o exception.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .face_registry.debug.d -c -o .face_registry.debug.o face_registry.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .file.debug.d -c -o .file.debug.o file.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .hash.debug.d -c -o .hash.debug.o hash.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .highlighter_group.debug.d -c -o .highlighter_group.debug.o highlighter_group.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .highlighters.debug.d -c -o .highlighters.debug.o highlighters.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .hook_manager.debug.d -c -o .hook_manager.debug.o hook_manager.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .input_handler.debug.d -c -o .input_handler.debug.o input_handler.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .insert_completer.debug.d -c -o .insert_completer.debug.o insert_completer.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .json_ui.debug.d -c -o .json_ui.debug.o json_ui.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .keymap_manager.debug.d -c -o .keymap_manager.debug.o keymap_manager.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .keys.debug.d -c -o .keys.debug.o keys.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .line_modification.debug.d -c -o .line_modification.debug.o line_modification.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .main.debug.d -c -o .main.debug.o main.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .memory.debug.d -c -o .memory.debug.o memory.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .ncurses_ui.debug.d -c -o .ncurses_ui.debug.o ncurses_ui.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .normal.debug.d -c -o .normal.debug.o normal.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .option_manager.debug.d -c -o .option_manager.debug.o option_manager.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .parameters_parser.debug.d -c -o .parameters_parser.debug.o parameters_parser.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .ranked_match.debug.d -c -o .ranked_match.debug.o ranked_match.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .regex.debug.d -c -o .regex.debug.o regex.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .register_manager.debug.d -c -o .register_manager.debug.o register_manager.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .remote.debug.d -c -o .remote.debug.o remote.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .selection.debug.d -c -o .selection.debug.o selection.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .selectors.debug.d -c -o .selectors.debug.o selectors.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .shared_string.debug.d -c -o .shared_string.debug.o shared_string.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .shell_manager.debug.d -c -o .shell_manager.debug.o shell_manager.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .string.debug.d -c -o .string.debug.o string.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .unit_tests.debug.d -c -o .unit_tests.debug.o unit_tests.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .window.debug.d -c -o .window.debug.o window.cc
clang++ -DKAK_DEBUG -I/usr/local/opt/ncurses/include -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address -MD -MP -MF .word_db.debug.d -c -o .word_db.debug.o word_db.cc
a2x --no-xmllint -f manpage ../doc/kak.1.txt
a2x --no-xmllint -f manpage ../doc/manpages/commands.asciidoc
a2x --no-xmllint -f manpage ../doc/manpages/execeval.asciidoc
a2x --no-xmllint -f manpage ../doc/manpages/expansions.asciidoc
a2x --no-xmllint -f manpage ../doc/manpages/faces.asciidoc
a2x --no-xmllint -f manpage ../doc/manpages/faq.asciidoc
a2x --no-xmllint -f manpage ../doc/manpages/highlighters.asciidoc
a2x: ERROR: "xsltproc"  --stringparam callout.graphics 0 --stringparam navig.graphics 0 --stringparam admon.textlabel 1 --stringparam admon.graphics 0  "/usr/local/Cellar/asciidoc/8.6.9_1/etc/asciidoc/docbook-xsl/manpage.xsl" "/private/tmp/kakoune-20161213-24344-xyb1dc/doc/manpages/highlighters.xml" returned non-zero exit status 5
make: *** [../doc/manpages/highlighters.gz] Error 1
make: *** Waiting for unfinished jobs....
a2x: ERROR: "xsltproc"  --stringparam callout.graphics 0 --stringparam navig.graphics 0 --stringparam admon.textlabel 1 --stringparam admon.graphics 0  "/usr/local/Cellar/asciidoc/8.6.9_1/etc/asciidoc/docbook-xsl/manpage.xsl" "/private/tmp/kakoune-20161213-24344-xyb1dc/doc/manpages/faq.xml" returned non-zero exit status 5
make: *** [../doc/manpages/faq.gz] Error 1
a2x: ERROR: "xsltproc"  --stringparam callout.graphics 0 --stringparam navig.graphics 0 --stringparam admon.textlabel 1 --stringparam admon.graphics 0  "/usr/local/Cellar/asciidoc/8.6.9_1/etc/asciidoc/docbook-xsl/manpage.xsl" "/private/tmp/kakoune-20161213-24344-xyb1dc/doc/kak.1.xml" returned non-zero exit status 5
make: *** [../doc/kak.1.gz] Error 1
a2x: ERROR: "xsltproc"  --stringparam callout.graphics 0 --stringparam navig.graphics 0 --stringparam admon.textlabel 1 --stringparam admon.graphics 0  "/usr/local/Cellar/asciidoc/8.6.9_1/etc/asciidoc/docbook-xsl/manpage.xsl" "/private/tmp/kakoune-20161213-24344-xyb1dc/doc/manpages/commands.xml" returned non-zero exit status 5
make: *** [../doc/manpages/commands.gz] Error 1
a2x: ERROR: "xsltproc"  --stringparam callout.graphics 0 --stringparam navig.graphics 0 --stringparam admon.textlabel 1 --stringparam admon.graphics 0  "/usr/local/Cellar/asciidoc/8.6.9_1/etc/asciidoc/docbook-xsl/manpage.xsl" "/private/tmp/kakoune-20161213-24344-xyb1dc/doc/manpages/execeval.xml" returned non-zero exit status 5
make: *** [../doc/manpages/execeval.gz] Error 1
a2x: ERROR: "xsltproc"  --stringparam callout.graphics 0 --stringparam navig.graphics 0 --stringparam admon.textlabel 1 --stringparam admon.graphics 0  "/usr/local/Cellar/asciidoc/8.6.9_1/etc/asciidoc/docbook-xsl/manpage.xsl" "/private/tmp/kakoune-20161213-24344-xyb1dc/doc/manpages/expansions.xml" returned non-zero exit status 5
make: *** [../doc/manpages/expansions.gz] Error 1
a2x: ERROR: "xsltproc"  --stringparam callout.graphics 0 --stringparam navig.graphics 0 --stringparam admon.textlabel 1 --stringparam admon.graphics 0  "/usr/local/Cellar/asciidoc/8.6.9_1/etc/asciidoc/docbook-xsl/manpage.xsl" "/private/tmp/kakoune-20161213-24344-xyb1dc/doc/manpages/faces.xml" returned non-zero exit status 5
make: *** [../doc/manpages/faces.gz] Error 1

HOMEBREW_VERSION: 1.1.2-31-g29aa1c8c3
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 29aa1c8c3da244abf6eb1de48d262e091d52f51e
Last commit: 8 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 8366963081de08ac2a069fa5ea22b00a56fece05
Core tap last commit: 4 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.0.0-p648
Clang: 8.0 build 800
Git: 2.11.0 => /usr/local/opt/git/bin/git
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Java: 1.8.0_66
macOS: 10.11.6-x86_64
Xcode: 8.2
CLT: 7.3.1.0.1.1461711523
X11: N/A

HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
MACOSX_DEPLOYMENT_TARGET: 10.11
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.11
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/super:/usr/local/opt/docbook-xsl/bin:/usr/local/opt/asciidoc/bin:/usr/local/opt/git/bin:/usr/bin:/bin:/usr/sbin:/sbin

Most helpful comment

You obviously have the docbook-xsl package installed because I can see it in your PATH, can you try setting explicitely the following variable in your environment:

XML_CATALOG_FILES=/usr/local/etc/xml/catalog

Check that there is something in /usr/local/etc/xml/catalog before hand though.

All 5 comments

You obviously have the docbook-xsl package installed because I can see it in your PATH, can you try setting explicitely the following variable in your environment:

XML_CATALOG_FILES=/usr/local/etc/xml/catalog

Check that there is something in /usr/local/etc/xml/catalog before hand though.

Thanks, that fixed it!

I just ran into this to, FWIW, and setting XML_CATALOG_FILES allowed me to build. I didn't check the contents of that directory until after the build, and am seeing that the directory doesn't exist. Crossing fingers...

I'm on OSX 10.12.1, XCode 8.2.

+1 to running into this problem (10.12.2, 8.2) with export XML_CATALOG_FILES=/usr/local/etc/xml/catalog causing it to work.

I was having problems on Arch Linux with the kakoune-git package and export XML_CATALOG_FILES=/usr/local/etc/xml/catalog did indeed fix it

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lenormf picture lenormf  ยท  3Comments

dpc picture dpc  ยท  4Comments

valerdi picture valerdi  ยท  4Comments

1g0rb0hm picture 1g0rb0hm  ยท  3Comments

vbauerster picture vbauerster  ยท  3Comments