Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 406625

Summary: ~media-gfx/gimp-2.6.{11,12} fails on FEATURES="test"
Product: Gentoo Linux Reporter: Julian Ospald <hasufell>
Component: New packagesAssignee: Hanno Böck <hanno>
Status: RESOLVED FIXED    
Severity: normal CC: chris.kerr, hasufell, nikoli, sping
Priority: Normal Keywords: InVCS, PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.gimp.org/
See Also: https://bugzilla.gnome.org/show_bug.cgi?id=673276
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 410403    
Bug Blocks:    
Attachments: build.log.tar.xz
2.6.11-potfiles.skip.patch
build.log.xz

Description Julian Ospald 2012-03-02 16:54:16 UTC
Created attachment 303999 [details]
build.log.tar.xz

build-failure due to

=====
[...]
The following files contain translations and are currently not in use. Please
consider adding these to the POTFILES.in file, located in the po/ directory.

plug-ins/script-fu/scripts/contactsheet.scm
plug-ins/script-fu/scripts/test-sphere.scm

If some of these files are left out on purpose then please add them to
POTFILES.skip instead of POTFILES.in. A file 'missing' containing this list
of left out files has been written in the current directory.
Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=GIMP
if [ -r missing -o -r notexist ]; then \
  exit 1; \
fi
[...]
=====

after a look at the changelog:
#####
localhost po-script-fu # grep contactsheet * && grep test-sphere *
ChangeLog:	* POTFILES.skip: added contactsheet.scm.
POTFILES.in:plug-ins/script-fu/scripts/contactsheet.scm
ChangeLog:	* POTFILES.in: removed test-sphere.scm.
POTFILES.in:plug-ins/script-fu/scripts/test-sphere.scm
#####
it seems they are left out on purpose, but did not make it into POTFILES.skip
I don't know if this is fixed on later releases.

Patch attached.
Comment 1 Julian Ospald 2012-03-02 16:54:55 UTC
Created attachment 304001 [details, diff]
2.6.11-potfiles.skip.patch
Comment 2 Julian Ospald 2012-03-02 16:57:17 UTC
the grep included th already patched POTFILES.in ...sry for mixing that up
Comment 3 Julian Ospald 2012-03-02 17:15:52 UTC
that was just because of testing.... they belong into POTFILES.skip :)
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-03-05 12:55:28 UTC
Comment on attachment 303999 [details]
build.log.tar.xz

Please don't store single files in (tar) archives.
Comment 5 Julian Ospald 2012-03-05 14:49:49 UTC
Created attachment 304309 [details]
build.log.xz
Comment 6 Chris Kerr 2012-03-31 23:42:07 UTC
This bug also affects 2.6.11-r5 and 2.6.12
Comment 7 Sebastian Pipping gentoo-dev 2012-04-01 02:27:56 UTC

+  01 Apr 2012; Sebastian Pipping <sping@gentoo.org> gimp-2.6.12.ebuild,
+  +files/gimp-2.6.12-potfiles-skip.patch:
+  Fix test execution (bug #406625), patch by Julian Ospald
+

Julian, thanks for the patch!  Would you mind taking that patch upstream (the GNOME bugzilla), too?
Comment 8 Julian Ospald 2012-04-01 03:12:56 UTC
done.
Comment 9 Sebastian Pipping gentoo-dev 2012-04-01 04:11:26 UTC
(In reply to comment #8)
> done.

Excellent.  For reference his report is up here: https://bugzilla.gnome.org/show_bug.cgi?id=673276
Comment 10 Julian Ospald 2013-11-25 15:04:50 UTC
I think this can be closed.