Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924404 - dev-libs/jansson-2.14-r2 fails tests: FAIL: run-suites
Summary: dev-libs/jansson-2.14-r2 fails tests: FAIL: run-suites
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: David Zero
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2024-02-13 08:05 UTC by Agostino Sarubbo
Modified: 2024-03-15 19:30 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,108.16 KB, text/plain)
2024-02-13 08:05 UTC, Agostino Sarubbo
Details
1-test-suite.log (1-test-suite.log,1.67 KB, text/plain)
2024-02-13 08:05 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-13 08:05:18 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/jansson-2.14-r2 fails tests.
Discovered on: amd64 (internal ref: slibtool_tinderbox)
System: SLIBTOOL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#SLIBTOOL)

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

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

1-test-suite.log
Comment 3 orbea 2024-02-21 16:20:07 UTC
The failing check is because of the 'api/check-exports' test that checks that the correct symbols are exported in the library. However this behavior is dependent on -export-symbols-regex which is not yet supported in slibtool, but will be soon.

Lets try again then, see: https://dev.midipix.org/cross/slibtool/issue/61
Comment 4 David Zero 2024-02-21 16:31:29 UTC
Years ago, we started explicitly removing libtool archives from the build: https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-libs/jansson/jansson-2.14-r2.ebuild#n48 . I don't know if this new slibtool thing makes use of the same type of archive, but that might be an issue.
Comment 5 orbea 2024-02-21 17:55:32 UTC
By default slibtool doesn't install any libtool archive (.la) files and those lines are no-ops when using slibtool. In the rare cases that (.la) files must be installed one of the clibtool symlinks much be used such as rclibtool.

The work on -export-symbols-regex is coincidentally almost complete upstream in slibtool so hopefully this issue will go away with the next slibtool release.
Comment 6 orbea 2024-02-22 15:30:53 UTC
Slibtool now supports -export-symbols-regex and this is fixed when using slibtool-9999. This issue can be closed in the next slibtool version bump.
Comment 7 Larry the Git Cow gentoo-dev 2024-03-15 19:30:25 UTC
The bug has been closed via the following commit(s):

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

commit 341f85a7caa16a7d986a4b428521562bf9120b08
Author:     orbea <orbea@riseup.net>
AuthorDate: 2024-03-15 13:51:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-15 19:29:22 +0000

    dev-build/slibtool: add 0.5.36
    
    Many bugs are fixed with this release, it is recommended for slibtool
    users to rebuild their entire system after this release. The addition of
    -export-symbols and -export-symbols-regex will allow exporting only the
    desired public symbols globally in any package that uses them.
    
    Closes: https://bugs.gentoo.org/925555
    Closes: https://bugs.gentoo.org/913670
    Closes: https://bugs.gentoo.org/916128
    Closes: https://bugs.gentoo.org/775596
    Closes: https://bugs.gentoo.org/792072
    Closes: https://bugs.gentoo.org/924407
    Closes: https://bugs.gentoo.org/924291
    Closes: https://bugs.gentoo.org/782013
    Closes: https://bugs.gentoo.org/914569
    Closes: https://bugs.gentoo.org/791880
    Closes: https://bugs.gentoo.org/913551
    Closes: https://bugs.gentoo.org/913688
    Closes: https://bugs.gentoo.org/914097
    Closes: https://bugs.gentoo.org/915966
    Closes: https://bugs.gentoo.org/924408
    Closes: https://bugs.gentoo.org/915121
    Closes: https://bugs.gentoo.org/913642
    Closes: https://bugs.gentoo.org/917639
    Closes: https://bugs.gentoo.org/917640
    Closes: https://bugs.gentoo.org/913530
    Closes: https://bugs.gentoo.org/913638
    Closes: https://bugs.gentoo.org/778515
    Closes: https://bugs.gentoo.org/920190
    Closes: https://bugs.gentoo.org/924404
    Signed-off-by: orbea <orbea@riseup.net>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-build/slibtool/Manifest               |  2 ++
 dev-build/slibtool/slibtool-0.5.36.ebuild | 41 +++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)