Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917117 - app-containers/crun-1.11.2 - src/libcrun/container.c:26:10: fatal error: seccomp.h: No such file or directory
Summary: app-containers/crun-1.11.2 - src/libcrun/container.c:26:10: fatal error: secc...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: robertgzr
URL:
Whiteboard:
Keywords:
: 922864 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-11-10 11:57 UTC by Toralf Förster
Modified: 2024-10-24 12:37 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.06 KB, text/plain)
2023-11-10 11:57 UTC, Toralf Förster
Details
app-containers:crun-1.11.2:20231110-113651.log (app-containers:crun-1.11.2:20231110-113651.log,126.69 KB, text/plain)
2023-11-10 11:57 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,93.87 KB, text/plain)
2023-11-10 11:57 UTC, Toralf Förster
Details
environment (environment,91.38 KB, text/plain)
2023-11-10 11:57 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.05 KB, application/x-xz)
2023-11-10 11:57 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,11.36 KB, application/x-xz)
2023-11-10 11:57 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,13.18 KB, application/x-xz)
2023-11-10 11:57 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,161.51 KB, text/plain)
2023-11-10 11:57 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,28.09 KB, application/x-xz)
2023-11-10 11:57 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
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.
Comment 11 Agostino Sarubbo gentoo-dev 2024-10-24 12:37:07 UTC
*** Bug 922864 has been marked as a duplicate of this bug. ***