Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 665418 - app-emulation/containerd-1.1.2: make: *** No rule to make target 'seccomp'. Stop
Summary: app-emulation/containerd-1.1.2: make: *** No rule to make target 'seccomp'. ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Manuel Rüger (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2018-09-07 01:59 UTC by Georgy Yakovlev
Modified: 2018-09-07 06:19 UTC (History)
1 user (show)

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


Attachments
fix-multi-useflag-build (0001-app-emulation-containerd-fix-multi-useflag-build.patch,1.09 KB, patch)
2018-09-07 05:28 UTC, Georgy Yakovlev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Georgy Yakovlev archtester gentoo-dev 2018-09-07 01:59:04 UTC
>>> 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.
Comment 1 Georgy Yakovlev archtester gentoo-dev 2018-09-07 05:28:56 UTC
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.
Comment 2 Larry the Git Cow gentoo-dev 2018-09-07 06:19:11 UTC
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(-)