Created attachment 492690 [details] build.log.gz At least with libxslt-1.1.30 (bug 612194 could maybe be related) it fails with: [1757/1758] /usr/bin/xsltproc -o man/systemd.directives.7 --nonet --xinclude --stringparam man.output.quietly 1 --stringparam funcsynopsis.style ansi --stringparam man.authors.section.enabled 0 --stringparam man.copyright.section.enabled 0 --stringparam systemd.version 234 --path /var/tmp/portage/sys-apps/systemd-234-r3/work/systemd-234-abi_x86_64.amd64/man:/var/tmp/portage/sys-apps/systemd-234-r3/work/systemd-234/man ../systemd-234/man/custom-man.xsl man/systemd.directives.xml [1758/1758] /usr/bin/xsltproc -o man/systemd.index.7 --nonet --xinclude --stringparam man.output.quietly 1 --stringparam funcsynopsis.style ansi --stringparam man.authors.section.enabled 0 --stringparam man.copyright.section.enabled 0 --stringparam systemd.version 234 --path /var/tmp/portage/sys-apps/systemd-234-r3/work/systemd-234-abi_x86_64.amd64/man:/var/tmp/portage/sys-apps/systemd-234-r3/work/systemd-234/man ../systemd-234/man/custom-man.xsl man/systemd.index.xml FAILED: man/systemd.index.7 /usr/bin/xsltproc -o man/systemd.index.7 --nonet --xinclude --stringparam man.output.quietly 1 --stringparam funcsynopsis.style ansi --stringparam man.authors.section.enabled 0 --stringparam man.copyright.section.enabled 0 --stringparam systemd.version 234 --path /var/tmp/portage/sys-apps/systemd-234-r3/work/systemd-234-abi_x86_64.amd64/man:/var/tmp/portage/sys-apps/systemd-234-r3/work/systemd-234/man ../systemd-234/man/custom-man.xsl man/systemd.index.xml runtime error: file file:///usr/share/sgml/docbook/xsl-stylesheets/lib/lib.xsl line 60 element variable xsltApplySequenceConstructor: A potential infinite template recursion was detected. You can adjust xsltMaxDepth (--maxdepth) in order to raise the maximum number of nested template calls and variables/params (currently set to 3000). Templates: #0 name string.subst #1 name string.subst #2 name string.subst #3 name string.subst #4 name string.subst #5 name string.subst #6 name string.subst #7 name string.subst #8 name string.subst #9 name string.subst #10 name string.subst #11 name string.subst #12 name string.subst #13 name string.subst #14 name string.subst Variables: #0 replacement target string #1 target string #2 string #3 replacement target string #4 target string #5 string #6 replacement target string #7 target string #8 string #9 replacement target string #10 target string #11 string #12 replacement target string #13 target string #14 string error: file man/systemd.index.xml xsltRunStylesheet : run failed ninja: build stopped: subcommand failed. * ERROR: sys-apps/systemd-234-r3::gentoo failed (compile phase): * ninja -v -j1 -l0 failed * * Call stack: * ebuild.sh, line 115: Called src_compile * environment, line 5648: Called multilib-minimal_src_compile * environment, line 3748: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile' * environment, line 3979: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile' * environment, line 3614: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile' * environment, line 3612: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile' * environment, line 650: Called multilib-minimal_abi_src_compile * environment, line 3742: Called multilib_src_compile * environment, line 4191: Called eninja * environment, line 1878: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" * * If you need support, post the output of `emerge --info '=sys-apps/systemd-234-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/systemd-234-r3::gentoo'`. * The complete build log is located at '/var/log/portage/build/sys-apps/systemd-234-r3:20170905-184804.log.gz'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/systemd-234-r3/temp/build.log.gz'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/systemd-234-r3/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/systemd-234-r3/work/systemd-234-abi_x86_64.amd64' * S: '/var/tmp/portage/sys-apps/systemd-234-r3/work/systemd-234'
It's caused by this commit: https://git.gnome.org/browse/libxslt/commit/?id=1c8e0e556289582fece6f1a59113a7a5bef46ba4 It's old but first included in this new release
systemd upstream closed this as "not-our-bug" last year. https://github.com/systemd/systemd/issues/4559
Also see this Debian bug. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765567
Bug has been referenced in the following commit: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a3329a4c5efc9282fb53096420270cf00aff660 commit 3a3329a4c5efc9282fb53096420270cf00aff660 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2017-09-05 20:24:44 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2017-09-05 20:25:40 +0000 app-text/docbook-xsl-stylesheets: apply nonrecursive-string-subst.patch Patch taken from Debian. Bug: https://bugs.debian.org/765567 Bug: https://bugs.gentoo.org/630022 Package-Manager: Portage-2.3.6_p39, Repoman-2.3.3_p17 .../docbook-xsl-stylesheets-1.79.1-r2.ebuild | 101 +++++++++++++++++++++ .../files/nonrecursive-string-subst.patch | 30 ++++++ 2 files changed, 131 insertions(+)