Making all in vde_l3 make[2]: Entering directory '/var/tmp/portage/net-misc/vde-2.3.2_p20191011/work/vde-2-c7b36a57831a9067c8619c3e17a03e595623b3eb/src/vde_l3' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -Wall -O2 -pipe -march=native -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -c -o vde_l3.o vde_l3.c vde_l3.c: In function ‘newmgmtconn’: vde_l3.c:1291:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1291 | write(new,buf,strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ vde_l3.c:1292:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1292 | write(new,prompt,strlen(prompt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vde_l3.c: In function ‘mgmtcommand’: vde_l3.c:1226:4: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1226 | write(outfd,prompt,strlen(prompt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vde_l3.c: In function ‘printoutc’: vde_l3.c:863:2: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 863 | write(fd,outbuf,strlen(outbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slibtool --tag=CC --tag=disable-static --mode=link x86_64-pc-linux-gnu-gcc -Wall -O2 -pipe -march=native -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -module -avoid-version -export-dynamic -Wl,-O1 -Wl,--as-needed -o vde_l3 vde_l3.o ../../src/common/libvdecommon.la ../../src/lib/libvdeplug.la -ldl slibtool: link: x86_64-pc-linux-gnu-gcc .libs/vde_l3.o -Wl,--whole-archive ../../src/common/.libs/libvdecommon.a -Wl,--no-whole-archive -Wall -O2 -pipe -march=native -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -Wl,-O1 -Wl,--as-needed -ldl -L../../src/lib/.libs -lvdeplug -ldl -shared -fPIC -Wl,-soname -Wl,vde_l3 -o vde_l3 -Wl,--export-dynamic x86_64-pc-linux-gnu-gcc: error: .libs/vde_l3.o: No such file or directory slibtool: exec error upon slbt_exec_link_create_library(), line 1446: (see child process error messages). slibtool: < returned to > slbt_exec_link(), line 1819. make[2]: *** [Makefile:492: vde_l3] Error 2 make[2]: Leaving directory '/var/tmp/portage/net-misc/vde-2.3.2_p20191011/work/vde-2-c7b36a57831a9067c8619c3e17a03e595623b3eb/src/vde_l3' make[1]: *** [Makefile:660: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-misc/vde-2.3.2_p20191011/work/vde-2-c7b36a57831a9067c8619c3e17a03e595623b3eb/src' make: *** [Makefile:400: all-recursive] Error 1 * ERROR: net-misc/vde-2.3.2_p20191011::gentoo failed (compile phase): * emake failed
Created attachment 690522 [details] vde-2.3.2_p20191011:20210310-090556.log buildlog
Created attachment 692187 [details, diff] https://github.com/virtualsquare/vde-2/pull/24
This is because the build uses -module for binaries which are not libraries which will not work. GNU libtool works by silently filtering out -module of course... I made a PR here which fixes it and attached the patch. https://github.com/virtualsquare/vde-2/pull/24 Additionally it seems the upstream moved and I made a second PR to fix a parallel make bug which also occurs with libtool, I am not sure when it was introduced. https://github.com/virtualsquare/vde-2/pull/25
I made a second issue for the parallel make bug. https://bugs.gentoo.org/776982
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b77fed6ae4f0145da7fe9f8ece1544e168a0b61 commit 8b77fed6ae4f0145da7fe9f8ece1544e168a0b61 Author: Adam Feldman <NP-Hardass@gentoo.org> AuthorDate: 2021-03-18 15:54:26 +0000 Commit: Adam Feldman <NP-Hardass@gentoo.org> CommitDate: 2021-03-18 15:59:24 +0000 net-misc/vde: Fix compilation with slibtool Closes: https://bugs.gentoo.org/775272 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Adam Feldman <NP-Hardass@gentoo.org> .../vde/files/vde-2.3.2-slibtool-support.patch | 49 ++++++++++++ net-misc/vde/vde-2.3.2_p20191011-r1.ebuild | 91 ++++++++++++++++++++++ 2 files changed, 140 insertions(+)
Fixed upstream. https://github.com/virtualsquare/vde-2/commit/f3d56d0883663b2c72d364161a738861dd519914