Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 589720 - app-text/calibre-2.55.0 and app-text/calibre-2.63.0 fail at build because of unsupported GCC feature
Summary: app-text/calibre-2.55.0 and app-text/calibre-2.63.0 fail at build because of ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ian Stakenvicius (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
: 590784 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-07-26 04:57 UTC by jorgicio
Modified: 2018-01-08 06:45 UTC (History)
4 users (show)

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


Attachments
The patch (calibre-2.55-gcc49-fix.patch,733 bytes, patch)
2016-07-26 04:57 UTC, jorgicio
Details | Diff
The emerge --info (emerge-info.txt,8.91 KB, text/plain)
2016-07-26 22:00 UTC, jorgicio
Details
The patch for 2.63.0 version (calibre-2.63-gcc49-fix.patch,682 bytes, patch)
2016-08-06 19:32 UTC, jorgicio
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jorgicio 2016-07-26 04:57:01 UTC
Hi!

When I try to build the Calibre extensions (headless, specifically), it fails because it adds the -std=c++1z, which is not supported until GCC 5.7 (and being experimental). So I created a patch that solves that problem. I'll attach it then.

Reproducible: Always
Comment 1 jorgicio 2016-07-26 04:57:33 UTC
Created attachment 441568 [details, diff]
The patch
Comment 2 Adam Feldman gentoo-dev 2016-07-26 18:05:41 UTC
emerge --info and build.log please
Comment 3 jorgicio 2016-07-26 21:59:45 UTC
(In reply to NP-Hardass from comment #2)
> emerge --info and build.log please

I don't have any because it finally built successfully, but I'll attach the emerge --info.
Comment 4 jorgicio 2016-07-26 22:00:15 UTC
Created attachment 441662 [details]
The emerge --info
Comment 5 jorgicio 2016-08-06 19:32:40 UTC
Created attachment 442690 [details, diff]
The patch for 2.63.0 version

Here's the patch for the 2.63.0 version.
Comment 6 Zac Medico gentoo-dev 2016-08-07 04:23:03 UTC
I have gcc-4.9.3 and this problem has not affected me yet. Is this related to the qt version? I have qtcore-5.5.1-r1 here.
Comment 7 Zac Medico gentoo-dev 2016-08-11 21:09:01 UTC
*** Bug 590784 has been marked as a duplicate of this bug. ***
Comment 8 Lori 2016-08-11 21:36:30 UTC
(In reply to Zac Medico from comment #6)
> I have gcc-4.9.3 and this problem has not affected me yet. Is this related
> to the qt version? I have qtcore-5.5.1-r1 here.

I have qtcore-5.6.1, and I'm affected. Not sure if there's a relation.
Comment 9 Jonas Stein gentoo-dev 2018-01-07 22:27:54 UTC
app-text/calibre-2.78.0 is now the oldest version in the tree. Is the bug still in >=app-text/calibre-2.78.0
Should we close with stabilization of gcc-6?

If anyone still has this bug with current stable packages, please attach the complete logs:
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
Comment 10 Larry the Git Cow gentoo-dev 2018-01-08 06:45:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b1798bf24d7e2ad5cbc4b4b4eca8d394e328bd5

commit 1b1798bf24d7e2ad5cbc4b4b4eca8d394e328bd5
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2018-01-08 06:40:45 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2018-01-08 06:45:13 +0000

    app-text/calibre: require at least gcc 6
    
    Closes: https://bugs.gentoo.org/589720
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-text/calibre/calibre-2.78.0.ebuild | 8 ++++++++
 app-text/calibre/calibre-3.15.0.ebuild | 8 ++++++++
 app-text/calibre/calibre-3.3.0.ebuild  | 8 ++++++++
 app-text/calibre/calibre-3.8.0.ebuild  | 8 ++++++++
 4 files changed, 32 insertions(+)