After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 770927 - gnome-software fails to build without gudev
gnome-software fails to build without gudev
Status: RESOLVED FIXED
Product: gnome-software
Classification: Applications
Component: General
3.21.x
Other FreeBSD
: Normal normal
: ---
Assigned To: GNOME Software maintainer(s)
GNOME Software maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-09-06 06:29 UTC by Ting-Wei Lan
Modified: 2016-09-06 08:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ting-Wei Lan 2016-09-06 06:29:16 UTC
Recent commit 0c72785 causes gnome-software to hard-depend on gudev. udev and gudev are only supported on Linux, so it causes configure to fail on non-Linux systems. Can we make this newly added plugin optional?

configure: error: Package requirements (gudev-1.0) were not met:

Package gudev-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gudev-1.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gudev-1.0', required by 'virtual:world', not found
Comment 1 Richard Hughes 2016-09-06 08:22:13 UTC
commit bcac137e0618efc3aedae5df8dc607743edd2573
Author: Richard Hughes <richard@hughsie.com>
Date:   Tue Sep 6 09:21:44 2016 +0100

    Make GUDev optional
    
    Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=770927