make[2]: Leaving directory '/var/tmp/portage/app-doc/gnucash-docs-3.2/work/gnucash-docs-3.2/help/it' make[1]: Leaving directory '/var/tmp/portage/app-doc/gnucash-docs-3.2/work/gnucash-docs-3.2/help/it' /var/tmp/portage/app-doc/gnucash-docs-3.2/temp/environment: line 3024: cd: /var/tmp/portage/app-doc/gnucash-docs-3.2/work/gnucash-docs-3.2/help/ja: No such file or directory * ERROR: app-doc/gnucash-docs-3.2::gentoo failed (install phase): * (no error message) * ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-no-multilib_20180707-104832 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python3.7 (fallback) [3] python2.7 (fallback) Available Ruby profiles: [1] ruby23 (with Rubygems) * emerge -qpv app-doc/gnucash-docs [ebuild N ] app-doc/gnucash-docs-3.2 L10N="-C -de -it -ja -pt -ru"
Created attachment 538974 [details] emerge-info.txt
Created attachment 538976 [details] app-doc:gnucash-docs-3.2:20180709-152844.log
Created attachment 538978 [details] emerge-history.txt
Created attachment 538980 [details] environment
Created attachment 538982 [details] etc.portage.tbz2
Turns out, l10n.eclass is a bit misleading. And, because I have this in my make.conf: L10N="en en_US en-US" LINGUAS="${L10N}" I didn't run into this issue. The key bit is that I have LINGUAS defined. The eclass assumes that if ${LINGUAS} is null or zero-length, that all localizations should be enabled. Still, there's no Japanese translation for the help, but there is for the guide. I'll need to figure out what to do here.
(In reply to Aaron W. Swenson from comment #6) > Turns out, l10n.eclass is a bit misleading. > > And, because I have this in my make.conf: > L10N="en en_US en-US" > LINGUAS="${L10N}" > > I didn't run into this issue. The key bit is that I have LINGUAS defined. > The eclass assumes that if ${LINGUAS} is null or zero-length, that all > localizations should be enabled. > > Still, there's no Japanese translation for the help, but there is for the > guide. I'll need to figure out what to do here. Well, I'm not sure what the implications of there being a Japanes translation for the guide but not the help might be but presumably the simplest thing for now is just to remove the 'ja' from the PLOCALES line in the 3.2 gnucash-docs ebuild so that it installs for people who do not need this value in their language options? #PLOCALES="C de it ja pt ru" PLOCALES="C de it pt ru"
(In reply to Adrian.Bassett from comment #7) > Well, I'm not sure what the implications of there being a Japanes > translation for the guide but not the help might be but presumably the > simplest thing for now is just to remove the 'ja' from the PLOCALES line in > the 3.2 gnucash-docs ebuild so that it installs for people who do not need > this value in their language options? > > #PLOCALES="C de it ja pt ru" > PLOCALES="C de it pt ru" Having now done this it appears that the same thing is necessary for the 'ru' localisation as well. Removing both allowed gnucash-docs-3.2 to install for me.
(In reply to Adrian.Bassett from comment #7) > Well, I'm not sure what the implications of there being a Japanes > translation for the guide but not the help might be but presumably the > simplest thing for now is just to remove the 'ja' from the PLOCALES line in > the 3.2 gnucash-docs ebuild so that it installs for people who do not need > this value in their language options? > > #PLOCALES="C de it ja pt ru" > PLOCALES="C de it pt ru" So, having just tried this, it appears that the same is also true for the russian localisation with the result that 'ru' currently needs to be removed as well: LOCALES="C de it pt"
45,46c45,48 < cd "${S}/${doc_type}/${lang}" || die < emake DESTDIR="${D}" install --- > if [ -z "${S}/${doc_type}/${lang}" ]; then > cd "${S}/${doc_type}/${lang}" || die > emake DESTDIR="${D}" install > fi This patch work for me.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a116b8d85aef2e081bb0b29a01309576e45eb419 commit a116b8d85aef2e081bb0b29a01309576e45eb419 Author: Aaron W. Swenson <titanofold@gentoo.org> AuthorDate: 2018-08-11 11:23:29 +0000 Commit: Aaron W. Swenson <titanofold@gentoo.org> CommitDate: 2018-08-11 11:23:29 +0000 app-doc/gnucash-docs: Default to English The help docs haven’t been translated to every language the guide has been, so default to English. Bug: https://bugs.gentoo.org/660800 Package-Manager: Portage-2.3.40, Repoman-2.3.9 app-doc/gnucash-docs/gnucash-docs-3.2-r1.ebuild | 85 +++++++++++++++++++++++++ 1 file changed, 85 insertions(+)