[WireGuard] Wireguard in OpenWRT/LEDE: FYI: Pull Request

Kalin KOZHUHAROV me.kalin at gmail.com
Wed Nov 16 09:48:54 CET 2016


On Wed, Nov 16, 2016 at 5:15 PM, Baptiste Jonglez
<baptiste at bitsofnetworks.org> wrote:
> On Tue, Nov 15, 2016 at 05:01:14PM +0100, Dan Lüdtke wrote:
>> thanks for the various feedback, guys! Here is the next round:
>>
>> https://github.com/openwrt/packages/pull/3514
>
> This one is now merged, thanks for the work Dan!
>

Hmm, something is iffy... I updated my buildroot (./scripts/feeds
update -a) and got the new versions, but it fails to build...

Here is the relevant log (from `make -j1 V=s`) :
...
make[3]: Leaving directory '/srv/OpenWRT/openwrt/package/libs/libmnl'
make[3]: Entering directory
'/srv/OpenWRT/openwrt/package/network/utils/resolveip'
rm -rf /srv/OpenWRT/openwrt/staging_dir/target-mips_34kc_musl-1.1.15/root-ar71xx/tmp-resolveip
mkdir -p /srv/OpenWRT/openwrt/staging_dir/target-mips_34kc_musl-1.1.15/root-ar71xx/stamp
/srv/OpenWRT/openwrt/staging_dir/target-mips_34kc_musl-1.1.15/root-ar71xx/tmp-resolveip
install -d -m0755
/srv/OpenWRT/openwrt/staging_dir/target-mips_34kc_musl-1.1.15/root-ar71xx/tmp-resolveip/usr/bin
install -m0755 /srv/OpenWRT/openwrt/build_dir/target-mips_34kc_musl-1.1.15/resolveip/resolveip
/srv/OpenWRT/openwrt/staging_dir/target-mips_34kc_musl-1.1.15/root-ar71xx/tmp-resolveip/usr/bin/
SHELL= flock /srv/OpenWRT/openwrt/tmp/.root-copy.flock -c 'cp -fpR
/srv/OpenWRT/openwrt/staging_dir/target-mips_34kc_musl-1.1.15/root-ar71xx/tmp-resolveip/.
/srv/OpenWRT/openwrt/staging_dir/target-mips_34kc_musl-1.1.15/root-ar71xx/'
rm -rf /srv/OpenWRT/openwrt/staging_dir/target-mips_34kc_musl-1.1.15/root-ar71xx/tmp-resolveip
touch /srv/OpenWRT/openwrt/staging_dir/target-mips_34kc_musl-1.1.15/root-ar71xx/stamp/.resolveip_installed
if [ -f /srv/OpenWRT/openwrt/staging_dir/target-mips_34kc_musl-1.1.15/pkginfo/resolveip.default.install.clean
]; then rm -f /srv/OpenWRT/openwrt/staging_dir/target-mips_34kc_musl-1.1.15/pkginfo/resolveip.default.install
/srv/OpenWRT/openwrt/staging_dir/target-mips_34kc_musl-1.1.15/pkginfo/resolveip.default.install.clean;
fi; echo "resolveip" >>
/srv/OpenWRT/openwrt/staging_dir/target-mips_34kc_musl-1.1.15/pkginfo/resolveip.default.install
make[3]: Leaving directory
'/srv/OpenWRT/openwrt/package/network/utils/resolveip'
make[3]: Entering directory '/srv/OpenWRT/openwrt/feeds/packages/net/wireguard'
mkdir -p /srv/OpenWRT/openwrt/bin/ar71xx/packages
/srv/OpenWRT/openwrt/build_dir/target-mips_34kc_musl-1.1.15/WireGuard-experimental-0.0.20161110/ipkg-ar71xx/wireguard-tools/CONTROL
/srv/OpenWRT/openwrt/staging_dir/target-mips_34kc_musl-1.1.15/pkginfo
install -d -m0755
/srv/OpenWRT/openwrt/build_dir/target-mips_34kc_musl-1.1.15/WireGuard-experimental-0.0.20161110/ipkg-ar71xx/wireguard-tools/usr/bin/
install -m0755 /srv/OpenWRT/openwrt/build_dir/target-mips_34kc_musl-1.1.15/WireGuard-experimental-0.0.20161110/src/tools/wg
/srv/OpenWRT/openwrt/build_dir/target-mips_34kc_musl-1.1.15/WireGuard-experimental-0.0.20161110/ipkg-ar71xx/wireguard-tools/usr/bin/
install -m0755 ./files/wireguard.sh
/srv/OpenWRT/openwrt/build_dir/target-mips_34kc_musl-1.1.15/WireGuard-experimental-0.0.20161110/ipkg-ar71xx/wireguard-tools/lib/netifd/proto/
install: target
'/srv/OpenWRT/openwrt/build_dir/target-mips_34kc_musl-1.1.15/WireGuard-experimental-0.0.20161110/ipkg-ar71xx/wireguard-tools/lib/netifd/proto/'
is not a directory: No such file or directory
Makefile:106: recipe for target
'/srv/OpenWRT/openwrt/bin/ar71xx/packages/packages/wireguard-tools_0.0.20161110-2_ar71xx.ipk'
failed
make[3]: *** [/srv/OpenWRT/openwrt/bin/ar71xx/packages/packages/wireguard-tools_0.0.20161110-2_ar71xx.ipk]
Error 1
make[3]: Leaving directory '/srv/OpenWRT/openwrt/feeds/packages/net/wireguard'
package/Makefile:196: recipe for target
'package/feeds/packages/wireguard/compile' failed
make[2]: *** [package/feeds/packages/wireguard/compile] Error 2
make[2]: Leaving directory '/srv/OpenWRT/openwrt'
package/Makefile:193: recipe for target
'/srv/OpenWRT/openwrt/staging_dir/target-mips_34kc_musl-1.1.15/stamp/.package_compile'
failed
make[1]: *** [/srv/OpenWRT/openwrt/staging_dir/target-mips_34kc_musl-1.1.15/stamp/.package_compile]
Error 2
make[1]: Leaving directory '/srv/OpenWRT/openwrt'
/srv/OpenWRT/openwrt/include/toplevel.mk:192: recipe for target 'world' failed
make: *** [world] Error 2

$ ll /srv/OpenWRT/openwrt/build_dir/target-mips_34kc_musl-1.1.15/WireGuard-experimental-0.0.20161110/ipkg-ar71xx/wireguard-tools/
total 8
4 drwxr-xr-x 2 kalin users 4096 Nov 16 17:26 CONTROL
4 drwxr-xr-x 3 kalin users 4096 Nov 16 17:26 usr

Hmm, "No such file or directory" ? Somewhere mkdir -p is needed?


It used to work 4 days ago, I successfully built/tested/still running:
kmod-wireguard 4.4.14+0.0.20161105-1
wireguard-tools 0.0.20161105-1

I'll try a clean recompile of everything now...

Kalin.


More information about the WireGuard mailing list