Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 625936 - media-video/mkvtoolnix-13.0.0 fails to configure with dash
Summary: media-video/mkvtoolnix-13.0.0 fails to configure with dash
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-22 12:11 UTC by Mikael Magnusson
Modified: 2017-07-22 18:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ac/ax_docbook non-posix ls patch (file_625936.txt,663 bytes, patch)
2017-07-22 18:22 UTC, Steve Dibb (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Magnusson 2017-07-22 12:11:34 UTC
ac/ax_docbook.m4 has the following broken code:
  for i in /usr/share/xml/docbook/stylesheet/xsl/nwalsh /usr/share/xml/docbook/stylesheet/nwalsh `ls -d /usr/share/{sg,x}ml/docbook/xsl-stylesheets* 2> /dev/null`; do

which causes this to trigger,

    AC_MSG_ERROR([DocBook XSL stylesheets are required for building.])

The correct line of code should be
  for i in /usr/share/xml/docbook/stylesheet/xsl/nwalsh /usr/share/xml/docbook/stylesheet/nwalsh /usr/share/sgml/docbook/xsl-stylesheets* /usr/share/xml/docbook/xsl-stylesheets*; do

The {a,b} syntax is a non-posix extension, and i have no idea what they wanted to accomplish with the ls but that should work if you still want to leave that in.
Comment 1 Steve Dibb (RETIRED) gentoo-dev 2017-07-22 18:22:48 UTC
Created attachment 486472 [details, diff]
ac/ax_docbook non-posix ls patch
Comment 2 Steve Dibb (RETIRED) gentoo-dev 2017-07-22 18:26:13 UTC
Thanks, Mikael,

Reported upstream as well - https://github.com/mbunkus/mkvtoolnix/issues/2054
Comment 3 Steve Dibb (RETIRED) gentoo-dev 2017-07-22 18:47:39 UTC
Added -r1 in tree, Moritz fixed upstream as well