Package Details: libnm-iwd 1.38.2-1

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: LGPL
Conflicts: libnm
Provides: libnm, libnm.so
Submitter: digitalone
Maintainer: buzo
Last Packager: buzo
Votes: 23
Popularity: 0.35
First Submitted: 2019-08-10 10:04 (UTC)
Last Updated: 2022-06-17 14:51 (UTC)

Required by (28)

Sources (2)

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.

Latest Comments

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

Tomodoro 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?

buzo commented on 2021-08-27 14:31 (UTC)

pyxel: Works for me, so wouldn't it be sufficient to add that to your /etc/makepkg.conf?

pyxel commented on 2021-08-25 11:21 (UTC)

link time optimizations are causing this to fail to build on my system, is it possible -D b_lto=false could be added to the PKGBUILD?

buzo commented on 2021-07-15 16:36 (UTC)

maksverver: Thanks for the detailed clarification.

maksverver commented on 2021-06-22 13:01 (UTC)

The mainline networkmanager package switched to provides=(libnm.so) and its dependants have been updated too, so it makes sense for networkmanager-iwd to do the same.

Using the name of the provided library (rather than the name of a compatible package) seems compatible with the packaging guidelines described here: https://wiki.archlinux.org/title/PKGBUILD#provides

There is no rationale provided there, but I suspect the goal is to decouple library dependencies from package dependencies:

  1. Packages that work with any implementation of libnm.so but don't care about which package provides it should depend only libnm.so (the library can be provided by either libnm or libnm-iwd).
  2. Packages that need a particular implementation can depend on the package that provides it (e.g networkmanager-iwd must depend on libnm-iwd, because it won't work with mainline libnm).

The conclusion is that if your system is up-to-date, the official packages should already work, and for any custom PKGBUILDs or AUR packages, you should update the dependency on libnm to either libnm.so (if mainline will work) or libnm-iwd (if required).

Gadgethm commented on 2021-06-22 05:27 (UTC) (edited on 2021-06-22 05:30 (UTC) by Gadgethm)

If you change all instances of 'provides=(libnm.so)' and 'provides = libnm.so' to 'provides=(libnm)' and 'provides = libnm' respectively in both the PKGBUILD and the .SRCINFO files, then it will properly build and install, or at least that worked for me. Will report back more if I run into problems.

Not sure why the changes in 48622efab81d got backed out... Any ideas?

frebib commented on 2021-06-21 10:06 (UTC) (edited on 2021-06-21 10:07 (UTC) by frebib)

buzo: Echoing what cubethethird said, libnm-iwd dependencies are broken again. This happened before and you fixed it in 48622efab81d. Why does this keep happening? Thanks

cubethethird commented on 2021-06-19 02:39 (UTC) (edited on 2021-06-19 02:40 (UTC) by cubethethird)

I can no longer install libnm-iwd as it no longer provides libnm, but instead only libnm.so, and it complains that this breaks dependencies for other packages. Is there a particular reason for this change?

buzo commented on 2021-05-13 09:06 (UTC)

maksverver: Fixed, thanks. (Please click on “Flag package out-of-date” next time.)

maksverver commented on 2021-05-12 18:40 (UTC)

I had to bump ppp_version to 2.4.9 to install this, which is the current version of ppp in the core repo. Maybe a pkgrel update is in order?

Gadgethm commented on 2021-02-01 23:30 (UTC)

I also see the same issue as cubethethird, hopefully will be fixed in the next update.

cubethethird commented on 2021-01-17 20:57 (UTC)

It's looking like there's an issue with the package version (possibly 1 too many characters in the hash). When running the pkgver function, the version gets updated to 1.28.1dev+7+g3f5df3cdc-1, which is considered to be older than the stated version in the PKGBUID of 1.28.1dev+7+g3f5df3cdc6-2. As a result, each time I build and update, I am still informed that the upstream is newer than the current.

buzo commented on 2021-01-04 12:54 (UTC)

Thanks, frebib – fixed.

frebib commented on 2021-01-04 12:10 (UTC) (edited on 2021-01-04 12:11 (UTC) by frebib)

error: failed to prepare transaction (could not satisfy dependencies)
:: installing libnm-iwd (1.28.1dev+7+g3f5df3cdc6-1) breaks dependency 'libnm' required by blueman
:: installing libnm-iwd (1.28.1dev+7+g3f5df3cdc6-1) breaks dependency 'libnm' required by libnma
:: installing libnm-iwd (1.28.1dev+7+g3f5df3cdc6-1) breaks dependency 'libnm' required by networkmanager-openconnect
:: installing libnm-iwd (1.28.1dev+7+g3f5df3cdc6-1) breaks dependency 'libnm' required by tracker3-miners

The libnm provides needs to be re-added to the libnm-iwd package

Gatenkaas commented on 2020-12-05 11:27 (UTC) (edited on 2020-12-05 11:30 (UTC) by Gatenkaas)

There is a bug when using IWD as a backend in combination with iwlwifi, for instance with a Intel's AX200 wireless adapter. If you do not disable the iwd.service afterwards then it crashes : WARNING: CPU: 7 PID: 492 at net/wireless/nl80211.c:7260 nl80211_get_reg_do+0x1cd/0x1f0. This is because 90-networkmanager.conf is triggering to activate the service also. See Kernel.org Bugzilla – Bug 208599

loki7990 commented on 2020-09-29 17:33 (UTC)

Looks like it s working! Thanks so much @ndowens04

commented on 2020-09-23 19:15 (UTC)

Should be fixed now

commented on 2020-09-23 16:26 (UTC)

I’ll attempt to fix this for you guys

tag_enk commented on 2020-09-23 15:01 (UTC)

Getting the same issue as LOKI now

loki7990 commented on 2020-09-18 19:42 (UTC)

I'm currently unable to install this. It seems to fail at 740/922:

[740/922] Generating settings-docs.h with a custom command
FAILED: clients/common/settings-docs.h 
/sbin/xsltproc --output clients/common/settings-docs.h /home/barbarossa/.cache/yay/networkmanager-iwd/src/NetworkManager/clients/common/settings-docs.xsl libnm/nm-settings-docs-gir.xml
libnm/nm-settings-docs-gir.xml:6: parser error : attributes construct error
 of network connection they describe.  Each NMConnection object must contain a "
                                                                               ^
libnm/nm-settings-docs-gir.xml:6: parser error : Couldn't find end of Start Tag setting line 6
 of network connection they describe.  Each NMConnection object must contain a "
                                                                               ^
libnm/nm-settings-docs-gir.xml:32: parser error : Opening and ending tag mismatch: nm-setting-docs line 0 and setting
  </setting>
            ^
libnm/nm-settings-docs-gir.xml:33: parser error : Extra content at the end of the document
  <setting name="6lowpan" description="The NMSetting6Lowpan object is a NMSettin
  ^
unable to parse libnm/nm-settings-docs-gir.xml
[743/922] Linking target src/tests/test-core
In function ‘explicit_bzero’,
    inlined from ‘nm_str_buf_set_size’ at ../NetworkManager/shared/nm-glib-aux/nm-secret-utils.c:25:2,
    inlined from ‘nm_utils_fd_read’ at ../NetworkManager/shared/nm-glib-aux/nm-io-utils.c:454:3:
/usr/include/bits/string_fortified.h:83:3: warning: ‘__explicit_bzero_chk’ specified size between 9223372036854775809 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   83 |   __explicit_bzero_chk (__dest, __len, __bos0 (__dest));
      |   ^
/usr/include/bits/string_fortified.h: In function ‘nm_utils_fd_read’:
/usr/include/bits/string_fortified.h:77:6: note: in a call to function ‘__explicit_bzero_chk’ declared with attribute ‘write_only (1, 2)’
   77 | void __explicit_bzero_chk (void *__dest, size_t __len, size_t __destlen)
      |      ^
In function ‘strncpy’,
    inlined from ‘nms_keyfile_nmmeta_check_filename’ at ../NetworkManager/shared/nm-glib-aux/nm-macros-internal.h:1796:3:
/usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^
../NetworkManager/src/settings/plugins/keyfile/nms-keyfile-utils.c: In function ‘nms_keyfile_nmmeta_check_filename’:
../NetworkManager/src/settings/plugins/keyfile/nms-keyfile-utils.c:42: note: length computed here
   42 |  len = strlen (filename);
      | 
[744/922] Linking target src/tests/test-ip4-config
In function ‘explicit_bzero’,
    inlined from ‘nm_str_buf_set_size’ at ../NetworkManager/shared/nm-glib-aux/nm-secret-utils.c:25:2,
    inlined from ‘nm_utils_fd_read’ at ../NetworkManager/shared/nm-glib-aux/nm-io-utils.c:454:3:
/usr/include/bits/string_fortified.h:83:3: warning: ‘__explicit_bzero_chk’ specified size between 9223372036854775809 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   83 |   __explicit_bzero_chk (__dest, __len, __bos0 (__dest));
      |   ^
/usr/include/bits/string_fortified.h: In function ‘nm_utils_fd_read’:
/usr/include/bits/string_fortified.h:77:6: note: in a call to function ‘__explicit_bzero_chk’ declared with attribute ‘write_only (1, 2)’
   77 | void __explicit_bzero_chk (void *__dest, size_t __len, size_t __destlen)
      |      ^
In function ‘strncpy’,
    inlined from ‘nms_keyfile_nmmeta_check_filename’ at ../NetworkManager/shared/nm-glib-aux/nm-macros-internal.h:1796:3:
/usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^
../NetworkManager/src/settings/plugins/keyfile/nms-keyfile-utils.c: In function ‘nms_keyfile_nmmeta_check_filename’:
../NetworkManager/src/settings/plugins/keyfile/nms-keyfile-utils.c:42: note: length computed here
   42 |  len = strlen (filename);
      | 
[745/922] Linking target src/initrd/tests/test-ibft-reader
In function ‘explicit_bzero’,
    inlined from ‘nm_str_buf_set_size’ at ../NetworkManager/shared/nm-glib-aux/nm-secret-utils.c:25:2,
    inlined from ‘nm_utils_fd_read’ at ../NetworkManager/shared/nm-glib-aux/nm-io-utils.c:454:3:
/usr/include/bits/string_fortified.h:83:3: warning: ‘__explicit_bzero_chk’ specified size between 9223372036854775809 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   83 |   __explicit_bzero_chk (__dest, __len, __bos0 (__dest));
      |   ^
/usr/include/bits/string_fortified.h: In function ‘nm_utils_fd_read’:
/usr/include/bits/string_fortified.h:77:6: note: in a call to function ‘__explicit_bzero_chk’ declared with attribute ‘write_only (1, 2)’
   77 | void __explicit_bzero_chk (void *__dest, size_t __len, size_t __destlen)
      |      ^
[746/922] Linking target src/tests/test-ip6-config
In function ‘explicit_bzero’,
    inlined from ‘nm_str_buf_set_size’ at ../NetworkManager/shared/nm-glib-aux/nm-secret-utils.c:25:2,
    inlined from ‘nm_utils_fd_read’ at ../NetworkManager/shared/nm-glib-aux/nm-io-utils.c:454:3:
/usr/include/bits/string_fortified.h:83:3: warning: ‘__explicit_bzero_chk’ specified size between 9223372036854775809 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   83 |   __explicit_bzero_chk (__dest, __len, __bos0 (__dest));
      |   ^
/usr/include/bits/string_fortified.h: In function ‘nm_utils_fd_read’:
/usr/include/bits/string_fortified.h:77:6: note: in a call to function ‘__explicit_bzero_chk’ declared with attribute ‘write_only (1, 2)’
   77 | void __explicit_bzero_chk (void *__dest, size_t __len, size_t __destlen)
      |      ^
In function ‘strncpy’,
    inlined from ‘nms_keyfile_nmmeta_check_filename’ at ../NetworkManager/shared/nm-glib-aux/nm-macros-internal.h:1796:3:
/usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^
../NetworkManager/src/settings/plugins/keyfile/nms-keyfile-utils.c: In function ‘nms_keyfile_nmmeta_check_filename’:
../NetworkManager/src/settings/plugins/keyfile/nms-keyfile-utils.c:42: note: length computed here
   42 |  len = strlen (filename);
      | 
[747/922] Linking target src/initrd/tests/test-cmdline-reader
In function ‘explicit_bzero’,
    inlined from ‘nm_str_buf_set_size’ at ../NetworkManager/shared/nm-glib-aux/nm-secret-utils.c:25:2,
    inlined from ‘nm_utils_fd_read’ at ../NetworkManager/shared/nm-glib-aux/nm-io-utils.c:454:3:
/usr/include/bits/string_fortified.h:83:3: warning: ‘__explicit_bzero_chk’ specified size between 9223372036854775809 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   83 |   __explicit_bzero_chk (__dest, __len, __bos0 (__dest));
      |   ^
/usr/include/bits/string_fortified.h: In function ‘nm_utils_fd_read’:
/usr/include/bits/string_fortified.h:77:6: note: in a call to function ‘__explicit_bzero_chk’ declared with attribute ‘write_only (1, 2)’
   77 | void __explicit_bzero_chk (void *__dest, size_t __len, size_t __destlen)
      |      ^
[748/922] Linking target src/dhcp/tests/test-dhcp-dhclient
In function ‘explicit_bzero’,
    inlined from ‘nm_str_buf_set_size’ at ../NetworkManager/shared/nm-glib-aux/nm-secret-utils.c:25:2,
    inlined from ‘nm_utils_fd_read’ at ../NetworkManager/shared/nm-glib-aux/nm-io-utils.c:454:3:
/usr/include/bits/string_fortified.h:83:3: warning: ‘__explicit_bzero_chk’ specified size between 9223372036854775809 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   83 |   __explicit_bzero_chk (__dest, __len, __bos0 (__dest));
      |   ^
/usr/include/bits/string_fortified.h: In function ‘nm_utils_fd_read’:
/usr/include/bits/string_fortified.h:77:6: note: in a call to function ‘__explicit_bzero_chk’ declared with attribute ‘write_only (1, 2)’
   77 | void __explicit_bzero_chk (void *__dest, size_t __len, size_t __destlen)
      |      ^
In function ‘strncpy’,
    inlined from ‘nms_keyfile_nmmeta_check_filename’ at ../NetworkManager/shared/nm-glib-aux/nm-macros-internal.h:1796:3:
/usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^
../NetworkManager/src/settings/plugins/keyfile/nms-keyfile-utils.c: In function ‘nms_keyfile_nmmeta_check_filename’:
../NetworkManager/src/settings/plugins/keyfile/nms-keyfile-utils.c:42: note: length computed here
   42 |  len = strlen (filename);
      | 
[749/922] Linking target src/dhcp/tests/test-dhcp-utils
In function ‘explicit_bzero’,
    inlined from ‘nm_str_buf_set_size’ at ../NetworkManager/shared/nm-glib-aux/nm-secret-utils.c:25:2,
    inlined from ‘nm_utils_fd_read’ at ../NetworkManager/shared/nm-glib-aux/nm-io-utils.c:454:3:
/usr/include/bits/string_fortified.h:83:3: warning: ‘__explicit_bzero_chk’ specified size between 9223372036854775809 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   83 |   __explicit_bzero_chk (__dest, __len, __bos0 (__dest));
      |   ^
/usr/include/bits/string_fortified.h: In function ‘nm_utils_fd_read’:
/usr/include/bits/string_fortified.h:77:6: note: in a call to function ‘__explicit_bzero_chk’ declared with attribute ‘write_only (1, 2)’
   77 | void __explicit_bzero_chk (void *__dest, size_t __len, size_t __destlen)
      |      ^
In function ‘strncpy’,
    inlined from ‘nms_keyfile_nmmeta_check_filename’ at ../NetworkManager/shared/nm-glib-aux/nm-macros-internal.h:1796:3:
/usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^
../NetworkManager/src/settings/plugins/keyfile/nms-keyfile-utils.c: In function ‘nms_keyfile_nmmeta_check_filename’:
../NetworkManager/src/settings/plugins/keyfile/nms-keyfile-utils.c:42: note: length computed here
   42 |  len = strlen (filename);
      | 
[750/922] Linking target src/settings/plugins/keyfile/tests/test-keyfile-settings
In function ‘explicit_bzero’,
    inlined from ‘nm_str_buf_set_size’ at ../NetworkManager/shared/nm-glib-aux/nm-secret-utils.c:25:2,
    inlined from ‘nm_utils_fd_read’ at ../NetworkManager/shared/nm-glib-aux/nm-io-utils.c:454:3:
/usr/include/bits/string_fortified.h:83:3: warning: ‘__explicit_bzero_chk’ specified size between 9223372036854775809 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   83 |   __explicit_bzero_chk (__dest, __len, __bos0 (__dest));
      |   ^
/usr/include/bits/string_fortified.h: In function ‘nm_utils_fd_read’:
/usr/include/bits/string_fortified.h:77:6: note: in a call to function ‘__explicit_bzero_chk’ declared with attribute ‘write_only (1, 2)’
   77 | void __explicit_bzero_chk (void *__dest, size_t __len, size_t __destlen)
      |      ^
In function ‘strncpy’,
    inlined from ‘nms_keyfile_nmmeta_check_filename’ at ../NetworkManager/shared/nm-glib-aux/nm-macros-internal.h:1796:3:
/usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^
../NetworkManager/src/settings/plugins/keyfile/nms-keyfile-utils.c: In function ‘nms_keyfile_nmmeta_check_filename’:
../NetworkManager/src/settings/plugins/keyfile/nms-keyfile-utils.c:42:8: note: length computed here
   42 |  len = strlen (filename);
      |        ^
[751/922] Linking target src/devices/bluetooth/nm-bt-test
In function ‘explicit_bzero’,
    inlined from ‘nm_str_buf_set_size’ at ../NetworkManager/shared/nm-glib-aux/nm-secret-utils.c:25:2,
    inlined from ‘nm_utils_fd_read’ at ../NetworkManager/shared/nm-glib-aux/nm-io-utils.c:454:3:
/usr/include/bits/string_fortified.h:83:3: warning: ‘__explicit_bzero_chk’ specified size between 9223372036854775809 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   83 |   __explicit_bzero_chk (__dest, __len, __bos0 (__dest));
      |   ^
/usr/include/bits/string_fortified.h: In function ‘nm_utils_fd_read’:
/usr/include/bits/string_fortified.h:77:6: note: in a call to function ‘__explicit_bzero_chk’ declared with attribute ‘write_only (1, 2)’
   77 | void __explicit_bzero_chk (void *__dest, size_t __len, size_t __destlen)
      |      ^
In function ‘strncpy’,
    inlined from ‘nms_keyfile_nmmeta_check_filename’ at ../NetworkManager/shared/nm-glib-aux/nm-macros-internal.h:1796:3:
/usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^
../NetworkManager/src/settings/plugins/keyfile/nms-keyfile-utils.c: In function ‘nms_keyfile_nmmeta_check_filename’:
../NetworkManager/src/settings/plugins/keyfile/nms-keyfile-utils.c:42: note: length computed here
   42 |  len = strlen (filename);
      | 
[752/922] Linking target src/devices/wifi/test-devices-wifi
In function ‘explicit_bzero’,
    inlined from ‘nm_str_buf_set_size’ at ../NetworkManager/shared/nm-glib-aux/nm-secret-utils.c:25:2,
    inlined from ‘nm_utils_fd_read’ at ../NetworkManager/shared/nm-glib-aux/nm-io-utils.c:454:3:
/usr/include/bits/string_fortified.h:83:3: warning: ‘__explicit_bzero_chk’ specified size between 9223372036854775809 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   83 |   __explicit_bzero_chk (__dest, __len, __bos0 (__dest));
      |   ^
/usr/include/bits/string_fortified.h: In function ‘nm_utils_fd_read’:
/usr/include/bits/string_fortified.h:77:6: note: in a call to function ‘__explicit_bzero_chk’ declared with attribute ‘write_only (1, 2)’
   77 | void __explicit_bzero_chk (void *__dest, size_t __len, size_t __destlen)
      |      ^
In function ‘strncpy’,
    inlined from ‘nms_keyfile_nmmeta_check_filename’ at ../NetworkManager/shared/nm-glib-aux/nm-macros-internal.h:1796:3:
/usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^
../NetworkManager/src/settings/plugins/keyfile/nms-keyfile-utils.c: In function ‘nms_keyfile_nmmeta_check_filename’:
../NetworkManager/src/settings/plugins/keyfile/nms-keyfile-utils.c:42:8: note: length computed here
   42 |  len = strlen (filename);
      |        ^
[753/922] Linking target src/NetworkManager-all-sym
In function ‘strncpy’,
    inlined from ‘nms_keyfile_nmmeta_check_filename’ at ../NetworkManager/shared/nm-glib-aux/nm-macros-internal.h:1796:3:
/usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^
../NetworkManager/src/settings/plugins/keyfile/nms-keyfile-utils.c: In function ‘nms_keyfile_nmmeta_check_filename’:
../NetworkManager/src/settings/plugins/keyfile/nms-keyfile-utils.c:42:8: note: length computed here
   42 |  len = strlen (filename);
      |        ^
In function ‘explicit_bzero’,
    inlined from ‘nm_str_buf_set_size’ at ../NetworkManager/shared/nm-glib-aux/nm-secret-utils.c:25:2,
    inlined from ‘nm_utils_fd_read’ at ../NetworkManager/shared/nm-glib-aux/nm-io-utils.c:454:3:
/usr/include/bits/string_fortified.h:83:3: warning: ‘__explicit_bzero_chk’ specified size between 9223372036854775809 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   83 |   __explicit_bzero_chk (__dest, __len, __bos0 (__dest));
      |   ^
/usr/include/bits/string_fortified.h: In function ‘nm_utils_fd_read’:
/usr/include/bits/string_fortified.h:77:6: note: in a call to function ‘__explicit_bzero_chk’ declared with attribute ‘write_only (1, 2)’
   77 | void __explicit_bzero_chk (void *__dest, size_t __len, size_t __destlen)
      |      ^
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

I'm not sure if this is an issue with the PKGBUILD or with upstream =/

rpodgorny commented on 2020-04-17 12:06 (UTC)

disowning package as i'm using iwd with systemd-networkd now...

ChrisLane commented on 2020-04-17 10:57 (UTC)

Can this package be updated to 1.22.10 please?

digitalone commented on 2019-12-17 19:11 (UTC)

The package follows upstream version, not cgit.

digitalone commented on 2019-12-08 08:14 (UTC)

Updated. Didn't have time to test it, let me know if something is going wrong.

rpodgorny commented on 2019-11-01 00:43 (UTC)

@digitalone - thanks, i've submitted your version. also, i've made you a co-maintaner.

@ilikenwf - thanks!

digitalone commented on 2019-10-31 16:45 (UTC)

I won't, don't use it anymore. At least I could help as a contributor, but not as a maintainer.

ilikenwf commented on 2019-10-31 16:29 (UTC)

Disowned, feel free to take it over.

digitalone commented on 2019-10-31 15:15 (UTC) (edited on 2019-10-31 15:26 (UTC) by digitalone)

He can make me as a contributor, so I can push the update, or you can download the PKGBUILD and install it on your own.

Anyway, I don't think I will update it in the future since I'm still having issues with iwd and I'm using wpa_supplicant.

rpodgorny commented on 2019-10-31 14:45 (UTC)

please update or orphan, thank you...

digitalone commented on 2019-10-28 09:14 (UTC)

@ilikenwf I updated this package to test the new version on my system: https://pastebin.com/i6m1vxc6

Feel free to push the commit here.

digitalone commented on 2019-08-27 08:21 (UTC)

As stated here, I had issues with iwd and I'm forced to come back to wpa_supplicant, so don't need this package anymore. Feel free to adopt it if you want.

digitalone commented on 2019-08-15 09:21 (UTC)

I noticed that plasma-nm applet it's not showing wifi when using an external usb wifi adapter, but it's working when I restart networkmanager service. So I managed to resolve enabling iwd.service at boot. I pushed an overriding configuration for safety reasons to get iwd.service start after udev and before networkmanager service.

If you're having same issues, it's recommended to enable iwd service at boot.

digitalone commented on 2019-08-11 09:10 (UTC)

@glitsj16: you're right, same double vala entry is in upstream PKGBUILD. Fixed, thanks.

glitsj16 commented on 2019-08-11 07:56 (UTC)

This is working great, link speed almost doubled. One small note, the current PKGBUILD contains 'vala' twice on line 19 in the makedepends array.

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.