Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 682788 - media-sound/playerctl fails config unable to find /usr/bin/gdbus-codegen
Summary: media-sound/playerctl fails config unable to find /usr/bin/gdbus-codegen
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Göktürk Yüksek
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-07 07:01 UTC by Amel Hodzic
Modified: 2019-04-09 02:08 UTC (History)
1 user (show)

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


Attachments
build-output (file_682788.txt,5.25 KB, text/plain)
2019-04-07 07:01 UTC, Amel Hodzic
Details
config.log (file_682788.txt,13.13 KB, text/plain)
2019-04-07 07:03 UTC, Amel Hodzic
Details
emerge --info (file_682788.txt,5.50 KB, text/plain)
2019-04-07 07:04 UTC, Amel Hodzic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Amel Hodzic 2019-04-07 07:01:46 UTC
Created attachment 572126 [details]
build-output

On a new gentoo installation with =dev-util/gdbus-codegen-2.58.3 installed, attempting to install media-sound/playerctl-0.5.0 (stable) as well as version 0.6.0 (unstable) results in failure.  Logs are attached.

checking for /usr/bin/gdbus-codegen... no
configure: error: *** gdbus-codegen is required to build playerctl
Comment 1 Amel Hodzic 2019-04-07 07:03:01 UTC
Created attachment 572128 [details]
config.log
Comment 2 Amel Hodzic 2019-04-07 07:04:57 UTC
Created attachment 572130 [details]
emerge --info
Comment 3 Cyrix 2019-04-09 00:26:49 UTC
Can confirm/reproduce the bug on fresh install.
playerctl try to find the /usr/bin/gdbus-codegen binary but it isn't present after emerging dev-util/gdbus-codegen.
Comment 4 Cyrix 2019-04-09 00:29:49 UTC
(In reply to Cyrix from comment #3)
> Can confirm/reproduce the bug on fresh install.
> playerctl try to find the /usr/bin/gdbus-codegen binary but it isn't present
> after emerging dev-util/gdbus-codegen.

correction: the binary gdbus-codegen is present in /usr/bin/
Comment 5 Larry the Git Cow gentoo-dev 2019-04-09 02:08:57 UTC
The bug has been closed via the following commit(s):

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

commit 988c0ffb4c868eb82efc0a37169b96c3548dbd5e
Author:     Göktürk Yüksek <gokturk@gentoo.org>
AuthorDate: 2019-04-09 02:08:11 +0000
Commit:     Göktürk Yüksek <gokturk@gentoo.org>
CommitDate: 2019-04-09 02:08:11 +0000

    media-sound/playerctl: fix gdbus-codegen handling in configure.ac
    
    In configure.ac, the **absolute** path of gdbus-codegen (as obtained
    by pkg-config) is passed to AC_PATH_PROG. The macro then appends this
    path to the directories in PATH and tests if the result is
    executable. This internally results in checking for
    '/usr/bin/usr/bin/gdbus-codegen'. The macro is redundant because the
    value returned by pkg-config is sufficient.
    
    Closes: https://bugs.gentoo.org/682788
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>

 .../playerctl/files/playerctl-gdbus-codegen-fix.patch     | 15 +++++++++++++++
 media-sound/playerctl/playerctl-0.5.0.ebuild              |  4 +++-
 media-sound/playerctl/playerctl-0.6.0.ebuild              |  4 +++-
 3 files changed, 21 insertions(+), 2 deletions(-)