Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933860 - [guru] net-nntp/pan-0.159 fails tests
Summary: [guru] net-nntp/pan-0.159 fails tests
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Joe Kappus
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-06-09 07:27 UTC by Agostino Sarubbo
Modified: 2024-06-10 11:28 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,71.69 KB, text/plain)
2024-06-09 07:27 UTC, Agostino Sarubbo
Details
1-LastTest.log (1-LastTest.log,3.26 KB, text/plain)
2024-06-09 07:27 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-06-09 07:27:44 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-nntp/pan-0.159 fails tests.
Discovered on: amd64 (internal ref: guru_ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-06-09 07:27:45 UTC
Created attachment 895438 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-06-09 07:27:46 UTC
Created attachment 895439 [details]
1-LastTest.log

1-LastTest.log
Comment 3 Agostino Sarubbo gentoo-dev 2024-06-09 07:27:46 UTC
Error(s) that match a know pattern:


	  1 - gnksa-test-test (Not Run)
	  2 - numbers-test-test (Not Run)
	  3 - scorefile-test-test (Not Run)
	  4 - text-massager-test-test (Not Run)
	  5 - url-find-test-test (Not Run)
Could not find executable /var/tmp/portage/net-nntp/pan-0.159/work/pan-v0.159_build/pan/usenet-utils/gnksa-test
Could not find executable /var/tmp/portage/net-nntp/pan-0.159/work/pan-v0.159_build/pan/usenet-utils/numbers-test
Could not find executable /var/tmp/portage/net-nntp/pan-0.159/work/pan-v0.159_build/pan/usenet-utils/scorefile-test
Could not find executable /var/tmp/portage/net-nntp/pan-0.159/work/pan-v0.159_build/pan/usenet-utils/text-massager-test
Could not find executable /var/tmp/portage/net-nntp/pan-0.159/work/pan-v0.159_build/pan/usenet-utils/url-find-test
The following tests FAILED:
fatal: not a git repository (or any parent up to mount point /var/tmp)
Comment 4 Larry the Git Cow gentoo-dev 2024-06-09 18:28:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2a0ce73a7d26230e97863388fc880ef2fba379d4

commit 2a0ce73a7d26230e97863388fc880ef2fba379d4
Author:     Joe Kappus <joe@wt.gd>
AuthorDate: 2024-06-09 08:04:45 +0000
Commit:     Joe Kappus <joe@wt.gd>
CommitDate: 2024-06-09 08:04:45 +0000

    net-nntp/pan: disable tests
    
    Since they fail and I hate cmake.
    
    Closes: https://bugs.gentoo.org/933860
    Signed-off-by: Joe Kappus <joe@wt.gd>

 net-nntp/pan/pan-0.159.ebuild | 5 +++++
 1 file changed, 5 insertions(+)
Comment 5 cyrillic 2024-06-10 00:49:35 UTC
It is not just the tests, pan itself fails because the linking is broken.

This is more noticeable if you compile with clang rather than gcc.
Comment 6 Joe Kappus 2024-06-10 06:26:22 UTC
I noticed, I'm pushing a workaround so clang can be used.

It's not ideal but this package is a far way from ideal right now. I'll try to get a more proper fix soon upstreamed.
Comment 7 Larry the Git Cow gentoo-dev 2024-06-10 11:28:21 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f6942cfedbd9d7e70fdf948d9e66f8e2b20c2ee5

commit f6942cfedbd9d7e70fdf948d9e66f8e2b20c2ee5
Author:     Joe Kappus <joe@wt.gd>
AuthorDate: 2024-06-10 06:28:03 +0000
Commit:     Joe Kappus <joe@wt.gd>
CommitDate: 2024-06-10 06:29:29 +0000

    net-nntp/pan: correct test restriction, relax clang linking
    
    Am aware of https://wiki.gentoo.org/wiki/Project:Quality_Assurance/-Wl,-z,defs_and_-Wl,--no-allow-shlib-undefined
    
    Will try to get this properly fixed soon, workaround now for clang users.
    
    Bug: https://bugs.gentoo.org/933860
    Signed-off-by: Joe Kappus <joe@wt.gd>

 net-nntp/pan/pan-0.159-r1.ebuild | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)