While looking at some code over on github, I noticed that for the past two years there has been this build option: -D config_wifi_backend_default=iwd
.
Using this allows building without wpa-supplicant as a build dependency and without installing that override file into /usr/lib/NetworkManager/conf.d/30-wifi-backend.conf
Search Criteria
Package Details: networkmanager-iwd 1.50.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/networkmanager-iwd.git (read-only, click to copy) |
---|---|
Package Base: | networkmanager-iwd |
Description: | Network connection manager and user applications; using iwd backend instead of wpa_supplicant |
Upstream URL: | https://networkmanager.dev/ |
Licenses: | GPL-2.0-or-later, LGPL-2.1-or-later |
Conflicts: | networkmanager |
Provides: | networkmanager |
Submitter: | digitalone |
Maintainer: | buzo |
Last Packager: | buzo |
Votes: | 34 |
Popularity: | 0.59 |
First Submitted: | 2019-08-10 10:04 (UTC) |
Last Updated: | 2024-10-10 13:06 (UTC) |
Dependencies (65)
- audit
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- iproute2 (iproute2-gitAUR, busybox-coreutilsAUR, iproute2-selinuxAUR)
- iwd (iwd-gitAUR)
- jansson (jansson-gitAUR)
- libmm-glib (libmm-glib-gitAUR)
- libndp
- libnewt
- libnm-iwdAUR
- libpsl (libpsl-gitAUR)
- libteam
- mobile-broadband-provider-info (mobile-broadband-provider-info-gitAUR)
- nspr (nspr-hgAUR)
- nss (nss-hgAUR)
- readline (readline-gitAUR)
- systemd-libs (systemd-chromiumos-libsAUR, systemd-libs-fmlAUR, systemd-libs-selinuxAUR, sysupdated-systemd-libs-gitAUR, systemd-libs-gitAUR)
- audit (make)
- Show 45 more dependencies...
Required by (286)
- ags-hyprpanel-git (requires networkmanager)
- autorestartnm (requires networkmanager)
- blazefetch (requires networkmanager)
- blazefetch-git (requires networkmanager)
- bluetuith-bin (requires networkmanager) (optional)
- cachy-browser (requires networkmanager) (optional)
- china-ip-skip-vpn (requires networkmanager)
- clatd-git (requires NetworkManager) (optional)
- claws-mail-git (requires networkmanager) (make)
- claws-mail-gtk2 (requires networkmanager) (make)
- claws-mail-title-superset (requires networkmanager) (make)
- coretoppings (requires networkmanager) (optional)
- corplink-bin (requires networkmanager) (optional)
- cosmic-settings-git (requires networkmanager)
- crc (requires networkmanager)
- crc-bin (requires networkmanager)
- crc-git (requires networkmanager)
- datcord-bin (requires networkmanager) (optional)
- deepin-daemon-git (requires networkmanager) (make)
- deepin-daemon-git (requires networkmanager) (optional)
- Show 266 more...
Sources (2)
Taijian commented on 2024-10-09 00:00 (UTC)
JoeyCorleone commented on 2024-06-22 07:03 (UTC)
Yes, confirmed. As per this comment by heftig:
Thanks to Fabian, as of 2.80.3-1, the development utilities requiring additional dependencies (python, python-packaging, libelf) have been split from glib2 into glib2-devel with proper depends. You may need to add glib2-devel to the makedepends of your packages to get them to build again. At the same time, consider removing python or python-packaging from the makedepends if they were only added to run gdbus-codegen, glib-genmarshal or glib-mkenums.
Taijian commented on 2024-06-21 09:48 (UTC) (edited on 2024-06-21 09:49 (UTC) by Taijian)
Well, in this case glib2-devel
should probably be added to makedepends
instead of glib2
?
dumbnerd commented on 2024-06-21 09:20 (UTC) (edited on 2024-06-21 09:21 (UTC) by dumbnerd)
If anyone else encounters this error during the build:
ERROR: Dependency 'gio-2.0' tool variable 'gdbus_codegen' contains erroneous value: '/usr/bin/gdbus-codegen'
Make sure you have the glib2-devel package installed.
JoeyCorleone commented on 2024-06-19 14:05 (UTC)
Build-time dependency gio-2.0 found: YES 2.80.3
Program /usr/bin/gdbus-codegen found: NO
NetworkManager/introspection/meson.build:66:14: ERROR: Dependency 'gio-2.0' tool variable 'gdbus_codegen' contains erroneous value: '/usr/bin/gdbus-codegen'
This is a distributor issue -- please report it to your gio-2.0 provider.
Anybody else getting this when trying to build?
buzo commented on 2021-12-15 16:24 (UTC)
Thanks Tomodoro for that research, and sorry for the delay. Turns out that the default location for polkit_agent_helper_1
is already the correct one, so I have omitted it completely.
saubakirov: I have no clue what these error messages mean – I hope this update fixes the build for you, too.
saubakirov commented on 2021-11-22 10:08 (UTC) (edited on 2021-11-22 10:08 (UTC) by saubakirov)
Package not updating, I'm getting this error
Cloning networkmanager-iwd build files...
Generating libnm-iwd information...
Failed to prepare transaction:
Failed to generate libnm-iwd information
<deleted-account> commented on 2021-11-14 04:06 (UTC)
The source code replaced the build option polkit_agent
with polkit_agent_helper_1_path
on this commit with the description "Path name to the polkit-agent-helper-1 binary from polkit", then renamed it to polkit_agent_helper_1
on this other commit.
I searched on the polkit package the path to the file polkit-agent-helper-1
and I got /usr/lib/polkit-1/
.
I replaced the line
-D polkit_agent=true
with the line
-D polkit_agent_helper_1=/usr/lib/polkit-1/
on the PKGBUILD and I was able to compile successfully.
WaterInMyLungs commented on 2021-11-14 00:14 (UTC)
receiving the same error as TornaxO7, can't find fix
TornaxO7 commented on 2021-10-25 09:50 (UTC)
I'm getting an error when I try to install it:
- exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true NetworkManager build -D dbus_conf_dir=/usr/share/dbus-1/system.d -D dist_version=1.32.12-1 -D session_tracking_consolekit=false -D suspend_resume=systemd -D modify_system=true -D polkit_agent=true -D selinux=false -D iwd=true -D pppd_plugin_dir=/usr/lib/pppd/2.4.9 -D teamdctl=true -D nm_cloud_setup=true -D bluez5_dun=true -D ebpf=true -D config_plugins_default=keyfile -D netconfig=no -D config_dns_rc_manager_default=symlink -D vapi=true -D docs=true -D more_asserts=no -D more_logging=false -D qt=false The Meson build system Version: 0.60.0 Source dir: /home/tornax/.cache/yay/networkmanager-iwd/src/NetworkManager Build dir: /home/tornax/.cache/yay/networkmanager-iwd/src/build Build type: native build
NetworkManager/meson.build:3:0: ERROR: Unknown options: "polkit_agent"
A full log can be found at /home/tornax/.cache/yay/networkmanager-iwd/src/build/meson-logs/meson-log.txt ==> ERROR: A failure occurred in build(). Aborting... -> error making: networkmanager-iwd (libnm-iwd networkmanager-iwd)
How can I fix this?
Pinned Comments
digitalone commented on 2019-08-10 10:37 (UTC) (edited on 2019-08-15 09:14 (UTC) by digitalone)
This is a modified package configured to get NetworkManager working exclusively with iwd. Main difference with upstream version is that iwd is required and wpa_supplicant is not needed (so you can uninstall it); iwd seems more reliable on certain wireless cards, so someone could prefer it in place of wpa_supplicant.
It's recommended to enable systemd iwd.service at boot:
systemctl enable iwd.service
Tested with Plasma NM system tray applet (plasma-nm), it's working.
Note that wpa_supplicant is still needed to build the package, but you can uninstall it after the building stage.