Skip to content

Instantly share code, notes, and snippets.

@Xe
Created November 11, 2020 13:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Xe/dc479baee47186f069094817c0f35d6f to your computer and use it in GitHub Desktop.
Save Xe/dc479baee47186f069094817c0f35d6f to your computer and use it in GitHub Desktop.
$ sudo nixos-rebuild switch --upgrade ↵ 100
unpacking channels...
building Nix...
building the system configuration...
these derivations will be built:
/nix/store/523ivkimw6lm9bzr9gh4hqr9v9xddmkw-system-path.drv
/nix/store/593qjix1fj9hms0dnvhpqgcs9r6b03n6-dbus-1.drv
/nix/store/a1x7i1x20v4j84v3m9mkqz3h2dimpqay-unit-polkit.service.drv
/nix/store/aym4rxmdw4b4s4jc6i85svz3n6qsj2y0-unit-systemd-fsck-.service.drv
/nix/store/bc3wc39mkk7b9d9cb7zrk778v0jzlx5k-unit-dbus.service.drv
/nix/store/fcz2c1nbv30kv5hv713kn01np76d587a-system-units.drv
/nix/store/x7h491s0m5ik0j5956ym9v6fxs7ix5i3-unit-dbus.service.drv
/nix/store/vcrx1kxpvs11mwndhhyd4zxf9s5jp8sn-user-units.drv
/nix/store/bsfzakf3178lmqly911vmn578m7v42k0-etc.drv
/nix/store/n0qnx2m4ks4p3iirjwmnhn4cddr7ccgk-wireguard-1.0.20200908.drv
/nix/store/dcjgpy0ifn9warfrf1ij1fsma0zndl0v-linux-5.4.76-modules.drv
/nix/store/i7izbmwqgmpvh7fw1xm3fglb9bv49imd-linux-5.4.76-modules-shrunk.drv
/nix/store/ghgb5hkl3l0kyx3bqzvd4lf8ycd252ip-stage-1-init.sh.drv
/nix/store/jhb7bgj9iii42m28ryayz2k9girsfxk0-initrd-linux-5.4.76.drv
/nix/store/jskdz7bi3xsiqbvyhg33mjl82np7hrly-kernel-modules.drv
/nix/store/s56cnlbni6mnr4swvcpqq60gd2jm7a8q-nixos-system-shachi-20.09.1721.896270d629e.drv
building '/nix/store/523ivkimw6lm9bzr9gh4hqr9v9xddmkw-system-path.drv'...
building '/nix/store/n0qnx2m4ks4p3iirjwmnhn4cddr7ccgk-wireguard-1.0.20200908.drv'...
unpacking sources
unpacking source archive /nix/store/9faajb344sq64b4qsp95n1acws562kh6-source
source root is source
patching sources
configuring
no configure script, doing nothing
building
build flags: -j12 -l12 SHELL=/nix/store/2jysm3dfsgby5sw5jgj43qjrb5v79ms9-bash-4.4-p23/bin/bash module
created 34685 symlinks in user environment
CC [M] /build/source/src/main.o
CC [M] /build/source/src/noise.o
CC [M] /build/source/src/device.o
CC [M] /build/source/src/peer.o
CC [M] /build/source/src/timers.o
CC [M] /build/source/src/queueing.o
CC [M] /build/source/src/send.o
CC [M] /build/source/src/receive.o
CC [M] /build/source/src/socket.o
CC [M] /build/source/src/peerlookup.o
CC [M] /build/source/src/allowedips.o
CC [M] /build/source/src/ratelimiter.o
gtk-update-icon-cache: Cache file created successfully.
CC [M] /build/source/src/cookie.o
CC [M] /build/source/src/netlink.o
CC [M] /build/source/src/crypto/zinc/chacha20/chacha20.o
PERLASM /build/source/src/crypto/zinc/chacha20/chacha20-x86_64.S
gtk-update-icon-cache: Cache file created successfully.
CC [M] /build/source/src/crypto/zinc/poly1305/poly1305.o
PERLASM /build/source/src/crypto/zinc/poly1305/poly1305-x86_64.S
CC [M] /build/source/src/crypto/zinc/chacha20poly1305.o
AS [M] /build/source/src/crypto/zinc/blake2s/blake2s-x86_64.o
CC [M] /build/source/src/crypto/zinc/blake2s/blake2s.o
AS [M] /build/source/src/crypto/zinc/chacha20/chacha20-x86_64.o
CC [M] /build/source/src/crypto/zinc/curve25519/curve25519.o
In file included from <command-line>:
/build/source/src/compat/compat-asm.h:44: warning: "SYM_FUNC_START" redefined
44 | #define SYM_FUNC_START ENTRY
|
In file included from /build/source/src/compat/compat-asm.h:9,
from <command-line>:
/nix/store/xrbpwcfdfv656r6b3aynmaj8qjg73nw9-linux-5.4.76-dev/lib/modules/5.4.76/source/include/linux/linkage.h:218: note: this is the location of the previous definition
218 | #define SYM_FUNC_START(name) \
|
In file included from <command-line>:
/build/source/src/compat/compat-asm.h:45: warning: "SYM_FUNC_END" redefined
45 | #define SYM_FUNC_END ENDPROC
|
In file included from /build/source/src/compat/compat-asm.h:9,
from <command-line>:
/nix/store/xrbpwcfdfv656r6b3aynmaj8qjg73nw9-linux-5.4.76-dev/lib/modules/5.4.76/source/include/linux/linkage.h:265: note: this is the location of the previous definition
265 | #define SYM_FUNC_END(name) \
|
/build/source/src/crypto/zinc/blake2s/blake2s-x86_64.S: Assembler messages:
/build/source/src/crypto/zinc/blake2s/blake2s-x86_64.S:50: Error: invalid character '(' in mnemonic
/build/source/src/crypto/zinc/blake2s/blake2s-x86_64.S:176: Error: invalid character '(' in mnemonic
/build/source/src/crypto/zinc/blake2s/blake2s-x86_64.S:180: Error: invalid character '(' in mnemonic
/build/source/src/crypto/zinc/blake2s/blake2s-x86_64.S:257: Error: invalid character '(' in mnemonic
make[3]: *** [/nix/store/xrbpwcfdfv656r6b3aynmaj8qjg73nw9-linux-5.4.76-dev/lib/modules/5.4.76/source/scripts/Makefile.build:348: /build/source/src/crypto/zinc/blake2s/blake2s-x86_64.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from <command-line>:
/build/source/src/compat/compat-asm.h:44: warning: "SYM_FUNC_START" redefined
44 | #define SYM_FUNC_START ENTRY
|
In file included from /build/source/src/compat/compat-asm.h:9,
from <command-line>:
/nix/store/xrbpwcfdfv656r6b3aynmaj8qjg73nw9-linux-5.4.76-dev/lib/modules/5.4.76/source/include/linux/linkage.h:218: note: this is the location of the previous definition
218 | #define SYM_FUNC_START(name) \
218 | #define SYM_FUNC_START(name) \
|
In file included from <command-line>:
/build/source/src/compat/compat-asm.h:45: warning: "SYM_FUNC_END" redefined
45 | #define SYM_FUNC_END ENDPROC
|
In file included from /build/source/src/compat/compat-asm.h:9,
from <command-line>:
/nix/store/xrbpwcfdfv656r6b3aynmaj8qjg73nw9-linux-5.4.76-dev/lib/modules/5.4.76/source/include/linux/linkage.h:265: note: this is the location of the previous definition
265 | #define SYM_FUNC_END(name) \
|
/build/source/src/crypto/zinc/chacha20/chacha20-x86_64.S: Assembler messages:
/build/source/src/crypto/zinc/chacha20/chacha20-x86_64.S:123: Error: invalid character '(' in mnemonic
/build/source/src/crypto/zinc/chacha20/chacha20-x86_64.S:185: Error: invalid character '(' in mnemonic
/build/source/src/crypto/zinc/chacha20/chacha20-x86_64.S:187: Error: invalid character '(' in mnemonic
/build/source/src/crypto/zinc/chacha20/chacha20-x86_64.S:319: Error: invalid character '(' in mnemonic
/build/source/src/crypto/zinc/chacha20/chacha20-x86_64.S:1016: Error: invalid character '(' in mnemonic
/build/source/src/crypto/zinc/chacha20/chacha20-x86_64.S:1616: Error: invalid character '(' in mnemonic
/build/source/src/crypto/zinc/chacha20/chacha20-x86_64.S:1620: Error: invalid character '(' in mnemonic
/build/source/src/crypto/zinc/chacha20/chacha20-x86_64.S:1810: Error: invalid character '(' in mnemonic
/build/source/src/crypto/zinc/chacha20/chacha20-x86_64.S:1812: Error: invalid character '(' in mnemonic
/build/source/src/crypto/zinc/chacha20/chacha20-x86_64.S:1959: Error: invalid character '(' in mnemonic
make[3]: *** [/nix/store/xrbpwcfdfv656r6b3aynmaj8qjg73nw9-linux-5.4.76-dev/lib/modules/5.4.76/source/scripts/Makefile.build:348: /build/source/src/crypto/zinc/chacha20/chacha20-x86_64.o] Error 1
building '/nix/store/593qjix1fj9hms0dnvhpqgcs9r6b03n6-dbus-1.drv'...
building '/nix/store/a1x7i1x20v4j84v3m9mkqz3h2dimpqay-unit-polkit.service.drv'...
building '/nix/store/aym4rxmdw4b4s4jc6i85svz3n6qsj2y0-unit-systemd-fsck-.service.drv'...
make[2]: *** [/nix/store/xrbpwcfdfv656r6b3aynmaj8qjg73nw9-linux-5.4.76-dev/lib/modules/5.4.76/source/Makefile:1729: /build/source/src] Error 2
make[1]: *** [/nix/store/xrbpwcfdfv656r6b3aynmaj8qjg73nw9-linux-5.4.76-dev/lib/modules/5.4.76/source/Makefile:179: sub-make] Error 2
make: *** [Makefile:26: module] Error 2
building '/nix/store/bc3wc39mkk7b9d9cb7zrk778v0jzlx5k-unit-dbus.service.drv'...
building '/nix/store/x7h491s0m5ik0j5956ym9v6fxs7ix5i3-unit-dbus.service.drv'...
builder for '/nix/store/n0qnx2m4ks4p3iirjwmnhn4cddr7ccgk-wireguard-1.0.20200908.drv' failed with exit code 2
cannot build derivation '/nix/store/jskdz7bi3xsiqbvyhg33mjl82np7hrly-kernel-modules.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/dcjgpy0ifn9warfrf1ij1fsma0zndl0v-linux-5.4.76-modules.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/s56cnlbni6mnr4swvcpqq60gd2jm7a8q-nixos-system-shachi-20.09.1721.896270d629e.drv': 1 dependencies couldn't be built
error: build of '/nix/store/s56cnlbni6mnr4swvcpqq60gd2jm7a8q-nixos-system-shachi-20.09.1721.896270d629e.drv' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment