Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924405 - dev-libs/kpathsea-6.3.3_p20210325-r1 fails tests: FAIL: kpsereadlink.test
Summary: dev-libs/kpathsea-6.3.3_p20210325-r1 fails tests: FAIL: kpsereadlink.test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2024-02-13 08:05 UTC by Agostino Sarubbo
Modified: 2024-03-16 08:49 UTC (History)
2 users (show)

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


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

Issue: dev-libs/kpathsea-6.3.3_p20210325-r1 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:26 UTC
Created attachment 884833 [details]
build.log

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

1-test-suite.log
Comment 3 orbea 2024-02-21 16:01:52 UTC
This issues is because the kpsereadlink.test contains the following line:

> ./kpsereadlink $LT_OBJDIR/libkpathsea.lai && exit 1

Where the kpsereadlink --help documents its purpose:

> If FILE exists and is a symlink, print the contents of the link and exit successfully.  Otherwise print nothing and fail.

Where with slibtool:

> .libs/libkpathsea.lai: symbolic link to ../libkpathsea.la

And GNU libtool:

> .libs/libkpathsea.lai: libtool library file, ASCII text

If this line is removed the test will succeed with slibtool...
Comment 5 Larry the Git Cow gentoo-dev 2024-03-16 08:49:45 UTC
The bug has been closed via the following commit(s):

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

commit 8eeaef45031ca39c281da6fab5cb8e006e125ab5
Author:     orbea <orbea@riseup.net>
AuthorDate: 2024-02-23 02:38:00 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-03-16 08:49:42 +0000

    dev-libs/kpathsea: fix test with slibtool
    
    Closes: https://bugs.gentoo.org/924405
    Upstream-PR: https://github.com/TeX-Live/texlive-source/pull/65
    Upstream-Commit: https://github.com/TeX-Live/texlive-source/commit/9c4aec9b1b85f3f0e336914d65d55ca6263c5526
    Signed-off-by: orbea <orbea@riseup.net>
    Closes: https://github.com/gentoo/gentoo/pull/35494
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 ...pathsea-6.3.3_p20210325-Fix-slibtool-test.patch | 47 ++++++++++++++++++++++
 .../kpathsea/kpathsea-6.3.3_p20210325-r1.ebuild    |  3 +-
 2 files changed, 49 insertions(+), 1 deletion(-)