Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 872068 - ecm.class: ecm_punt_bogus_dep(), _ecm_punt_kfqt_module() call commands that do not exist: pcregrep (was: net-libs/kdsoap-ws-discovery-client-0.2_pre20200927: ...)
Summary: ecm.class: ecm_punt_bogus_dep(), _ecm_punt_kfqt_module() call commands that d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: InOverlay
: 872065 872458 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-09-20 14:51 UTC by Agostino Sarubbo
Modified: 2022-10-16 13:25 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,78.33 KB, text/plain)
2022-09-20 14:51 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-09-20 14:51:10 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-libs/kdsoap-ws-discovery-client-0.2_pre20200927 calls commands that do not exist.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Please look for 'command not found' and/or 'no such file or directory'.
Comment 1 Agostino Sarubbo gentoo-dev 2022-09-20 14:51:13 UTC
Created attachment 813148 [details]
build.log

build log and emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-20 15:59:52 UTC
I guess needs grep[pcre]
Comment 3 Andreas Sturmlechner gentoo-dev 2022-09-22 20:52:57 UTC
It's actually coming from ecm.eclass' ecm_punt_bogus_dep revived in kde overlay commit 309489594344554c085f9bedb8a0b0b1cfcd0d0f.

Do you see a way around using pcregrep?
Comment 4 Andreas Sturmlechner gentoo-dev 2022-09-22 20:55:10 UTC
(In reply to Sam James from comment #2)
> I guess needs grep[pcre]
The binary is owned by dev-libs/libpcre though?
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-23 06:42:08 UTC
(In reply to Andreas Sturmlechner from comment #4)
> (In reply to Sam James from comment #2)
> > I guess needs grep[pcre]
> The binary is owned by dev-libs/libpcre though?

Oh aye. Sorry! Anyway, this is all from glib dropping pcre as a dep, and moving to pcre2, I imagine.
Comment 6 Andreas Sturmlechner gentoo-dev 2022-09-23 07:16:02 UTC
*** Bug 872458 has been marked as a duplicate of this bug. ***
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-23 07:24:38 UTC
I've not checked it at all but pcre2grep is provided by libpcre2. I suspect (but haven't investigated) that we could drop pcregrep from libpcre and symlink it in libpcre2. Dunno.
Comment 8 Andreas Sturmlechner gentoo-dev 2022-09-23 11:39:50 UTC
If pcre2grep does the same we can just add dev-libs/libpcre2 to BDEPEND, it's a cheap dependency for us since it is already required by dev-qt/qtcore:5.
Comment 9 Larry the Git Cow gentoo-dev 2022-09-24 21:20:02 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=70409b54aad5815075dad6a1926807baa6b663fa

commit 70409b54aad5815075dad6a1926807baa6b663fa
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-09-24 21:04:07 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-09-24 21:19:46 +0000

    ecm.eclass: Switch to pcre2grep, add dev-libs/libpcre2 to BDEPEND
    
    The dependency is basically free since dev-qt/qtcore:5 or dev-qt/qtbase:6
    already depend on dev-libs/libpcre2.
    
    Bug: https://bugs.gentoo.org/872068
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 eclass/ecm.eclass | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)
Comment 10 Larry the Git Cow gentoo-dev 2022-10-11 12:40:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61773ffee736b867a5d03f78012a7f8faf2cb9c1

commit 61773ffee736b867a5d03f78012a7f8faf2cb9c1
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-09-24 21:04:07 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-10-11 12:39:45 +0000

    ecm.eclass: Switch to pcre2grep, add dev-libs/libpcre2 to BDEPEND
    
    The dependency is basically free since dev-qt/qtcore:5 or dev-qt/qtbase:6
    already depend on dev-libs/libpcre2.
    
    Closes: https://bugs.gentoo.org/872068
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 eclass/ecm.eclass | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)
Comment 11 Andreas Sturmlechner gentoo-dev 2022-10-16 13:25:38 UTC
*** Bug 872065 has been marked as a duplicate of this bug. ***