Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 693594 - net-vpn/wireguard-0.0.20190905 : In file included from .../work/WireGuard-0.0.20190905/src/compat/compat.h:396, from <command-line>: ./include/linux/spinlock.h:60:10: fatal error: asm/mmiowb.h: No such file or directory
Summary: net-vpn/wireguard-0.0.20190905 : In file included from .../work/WireGuard-0.0...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jason A. Donenfeld
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-06 08:38 UTC by Leho Kraav (:macmaN @lkraav)
Modified: 2019-09-08 14:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leho Kraav (:macmaN @lkraav) 2019-09-06 08:38:18 UTC
Kernel 5.3.0-rc7, previous release 0.0.20190702 has been building fine.

```
$ [-] sudo emerge -va1 wireguard

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild     U ~] net-vpn/wireguard-0.0.20190905::gentoo [0.0.20190702::gentoo] USE="module tools -debug -module-src" 321 KiB

Total: 1 package (1 upgrade), Size of downloads: 321 KiB

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) net-vpn/wireguard-0.0.20190905::gentoo
[91.0.3@papaya /] Phase: clean
>>> Downloading 'http://distfiles.gentoo.org/distfiles/WireGuard-0.0.20190905.tar.xz'
--2019-09-06 11:28:39--  http://distfiles.gentoo.org/distfiles/WireGuard-0.0.20190905.tar.xz
Resolving distfiles.gentoo.org... 140.211.166.134, 64.50.236.52, 156.56.247.195, ...
Connecting to distfiles.gentoo.org|140.211.166.134|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 328440 (321K) [application/x-xz]
Saving to: ‘/usr/local/portage/distfiles/WireGuard-0.0.20190905.tar.xz.__download__’

/usr/local/portage/ 100%[===================>] 320,74K  96,2KB/s    in 3,3s    

2019-09-06 11:28:43 (96,2 KB/s) - ‘/usr/local/portage/distfiles/WireGuard-0.0.20190905.tar.xz.__download__’ saved [328440/328440]

 * WireGuard-0.0.20190905.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                           [ ok ]
[91.0.3@papaya /] Phase: setup
 * FEATURES='assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news noinfo parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr'
 * CFLAGS='-O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed'
 * CXXFLAGS='-O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed'
 * FFLAGS='-O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed'
 * FCFLAGS='-O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed'
 * F77FLAGS='-O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed'
 * LDFLAGS='-Wl,-O1 -Wl,--as-needed'
 * MAKEOPTS='-j5'
 * gcc (Gentoo 8.3.0-r1 p1.1) 8.3.0
 * Linux papaya 5.3.0-rc7+gentoo+ #98 SMP PREEMPT Tue Sep 3 08:37:55 EEST 2019 x86_64 Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz GenuineIntel GNU/Linux
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     5.3.0-rc7+gentoo
 * Checking for suitable kernel configuration options...                                                                                                                                                                               [ ok ]
[91.0.3@papaya /] Phase: unpack
>>> Unpacking source...
>>> Unpacking WireGuard-0.0.20190905.tar.xz to /var/tmp/portage/net-vpn/wireguard-0.0.20190905/work
>>> Source unpacked in /var/tmp/portage/net-vpn/wireguard-0.0.20190905/work
[91.0.3@papaya /] Phase: prepare
>>> Preparing source in /var/tmp/portage/net-vpn/wireguard-0.0.20190905/work/WireGuard-0.0.20190905 ...
>>> Source prepared.
[91.0.3@papaya /] Phase: configure
>>> Configuring source in /var/tmp/portage/net-vpn/wireguard-0.0.20190905/work/WireGuard-0.0.20190905 ...
>>> Source configured.
[91.0.3@papaya /] Phase: compile
>>> Compiling source in /var/tmp/portage/net-vpn/wireguard-0.0.20190905/work/WireGuard-0.0.20190905 ...
 * Preparing wireguard module
make -j5 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' KERNELDIR=/usr/src/linux module 
  CC [M]  /var/tmp/portage/net-vpn/wireguard-0.0.20190905/work/WireGuard-0.0.20190905/src/main.o
  CC [M]  /var/tmp/portage/net-vpn/wireguard-0.0.20190905/work/WireGuard-0.0.20190905/src/noise.o
  CC [M]  /var/tmp/portage/net-vpn/wireguard-0.0.20190905/work/WireGuard-0.0.20190905/src/device.o
  CC [M]  /var/tmp/portage/net-vpn/wireguard-0.0.20190905/work/WireGuard-0.0.20190905/src/peer.o
  CC [M]  /var/tmp/portage/net-vpn/wireguard-0.0.20190905/work/WireGuard-0.0.20190905/src/timers.o
In file included from ./include/linux/seqlock.h:36,
                 from ./include/linux/time.h:6,
                 from ./include/linux/ktime.h:24,
                 from /var/tmp/portage/net-vpn/wireguard-0.0.20190905/work/WireGuard-0.0.20190905/src/compat/compat.h:396,
                 from <command-line>:
./include/linux/spinlock.h:60:10: fatal error: asm/mmiowb.h: No such file or directory
 #include <asm/mmiowb.h>
          ^~~~~~~~~~~~~~
compilation terminated.
In file included from ./include/linux/seqlock.h:36,
                 from ./include/linux/time.h:6,
                 from ./include/linux/ktime.h:24,
                 from /var/tmp/portage/net-vpn/wireguard-0.0.20190905/work/WireGuard-0.0.20190905/src/compat/compat.h:396,
                 from <command-line>:
./include/linux/spinlock.h:60:10: fatal error: asm/mmiowb.h: No such file or directory
 #include <asm/mmiowb.h>
          ^~~~~~~~~~~~~~
compilation terminated.
In file included from ./include/linux/seqlock.h:36,
                 from ./include/linux/time.h:6,
                 from ./include/linux/ktime.h:24,
                 from /var/tmp/portage/net-vpn/wireguard-0.0.20190905/work/WireGuard-0.0.20190905/src/compat/compat.h:396,
                 from <command-line>:
./include/linux/spinlock.h:60:10: fatal error: asm/mmiowb.h: No such file or directory
 #include <asm/mmiowb.h>
          ^~~~~~~~~~~~~~
compilation terminated.
In file included from ./include/linux/seqlock.h:36,
                 from ./include/linux/time.h:6,
                 from ./include/linux/ktime.h:24,
                 from /var/tmp/portage/net-vpn/wireguard-0.0.20190905/work/WireGuard-0.0.20190905/src/compat/compat.h:396,
                 from <command-line>:
./include/linux/spinlock.h:60:10: fatal error: asm/mmiowb.h: No such file or directory
 #include <asm/mmiowb.h>
          ^~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:280: /var/tmp/portage/net-vpn/wireguard-0.0.20190905/work/WireGuard-0.0.20190905/src/timers.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from ./include/linux/seqlock.h:36,
                 from ./include/linux/time.h:6,
                 from ./include/linux/ktime.h:24,
                 from /var/tmp/portage/net-vpn/wireguard-0.0.20190905/work/WireGuard-0.0.20190905/src/compat/compat.h:396,
                 from <command-line>:
./include/linux/spinlock.h:60:10: fatal error: asm/mmiowb.h: No such file or directory
 #include <asm/mmiowb.h>
          ^~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:280: /var/tmp/portage/net-vpn/wireguard-0.0.20190905/work/WireGuard-0.0.20190905/src/main.o] Error 1
make[2]: *** [scripts/Makefile.build:280: /var/tmp/portage/net-vpn/wireguard-0.0.20190905/work/WireGuard-0.0.20190905/src/noise.o] Error 1
make[2]: *** [scripts/Makefile.build:280: /var/tmp/portage/net-vpn/wireguard-0.0.20190905/work/WireGuard-0.0.20190905/src/device.o] Error 1
make[2]: *** [scripts/Makefile.build:280: /var/tmp/portage/net-vpn/wireguard-0.0.20190905/work/WireGuard-0.0.20190905/src/peer.o] Error 1
make[1]: *** [Makefile:1624: _module_/var/tmp/portage/net-vpn/wireguard-0.0.20190905/work/WireGuard-0.0.20190905/src] Error 2
make: *** [Makefile:38: module] Error 2
 * ERROR: net-vpn/wireguard-0.0.20190905::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-vpn/wireguard-0.0.20190905::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-vpn/wireguard-0.0.20190905::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-vpn/wireguard-0.0.20190905/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-vpn/wireguard-0.0.20190905/temp/environment'.
 * Working directory: '/var/tmp/portage/net-vpn/wireguard-0.0.20190905/work/WireGuard-0.0.20190905/src'
 * S: '/var/tmp/portage/net-vpn/wireguard-0.0.20190905/work/WireGuard-0.0.20190905'
[91.0.3@papaya /] Phase: 

>>> Failed to emerge net-vpn/wireguard-0.0.20190905, Log file:

>>>  '/var/tmp/portage/net-vpn/wireguard-0.0.20190905/temp/build.log'

 * Messages for package net-vpn/wireguard-0.0.20190905:

 * ERROR: net-vpn/wireguard-0.0.20190905::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-vpn/wireguard-0.0.20190905::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-vpn/wireguard-0.0.20190905::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-vpn/wireguard-0.0.20190905/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-vpn/wireguard-0.0.20190905/temp/environment'.
 * Working directory: '/var/tmp/portage/net-vpn/wireguard-0.0.20190905/work/WireGuard-0.0.20190905/src'
 * S: '/var/tmp/portage/net-vpn/wireguard-0.0.20190905/work/WireGuard-0.0.20190905'
leho@papaya ~ $
```
Comment 1 Leho Kraav (:macmaN @lkraav) 2019-09-08 14:44:09 UTC
This bug may be invalid, potentially an NFS network mount issue. Subject wireguard version has been building fine today.