Created attachment 510218 [details] emerge --info sys-apps/grep-3.1 fail build with static flag with errors /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib64/libpcre.a(libpcre_la-pcre_jit_compile.o): In function `sljit_generate_code': (.text.unlikely+0x3d6): undefined reference to `pthread_mutex_lock' (.text.unlikely+0x472): undefined reference to `pthread_mutex_unlock' (.text.unlikely+0x4c4): undefined reference to `pthread_mutex_unlock' (.text.unlikely+0x55a): undefined reference to `pthread_mutex_unlock'
Created attachment 510220 [details] build log
LIB_DEPEND="pcre? ( >=dev-libs/libpcre-7.8-r1[static-libs(+)] )" RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} ) Um. Why?
[ebuild R ] dev-libs/libpcre-8.41:3::gentoo USE="bzip2 cxx jit pcre16 readline recursion-limit static-libs (unicode) zlib -libedit -pcre32" ABI_X86="32 (64) (-x32)" 0 KiB
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19c92a966c7f9b03da46dc047e4655e5e95aed30 commit 19c92a966c7f9b03da46dc047e4655e5e95aed30 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-05-03 23:56:43 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-03 23:57:07 +0000 sys-apps/grep: add 3.7_p20220425 (unkeyworded). Notably switches to libpcre2 (yay). Pre-release for testing. Bug: https://bugs.gentoo.org/514454 Bug: https://bugs.gentoo.org/569816 Bug: https://bugs.gentoo.org/641186 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/grep/Manifest | 2 + sys-apps/grep/grep-3.7_p20220425.ebuild | 72 +++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+)