Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 620720 - media-video/smtube calls unqualified Qt binaries
Summary: media-video/smtube calls unqualified Qt binaries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: zlg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qtbindir
  Show dependency tree
 
Reported: 2017-06-04 07:05 UTC by Michael Palimaka (kensington)
Modified: 2017-06-04 08:22 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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