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

Bug 609644

Summary: sci-mathematics/rstudio-1.0.136 ebuild fails to apply builtin qtsingleapplication fixes on the x86 platform
Product: Gentoo Linux Reporter: malices.gossips
Component: Current packagesAssignee: Mark Wright <gienah>
Status: RESOLVED FIXED    
Severity: normal CC: kensington
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 544108    

Description malices.gossips 2017-02-17 14:17:09 UTC
Trying to build rstudio on the x86 system I stumbled upon a silly problem of ebuild containing file paths that refer only to amd64 lib directories:

rstudio-1.0.136.ebuild
line #176:
    "${EROOT}"/usr/lib64/qt5/mkspecs/features/qtsingleapplication.prf \
line #199:	   
    -DQT_QMAKE_EXECUTABLE="${EROOT}"usr/lib64/qt5/bin/qmake

Which in turn led to the config error where cmake couldn't find QTSINGLEAPPLIB. Replacing 'lib64' with just 'lib' did the trick and the compilation proceeded as expected.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2017-02-18 01:41:52 UTC
@gienah, there's some helper functions in qmake-utils to help get the correct paths - qt5_get_mkspecsdir and qt5_get_bindir.
Comment 2 Mark Wright gentoo-dev 2017-07-24 03:29:12 UTC
commit 01bdf0bb499aa42200b8544622fe706020d7949b
Author: Mark Wright <gienah@gentoo.org>
Date:   Wed Apr 26 18:42:42 2017 +1000

    sci-mathematics/rstudio: Bump to 1.0.143, fix 609644 and 606166.
    
    Thanks to Matthias Schwartz for reporting 606166.  Thanks to malices.gossips for
    reporting 609644, and kensington for the fix.
    
    Gentoo-Bug: 606166, 609644