Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 665446 - media-gfx/gimp-9999 fails to compile - gdbus-codegen set to /bin/false
Summary: media-gfx/gimp-9999 fails to compile - gdbus-codegen set to /bin/false
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sebastian Pipping
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-07 15:56 UTC by Miroslav Šulc
Modified: 2018-09-10 21:38 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Šulc gentoo-dev 2018-09-07 15:56:09 UTC
idk the reason but in the ebuild there is this line:

GDBUS_CODEGEN="${EPREFIX}"/bin/false


it causes this code to fail during compilation (/usr/bin/gdbus-codegen is expected there instead of /bin/false by upstream):

Making all in gui
make[3]: Entering directory '/var/tmp/portage/media-gfx/gimp-9999/work/gimp-9999/app/gui'
/bin/false --interface-prefix org.gimp.GIMP. \
		 --generate-c-code gimpdbusservice-generated \
		 --c-namespace GimpDBusService \
		 ./dbus-service.xml
/bin/false --interface-prefix org.gimp.GIMP. \
		 --generate-c-code gimpdbusservice-generated \
		 --c-namespace GimpDBusService \
		 ./dbus-service.xml
make[3]: *** [Makefile:1016: gimpdbusservice-generated.c] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:1016: gimpdbusservice-generated.h] Error 1
make[3]: Leaving directory '/var/tmp/portage/media-gfx/gimp-9999/work/gimp-9999/app/gui'
make[2]: *** [Makefile:1262: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-gfx/gimp-9999/work/gimp-9999/app'
make[1]: *** [Makefile:856: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-gfx/gimp-9999/work/gimp-9999'
make: *** [Makefile:757: all] Error 2


changing the line to following makes gimp to compile and merge successfully:

GDBUS_CODEGEN="${EPREFIX}"/usr/bin/gdbus-codegen


but idk if that's an appropriate fix... but it works for me...
Comment 1 Larry the Git Cow gentoo-dev 2018-09-07 19:12:56 UTC
The bug has been closed via the following commit(s):

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

commit 8fb3a78383d10a3efad1fd2d86b2ce5c94dfbe3e
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2018-09-07 19:12:05 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2018-09-07 19:12:41 +0000

    media-gfx/gimp: Fix 9999 compilation
    
    Actual gdbus-codegen is needed for app/gui/Makefile.am
    
    Closes: https://bugs.gentoo.org/665446
    Package-Manager: Portage-2.3.46, Repoman-2.3.10

 media-gfx/gimp/gimp-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 2 Arfrever Frehtes Taifersar Arahesis 2018-09-10 20:49:36 UTC
Probably dev-util/gdbus-codegen should be added to DEPEND.
Comment 3 Sebastian Pipping gentoo-dev 2018-09-10 21:37:17 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #2)
> Probably dev-util/gdbus-codegen should be added to DEPEND.

Forgotten, thanks.  New commit in a minute.
Comment 4 Larry the Git Cow gentoo-dev 2018-09-10 21:38:11 UTC
The bug has been referenced in the following commit(s):

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

commit dd818180822a03a9e290950ae6cb9ede585fddd2
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2018-09-10 21:37:39 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2018-09-10 21:37:39 +0000

    media-gfx/gimp: Add gdbus-codegen to DEPEND of 9999
    
    Bug: https://bugs.gentoo.org/665446
    Package-Manager: Portage-2.3.49, Repoman-2.3.10

 media-gfx/gimp/gimp-9999.ebuild | 1 +
 1 file changed, 1 insertion(+)