Summary: | dev-libs/libgcrypt: libgcrypt-config --libs gives fgrep warning with sys-apps/grep-3.8 (net-misc/grive-0.5.2_pre20211128-r1:0 - CMake Error at libgrive/CMakeLists.txt:75 (add_library)) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Mikle Kolyada (RETIRED) <zlogene> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | base-system, junghans |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt.bz2 environment etc.portage.tar.bz2 logs.tar.bz2 net-misc:grive-0.5.2_pre20211128-r1:20220904-023607.log temp.tar.bz2 |
Description
Toralf Förster
![]() Created attachment 803152 [details]
emerge-info.txt
Created attachment 803155 [details]
emerge-history.txt.bz2
Created attachment 803158 [details]
environment
Created attachment 803161 [details]
etc.portage.tar.bz2
Created attachment 803164 [details]
logs.tar.bz2
Created attachment 803167 [details]
net-misc:grive-0.5.2_pre20211128-r1:20220904-023607.log
Created attachment 803170 [details]
temp.tar.bz2
Downgrading to grep 3.7 allows the build to work. The warning output from 3.8 is breaking things. This is actually an issue in libgcrypt-config, not grive. Grive's CMake is calling "libgcrypt-config --libs" and "libgcrypt-config --cflags" which uses fgrep and produces that warning. (In reply to Christoph Junghans from comment #9) > This is actually an issue in libgcrypt-config, not grive. > > Grive's CMake is calling "libgcrypt-config --libs" and "libgcrypt-config > --cflags" which uses fgrep and produces that warning. Two comments: 1. It sends that to stderr and I wouldn't expect that to impact usage here, as the error code indeed remains successful? 2. grive should really be using pkg-config anyway (PKG_CHECK_MODULES). But it's an issue that libgcrypt whines anyway so I'll fix that. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1b7bc443ed4de4e83812e7cd360c9bcc9bb8e3a commit d1b7bc443ed4de4e83812e7cd360c9bcc9bb8e3a Author: Sam James <sam@gentoo.org> AuthorDate: 2022-09-11 17:48:45 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-11 17:48:45 +0000 dev-libs/libksba: fix fgrep warnings in ksba-config Closes: https://bugs.gentoo.org/868384 Signed-off-by: Sam James <sam@gentoo.org> .../files/libksba-1.6.0-no-fgrep-ksba-config.patch | 21 +++++++++++++++++++++ ...libksba-1.6.0.ebuild => libksba-1.6.0-r1.ebuild} | 7 ++++++- 2 files changed, 27 insertions(+), 1 deletion(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89403d02a8a9cfdf3ed6356159505774f0b501c2 commit 89403d02a8a9cfdf3ed6356159505774f0b501c2 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-09-11 17:45:13 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-11 17:45:13 +0000 dev-libs/libgcrypt: fix fgrep warnings in libgcrypt-config Closes: https://bugs.gentoo.org/868384 Signed-off-by: Sam James <sam@gentoo.org> .../libgcrypt-1.9.4-no-fgrep-libgcrypt-config.patch | 21 +++++++++++++++++++++ ...-1.10.1-r1.ebuild => libgcrypt-1.10.1-r2.ebuild} | 1 + ...pt-1.9.4-r1.ebuild => libgcrypt-1.9.4-r2.ebuild} | 1 + 3 files changed, 23 insertions(+) |