Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 869332 - app-shells/zsh-5.9:0 fails tests with sys-apps/grep-3.8 - Test ./E01options.ztst failed: error output differs from expected as shown above for:
Summary: app-shells/zsh-5.9:0 fails tests with sys-apps/grep-3.8 - Test ./E01options.z...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Piotr Karbowski (RETIRED)
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2022-09-09 13:16 UTC by Toralf Förster
Modified: 2023-06-11 15:32 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.64 KB, text/plain)
2022-09-09 13:16 UTC, Toralf Förster
Details
app-shells:zsh-5.9:20220908-230346.log (app-shells:zsh-5.9:20220908-230346.log,100.65 KB, text/plain)
2022-09-09 13:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,74.71 KB, text/plain)
2022-09-09 13:16 UTC, Toralf Förster
Details
environment (environment,95.57 KB, text/plain)
2022-09-09 13:16 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,19.72 KB, application/x-bzip)
2022-09-09 13:16 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,23.64 KB, application/x-bzip)
2022-09-09 13:16 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,34.80 KB, application/x-bzip)
2022-09-09 13:16 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-09-09 13:16:27 UTC
+egrep: warning: egrep is obsolescent; using /bin/grep -E
+egrep: warning: egrep is obsolescent; using /bin/grep -E
+egrep: warning: egrep is obsolescent; using /bin/grep -E
+egrep: warning: egrep is obsolescent; using /bin/grep -E
Test ./E01options.ztst failed: error output differs from expected as shown above for:
  showopt() { setopt | egrep 'localoptions|ksharrays'; }
  f1() { setopt localoptions ksharrays; showopt }

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j4_test-20220908-040004

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.1 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.62.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 37ec233717c9ecd9d9f8141520820ab5ebfe6c29
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Sep 8 20:12:33 2022 +0000

    2022-09-08 20:12:33 UTC

emerge -qpvO app-shells/zsh
[ebuild  N    ] app-shells/zsh-5.9  USE="gdbm pcre unicode -caps -debug -doc -examples -maildir -static"
Comment 1 Toralf Förster gentoo-dev 2022-09-09 13:16:29 UTC
Created attachment 804139 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-09 13:16:30 UTC
Created attachment 804142 [details]
app-shells:zsh-5.9:20220908-230346.log
Comment 3 Toralf Förster gentoo-dev 2022-09-09 13:16:31 UTC
Created attachment 804145 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-09 13:16:33 UTC
Created attachment 804148 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-09 13:16:34 UTC
Created attachment 804151 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-09 13:16:35 UTC
Created attachment 804154 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-09 13:16:36 UTC
Created attachment 804157 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-13 19:55:31 UTC
Caused by grep 3.8.
Comment 9 Piotr Karbowski (RETIRED) gentoo-dev 2022-12-13 22:46:05 UTC
What would be the steps to reproduce? The fix for this is easy, but I rather test it before close this bug with commit. I have grep-3.8 here and simply running /bin/egrep do not gets me those warnings to stdout/err.
Comment 10 Piotr Karbowski (RETIRED) gentoo-dev 2022-12-13 22:49:34 UTC
I see that this warning is not a thing in revbump, all clear. Will be fixed.
Comment 11 Larry the Git Cow gentoo-dev 2023-03-12 12:33:49 UTC
The bug has been closed via the following commit(s):

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

commit 9290ddedaac06dc082d112f2b906c08433c204f9
Author:     Piotr Karbowski <slashbeast@gentoo.org>
AuthorDate: 2023-03-12 12:32:58 +0000
Commit:     Piotr Karbowski <slashbeast@gentoo.org>
CommitDate: 2023-03-12 12:33:46 +0000

    app-shells/zsh: 5.9-r4 revbump, fixes tests.
    
    Closes: https://bugs.gentoo.org/869332
    Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>

 .../files/zsh-5.9-do-not-use-egrep-in-tests.patch  | 166 ++++++++++++++
 app-shells/zsh/zsh-5.9-r4.ebuild                   | 239 +++++++++++++++++++++
 2 files changed, 405 insertions(+)
Comment 12 Larry the Git Cow gentoo-dev 2023-06-11 15:32:16 UTC
The bug has been referenced in the following commit(s):

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

commit c17aa1fdefb5d26ea9f2f318c090298cbba11ab6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-06-11 15:31:49 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-11 15:31:58 +0000

    app-shells/zsh: add upstream commit link for egrep fix
    
    Noticed while checking the clang15 patch.
    
    Bug: https://bugs.gentoo.org/869332
    Signed-off-by: Sam James <sam@gentoo.org>

 app-shells/zsh/files/zsh-5.9-do-not-use-egrep-in-tests.patch | 2 ++
 1 file changed, 2 insertions(+)