Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684284 - =net-wireless/wpa_supplicant-2.8-r1[-dbus] - dbus/dbus_dict_helpers.c:10:10: fatal error: dbus/dbus.h: No such file or directory
Summary: =net-wireless/wpa_supplicant-2.8-r1[-dbus] - dbus/dbus_dict_helpers.c:10:10: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-04-24 16:57 UTC by matoro
Modified: 2019-06-07 19:48 UTC (History)
5 users (show)

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


Attachments
emerge --info (file_684284.txt,6.71 KB, text/plain)
2019-04-24 17:01 UTC, matoro
Details
build.log (file_684284.txt,310.77 KB, text/plain)
2019-04-24 17:02 UTC, matoro
Details
"cleaned" ebuild (wpa_supplicant-2.8-r3.ebuild,13.18 KB, text/plain)
2019-05-01 12:20 UTC, Christoph Loehr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2019-04-24 16:57:38 UTC
New wpa_supplicant appears to be trying to compile dbus-related files even with dbus USE flag disabled.

Reproducible: Always
Comment 1 matoro archtester 2019-04-24 17:01:36 UTC
Created attachment 573974 [details]
emerge --info
Comment 2 matoro archtester 2019-04-24 17:02:34 UTC
Created attachment 573976 [details]
build.log
Comment 3 gentoo-user 2019-04-27 13:11:04 UTC
I had the same issue, and on checking the ebuild and wpa_supplicant sources it seems that the dbus config options switched to default enabled in the defconfig.

Since the ebuild copies the defconfig, the dbus options would have to be explicitly disabled in the -dbus case
Comment 4 Christoph Loehr 2019-05-01 12:19:10 UTC
(In reply to gentoo-user from comment #3)
> I had the same issue, and on checking the ebuild and wpa_supplicant sources
> it seems that the dbus config options switched to default enabled in the
> defconfig.
> 
> Since the ebuild copies the defconfig, the dbus options would have to be
> explicitly disabled in the -dbus case

When checking the cause for a different problem, I had with net-wireless/wpa_supplicant-2.8-r1, I learned that there are plenty of differences between the defconf of wpa_supplicant-2.7 and the defconf of wpa_supplicant-2.8. Several options that were disabled so far are now enabled by default. Moreover, some options have been removed. 

I have already started with a "cleaned" ebuild. Please feel free to test/use it.
Comment 5 Christoph Loehr 2019-05-01 12:20:25 UTC
Created attachment 574904 [details]
"cleaned" ebuild
Comment 6 makepost 2019-05-03 13:29:02 UTC
Thanks Christoph, in a local overlay your ebuild works fine.
Comment 7 Matthew Dornquast 2019-05-06 21:29:26 UTC
This is broken for me too.  What is required to make fix official?
Comment 8 Larry the Git Cow gentoo-dev 2019-06-07 19:48:56 UTC
The bug has been closed via the following commit(s):

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

commit 810264fb09681b49562278b9f10ad2e935232e74
Author:     Gábor Oszkár Dénes <gaboroszkar@protonmail.com>
AuthorDate: 2019-06-07 06:26:23 +0000
Commit:     Rick Farina <zerochaos@gentoo.org>
CommitDate: 2019-06-07 19:48:43 +0000

    net-wireless/wpa_supplicant: Fix mandatory dbus
    
    The default configuration requires dbus.
    It is disabled when the dbus flag is not set.
    
    Closes: https://bugs.gentoo.org/684284
    Signed-off-by: Gábor Oszkár Dénes <gaboroszkar@protonmail.com>
    Package-Manager: Portage-2.3.66, Repoman-2.3.11
    Signed-off-by: Rick Farina <zerochaos@gentoo.org>

 net-wireless/wpa_supplicant/wpa_supplicant-2.8.ebuild | 4 ++++
 1 file changed, 4 insertions(+)