Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 653170 - [gnome] dev-util/gdbus-codegen-2.56.1 installed with `#!/usr/bin/env @PYTHON@`
Summary: [gnome] dev-util/gdbus-codegen-2.56.1 installed with `#!/usr/bin/env @PYTHON@`
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-14 19:00 UTC by Dale Lukas Peterson
Modified: 2018-04-15 00:51 UTC (History)
1 user (show)

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


Attachments
emerge info (emerge_info.txt,5.47 KB, text/plain)
2018-04-14 19:00 UTC, Dale Lukas Peterson
Details
fix @PYTHON@ not found (0001-dev-util-gdbus-codegen-fix-PYTHON-not-found.patch,947 bytes, patch)
2018-04-14 21:12 UTC, Dale Lukas Peterson
Details | Diff
Also fix patch file for gdbus-codegen-2.56.1 (0001-dev-util-gdbus-codegen-fix-PYTHON-not-found.patch,1.60 KB, patch)
2018-04-14 22:47 UTC, Dale Lukas Peterson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dale Lukas Peterson 2018-04-14 19:00:44 UTC
Created attachment 527372 [details]
emerge info

The gdbus-codegen.in file doesn't get properly configured prior to installation:

# head /usr/bin/gdbus-codegen
#!/usr/bin/env @PYTHON@

# GDBus - GLib D-Bus Library
#
# Copyright (C) 2008-2011 Red Hat, Inc.

This causes anything that tries to run gdbus-codegen to fail. For example, when installing gtk+-3.22.26, I see:

gdbus-codegen \
--interface-prefix org.Gtk. \
--c-namespace _Gtk \
--generate-c-code gtkdbusgenerated \
/var/tmp/portage/x11-libs/gtk+-3.22.26/work/gtk+-3.22.26/gtk/gtkdbusinterfaces.xml
/usr/bin/env: ‘@PYTHON@’: No such file or directory
make[2]: *** [Makefile:9334: gtkdbusgenerated.c] Error 127
Comment 1 Dale Lukas Peterson 2018-04-14 21:12:50 UTC
Created attachment 527376 [details, diff]
fix @PYTHON@ not found
Comment 2 Dale Lukas Peterson 2018-04-14 22:47:57 UTC
Created attachment 527410 [details, diff]
Also fix patch file for gdbus-codegen-2.56.1
Comment 3 Larry the Git Cow gentoo-dev 2018-04-15 00:51:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/gnome.git/commit/?id=5cb773cf137cd5fcef22513441e8c58634ed3632

commit 5cb773cf137cd5fcef22513441e8c58634ed3632
Author:     Rémi Cardona <remi@gentoo.org>
AuthorDate: 2018-04-15 00:49:58 +0000
Commit:     Rémi Cardona <remi@gentoo.org>
CommitDate: 2018-04-15 00:49:58 +0000

    dev-util/gdbus-codegen: fix hashbang for gdbus-codegen
    
    From: Dale Lukas Peterson <hazelnusse@gmail.com>
    Closes: https://bugs.gentoo.org/653170
    Package-Manager: Portage-2.3.28, Repoman-2.3.9
    Manifest-Sign-Key: 0xE0663D48103108F8

 dev-util/gdbus-codegen/files/gdbus-codegen-2.56.1-sitedir.patch        | 3 ++-
 .../{gdbus-codegen-2.56.1.ebuild => gdbus-codegen-2.56.1-r1.ebuild}    | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)