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

Bug 620720

Summary: media-video/smtube calls unqualified Qt binaries
Product: Gentoo Linux Reporter: Michael Palimaka (kensington) <kensington>
Component: Current packagesAssignee: zlg (RETIRED) <zlg>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 544108    

Description Michael Palimaka (kensington) gentoo-dev 2017-06-04 07:05:46 UTC
From the ebuild:
gen_translation() {
        lrelease -qt=qt5 ${PN}_${1}.ts
        eend $? || die "failed to generate $1 translation"
}

This assumes that lrelease in $PATH is being managed by qtchooser, which we do not guarantee. Instead, it's better to call directly:
"$(qt5_get_bindir)"/lrelease ${PN}_${1}.ts

Also note that lrelease is provided by dev-qt/linguist-tools but that's a missing dependency (needed only at build time).
Comment 1 zlg (RETIRED) gentoo-dev 2017-06-04 08:22:30 UTC
Fixed as reviewed over IRC.

commit 61dbfd2cdd29094de8ebd2b5bf4d4a5c7ab4b771