Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make fails on centos7 #567

Closed
vbatts opened this issue Nov 7, 2018 · 5 comments
Closed

make fails on centos7 #567

vbatts opened this issue Nov 7, 2018 · 5 comments

Comments

@vbatts
Copy link
Contributor

vbatts commented Nov 7, 2018

I've installed the podman rpm (podman-0.9.2-5.git37a2afe.el7_5.x86_64) to ensure all dependencies are present, and then built&installed podman master

$ podman version
Version:       0.10.2-dev
Go Version:    go1.11
Git Commit:    "76360d9a6ef73f694138766b81f380e45a860556"
Built:         Mon Nov  5 12:44:35 2018
OS/Arch:       linux/amd64

When I attempt to make skopeo master (187299a) it fails at this point:

STEP 7: COMMIT skopeobuildimage
/usr/local/bin/podman run --rm --security-opt label:disable -v $(pwd):/src/github.com/containers/skopeo \
        skopeobuildimage make binary-local  BUILDTAGS='  '
Invalid --security-opt 1: "label:disable"
make: *** [binary] Error 125
@rhatdan
Copy link
Member

rhatdan commented Nov 7, 2018

--security-opt label=disable

Podman only supports the label=, not the label:

mtrmac added a commit to mtrmac/skopeo that referenced this issue Nov 8, 2018
podman only accepts the = syntax.

Fixes containers#567.

Signed-off-by: Miloslav Trmač <[email protected]>
@mtrmac
Copy link
Contributor

mtrmac commented Nov 8, 2018

Thanks, fixed — but you almost certainly want make binary-local to get a locally usable binary instead of an Ubuntu-dependent dynamically linked one.

@rhatdan @runcom Should we make local builds the default target?

I’m even seriously tempted to just drop the in-container build targets altogether… we don’t use it, and it shows.

@vbatts
Copy link
Contributor Author

vbatts commented Nov 8, 2018 via email

@rhatdan
Copy link
Member

rhatdan commented Nov 9, 2018

@mtrmac Yes local should be the default.

@vorburger
Copy link

--security-opt label=disable : Podman only supports the label=, not the label:

Thanks for recording this here; it helped to fix kubernetes/test-infra#13045.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants