Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905693 - app-doc/gimp-help-2.10.34 fails to compile
Summary: app-doc/gimp-help-2.10.34 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sergey Torokhov
URL:
Whiteboard:
Keywords: PullRequest
: 905703 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-05-04 09:30 UTC by Agostino Sarubbo
Modified: 2023-12-23 20:33 UTC (History)
3 users (show)

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


Attachments
build.log.xz (build.log.xz,131.08 KB, application/x-xz)
2023-05-04 09:30 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-05-04 09:30:05 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-doc/gimp-help-2.10.34 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-05-04 09:30:08 UTC
Created attachment 861117 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2023-05-04 09:30:09 UTC
Error(s) that match a know pattern:


/bin/sh: line 1: cd: pdf: No such file or directory
configure: cannot find docbook2odf(1), ODF generation disabled
configure: cannot find rsvg-convert(1), Quickreference PDF generation disabled
configure: WARNING: cannot find dblatex(1), PDF generation disabled
configure: WARNING: cannot find pngcrush,
configure: WARNING: cannot find pngnq,
cp: cannot stat 'gimp-keys-ca.pdf': No such file or directory
cp: cannot stat 'gimp-keys-cs.pdf': No such file or directory
cp: cannot stat 'gimp-keys-da.pdf': No such file or directory
cp: cannot stat 'gimp-keys-de.pdf': No such file or directory
cp: cannot stat 'gimp-keys-el.pdf': No such file or directory
cp: cannot stat 'gimp-keys-en_GB.pdf': No such file or directory
cp: cannot stat 'gimp-keys-en.pdf': No such file or directory
cp: cannot stat 'gimp-keys-es.pdf': No such file or directory
cp: cannot stat 'gimp-keys-fa.pdf': No such file or directory
cp: cannot stat 'gimp-keys-fi.pdf': No such file or directory
cp: cannot stat 'gimp-keys-fr.pdf': No such file or directory
cp: cannot stat 'gimp-keys-hr.pdf': No such file or directory
cp: cannot stat 'gimp-keys-hu.pdf': No such file or directory
cp: cannot stat 'gimp-keys-it.pdf': No such file or directory
cp: cannot stat 'gimp-keys-ja.pdf': No such file or directory
cp: cannot stat 'gimp-keys-ko.pdf': No such file or directory
cp: cannot stat 'gimp-keys-lt.pdf': No such file or directory
cp: cannot stat 'gimp-keys-nl.pdf': No such file or directory
cp: cannot stat 'gimp-keys-nn.pdf': No such file or directory
cp: cannot stat 'gimp-keys-pl.pdf': No such file or directory
cp: cannot stat 'gimp-keys-pt_BR.pdf': No such file or directory
cp: cannot stat 'gimp-keys-pt.pdf': No such file or directory
cp: cannot stat 'gimp-keys-ro.pdf': No such file or directory
cp: cannot stat 'gimp-keys-ru.pdf': No such file or directory
cp: cannot stat 'gimp-keys-sl.pdf': No such file or directory
cp: cannot stat 'gimp-keys-sv.pdf': No such file or directory
cp: cannot stat 'gimp-keys-uk.pdf': No such file or directory
cp: cannot stat 'gimp-keys-zh_CN.pdf': No such file or directory
Error: no ID for constraint linkend: "gimp-filter-reinhard-2005 ".
Error: no ID for constraint linkend: " gimp-image-flatten".
Error: no ID for constraint linkend: "gimp-layer-groups ".
Error: no ID for constraint linkend: "gimp-layer-mask ".
Error: no ID for constraint linkend: "gimp-tool-color-picker ".
Error: no ID for constraint linkend: "prefs-tools-config ".
Comment 3 Agostino Sarubbo gentoo-dev 2023-05-04 09:30:34 UTC
this is a '-native-symlinks' build
Comment 4 Agostino Sarubbo gentoo-dev 2023-05-04 15:17:14 UTC
*** Bug 905703 has been marked as a duplicate of this bug. ***
Comment 5 Sergey Torokhov 2023-05-05 12:03:56 UTC
It looks like race condition on install phase after successful compile phase. I could restrict install process with "-j1" too but it's better to reassign LINGUAS="en" in pkg_config if LINGUAS isn't set in make.conf with elog message about how to setup it if additional languages are needed.

The compiled gimp-help for all 27 languages requeres ~2 Gb of space so I assume LINGUAS restriction is reasonable for common case.

In case of splitting of precompiled tarballs every takes ~70 Mb but there will be 27 tarballs need to prepare and upload somewhere.

The addidional non-fatsl problem - librsvg is required as dependency to build quickreference pdf files using rsvg-convert tool.
Comment 6 Larry the Git Cow gentoo-dev 2023-05-05 22:38:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9cac53fc6e22aaaa9f8df98fe0d1b1e198d3730

commit a9cac53fc6e22aaaa9f8df98fe0d1b1e198d3730
Author:     Sergey Torokhov <torokhov-s-a@yandex.ru>
AuthorDate: 2023-05-05 21:33:54 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-05 22:38:14 +0000

    app-doc/gimp-help: 2.10.34 revision bump
    
    1. Add BDEPEND 'gnome-base/librsvg' to build Quickreference PDF files.
    2. Force LINGUAS="en" if isn't specified in /etc/portage/make.conf
    to avoid of building all languages.
    3. Force 'emake -j1' on install phase to prevent race condition
    when docs for several languages are built.
    
    Closes: https://bugs.gentoo.org/891709
    Closes: https://bugs.gentoo.org/905693
    
    Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
    Closes: https://github.com/gentoo/gentoo/pull/30887
    Signed-off-by: Sam James <sam@gentoo.org>

 ...-2.10.34.ebuild => gimp-help-2.10.34-r1.ebuild} | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)
Comment 7 Larry the Git Cow gentoo-dev 2023-12-23 20:33:38 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d421ff667732643838e1379c0e29cc7f3bafccd4

commit d421ff667732643838e1379c0e29cc7f3bafccd4
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-12-23 20:32:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-23 20:33:06 +0000

    app-doc/gimp-help: fix pkg_setup/python-any-r1 use
    
    See https://forums.gentoo.org/viewtopic-p-8810860.html.
    
    Bug: https://bugs.gentoo.org/891709
    Bug: https://bugs.gentoo.org/905693
    Signed-off-by: Sam James <sam@gentoo.org>

 app-doc/gimp-help/gimp-help-2.10.34-r2.ebuild | 2 ++
 1 file changed, 2 insertions(+)