Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 836593

Summary: net-dns/pdns-4.6.3 fails tests on MUSL
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Sven Wegener <swegener>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
1-test-suite.log

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.
Comment 5 Agostino Sarubbo gentoo-dev 2022-09-19 13:13:00 UTC
tinderbox_musl has reproduced this issue with version 4.6.3 - Updating summary.