Closed dombrowa closed 1 year ago
The package to install was sudo dnf install libseccomp-devel
Yes, and this is what the developer would be expected to do following the message reported by configure. What would you expect to happen?
You can also build it without seccomp support if you don't need/want it:
$ ./configure --prefix=/usr --without-seccomp
...
with_seccomp : no (no = no seccomp profile; Linux only)
...
Most people use default, and as such without customization, the default configure results in a failed compile.
On Tue, Jul 11, 2023 at 8:26 AM Stefan Berger @.***> wrote:
The package to install was sudo dnf install libseccomp-devel
Yes, and this is what the developer would be expected to do following the message reported by configure. What would you expect to happen?
You can also build it without seccomp support if you don't need/want it:
$ ./configure --prefix=/usr --without-seccomp ... with_seccomp : no (no = no seccomp profile; Linux only) ...
— Reply to this email directly, view it on GitHub https://github.com/stefanberger/swtpm/issues/808#issuecomment-1630732190, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVHKXYX2Q45TTHR7UZAET3XPVA7DANCNFSM6AAAAAA2FD4ROI . You are receiving this because you authored the thread.Message ID: @.***>
It is not a bug, but a feature.
On Linux it forces the user to install seccomp devel support...
Describe the bug
On Fedora the libseccomp-devel was missing in the dependencies to build the code with default checkout and configure. Also autoconf package providing /usr//bin/autoreconf has to be installed.
configure: error: "Is libseccomp-devel installed? -- could not get cflags for libseccomp"
Required: To Reproduce (without these steps your issue may be deleted)
Expected behavior
No error regarding missing libs to compile
Desktop (please complete the following information):
Versions of relevant components
Log files Please attach any log files. If using a VM and it was started with libvirt, attach the logfile found in
/var/log/swtpm/libvirt/qemu/VM-NAME-swtpm.log
.Additional context The package to install was sudo dnf install libseccomp-devel