Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 595452 - net-p2p/litecoin-qt fails to build with Qt 5.7
Summary: net-p2p/litecoin-qt fails to build with Qt 5.7
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marc Popp
URL:
Whiteboard: Pending removal: 2017-08-14
Keywords: PMASKED
Depends on:
Blocks: qt5-c++11
  Show dependency tree
 
Reported: 2016-09-28 20:24 UTC by Michael Palimaka (kensington)
Modified: 2017-08-14 20:02 UTC (History)
6 users (show)

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


Attachments
build.log (build.log,247.86 KB, text/plain)
2016-09-28 20:24 UTC, Michael Palimaka (kensington)
Details
build.log with c++11 (build.log,88.22 KB, text/plain)
2016-09-28 21:56 UTC, Michael Palimaka (kensington)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Palimaka (kensington) gentoo-dev 2016-09-28 20:24:41 UTC
Created attachment 448374 [details]
build.log

As of Qt 5.7, revdeps must be build with C++11 or later.
Comment 1 Marc Popp 2016-09-28 21:22:27 UTC
The actual error message in the log looks like this:

error "Qt requires C++11 support".

Reported upstream: https://github.com/litecoin-project/litecoin/issues/253
Comment 2 Marc Popp 2016-09-28 21:30:21 UTC
I found, that enabling C++11 explicitly might solve the problem.

Running emerge with the following command should be a workaround for this bug:

CXXFLAGS="-std=c++11 $CXXFLAGS" emerge -v net-p2p/litecoin-qt

I'll try it out myself as soon as I updated my env to QT 5.7.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2016-09-28 21:56:13 UTC
Indeed, Qt 5.6 makes C++11 mandatory however there is still a failure after manually building with c++11.
Comment 4 Michael Palimaka (kensington) gentoo-dev 2016-09-28 21:56:31 UTC
Created attachment 448388 [details]
build.log with c++11
Comment 5 Marc Popp 2016-12-12 06:19:28 UTC
(In reply to Michael Palimaka (kensington) from comment #4)
> Created attachment 448388 [details]
> build.log with c++11

This error is covered by #594686.
Comment 6 Jonas Stein gentoo-dev 2017-06-10 15:54:51 UTC
This ticket was marked as IN PROGRESS on 2016-09-28. Are there any news?
Comment 7 Marc Popp 2017-07-09 07:24:25 UTC
The bug https://bugs.gentoo.org/show_bug.cgi?id=594686 is resolved, which means this bug should be fixed as well, since it always was a duplicate of the aforementioned.

Due to a lack of time and computing resources, I cannot verify that personally. Please leave a comment or reopen the bug, if it is not fixed.

*** This bug has been marked as a duplicate of bug 594686 ***
Comment 8 Michael Palimaka (kensington) gentoo-dev 2017-07-09 11:57:43 UTC
This is not a duplicate of bug #594686. That bug is about a build failure when C++11 is used, this bug is about a build failure with >=Qt 5.7 and C++11 is *not* used.
Comment 9 Andreas Sturmlechner gentoo-dev 2017-07-09 12:30:23 UTC
This package is now broken even for stable users unless they mask Qt 5.7.
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-08-14 20:02:15 UTC
commit 6bbd55da6087816620dec3f1a6b9c5737db43d38
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: Mon Aug 14 21:54:52 2017
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Mon Aug 14 22:00:06 2017

    net-p2p/litecoin-qt: Remove last-rited pkg, #595452