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

linuxPackages_5_4.wireguard: broken on nixos-20.09-small #103368

Closed
erictapen opened this issue Nov 11, 2020 · 1 comment
Closed

linuxPackages_5_4.wireguard: broken on nixos-20.09-small #103368

erictapen opened this issue Nov 11, 2020 · 1 comment

Comments

@erictapen
Copy link
Member

Describe the bug

nix build github:nixos/nixpkgs/nixos-20.09-small#linuxPackages_5_4.wireguard fails.

@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/9faajb344sq64b4qsp95n1acws562kh6-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
building
build flags: -j2 -l2 SHELL=/nix/store/2jysm3dfsgby5sw5jgj43qjrb5v79ms9-bash-4.4-p23/bin/bash module
  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
  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
  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
  CC [M]  /build/source/src/crypto/zinc/blake2s/blake2s.o
  AS [M]  /build/source/src/crypto/zinc/blake2s/blake2s-x86_64.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 pre>
  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 pre>
  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>
make[3]: *** Waiting for unfinished jobs....
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

To Reproduce

See above.

Expected behavior
It should build.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context

Git bisect tells me, that d0e3de0 is at fault.
Currently bisecting the linux kernel, but that takes a long time and probably doesn't concern Nixpkgs.

Notify maintainers

Metadata

I'll skip this, as this concerns a flake output.

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute: linuxPackages_5_4.wireguard
# a list of nixos modules affected by the problem
module:
@erictapen
Copy link
Member Author

Closed in #103383

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant