>>> Compiling source in /tmp/portage/app-emulation/containerd-1.1.2/work/containerd-1.1.2/src/github.com/containerd/containerd ... make -j32 -l32 BUILDTAGS=no_btrfs seccomp make: *** No rule to make target 'seccomp'. Stop. * ERROR: app-emulation/containerd-1.1.2::gentoo failed (compile phase): * emake failed Calculating dependencies... done! [ebuild U ] app-emulation/containerd-1.1.2::gentoo [1.1.1::gentoo] USE="cri%* seccomp%* -apparmor% -btrfs -hardened" 0 KiB So apparently it's a quoting issue with BUILTAGS variable and how it gets passed to make. seccomp ends up as a make target, not as an element of BUILDTAGS variable. I can provide a patch a bit later today.
Created attachment 546136 [details, diff] fix-multi-useflag-build fix is simple. @ expands to all elements individually quoted, * expands to all elements quoted as a whole.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66dcf6865839e6dec857b1a39ef14df98bdf3fd8 commit 66dcf6865839e6dec857b1a39ef14df98bdf3fd8 Author: Manuel Rüger <mrueg@gentoo.org> AuthorDate: 2018-09-07 06:18:33 +0000 Commit: Manuel Rüger <mrueg@gentoo.org> CommitDate: 2018-09-07 06:18:33 +0000 app-emulation/containerd: Fix build for multiple BUILDTAGS Closes: https://bugs.gentoo.org/show_bug.cgi?id=665418 Package-Manager: Portage-2.3.49, Repoman-2.3.10 app-emulation/containerd/containerd-1.1.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)