Created attachment 441380 [details] emerge --info =media/gfx-gimp-2.9.4 Making all in Symbolic-Inverted make[3]: Entering directory '/var/tmp/portage/media-gfx/gimp-2.9.4/work/gimp-2.9.4/icons/Symbolic-Inverted' mkdir -p `dirname 12/gimp-close.png`; /usr/bin/gegl-0.3 ../../icons/Symbolic/12/gimp-close.png -o 12/gimp-close.png -- gegl:invert-gamma mkdir -p `dirname ../../icons/Symbolic/12/gimp-default-colors.png` && cp -f ../../icons/Symbolic/12/gimp-default-colors.png 12/gimp-default-colors.png mkdir -p `dirname 12/gimp-linked.png`; /usr/bin/gegl-0.3 ../../icons/Symbolic/12/gimp-linked.png -o 12/gimp-linked.png -- gegl:invert-gamma cp: cannot create regular file '12/gimp-default-colors.png': No such file or directory make[3]: *** [Makefile:2140: 12/gimp-default-colors.png] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/var/tmp/portage/media-gfx/gimp-2.9.4/work/gimp-2.9.4/icons/Symbolic-Inverted' make[2]: *** [Makefile:617: all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/media-gfx/gimp-2.9.4/work/gimp-2.9.4/icons' make[1]: *** [Makefile:791: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/media-gfx/gimp-2.9.4/work/gimp-2.9.4' make: *** [Makefile:692: all] Error 2 * ERROR: media-gfx/gimp-2.9.4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-gfx/gimp-2.9.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-gfx/gimp-2.9.4::gentoo'`. * The complete build log is located at '/var/log/portage/build/media-gfx/gimp-2.9.4:20160722-214847.log.gz'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-gfx/gimp-2.9.4/temp/build.log.gz'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/gimp-2.9.4/temp/environment'. * Working directory: '/var/tmp/portage/media-gfx/gimp-2.9.4/work/gimp-2.9.4' * S: '/var/tmp/portage/media-gfx/gimp-2.9.4/work/gimp-2.9.4' Built gimp successfully a few days ago: > TZ=UTC date --date="@$(cat /var/db/pkg/media-gfx/gimp-2.9.4/BUILD_TIME)" > Wed Jul 20 00:57:36 UTC 2016 Very little has changed since then: > TZ=UTC LC_ALL=C diff -Naur /var/db/pkg/media-gfx/gimp-2.9.4/gimp-2.9.4.ebuild /usr/portage/media-gfx/gimp/gimp-2.9.4.ebuild > --- /var/db/pkg/media-gfx/gimp-2.9.4/gimp-2.9.4.ebuild 2016-07-20 00:58:07.568783071 +0000 > +++ /usr/portage/media-gfx/gimp/gimp-2.9.4.ebuild 2016-07-22 17:42:46.000000000 +0000 > @@ -39,7 +39,7 @@ > dev-libs/libxslt > x11-themes/hicolor-icon-theme > >=media-libs/babl-0.1.18 > - >=media-libs/gegl-0.3.8:0.3[cairo] > + >=media-libs/gegl-0.3.8:0.3[cairo,png] > >=dev-libs/glib-2.43 > aalib? ( media-libs/aalib ) > alsa? ( media-libs/alsa-lib ) > @@ -125,7 +125,11 @@ > > src_compile() { > addwrite /dev/nvidiactl # bug #569738 > + addwrite /dev/nvidia0 # bug #569738 > addwrite /dev/dri/ # bug #574038 > + addwrite /proc/mtrr # bug 589198 > + > + export XDG_DATA_DIRS=/usr/share # bug 587004 > gnome2_src_compile > } And the "Rebuild" was triggered for me due to --dynamic-deps n --changed-deps y Related files in tree that might be important: > find -name gimp-linked.png -o -name gimp-default-colors.png > ./devel-docs/libgimpwidgets/html/gimp-default-colors.png > ./devel-docs/libgimpwidgets/html/gimp-linked.png > ./icons/Color/12/gimp-default-colors.png > ./icons/Color/12/gimp-linked.png > ./icons/Color/20/gimp-linked.png > ./icons/Symbolic-Inverted/12/gimp-linked.png > ./icons/Legacy/12/gimp-default-colors.png > ./icons/Legacy/12/gimp-linked.png > ./icons/Legacy/20/gimp-linked.png > ./icons/Symbolic/12/gimp-default-colors.png > ./icons/Symbolic/12/gimp-linked.png > ./icons/Symbolic/20/gimp-linked.png
Created attachment 441382 [details] build log
Hello Kent, thanks for the report! I believe you have uncovered a bug in Gimp's build system here (that certain parallel executions seems to be able to cover). To be concrete, if you look at # fgrep -R mkdir . | fgrep "dirname " ./icons/Symbolic-Inverted/Makefile.in:MAKE_ICON = mkdir -p `dirname $@`; $(GEGL) $< -o $@ -- gegl:invert-gamma ./icons/Symbolic-Inverted/Makefile.in: mkdir -p `dirname $<` && cp -f $< $@ ./icons/Symbolic-Inverted/Makefile.in: mkdir -p `dirname $<` && cp -f $< $@ ./icons/Symbolic-Inverted/Makefile.in: mkdir -p `dirname $<` && cp -f $< $@ ./icons/Symbolic-Inverted/Makefile.in: mkdir -p `dirname $<` && cp -f $< $@ ./icons/Symbolic-Inverted/Makefile.am: mkdir -p `dirname $<` && cp -f $< $@ ./icons/Symbolic-Inverted/Makefile.am: mkdir -p `dirname $<` && cp -f $< $@ ./icons/Symbolic-Inverted/Makefile.am: mkdir -p `dirname $<` && cp -f $< $@ ./icons/Symbolic-Inverted/Makefile.am: mkdir -p `dirname $<` && cp -f $< $@ ./icons/Symbolic-Inverted/Makefile.am:MAKE_ICON = mkdir -p `dirname $@`; $(GEGL) $< -o $@ -- gegl:invert-gamma it looks like dirname $< should have been dirname $@ instead, to me. I have applied a fix in Gentoo and shared the patch upstream at https://bugzilla.gnome.org/show_bug.cgi?id=769102. commit b78f5911ccf841e862962d2b1b07301bd1fa4e11 Author: Sebastian Pipping <sping@g.o> Date: Sat Jul 23 01:28:38 2016 +0200 media-gfx/gimp: Fix build system (bug #589394) Package-Manager: portage-2.2.28 .../gimp/files/gimp-2.9.4-mkdir-makefile.patch | 36 ++++++++++++++++++++++ media-gfx/gimp/gimp-2.9.4.ebuild | 4 +++ 2 files changed, 40 insertions(+) https://github.com/gentoo/gentoo/commit/b78f5911ccf841e862962d2b1b07301bd1fa4e11