Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651626 - dev-util/spirv-tools-2018.2 : [TEST] 2 - spirv-tools-symbol-exports-SPIRV-Tools (Failed)
Summary: dev-util/spirv-tools-2018.2 : [TEST] 2 - spirv-tools-symbol-exports-SPIRV-T...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2018-03-26 17:52 UTC by Toralf Förster
Modified: 2018-04-23 02:38 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.80 KB, text/plain)
2018-03-26 17:52 UTC, Toralf Förster
Details
dev-util:spirv-tools-2018.2:20180326-142447.log (dev-util:spirv-tools-2018.2:20180326-142447.log,227.46 KB, text/plain)
2018-03-26 17:52 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,94.46 KB, text/plain)
2018-03-26 17:52 UTC, Toralf Förster
Details
environment (environment,130.94 KB, text/plain)
2018-03-26 17:52 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.05 KB, application/x-bzip)
2018-03-26 17:53 UTC, Toralf Förster
Details
LastTest.log (LastTest.log,6.66 KB, text/plain)
2018-03-26 17:53 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.28 KB, application/x-bzip)
2018-03-26 17:53 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,38.76 KB, application/x-bzip)
2018-03-26 17:53 UTC, Toralf Förster
Details
tests.tbz2 (tests.tbz2,1.21 KB, application/x-bzip)
2018-03-26 17:53 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 2018-03-26 17:52:47 UTC
The following tests FAILED:
	  2 - spirv-tools-symbol-exports-SPIRV-Tools (Failed)
	  3 - spirv-tools-symbol-exports-SPIRV-Tools-shared (Failed)
	  4 - spirv-tools-symbol-exports-SPIRV-Tools-opt (Failed)
	  5 - spirv-tools-symbol-exports-SPIRV-Tools-link (Failed)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma-systemd_test_20180323-181400

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

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

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

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

emerge -qpv dev-util/spirv-tools
[ebuild  N    ] dev-util/spirv-tools-2018.2  ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2018-03-26 17:52:50 UTC
Created attachment 525536 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-03-26 17:52:53 UTC
Created attachment 525538 [details]
dev-util:spirv-tools-2018.2:20180326-142447.log
Comment 3 Toralf Förster gentoo-dev 2018-03-26 17:52:56 UTC
Created attachment 525540 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-03-26 17:52:59 UTC
Created attachment 525542 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-03-26 17:53:02 UTC
Created attachment 525544 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-03-26 17:53:06 UTC
Created attachment 525546 [details]
LastTest.log
Comment 7 Toralf Förster gentoo-dev 2018-03-26 17:53:09 UTC
Created attachment 525548 [details]
logs.tbz2
Comment 8 Toralf Förster gentoo-dev 2018-03-26 17:53:12 UTC
Created attachment 525550 [details]
temp.tbz2
Comment 9 Toralf Förster gentoo-dev 2018-03-26 17:53:14 UTC
Created attachment 525552 [details]
tests.tbz2
Comment 10 Nick Sarnie gentoo-dev 2018-03-26 23:13:49 UTC
Upstream depends on Python 2.7 for the tests. Running them with 3.5/3.6 causes this failure. I am going to fix the ebuild to require 2.7 for tests. PR to come.


Sarnex
Comment 11 Nick Sarnie gentoo-dev 2018-03-26 23:52:33 UTC
Seems more complicated than that. The test checks that the symbols in the generated static libraries match some regular expression, and they may not depending on the compiler flags. 

More to come.

Sarnex
Comment 12 Larry the Git Cow gentoo-dev 2018-04-23 02:38:23 UTC
The bug has been closed via the following commit(s):

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

commit 024e9c947773e6e5800f126c8b8ce62dc21cf2a9
Author:     Nick Sarnie <sarnex@gentoo.org>
AuthorDate: 2018-04-23 02:23:41 +0000
Commit:     Nick Sarnie <sarnex@gentoo.org>
CommitDate: 2018-04-23 02:36:52 +0000

    dev-util/spirv-tools: Restrict tests
    
    The tests go through all symbols in the generated libraries/executables, and check the symbol names against a hardcoded regular expression.
    If an unmatching symbol is found, the test fails. This is easily hit if a user sets a compiler flag that causes symbols to change, such as PIC
    
    Fixes: https://bugs.gentoo.org/651626
    
    Package-Manager: Portage-2.3.31, Repoman-2.3.9

 dev-util/spirv-tools/spirv-tools-2018.2-r1.ebuild | 3 +++
 dev-util/spirv-tools/spirv-tools-9999.ebuild      | 3 +++
 2 files changed, 6 insertions(+)