Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

networkmanager: fix VPN activation through nm-applet #44037

Merged
merged 3 commits into from Aug 4, 2018

Conversation

flokli
Copy link
Contributor

@flokli flokli commented Jul 23, 2018

Motivation for this change

Currently, activating VPN connections via nm-applet fails, but still is possible via nmcli con up $name.

That's fixed in the commit cherry-picked here, I can now activate VPN connections using nm-applet. Will be fixed in NetworkManager 1.13.0 as well.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@flokli
Copy link
Contributor Author

flokli commented Jul 23, 2018

/cc @jtojnar

Copy link
Contributor

@jtojnar jtojnar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did not test but looks good

@@ -76,6 +76,13 @@ in stdenv.mkDerivation rec {
url = https://bugzilla.gnome.org/attachment.cgi?id=372953;
sha256 = "1crjplyiiipkhjjlifrv6hhvxinlcxd6irp9ijbc7jij31g44i0a";
})
(fetchpatch {
# https://gitlab.gnome.org/GNOME/network-manager-applet/issues/12
# should be fixed in 1.13.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.13.0 would be unstable, plus Lubomir promised 1.12.2.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated the comment.

@flokli
Copy link
Contributor Author

flokli commented Jul 24, 2018

added a patch on top that fixes the initial connection setup from file (in case there's no other VPN connection already configured)

];

# remove again if #11 is merged
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean !11?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -20,8 +20,18 @@ in stdenv.mkDerivation rec {
url = https://gitlab.gnome.org/GNOME/network-manager-applet/merge_requests/12.patch;
sha256 = "0q5qbjpbrfvhqsprnwjwz4c42nly59cgnbn41w2zlxvqf29gjvwk";
})
(fetchpatch {
# https://gitlab.gnome.org/GNOME/network-manager-applet/issues/11
# should be fixed in 1.8.15
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.8.15 is a dev version (unlike rest of GNOME, NM stable versions need to have even patches in addition to even minors), next release will be 1.8.16.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

didn't knew that, ok - updated string to 1.8.16.

# https://gitlab.gnome.org/GNOME/network-manager-applet/issues/11
# should be fixed in 1.8.15
name = "show-import-file-chooser.patch";
url = https://gitlab.gnome.org/GNOME/network-manager-applet/merge_requests/15.patch;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably should not use unmerged MR for patch, as it can change. I would use the two specific commits (or commit range if it is available as a patch).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added all three commits separately, as the bluetooth one also shouldn't hurt and is included in the upstream MR.

@flokli
Copy link
Contributor Author

flokli commented Jul 24, 2018

updated PR with updated upstream patches, now without -Werror=format-security errors anymore :-)

@flokli
Copy link
Contributor Author

flokli commented Jul 24, 2018

@GrahamcOfBorg build networkmanagerapplet

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: networkmanagerapplet

Partial log (click to expand)

shrinking RPATHs of ELF executables and libraries in /nix/store/csm22sb6ra3l8i57mc585pbirq8s72x4-network-manager-applet-1.8.14-dev
strip is /nix/store/fzsyclvxz1p2ia83caniy93v8cwarg0j-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/csm22sb6ra3l8i57mc585pbirq8s72x4-network-manager-applet-1.8.14-dev/lib
patching script interpreter paths in /nix/store/csm22sb6ra3l8i57mc585pbirq8s72x4-network-manager-applet-1.8.14-dev
checking for references to /build in /nix/store/csm22sb6ra3l8i57mc585pbirq8s72x4-network-manager-applet-1.8.14-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/x3rv2b8zr43n4ql3465sv0z03q5x451p-network-manager-applet-1.8.14-devdoc
strip is /nix/store/fzsyclvxz1p2ia83caniy93v8cwarg0j-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/x3rv2b8zr43n4ql3465sv0z03q5x451p-network-manager-applet-1.8.14-devdoc
checking for references to /build in /nix/store/x3rv2b8zr43n4ql3465sv0z03q5x451p-network-manager-applet-1.8.14-devdoc...
/nix/store/wq3x44jidc2ssv2ymk76yskcs5qglrn2-network-manager-applet-1.8.14

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: networkmanagerapplet

Partial log (click to expand)

shrinking /nix/store/z2shb7gn1k42kr5yc8zs7094vbs48sf5-glib-networking-2.56.0/lib/gio/modules/libgiognutls.so
shrinking /nix/store/z2shb7gn1k42kr5yc8zs7094vbs48sf5-glib-networking-2.56.0/lib/gio/modules/libgiognomeproxy.so
shrinking /nix/store/z2shb7gn1k42kr5yc8zs7094vbs48sf5-glib-networking-2.56.0/lib/gio/modules/libgiolibproxy.so
strip is /nix/store/h0nc84ybvb8g724fwysvcghh1675wjli-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/z2shb7gn1k42kr5yc8zs7094vbs48sf5-glib-networking-2.56.0/lib  /nix/store/z2shb7gn1k42kr5yc8zs7094vbs48sf5-glib-networking-2.56.0/libexec
patching script interpreter paths in /nix/store/z2shb7gn1k42kr5yc8zs7094vbs48sf5-glib-networking-2.56.0
checking for references to /build in /nix/store/z2shb7gn1k42kr5yc8zs7094vbs48sf5-glib-networking-2.56.0...
strip is /nix/store/h0nc84ybvb8g724fwysvcghh1675wjli-binutils-2.30/bin/strip
cannot build derivation '/nix/store/sc9w5cwn8wb12mqfy0ym0ds208ihm649-network-manager-applet-1.8.14.drv': 1 dependencies couldn't be built
error: build of '/nix/store/sc9w5cwn8wb12mqfy0ym0ds208ihm649-network-manager-applet-1.8.14.drv' failed

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: networkmanagerapplet

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@flokli
Copy link
Contributor Author

flokli commented Jul 24, 2018

@GrahamcOfBorg build networkmanagerapplet

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: networkmanagerapplet

Partial log (click to expand)

shrinking RPATHs of ELF executables and libraries in /nix/store/j1g1kn76sbmx79md1k9rcns6fx4x87mc-network-manager-applet-1.8.14-dev
strip is /nix/store/a3nk8z2i7m7wa3jdckgv710n7j3yx4b5-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/j1g1kn76sbmx79md1k9rcns6fx4x87mc-network-manager-applet-1.8.14-dev/lib
patching script interpreter paths in /nix/store/j1g1kn76sbmx79md1k9rcns6fx4x87mc-network-manager-applet-1.8.14-dev
checking for references to /build in /nix/store/j1g1kn76sbmx79md1k9rcns6fx4x87mc-network-manager-applet-1.8.14-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/36cwb6pssykxm6hd82bkzkdddyw21fxy-network-manager-applet-1.8.14-devdoc
strip is /nix/store/a3nk8z2i7m7wa3jdckgv710n7j3yx4b5-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/36cwb6pssykxm6hd82bkzkdddyw21fxy-network-manager-applet-1.8.14-devdoc
checking for references to /build in /nix/store/36cwb6pssykxm6hd82bkzkdddyw21fxy-network-manager-applet-1.8.14-devdoc...
/nix/store/3p2xm8lddvs8pdbdfnnxm4rsrwqp4vj2-network-manager-applet-1.8.14

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: networkmanagerapplet

Partial log (click to expand)

shrinking RPATHs of ELF executables and libraries in /nix/store/r3x4adgjmcqzd7nvkvmnsi2mng16i5hk-network-manager-applet-1.8.14-dev
strip is /nix/store/a245zacjzf3qw0davhvlfarihcy2yyrc-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/r3x4adgjmcqzd7nvkvmnsi2mng16i5hk-network-manager-applet-1.8.14-dev/lib
patching script interpreter paths in /nix/store/r3x4adgjmcqzd7nvkvmnsi2mng16i5hk-network-manager-applet-1.8.14-dev
checking for references to /build in /nix/store/r3x4adgjmcqzd7nvkvmnsi2mng16i5hk-network-manager-applet-1.8.14-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/lbz0pr60ny3ix0xd927mgwygclg232zp-network-manager-applet-1.8.14-devdoc
strip is /nix/store/a245zacjzf3qw0davhvlfarihcy2yyrc-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/lbz0pr60ny3ix0xd927mgwygclg232zp-network-manager-applet-1.8.14-devdoc
checking for references to /build in /nix/store/lbz0pr60ny3ix0xd927mgwygclg232zp-network-manager-applet-1.8.14-devdoc...
/nix/store/jg9ln4yi37jfl8fpzp25s8y883dyc2py-network-manager-applet-1.8.14

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: networkmanagerapplet

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@flokli
Copy link
Contributor Author

flokli commented Jul 26, 2018

NetworkManager 1.12.2 was released by now, with above patch and patch in https://bugzilla.gnome.org/show_bug.cgi?id=796752 included
I updated the first commit in this PR to be the version bump.

@flokli
Copy link
Contributor Author

flokli commented Jul 26, 2018

@GrahamcOfBorg build networkmanager networkmanagerapplet

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: networkmanager, networkmanagerapplet

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Attempted: networkmanager, networkmanagerapplet

Partial log (click to expand)

 NM_AVAILABLE_IN_1_12_2
 ^~~~~~~~~~~~~~~~~~~~~~
/nix/store/0llilw8nzdjd24ki7w5y7crz6psmvs64-network-manager-1.12.2-dev/include/libnm/nm-device-ovs-bridge.h:46:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
 const GPtrArray *nm_device_ovs_bridge_get_slaves (NMDeviceOvsBridge *device);
 ^~~~~
[9/135] Compiling C object 'src/utils/src@utils@@utils-libnm-glib@sta/utils.c.o'.
[10/135] Compiling C object 'src/utils/src@utils@@utils-libnm-glib@sta/.._.._shared_nm-utils_nm-shared-utils.c.o'.
ninja: build stopped: subcommand failed.
builder for '/nix/store/12zvi0f7c364pk23b7icplnqj3wq94jl-network-manager-applet-1.8.14.drv' failed with exit code 1
error: build of '/nix/store/12zvi0f7c364pk23b7icplnqj3wq94jl-network-manager-applet-1.8.14.drv' failed

@flokli
Copy link
Contributor Author

flokli commented Jul 26, 2018

networkmanagerapplet doesn't build anymore with the bumped networkmanager.
Upstream issue: https://gitlab.gnome.org/GNOME/network-manager-applet/issues/13

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: networkmanager, networkmanagerapplet

Partial log (click to expand)

/nix/store/f34w7jqys6c9ha6j5v7q5s2npi0lf4vr-network-manager-1.12.2-dev/include/libnm/nm-device-ovs-bridge.h:45:1: error: macro "G_UNAVAILABLE" passed 3 arguments, but takes just 2
 NM_AVAILABLE_IN_1_12_2
 ^~~~~~~~~~~~~~~~~~~~~~
/nix/store/f34w7jqys6c9ha6j5v7q5s2npi0lf4vr-network-manager-1.12.2-dev/include/libnm/nm-device-ovs-bridge.h:46:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
 const GPtrArray *nm_device_ovs_bridge_get_slaves (NMDeviceOvsBridge *device);
 ^~~~~
[111/135] Compiling C object 'src/libnm-gtk/src@libnm-gtk@@nm-gtk@sha/nm-vpn-password-dialog.c.o'.
ninja: build stopped: subcommand failed.
builder for '/nix/store/jg6c9qx74k0swn1r13lswhxgivma8y71-network-manager-applet-1.8.14.drv' failed with exit code 1
error: build of '/nix/store/jg6c9qx74k0swn1r13lswhxgivma8y71-network-manager-applet-1.8.14.drv' failed

@Mic92
Copy link
Member

Mic92 commented Jul 30, 2018

I can no longer compile the openconnect plugin after applying this pull request:

/nix/store/fcyxw5aslw3a82p33x5lhckj0mr6g1s4-bash-4.4-p23/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_LIB_BASE -DNM_PLUGIN_DIR=\"/nix/store/rf3k7ynq4m1ml5s7dac3i00g58x20fvw-NetworkManager-openconnect-gnome-1.2.4/lib/NetworkManager\" -I/nix/store/g4zc2bk8wbcas66r9s2jbqba7clmilw2-glib-2.56.0-dev/include/glib-2.0 -I/nix/store/lgl3w7k7rm2qi99r94aarcgippppwsc5-glib-2.56.0/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32 -I/nix/store/0x8rx6zl1d8pf8vmw455n7498pc00j3i-openconnect-7.08-dev/include -I../shared -DICONDIR=\""/nix/store/rf3k7ynq4m1ml5s7dac3i00g58x20fvw-NetworkManager-openconnect-gnome-1.2.4/share/pixmaps"\" -DUIDIR=\""/nix/store/rf3k7ynq4m1ml5s7dac3i00g58x20fvw-NetworkManager-openconnect-gnome-1.2.4/share/gnome-vpn-properties/openconnect"\" -DLOCALEDIR=\"/nix/store/rf3k7ynq4m1ml5s7dac3i00g58x20fvw-NetworkManager-openconnect-gnome-1.2.4/share/locale\" -I/nix/store/0llilw8nzdjd24ki7w5y7crz6psmvs64-network-manager-1.12.2-dev/include/libnm -I/nix/store/g4zc2bk8wbcas66r9s2jbqba7clmilw2-glib-2.56.0-dev/include/glib-2.0 -I/nix/store/lgl3w7k7rm2qi99r94aarcgippppwsc5-glib-2.56.0/lib/glib-2.0/include -DNM_VERSION_MIN_REQUIRED=NM_VERSION_1_2 -DNM_VERSION_MAX_ALLOWED=NM_VERSION_1_4 -Wall -std=gnu89 -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wformat-security -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare -Wno-duplicate-decl-specifier -Wstrict-prototypes -Wno-unused-but-set-variable -Wno-format-y2k -Wundef -Wimplicit-function-declaration -Wpointer-arith -Winit-self -Wformat-nonliteral -Wmissing-include-dirs -Wno-pragmas -g -O2 -Warray-bounds -Wunused-value -c -o libnm_vpn_plugin_openconnect_la-nm-vpn-plugin-utils.lo `test -f '../shared/nm-utils/nm-vpn-plugin-utils.c' || echo './'`../shared/nm-utils/nm-vpn-plugin-utils.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_LIB_BASE -DNM_PLUGIN_DIR=\"/nix/store/rf3k7ynq4m1ml5s7dac3i00g58x20fvw-NetworkManager-openconnect-gnome-1.2.4/lib/NetworkManager\" -I/nix/store/g4zc2bk8wbcas66r9s2jbqba7clmilw2-glib-2.56.0-dev/include/glib-2.0 -I/nix/store/lgl3w7k7rm2qi99r94aarcgippppwsc5-glib-2.56.0/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32 -I/nix/store/0x8rx6zl1d8pf8vmw455n7498pc00j3i-openconnect-7.08-dev/include -I../shared -DICONDIR=\"/nix/store/rf3k7ynq4m1ml5s7dac3i00g58x20fvw-NetworkManager-openconnect-gnome-1.2.4/share/pixmaps\" -DUIDIR=\"/nix/store/rf3k7ynq4m1ml5s7dac3i00g58x20fvw-NetworkManager-openconnect-gnome-1.2.4/share/gnome-vpn-properties/openconnect\" -DLOCALEDIR=\"/nix/store/rf3k7ynq4m1ml5s7dac3i00g58x20fvw-NetworkManager-openconnect-gnome-1.2.4/share/locale\" -I/nix/store/0llilw8nzdjd24ki7w5y7crz6psmvs64-network-manager-1.12.2-dev/include/libnm -I/nix/store/g4zc2bk8wbcas66r9s2jbqba7clmilw2-glib-2.56.0-dev/include/glib-2.0 -I/nix/store/lgl3w7k7rm2qi99r94aarcgippppwsc5-glib-2.56.0/lib/glib-2.0/include -DNM_VERSION_MIN_REQUIRED=NM_VERSION_1_2 -DNM_VERSION_MAX_ALLOWED=NM_VERSION_1_4 -Wall -std=gnu89 -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wformat-security -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare -Wno-duplicate-decl-specifier -Wstrict-prototypes -Wno-unused-but-set-variable -Wno-format-y2k -Wundef -Wimplicit-function-declaration -Wpointer-arith -Winit-self -Wformat-nonliteral -Wmissing-include-dirs -Wno-pragmas -g -O2 -Warray-bounds -Wunused-value -c ../shared/nm-utils/nm-vpn-plugin-utils.c  -fPIC -DPIC -o .libs/libnm_vpn_plugin_openconnect_la-nm-vpn-plugin-utils.o
In file included from /nix/store/0llilw8nzdjd24ki7w5y7crz6psmvs64-network-manager-1.12.2-dev/include/libnm/NetworkManager.h:46:0,
                 from ../shared/nm-default.h:89,
                 from ../shared/nm-utils/nm-vpn-plugin-utils.c:22:
/nix/store/0llilw8nzdjd24ki7w5y7crz6psmvs64-network-manager-1.12.2-dev/include/libnm/nm-device-ovs-port.h:45:1: error: macro "G_UNAVAILABLE" passed 3 arguments, but takes just 2
 NM_AVAILABLE_IN_1_12_2
 ^~~~~~~~~~~~~~~~~~~~~~
/nix/store/0llilw8nzdjd24ki7w5y7crz6psmvs64-network-manager-1.12.2-dev/include/libnm/nm-device-ovs-port.h:46:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
 const GPtrArray *nm_device_ovs_port_get_slaves (NMDeviceOvsPort *device);
 ^~~~~
In file included from /nix/store/0llilw8nzdjd24ki7w5y7crz6psmvs64-network-manager-1.12.2-dev/include/libnm/NetworkManager.h:47:0,
                 from ../shared/nm-default.h:89,
                 from ../shared/nm-utils/nm-vpn-plugin-utils.c:22:
/nix/store/0llilw8nzdjd24ki7w5y7crz6psmvs64-network-manager-1.12.2-dev/include/libnm/nm-device-ovs-bridge.h:45:1: error: macro "G_UNAVAILABLE" passed 3 arguments, but takes just 2
 NM_AVAILABLE_IN_1_12_2
 ^~~~~~~~~~~~~~~~~~~~~~
/nix/store/0llilw8nzdjd24ki7w5y7crz6psmvs64-network-manager-1.12.2-dev/include/libnm/nm-device-ovs-bridge.h:46:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
 const GPtrArray *nm_device_ovs_bridge_get_slaves (NMDeviceOvsBridge *device);
 ^~~~~
make[2]: *** [Makefile:673: libnm_vpn_plugin_openconnect_la-nm-vpn-plugin-utils.lo] Error 1
make[2]: Leaving directory '/build/NetworkManager-openconnect-1.2.4/properties'
make[1]: *** [Makefile:568: all-recursive] Error 1
make[1]: Leaving directory '/build/NetworkManager-openconnect-1.2.4'
make: *** [Makefile:437: all] Error 2
builder for '/nix/store/vhvkya8hf02jdcyy5pycdh1cxlydx9ib-NetworkManager-openconnect-gnome-1.2.4.drv' failed with exit code 2

@flokli
Copy link
Contributor Author

flokli commented Jul 30, 2018 via email

@flokli
Copy link
Contributor Author

flokli commented Aug 3, 2018

rebased and added upstream patch for networkmanager that fixes nm-applet again.

@flokli
Copy link
Contributor Author

flokli commented Aug 3, 2018

@GrahamcOfBorg build networkmanagerapplet

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: networkmanagerapplet

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: networkmanager

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: networkmanager

Partial log (click to expand)

strip is /nix/store/1hi76hr87bd1y1q1qjk0lv8nmcjip1c8-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/hhckak43rwcibxrhzs86cm63xyar4752-network-manager-1.12.2/lib  /nix/store/hhckak43rwcibxrhzs86cm63xyar4752-network-manager-1.12.2/libexec  /nix/store/hhckak43rwcibxrhzs86cm63xyar4752-network-manager-1.12.2/bin  /nix/store/hhckak43rwcibxrhzs86cm63xyar4752-network-manager-1.12.2/sbin
patching script interpreter paths in /nix/store/hhckak43rwcibxrhzs86cm63xyar4752-network-manager-1.12.2
checking for references to /build in /nix/store/hhckak43rwcibxrhzs86cm63xyar4752-network-manager-1.12.2...
moving /nix/store/hhckak43rwcibxrhzs86cm63xyar4752-network-manager-1.12.2/sbin/* to /nix/store/hhckak43rwcibxrhzs86cm63xyar4752-network-manager-1.12.2/bin
shrinking RPATHs of ELF executables and libraries in /nix/store/8q8xi8l17pd1943wf389rmyad230406f-network-manager-1.12.2-dev
strip is /nix/store/1hi76hr87bd1y1q1qjk0lv8nmcjip1c8-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/8q8xi8l17pd1943wf389rmyad230406f-network-manager-1.12.2-dev/lib
patching script interpreter paths in /nix/store/8q8xi8l17pd1943wf389rmyad230406f-network-manager-1.12.2-dev
checking for references to /build in /nix/store/8q8xi8l17pd1943wf389rmyad230406f-network-manager-1.12.2-dev...

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: networkmanager

Partial log (click to expand)

these derivations will be built:
  /nix/store/a1wlj0l2qgmg73wnd2ckgr7h78mjfp49-network-manager-1.12.2.drv
waiting for locks or build slots...
/nix/store/k8yb3ajh0m90rvr505argy3kjxxghwzm-network-manager-1.12.2

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: networkmanagerapplet

Partial log (click to expand)

shrinking RPATHs of ELF executables and libraries in /nix/store/qcym18cvklz9728wkimz8q06v9pa0jhi-network-manager-applet-1.8.14-dev
strip is /nix/store/zrs21zqcchgyabjf4xfimncdq16njizc-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/qcym18cvklz9728wkimz8q06v9pa0jhi-network-manager-applet-1.8.14-dev/lib
patching script interpreter paths in /nix/store/qcym18cvklz9728wkimz8q06v9pa0jhi-network-manager-applet-1.8.14-dev
checking for references to /build in /nix/store/qcym18cvklz9728wkimz8q06v9pa0jhi-network-manager-applet-1.8.14-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/r2d2p8ll9ma81pjymksa9jpwgd7swfa8-network-manager-applet-1.8.14-devdoc
strip is /nix/store/zrs21zqcchgyabjf4xfimncdq16njizc-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/r2d2p8ll9ma81pjymksa9jpwgd7swfa8-network-manager-applet-1.8.14-devdoc
checking for references to /build in /nix/store/r2d2p8ll9ma81pjymksa9jpwgd7swfa8-network-manager-applet-1.8.14-devdoc...
/nix/store/ddgrvlyk1z36gamvywgq709hr5f0n5wn-network-manager-applet-1.8.14

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: networkmanagerapplet

Partial log (click to expand)

shrinking RPATHs of ELF executables and libraries in /nix/store/d7cs8109acdj5ssj75sa1ms7bp4z8bs2-network-manager-applet-1.8.14-dev
strip is /nix/store/1hi76hr87bd1y1q1qjk0lv8nmcjip1c8-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/d7cs8109acdj5ssj75sa1ms7bp4z8bs2-network-manager-applet-1.8.14-dev/lib
patching script interpreter paths in /nix/store/d7cs8109acdj5ssj75sa1ms7bp4z8bs2-network-manager-applet-1.8.14-dev
checking for references to /build in /nix/store/d7cs8109acdj5ssj75sa1ms7bp4z8bs2-network-manager-applet-1.8.14-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/s0icj235xbvgj9nd27347immkcggkr9d-network-manager-applet-1.8.14-devdoc
strip is /nix/store/1hi76hr87bd1y1q1qjk0lv8nmcjip1c8-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/s0icj235xbvgj9nd27347immkcggkr9d-network-manager-applet-1.8.14-devdoc
checking for references to /build in /nix/store/s0icj235xbvgj9nd27347immkcggkr9d-network-manager-applet-1.8.14-devdoc...
/nix/store/almhw8kpsddgw95yg9knrmc10vifzkh0-network-manager-applet-1.8.14

@jtojnar jtojnar merged commit cb4263a into NixOS:master Aug 4, 2018
@flokli flokli deleted the fix-nm-applet-vpn branch August 4, 2018 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants