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

Bug 665460

Summary: media-sound/mpc-0.30: meson.build:113:2: ERROR: Native dependency 'check' not found
Product: Gentoo Linux Reporter: Sven Hesse <drmccoy>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log of the failed compilation
emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
media-sound:mpc-0.30:20180907-202248.log
temp.tbz2

Description Sven Hesse 2018-09-07 19:56:11 UTC
Created attachment 546188 [details]
build.log of the failed compilation

Compilation for mpc fails, with a message about a missing "check" dependency.

Installing dev-libs/check fixes this, so I guess the mpc ebuild is missing that dependency.
Comment 1 Toralf Förster gentoo-dev 2018-09-07 20:26:25 UTC
appeared recently at the tinderbox image 17.0-no-multilib-hardened_20180905-191033
Comment 2 Toralf Förster gentoo-dev 2018-09-07 20:26:28 UTC
Created attachment 546190 [details]
emerge-info.txt
Comment 3 Toralf Förster gentoo-dev 2018-09-07 20:26:31 UTC
Created attachment 546192 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-09-07 20:26:34 UTC
Created attachment 546194 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-09-07 20:26:37 UTC
Created attachment 546196 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-09-07 20:26:40 UTC
Created attachment 546198 [details]
media-sound:mpc-0.30:20180907-202248.log
Comment 7 Toralf Förster gentoo-dev 2018-09-07 20:26:43 UTC
Created attachment 546200 [details]
temp.tbz2
Comment 8 Risimi 2018-09-08 13:23:17 UTC
I would assume the iconv and test use flags got mixed up in the ebuild. Flipping them back allows mpc-30 to build again without the extra dev-libs/check dependency.

diff --git a/media-sound/mpc/mpc-0.30.ebuild b/media-sound/mpc/mpc-0.30.ebuild
index e098391e765..163cd640a67 100644
--- a/media-sound/mpc/mpc-0.30.ebuild
+++ b/media-sound/mpc/mpc-0.30.ebuild
@@ -24,8 +24,8 @@ DEPEND="${RDEPEND}
 
 src_configure() {
 	local emesonargs=(
-		-Dtest=$(usex iconv true false)
-		-Diconv=$(usex test true false)
+		-Dtest=$(usex test true false)
+		-Diconv=$(usex iconv true false)
 	)
 	meson_src_configure
 }
Comment 9 Andreas Sturmlechner gentoo-dev 2018-09-08 13:56:25 UTC
Fixed by commit 770d57af38af58cc69c76ec2ffafd173531a0d28