Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630586 - app-misc/jq-1.5-r3 : FAIL: tests/mantest
Summary: app-misc/jq-1.5-r3 : FAIL: tests/mantest
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tim Harder
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-10 13:55 UTC by Toralf Förster
Modified: 2017-09-10 16:32 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.37 KB, text/plain)
2017-09-10 13:55 UTC, Toralf Förster
Details
app-misc:jq-1.5-r3:20170910-123601.log (app-misc:jq-1.5-r3:20170910-123601.log,64.15 KB, text/plain)
2017-09-10 13:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,254.76 KB, text/plain)
2017-09-10 13:55 UTC, Toralf Förster
Details
environment (environment,91.30 KB, text/plain)
2017-09-10 13:55 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.91 KB, application/x-bzip)
2017-09-10 13:55 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,22.35 KB, application/x-bzip)
2017-09-10 13:55 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.48 KB, application/x-bzip)
2017-09-10 13:55 UTC, Toralf Förster
Details
tests.tbz2 (tests.tbz2,13.71 KB, application/x-bzip)
2017-09-10 13:55 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-10 13:55:10 UTC
make[2]: Entering directory '/var/tmp/portage/app-misc/jq-1.5-r3/work/jq-1.5'
make[3]: Entering directory '/var/tmp/portage/app-misc/jq-1.5-r3/work/jq-1.5'
FAIL: tests/mantest
FAIL: tests/jqtest
FAIL: tests/onigtest
FAIL: tests/shtest

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

  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]   python2.7 (fallback)




emerge -qpv app-misc/jq
[ebuild  N    ] app-misc/jq-1.5-r3  USE="valgrind -oniguruma -static-libs {-test}"
Comment 1 Toralf Förster gentoo-dev 2017-09-10 13:55:13 UTC
Created attachment 493716 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-09-10 13:55:16 UTC
Created attachment 493718 [details]
app-misc:jq-1.5-r3:20170910-123601.log
Comment 3 Toralf Förster gentoo-dev 2017-09-10 13:55:19 UTC
Created attachment 493720 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-09-10 13:55:22 UTC
Created attachment 493722 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-09-10 13:55:25 UTC
Created attachment 493724 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-09-10 13:55:29 UTC
Created attachment 493726 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-09-10 13:55:32 UTC
Created attachment 493728 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2017-09-10 13:55:35 UTC
Created attachment 493730 [details]
tests.tbz2
Comment 9 Sergei Trofimovich (RETIRED) gentoo-dev 2017-09-10 14:12:12 UTC
Looking at test-suite.log [1] you have unconfigured valgrind.
valgrind requires minimal debugging symbols for glibc to be available.

It think it's usually done by setting FEATURES=nostrip for glibc
and building glibc with CFLAGS+=-g


valgrind:  Fatal error at startup: a function redirection
valgrind:  which is mandatory for this platform-tool combination
valgrind:  cannot be set up.  Details of the redirection are:
valgrind:  
valgrind:  A must-be-redirected function
valgrind:  whose name matches the pattern:      strlen
valgrind:  in an object with soname matching:   ld-linux-x86-64.so.2
valgrind:  was not found whilst processing
valgrind:  symbols from the object with soname: ld-linux-x86-64.so.2
valgrind:  
valgrind:  Possible fixes: (1, short term): install glibc's debuginfo
valgrind:  package on this machine.  (2, longer term): ask the packagers
valgrind:  for your Linux distribution to please in future ship a non-
valgrind:  stripped ld.so (or whatever the dynamic linker .so is called)
valgrind:  that exports the above-named function using the standard
valgrind:  calling conventions for this platform.  The package you need
valgrind:  to install for fix (1) is called
valgrind:  
valgrind:    On Debian, Ubuntu:                 libc6-dbg
valgrind:    On SuSE, openSuSE, Fedora, RHEL:   glibc-debuginfo
valgrind:  
valgrind:  Note that if you are debugging a 32 bit process on a
valgrind:  64 bit system, you will need a corresponding 32 bit debuginfo
valgrind:  package (e.g. libc6-dbg:i386).
valgrind:  
valgrind:  Cannot continue -- exiting now.  Sorry.
Comment 10 Toralf Förster gentoo-dev 2017-09-10 14:17:55 UTC
(In reply to Sergei Trofimovich from comment #9)
Ick, so no chance to avoid a test of this package by the ebuild if the prerequisites aren't met, right ?

I can add that package with "notest" to https://github.com/toralf/tinderbox/blob/master/data/package.env.common in that case.
Comment 11 Sergei Trofimovich (RETIRED) gentoo-dev 2017-09-10 15:05:59 UTC
(In reply to Toralf Förster from comment #10)
> (In reply to Sergei Trofimovich from comment #9)
> Ick, so no chance to avoid a test of this package by the ebuild if the
> prerequisites aren't met, right ?
> 
> I can add that package with "notest" to
> https://github.com/toralf/tinderbox/blob/master/data/package.env.common in
> that case.

For this particular package USE=-valgrind should still keep tests running
but without trying to run them under valgrind. If you don't plan to
build/install debugging libc for valgrind I'd suggest you to mask
USE=valgrind useflag globally on tinderbox.
Comment 12 Toralf Förster gentoo-dev 2017-09-10 15:08:47 UTC
(In reply to Sergei Trofimovich from comment #11)
ok, done : https://github.com/toralf/tinderbox/commit/10cc6722b2bd432441c7fb95aac29558237e7bb2
Comment 13 Sergei Trofimovich (RETIRED) gentoo-dev 2017-09-10 16:32:33 UTC
Thank you!