Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937014 - app-admin/checksec: sys-apps/grep[pcre] required
Summary: app-admin/checksec: sys-apps/grep[pcre] required
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sebastian Pipping
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-31 16:28 UTC by CaptainBlood
Modified: 2024-10-06 13:20 UTC (History)
1 user (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.
Comment 1 Sebastian Pipping gentoo-dev 2024-10-06 13:12:25 UTC
I confirm that:
- "grep -P" is used by checksec 2.7.1 but not stable 2.4.0
- "grep -P xxx" with USE=-pcre produces error "Perl matching not supported in a --disable-perl-regexp build"

Patch upcoming…
Comment 2 Sebastian Pipping gentoo-dev 2024-10-06 13:13:18 UTC
Here:

# grep -Rho 'grep -[^ ]\+P' checksec-2.7.1/ | uniq -c
      4 grep -oP
Comment 3 Larry the Git Cow gentoo-dev 2024-10-06 13:20:02 UTC
The bug has been closed via the following commit(s):

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

commit dee272f84b2d085ffaa4d3420bcad75632a93f24
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2024-10-06 13:16:57 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2024-10-06 13:19:15 +0000

    app-admin/checksec: Require sys-apps/grep[pcre] at runtime
    
    Also address warnings EmptyGlobalAssignment for ${IUSE} and
    VariableOrderWrong for ${S}
    
    Closes: https://bugs.gentoo.org/937014
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>

 app-admin/checksec/checksec-2.7.1-r1.ebuild | 39 +++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)