Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836593 - net-dns/pdns-4.6.1 fails tests on MUSL
Summary: net-dns/pdns-4.6.1 fails tests on MUSL
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-01 13:16 UTC by Agostino Sarubbo
Modified: 2022-04-04 16:15 UTC (History)
0 users

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


Attachments
build.log (build.log,179.06 KB, text/plain)
2022-04-01 13:16 UTC, Agostino Sarubbo
Details
1-test-suite.log (1-test-suite.log,12.22 KB, text/plain)
2022-04-01 13:16 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 2022-04-01 13:16:29 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-dns/pdns-4.6.1 fails tests on MUSL.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-04-01 13:16:32 UTC
Created attachment 768363 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-04-01 13:16:33 UTC
Created attachment 768364 [details]
1-test-suite.log

1-test-suite.log
Comment 3 Agostino Sarubbo gentoo-dev 2022-04-01 13:16:33 UTC
Error(s) that match a know pattern:


FAIL: testrunner
Comment 4 Sven Wegener gentoo-dev 2022-04-04 16:15:40 UTC
This does not seem to be a musl issue. The failing test uses IPv6, which I suspect is missing on the tinderbox, can you confirm this?

There is the PDNS_TEST_NO_IPV6 envvar available to disable these tests. The package has no build-time ipv6 option, so there is no USE flag for it, and adding it for just skipping the tests seems overkill. Do you have a way to set the envvar per package? Another solution could be to have something along

> if use kernel_linux && [[ ! -f /proc/net/if_inet6 ]]; then
> 	export PDNS_TEST_NO_IPV6="1"
> fi

in the ebuild.