Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 895176

Summary: app-forensics/rkhunter-1.4.6-r1 - warnings with sys-apps/grep-3.8 (grep warnings: stray \)
Product: Gentoo Linux Reporter: Kim B. Sindalsen <gentoo>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: kingjon3377, sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://sourceforge.net/p/rkhunter/bugs/176/
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 913054    
Attachments: rkhunter-GNUgrep3.8 patch

Description Kim B. Sindalsen 2023-02-18 06:12:32 UTC
After update to grep-3.8 rkhunter produces a couple of grep warnings in output:

grep: warning: stray \ before -
grep: warning: stray \ before +
grep: warning: stray \ before +
grep: warning: stray \ before +
grep: warning: stray \ before +
grep: warning: stray \ before +
grep: warning: stray \ before +
grep: warning: stray \ before +
grep: warning: stray \ before +
grep: warning: stray \ before +
grep: warning: stray \ before +
grep: warning: stray \ before +
grep: warning: stray \ before +
grep: warning: stray \ before +
grep: warning: stray \ before +
grep: warning: stray \ before +
grep: warning: stray \ before +
grep: warning: stray \ before +
grep: warning: stray \ before +
grep: warning: stray \ before +
grep: warning: stray \ before +
grep: warning: stray \ before +
grep: warning: stray \ before +
grep: warning: stray \ before +
grep: warning: stray \ before +
grep: warning: stray \ before +
grep: warning: stray \ before !
grep: warning: stray \ before !
grep: warning: stray \ before !


System checks summary
=====================

File properties checks...
    Files checked: 145
    Suspect files: 0


Seems to be reported upstream - and a patch which seems to fix it is in this thread (also attached here)

https://sourceforge.net/p/rkhunter/bugs/176/

Reproducible: Always
Comment 1 Kim B. Sindalsen 2023-02-18 06:13:35 UTC
Created attachment 852348 [details, diff]
rkhunter-GNUgrep3.8 patch
Comment 2 Larry the Git Cow gentoo-dev 2023-03-14 02:00:01 UTC
The bug has been closed via the following commit(s):

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

commit b3e55a7602c27f57bc63effb38b4b7716e1ad738
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-03-14 00:42:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-03-14 01:59:49 +0000

    app-forensics/rkhunter: fix warnings w/ grep-3.8
    
    Closes: https://bugs.gentoo.org/895176
    Signed-off-by: Sam James <sam@gentoo.org>

 .../rkhunter/files/rkhunter-1.4.6-grep-3.8.patch   | 735 +++++++++++++++++++++
 app-forensics/rkhunter/rkhunter-1.4.6-r2.ebuild    |  64 ++
 2 files changed, 799 insertions(+)