Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 550480 - net-p2p/qbittorrent-3.2.0 fails to find lrelease-qt4
Summary: net-p2p/qbittorrent-3.2.0 fails to find lrelease-qt4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-26 18:40 UTC by Andrew John Hughes
Modified: 2015-06-04 18:20 UTC (History)
2 users (show)

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 Andrew John Hughes 2015-05-26 18:40:30 UTC
>>> Emerging (4 of 4) net-p2p/qbittorrent-3.2.0::gentoo
 * qbittorrent-3.2.0.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                        [ ok ]
>>> Unpacking source...
>>> Unpacking qbittorrent-3.2.0.tar.xz to /mnt/builder/portage.build/portage/net-p2p/qbittorrent-3.2.0/work
>>> Source unpacked in /mnt/builder/portage.build/portage/net-p2p/qbittorrent-3.2.0/work
>>> Preparing source in /mnt/builder/portage.build/portage/net-p2p/qbittorrent-3.2.0/work/qbittorrent-3.2.0 ...
>>> Source prepared.
>>> Configuring source in /mnt/builder/portage.build/portage/net-p2p/qbittorrent-3.2.0/work/qbittorrent-3.2.0 ...
./configure --prefix=/usr --with-qtsingleapplication=system --with-qt5
configure: loading site script /usr/share/config.site
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a sed that does not truncate output... /bin/sed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of gcc... none
checking dependency style of g++... none
checking whether OS is FreeBSD... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.23... yes
checking whether to enable the Debug build... no
checking whether to enable the GUI... yes
checking whether to install the systemd service file... no
checking whether to enable the WebUI... yes
checking whether Qt5 should be enabled... yes
checking for /usr/lib64/qt5/bin/qmake... yes
checking for Qt5 qmake >= 5.2.0... /usr/lib64/qt5/bin/qmake
checking whether QtDBus should be enabled... yes
checking for Qt5DBus >= 5.2.0... found
checking for boostlib >= 1.35... yes
configure: Boost CPPFLGAS: -I/usr/include
checking whether the Boost::System library is available... yes
checking for exit in -lboost_system... yes
configure: Boost.System LIB: -lboost_system
checking whether to compile using libtorrent-raser 0.16.x... no
checking for libtorrent... yes
checking whether to embed the GeoIP database... no
checking which qtsingleapplication to use... system
checking for zlib... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating conf.pri
config.status: executing depfiles commands
configure: Running qmake to generate the makefile...
Project MESSAGE: GeoIP database will not be embedded in qBittorrent executable.
Project MESSAGE: Building translations
Project MESSAGE: Processing lang/qbittorrent_fr
sh: lrelease-qt4: command not found
Project ERROR: Building translations failed, cannot continue
Comment 1 Andrew John Hughes 2015-05-26 18:51:59 UTC
This worked around it:

--- qm_gen.pri~	2015-05-10 02:31:33.000000000 +0100
+++ qm_gen.pri	2015-05-26 19:48:25.091026965 +0100
@@ -4,11 +4,7 @@
 isEmpty(QMAKE_LRELEASE) {
     win32|os2:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\\lrelease.exe
     else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
-    unix {
-        !exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease-qt4 }
-    } else {
-        !exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease }
-    }
+    !exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease }
 }
 
 message("Building translations")
Comment 2 Davide Pesavento gentoo-dev 2015-05-27 09:52:53 UTC
The patch looks wrong, it should have found $$[QT_INSTALL_BINS]/lrelease in the first place.

I think the ebuild is missing a dep on dev-qt/linguist-tools:5 if USE=qt5 is enabled.
Comment 3 Andrew John Hughes 2015-06-03 20:48:00 UTC
Confirmed; installing linguist-tools:5 solves the issue without the hack above.
Comment 4 Davide Pesavento gentoo-dev 2015-06-04 18:20:30 UTC
  04 Jun 2015; Davide Pesavento <pesa@gentoo.org> qbittorrent-3.2.0.ebuild,
  qbittorrent-9999.ebuild:
  Add missing dep wrt bug #550480

Thanks!