>>> Installing (1 of 1) app-text/docbook-xml-dtd-4.5-r1::gentoo_prefix Found DocBook XSL stylesheets (xsl) in /scratch/mmokrejs/gentoo/usr/share/sgml/docbook/xsl-stylesheets DocBook XSL stylesheets (xsl-ns) not found DocBook XSL stylesheets (xsl-saxon) not found DocBook XSL stylesheets (xsl-xalan) not found find: �xml-simple-dtd-*/�: No such file or directory
The error is coming from the ${EPREFIX}/usr/sbin/build-docbook-catalog script. SIMPLE_DTDS=$(find xml-simple-dtd-*/ -name sdocbook.dtd) The script does not have any quotes. The quotes are appearing in an error message output by the find command.
Thank you for your analysis, I am slowly realizing Gentoo:Prefix really has a modified repository, I thought the portage tree will be same but is not. Do you think it is a bug in sys-apps/findutils which should stick to us-ascii chars? I would think so ...
It depends on what locale you have set in the environment. floppym@naomi tmp % LANG=C find foo -name foo find: 'foo': No such file or directory floppym@naomi tmp % LANG=en_US.UTF-8 find foo -name foo find: ‘foo’: No such file or directory
Hmm, I have: $ locale LANG= LC_CTYPE=en_US.UTF-8 LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL= $ so in both cases I get: $ LANG=C find foo -name foo find: ‘foo’: No such file or directory $ LANG=en_US.UTF-8 find foo -name foo find: ‘foo’: No such file or directory $ But I understand it depends on the environment, thank you for reminding me. Does portage sandbox have UTF8 set in its environment settings? I would assume that is the relevant environment here.
Eventually, under root I have: # locale LANG= LC_CTYPE="POSIX" LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL= #
(In reply to Martin Mokrejš from comment #4) LC_CTYPE is the relevant setting which you clearly have set to en_US.UTF-8. portage inherits the environment of whatever process calls it.