Summary: | app-crypt/pinentry[qt5] fails to compile against Qt-5.7.0: error: Qt requires C++11 support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Franz Trischberger <franz.trischberger> |
Component: | Current packages | Assignee: | Crypto team [DISABLED] <crypto+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | franz.trischberger, kensington, k_f |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://lists.gnupg.org/pipermail/gnupg-devel/2016-August/031490.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 589412 | ||
Attachments: | build.log |
Description
Franz Trischberger
2016-07-02 07:31:27 UTC
Yay, I just saw that makemkv also fails with the same error. Probably we need a tracker bug for packages failing to build against Qt-5.7 due to missing C++11 support? (In reply to Franz Fellner from comment #1) > Yay, I just saw that makemkv also fails with the same error. Probably we > need a tracker bug for packages failing to build against Qt-5.7 due to > missing C++11 support? If it affects multiple packages caused by that, a tracker sounds exactly right. Adding qt team to CC Hi! In my experience, additional packages with the same problem are media-libs/mlt and app-emulation/virtualbox malt can be worked around by adding --std=c++11 to CFLAGS, and virtualbox can be worked around by adding the c++11 standard to the pkg-config file. Cheers, Jan (In reply to Jan-Matthias Braun from comment #3) > Hi! In my experience, additional packages with the same problem are > > media-libs/mlt and > app-emulation/virtualbox File separate bug reports please. Please report this upstream as the Gentoo maintainer refuses to apply a trivial downstream fix. (In reply to Michael Palimaka (kensington) from comment #5) > Please report this upstream as the Gentoo maintainer refuses to apply a > trivial downstream fix. if it was a proper fix that can be upstreamed and not a silly hack it wouldn't be an issue. Can you try the pinentry-0.9.7-r1 found in layman -a k_f ? That adds the following patch: http://git.sumptuouscapital.com/?p=portage-overlay.git;a=blob;f=app-crypt/pinentry/files/pinentry-0.9.7-require-CPP11-for-qt-5-7.patches;h=eb2fda33a6443454578891331d6d480684bd573f;hb=166ad862060bfe62e38e81b784bed12508d5982a (In reply to Kristian Fiskerstrand from comment #6) > (In reply to Michael Palimaka (kensington) from comment #5) > > Please report this upstream as the Gentoo maintainer refuses to apply a > > trivial downstream fix. > > if it was a proper fix that can be upstreamed and not a silly hack it > wouldn't be an issue. It's not a silly hack, it's commonly used in the tree as required. In fact, pinentry already conditionally calls append-cxxflags -std=gnu++11. > Can you try the pinentry-0.9.7-r1 found in layman -a k_f ? That adds the > following patch: > http://git.sumptuouscapital.com/?p=portage-overlay.git;a=blob;f=app-crypt/ > pinentry/files/pinentry-0.9.7-require-CPP11-for-qt-5-7.patches; > h=eb2fda33a6443454578891331d6d480684bd573f; > hb=166ad862060bfe62e38e81b784bed12508d5982a Thanks, it builds and runs successfully. |