Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 609644 - sci-mathematics/rstudio-1.0.136 ebuild fails to apply builtin qtsingleapplication fixes on the x86 platform
Summary: sci-mathematics/rstudio-1.0.136 ebuild fails to apply builtin qtsingleapplica...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: Mark Wright
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qtbindir
  Show dependency tree
 
Reported: 2017-02-17 14:17 UTC by malices.gossips
Modified: 2017-07-25 14:54 UTC (History)
1 user (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 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