Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 648920 - dev-libs/check-0.12.0 two tests fail: check_check_export, check_check
Summary: dev-libs/check-0.12.0 two tests fail: check_check_export, check_check
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal
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: 644648
  Show dependency tree
 
Reported: 2018-02-27 01:48 UTC by ernsteiswuerfel
Modified: 2018-04-14 08:13 UTC (History)
2 users (show)

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


Attachments
test-suite.log (test-suite.log,256.65 KB, text/plain)
2018-02-27 01:48 UTC, ernsteiswuerfel
Details
build.log (build.log,80.58 KB, text/plain)
2018-02-27 01:51 UTC, ernsteiswuerfel
Details
emerge --info (file_648920.txt,5.94 KB, text/plain)
2018-02-27 01:52 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2018-02-27 01:48:38 UTC
Created attachment 521208 [details]
test-suite.log

PASS: test_output.sh
PASS: test_check_nofork.sh
PASS: test_check_nofork_teardown.sh
FAIL: check_check_export
PASS: test_xml_output.sh
PASS: test_log_output.sh
PASS: test_set_max_msg_size.sh
PASS: test_tap_output.sh
FAIL: check_check
============================================================================
Testsuite summary for Check 0.12.0
============================================================================
# TOTAL: 9
# PASS:  7
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
Comment 1 ernsteiswuerfel archtester 2018-02-27 01:51:25 UTC
Created attachment 521210 [details]
build.log
Comment 2 ernsteiswuerfel archtester 2018-02-27 01:52:41 UTC
Created attachment 521212 [details]
emerge --info
Comment 3 Matt Turner gentoo-dev 2018-03-18 01:21:47 UTC
This is indeed a regression over dev-libs/check-0.10.0-r1.
Comment 4 Larry the Git Cow gentoo-dev 2018-03-20 09:15:41 UTC
The bug has been referenced in the following commit(s):

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

commit 6dd503fa6fcd6831b9ff69176f9cb1f3cd4201fc
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-03-20 09:14:52 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-03-20 09:14:52 +0000

    Revert "dev-libs/check: stable 0.12.0 for ppc, bug #644648"
    
    This reverts commit 4c137a7e98c746ef020035e8c75e4a6a369906a3.
    
    Lets sort out indeger division failures first.
    
    Bug: https://bugs.gentoo.org/648920

 dev-libs/check/check-0.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)}
Comment 5 Pacho Ramos gentoo-dev 2018-03-20 13:29:45 UTC
Could you try this Fedora patch?
https://src.fedoraproject.org/rpms/check/raw/master/f/check-0.11.0-fp.patch
Comment 6 ernsteiswuerfel archtester 2018-04-12 20:39:51 UTC
Yes it works!

To apply it I had to change the paths from

--- tests/check_check_master.c.orig	2018-01-29 20:33:55.033001412 -0700
to
--- check-0.12.0/tests/check_check_master.c.orig	2018-01-29 20:33:55.033001412 -0700
etc.
Comment 7 Pacho Ramos gentoo-dev 2018-04-14 08:13:53 UTC
[master 1e6f6a31e85] dev-libs/check: Fix tests (#648920 by ernsteiswuerfel)
 2 files changed, 33 insertions(+), 7 deletions(-)
 create mode 100644 dev-libs/check/files/check-0.12.0-fp.patch