Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 609742 - media-sound/qtractor-0.8.1 - checking for Qt library version >= 5.1... no; Qt 5.1 or greater is required
Summary: media-sound/qtractor-0.8.1 - checking for Qt library version >= 5.1... no; Qt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qt5-c++11
  Show dependency tree
 
Reported: 2017-02-18 16:01 UTC by Sebastian Pipping
Modified: 2017-02-20 09:05 UTC (History)
1 user (show)

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


Attachments
Build log (media-sound:qtractor-0.8.1:20170218-155348.log,3.77 KB, text/plain)
2017-02-18 16:01 UTC, Sebastian Pipping
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Pipping gentoo-dev 2017-02-18 16:01:56 UTC
Created attachment 464238 [details]
Build log

I have both Qt4 and Qt5 around, in detail:

# ls -1 /var/db/pkg/dev-qt
designer-4.8.7
designer-5.7.1
linguist-tools-5.7.1
qt3support-4.8.7
qtchooser-0_p20151008
qtconcurrent-5.7.1
qtcore-4.8.7-r2
qtcore-5.7.1-r1
qtdbus-4.8.7
qtdbus-5.7.1
qtdeclarative-4.8.7
qtdeclarative-5.7.1
qtgui-4.8.7
qtgui-5.7.1
qthelp-4.8.7
qtimageformats-5.7.1
qtlockedfile-2.4.1_p20150629
qtmultimedia-4.8.7
qtnetwork-5.7.1
qtopengl-4.8.7
qtopengl-5.7.1
qtprintsupport-5.7.1
qtquickcontrols-5.7.1
qtscript-4.8.7
qtscript-5.7.1
qtsingleapplication-2.6.1_p20150629
qtsql-4.8.7-r1
qtsql-5.7.1
qtsvg-4.8.7
qtsvg-5.7.1
qttest-4.8.7
qttest-5.7.1
qttranslations-4.8.7
qtwebkit-4.8.7
qtwebkit-5.7.1
qtwidgets-5.7.1
qtx11extras-5.7.1
qtxml-5.7.1
qtxmlpatterns-4.8.7
qtxmlpatterns-5.7.1

Please see the build log attached.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2017-02-19 09:42:11 UTC
From config.log:

configure:4891: checking for Qt library version >= 5.1
configure:4912: x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -frecord-gcc-switches -I/usr/include/qt5 -fPIC  conftest.cpp >&5
In file included from /usr/include/qt5/QtCore/qglobal.h:83:0,
                 from conftest.cpp:16:
/usr/include/qt5/QtCore/qcompilerdetection.h:562:6: error: #error Qt requires a C++11 compiler and yours does not seem to be that.
 #    error Qt requires a C++11 compiler and yours does not seem to be that.

so we need to force building this package with -std=c++11
Comment 2 Alexis Ballier gentoo-dev 2017-02-20 09:05:23 UTC
commit e04f68d3018d829a464ffd31f8e0a0bd351a9149
Author: Alexis Ballier <aballier@gentoo.org>
Date:   Mon Feb 20 10:04:37 2017 +0100

    media-sound/qtractor: Append -std=c++11 CXXFLAGS, bug #609742.