Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924939 - sci-libs/libqalculate-4.8.1 fails tests: FAIL: unittest
Summary: sci-libs/libqalculate-4.8.1 fails tests: FAIL: unittest
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-02-18 18:02 UTC by Agostino Sarubbo
Modified: 2024-10-15 06:19 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,93.62 KB, text/plain)
2024-02-18 18:02 UTC, Agostino Sarubbo
Details
1-test-suite.log (1-test-suite.log,783 bytes, text/plain)
2024-02-18 18:02 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-02-18 18:02:06 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/libqalculate-4.8.1 fails tests.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-18 18:02:08 UTC
Created attachment 885376 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-18 18:02:08 UTC
Created attachment 885377 [details]
1-test-suite.log

1-test-suite.log
Comment 3 Andreas Sturmlechner gentoo-dev 2024-08-15 14:49:50 UTC
What about 5.0.0b?
Comment 4 Larry the Git Cow gentoo-dev 2024-10-15 06:19:24 UTC
The bug has been closed via the following commit(s):

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

commit fa98b7704d8e61e42128737272a6020aa491bc9e
Author:     Christopher Fore <csfore@posteo.net>
AuthorDate: 2024-10-15 06:06:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-10-15 06:19:05 +0000

    sci-libs/libqalculate: Increase stack size on musl
    
    Originally discovered through unittests, certain equations given to
    libqalculate will result in a stack overflow, as witnessed using ASAN.
    
    ASAN output example:
    
    ==8920==ERROR: AddressSanitizer: stack-overflow on address
    0x7f6a6a4f4e38 (pc 0x7f6a6ab4b695 bp 0x7f6a6a4f6180 sp 0x7f6a6a4f4e00 T1)
        #0 0x7f6a6ab4b695 in MathStructure::merge_multiplication(
          MathStructure&, EvaluationOptions const&, MathStructure*,
          unsigned long, unsigned long, bool, bool)
          (/lib/libqalculate.so.23+0x54b695)
    
    Closes: https://bugs.gentoo.org/924939
    Signed-off-by: Christopher Fore <csfore@posteo.net>
    Closes: https://github.com/gentoo/gentoo/pull/38996
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/libqalculate/libqalculate-5.3.0-r1.ebuild | 87 ++++++++++++++++++++++
 1 file changed, 87 insertions(+)