Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 917117

Summary: app-containers/crun-1.11.2 - src/libcrun/container.c:26:10: fatal error: seccomp.h: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: robertgzr <robert>
Status: CONFIRMED ---    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-containers:crun-1.11.2:20231110-113651.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-11-10 11:57:45 UTC
too long lines were shrinked:

rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I /var/tmp/portage/app-containers/crun-1.11.2/work/crun-1.11.2/libocispec/src -I /var/tmp/portage/app-containers/crun-1.11.2/work/crun-1.11.2/libocispec/src -fvisibility=hidden -O3 -pipe -march=native -fno-diagnostics-color -fPIC -c sr
src/libcrun/container.c:26:10: fatal error: seccomp.h: No such file or directory
   26 | #include <seccomp.h>
      |          ^~~~~~~~~~~
compilation terminated.
rdlibtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -I /var/tmp/portage/app-containers/crun-1.11.2/work/crun-1.11.2/libocispec/src -I /var/tmp/portage/app-containers/crun-1.11.2/work/crun-1.11.2/libocispec/src -fvisibility=hidden -O3 -pipe -march=native -fno-diagnosti
rdlibtool: error logged in slbt_exec_compile(), line 209: Success.
make: *** [Makefile:2163: src/libcrun/libcrun_la-container.lo] Error 2
make: *** Waiting for unfinished jobs....

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20231109-082517

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.4
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0
  [2]   rust-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit ea9d6f0f96e51591be6f5514db379447ccf2799d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 10 10:50:23 2023 +0000

    2023-11-10 10:50:21 UTC

emerge -qpvO app-containers/crun
[ebuild  N    ] app-containers/crun-1.11.2  USE="bpf caps systemd -criu -seccomp (-selinux) -static-libs"
Comment 1 Toralf Förster gentoo-dev 2023-11-10 11:57:46 UTC
Created attachment 874448 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-10 11:57:48 UTC
Created attachment 874449 [details]
app-containers:crun-1.11.2:20231110-113651.log
Comment 3 Toralf Förster gentoo-dev 2023-11-10 11:57:49 UTC
Created attachment 874450 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-11-10 11:57:50 UTC
Created attachment 874451 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-11-10 11:57:51 UTC
Created attachment 874452 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-10 11:57:52 UTC
Created attachment 874453 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-11-10 11:57:53 UTC
Created attachment 874454 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-11-10 11:57:54 UTC
Created attachment 874455 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2023-11-10 11:57:55 UTC
Created attachment 874456 [details]
temp.tar.xz
Comment 10 orbea 2024-02-10 02:40:19 UTC
Not a slibtool issue, its failing to find seccomp.h.

src/libcrun/container.c:26:10: fatal error: seccomp.h: No such file or directory
   26 | #include <seccomp.h>
      |          ^~~~~~~~~~~
compilation terminated.

Even though the log shows its using --disable-seccomp.