Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733622 - sys-libs/libseccomp-2.5.0 failing on configure due to missing gperf (Gentoo Prefix - emerge system)
Summary: sys-libs/libseccomp-2.5.0 failing on configure due to missing gperf (Gentoo P...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-23 05:12 UTC by Sammy Pfeiffer
Modified: 2020-07-23 10:19 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sammy Pfeiffer 2020-07-23 05:12:42 UTC
Note that I believe this is not an error related to Gentoo Prefix bootstrap, but it's the only system I can currently test it on.

Full log on amd64 (too big to attach, same log can be found on x86): https://dev.azure.com/12719821/e566c963-8f77-4f01-b7bc-ae2d91b1334f/_apis/build/builds/2382/logs/52

Meaningful bit:
2020-07-22T16:15:17.9344459Z >>> Emerging (58 of 122) sys-libs/libseccomp-2.5.0::gentoo
2020-07-22T16:15:17.9756980Z  * libseccomp-2.5.0.tar.gz BLAKE2B SHA512 size ;-) ...                   [ ok ]

...


2020-07-22T16:15:20.4903796Z checking whether make supports nested variables... (cached) yes
2020-07-22T16:15:20.5288317Z checking for linux/seccomp.h... yes
2020-07-22T16:15:20.5403016Z checking for cython3... no
2020-07-22T16:15:20.5411567Z checking for cython... no
2020-07-22T16:15:20.5454211Z checking for x86_64-pc-linux-gnu-gperf... no
2020-07-22T16:15:20.5465285Z checking for gperf... no
2020-07-22T16:15:20.5470192Z configure: error: please install gperf
2020-07-22T16:15:20.5760816Z 
2020-07-22T16:15:20.5766336Z !!! Please attach the following file when seeking support:
2020-07-22T16:15:20.5767829Z !!! /tmp/gentoo/var/tmp/portage/sys-libs/libseccomp-2.5.0/work/libseccomp-2.5.0-abi_x86_64.amd64/config.log
2020-07-22T16:15:20.5792540Z  * ERROR: sys-libs/libseccomp-2.5.0::gentoo failed (configure phase):
2020-07-22T16:15:20.5819334Z  *   econf failed


Didn't happen with sys-libs/libseccomp-2.4.3.

This is currently breaking Gentoo Prefix bootstrap.

This is a new addition as can be seen here:
libseccomp 2.5.0 configure.ac needs gperf: https://github.com/seccomp/libseccomp/blob/v2.5.0/configure.ac#L122-L125

meanwhile libseccomp 2.4.3 doesn't: https://github.com/seccomp/libseccomp/blob/v2.4.3/configure.ac

I believe sys-libs/libseccomp-2.5.0 needs 'dev-util/gperf' added to its dependencies.
Comment 1 Larry the Git Cow gentoo-dev 2020-07-23 10:19:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22e856cb74b1d6ca5d6dce4f2626e14fbe2ccc8f

commit 22e856cb74b1d6ca5d6dce4f2626e14fbe2ccc8f
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-07-23 10:18:29 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-07-23 10:19:20 +0000

    sys-libs/libseccomp: >=2.5.0 now requires dev-util/gperf to build
    
    Thanks-to: Sammy Pfeiffer <sammypfeiffer@gmail.com>
    Closes: https://bugs.gentoo.org/733622
    Package-Manager: Portage-3.0.0, Repoman-2.3.23
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 sys-libs/libseccomp/libseccomp-2.5.0.ebuild | 5 ++++-
 sys-libs/libseccomp/libseccomp-9999.ebuild  | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)