Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.
This repository was archived by the owner on May 12, 2021. It is now read-only.

rootfs-builder: Rootfs fedora build fails with extra pkgs as "libseccomp" #151

@nitkon

Description

@nitkon

kata-containers/osbuilder/rootfs-builder# script -fec 'sudo -E GOPATH=$GOPATH AGENT_INIT=yes USE_DOCKER=true EXTRA_PKGS="libseccomp" ./rootfs.sh fedora'

Step 5/6 : ENV GOROOT /usr/go
 ---> Running in 0cbc263a9022
 ---> a80b5df51ef5
Removing intermediate container 0cbc263a9022
Step 6/6 : ENV PATH $PATH:$GOROOT/bin:$GOPATH/bin
 ---> Running in 5703f0cc0fa8
 ---> 60565025a4cd
Removing intermediate container 5703f0cc0fa8
Successfully built 60565025a4cd
Fedora-28 base                                  2.0 MB/s |  54 MB     00:26    
Last metadata expiration check: 0:00:23 ago on Sun Sep  2 14:57:58 2018.
Package libseccomp-2.3.3-2.fc28.ppc64le is already installed, skipping.
Package iptables-1.6.2-2.fc28.ppc64le is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!
INFO: Pull Agent source code
[OK] Pull Agent source code
INFO: Build agent
~/nitesh/split_patch/src/github.com/kata-containers/agent /
rm -f kata-agent kata-agent.service
go build -tags "seccomp" -o kata-agent -ldflags "-X main.version=1.2.0-fcfa054a757e7c17afba47b0b4d7e91cbb8688ed-dirty"
# pkg-config --cflags libseccomp libseccomp
Package libseccomp was not found in the pkg-config search path.
Perhaps you should add the directory containing `libseccomp.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libseccomp', required by 'virtual:world', not found
Package 'libseccomp', required by 'virtual:world', not found
pkg-config: exit status 1
make: *** [Makefile:44: kata-agent] Error 2
Script done, file is typescript

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions