Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631948 - app-shells/mksh-56b : FAIL ./check.t:arith-ternary-prec-1
Summary: app-shells/mksh-56b : FAIL ./check.t:arith-ternary-prec-1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2017-09-24 20:34 UTC by Toralf Förster
Modified: 2019-04-29 13:48 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.92 KB, text/plain)
2017-09-24 20:34 UTC, Toralf Förster
Details
app-shells:mksh-56b:20170924-202601.log (app-shells:mksh-56b:20170924-202601.log,144.11 KB, text/plain)
2017-09-24 20:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,524.39 KB, text/plain)
2017-09-24 20:34 UTC, Toralf Förster
Details
environment (environment,79.65 KB, text/plain)
2017-09-24 20:34 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,22.31 KB, application/x-bzip)
2017-09-24 20:34 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,31.26 KB, application/x-bzip)
2017-09-24 20:34 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 2017-09-24 20:34:00 UTC
pass ./check.t:arith-lazy-5-tern-r-n
pass ./check.t:arith-lazy-5-tern-r-p
FAIL ./check.t:arith-ternary-prec-1
	Description:
		Check precedence of ternary operator vs assignment
	unexpected exit status 0 (exit-code 0), expected e != 0

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-systemd_20170903-225953

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.5.1 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv app-shells/mksh
[ebuild  N    ] app-shells/mksh-56b  USE="-static"
Comment 1 Toralf Förster gentoo-dev 2017-09-24 20:34:03 UTC
Created attachment 496312 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-09-24 20:34:06 UTC
Created attachment 496314 [details]
app-shells:mksh-56b:20170924-202601.log
Comment 3 Toralf Förster gentoo-dev 2017-09-24 20:34:09 UTC
Created attachment 496316 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-09-24 20:34:13 UTC
Created attachment 496318 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-09-24 20:34:16 UTC
Created attachment 496320 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-09-24 20:34:19 UTC
Created attachment 496322 [details]
temp.tbz2
Comment 7 mirabilos 2018-01-16 21:19:44 UTC
Known bug in GCC 6 or later. It miscompiles the shell when LTO is used.

With upstream hat: Disable building with LTO to fix this.

With downstream packager hat (for Debian, FreeWRT/OpenADK, etc):
I’ve decided that LTO is not worth the bother, since GCC devs
don’t care about it.
Comment 8 Larry the Git Cow gentoo-dev 2019-04-29 13:48:09 UTC
The bug has been closed via the following commit(s):

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

commit 6d2258d85eac24a106a262a6d12cb02b434d2f8c
Author:     Haelwenn (lanodan) Monnier <contact@hacktivis.me>
AuthorDate: 2019-03-17 10:23:33 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2019-04-29 13:41:06 +0000

    app-shells/mksh: Fix the live ebuild
    
     - mksh changed to tarballs so cpio and unpacker is now removed.
     - Update keywords from release ebuild
     - Rebuild.sh is useless for us
     - Bump to EAPI 7
     - Remove shell updater as mksh is in baselayout
     - Remove unstable -c lto
     - exeinto,doexe → into,dobin
     - Add test suite dependencies
    
     Closes: https://bugs.gentoo.org/show_bug.cgi?id=536992
     Closes: https://bugs.gentoo.org/show_bug.cgi?id=631948
    
    Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 app-shells/mksh/mksh-9999.ebuild | 42 ++++++++++++++++++----------------------
 1 file changed, 19 insertions(+), 23 deletions(-)