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

Bug 930677

Summary: app-shells/zsh-5.9-r6 fails test - emake failed
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Matthias Maier <tamiko>
Status: CONFIRMED ---    
Severity: normal CC: floppym, kingjon3377
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=922315
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-shells:zsh-5.9-r6:20240424-225444.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-04-25 17:05:29 UTC
55 successful test scripts, 1 failure, 2 skipped
**************************************
make[1]: *** [Makefile:190: check] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-shells/zsh-5.9-r6/work/zsh-5.9/Test'
make: *** [Makefile:263: check] Error 2
 * ERROR: app-shells/zsh-5.9-r6::gentoo failed (test phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-shells/zsh-5.9-r6::gentoo'`,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma_test-20240419-193003

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.4
Python 3.11.9
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.10_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-17 
  [2]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.2 linux/amd64

  HEAD of ::gentoo
commit ae323303e0ea475b68bb45039d7388e43b4fb996
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Apr 24 20:19:17 2024 +0000

    2024-04-24 20:19:17 UTC

emerge -qpvO app-shells/zsh
[ebuild  N    ] app-shells/zsh-5.9-r6  USE="gdbm valgrind -caps -debug -doc -examples -maildir -pcre -static"
Comment 1 Toralf Förster gentoo-dev 2024-04-25 17:05:30 UTC
Created attachment 891708 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-25 17:05:32 UTC
Created attachment 891709 [details]
app-shells:zsh-5.9-r6:20240424-225444.log
Comment 3 Toralf Förster gentoo-dev 2024-04-25 17:05:33 UTC
Created attachment 891710 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-04-25 17:05:34 UTC
Created attachment 891711 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-04-25 17:05:35 UTC
Created attachment 891712 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-25 17:05:36 UTC
Created attachment 891713 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-04-25 17:05:37 UTC
Created attachment 891714 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-04-25 17:05:38 UTC
Created attachment 891715 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-04-25 17:05:40 UTC
Created attachment 891716 [details]
temp.tar.xz
Comment 10 Jonathan Lovelace 2024-05-30 00:49:45 UTC
I'm also seeing this test failure on my machine. Version 5.9-r5 also fails (as one would expect, since the only difference between -r5 and -r6 is which version of 'zprofile' is installed). When I tried rebuilding 5.9-r4, which passed its tests when it was last built last August, to test whether the failure was a difference in the code or in either the build environment or some dependency, it passed its test phase. So it looks like something in either zsh-5.9-c99.patch or zsh-5.9-relro.patch must be the cause?
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-30 00:51:48 UTC
I only took a glance and I might well be missing something obvious -- but which test actually fails? It says 1 does, but I can't (again, very quickly) spot it...
Comment 12 Jonathan Lovelace 2024-05-30 00:56:57 UTC
I scanned through my build log (using 'less' and searching for 'fail') and found this (after what looks like a unified-diff output between the expected and actual output):

Test ./D07multibyte.ztst failed: output differs from expected as shown above for:
  a=ténébreux
  for i in {1..9}; do
      print ${a[i]}
      for j in {$i..9}; do
          print $i $j ${a[i,j]} ${a[-j,-i]}
      done
  done
Was testing: Basic indexing with multibyte characters
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-30 00:59:18 UTC
Thanks!