Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 787674 - [guru] sci-electronics/dsview-1.12 fails to compile
Summary: [guru] sci-electronics/dsview-1.12 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: vowstar
URL: https://github.com/gentoo/guru/commit...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-02 11:25 UTC by Agostino Sarubbo
Modified: 2021-05-09 18:13 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,19.05 KB, application/x-xz)
2021-05-02 11:25 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-05-02 11:25:44 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-electronics/dsview-1.12 fails to compile.
Discovered on: amd64 (internal ref: guru_ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
Comment 1 Agostino Sarubbo gentoo-dev 2021-05-02 11:25:47 UTC
Created attachment 705285 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2021-05-02 11:25:48 UTC
Possible context of error(s):

/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/type_traits:56:3: error: template with C linkage
Comment 3 Larry the Git Cow gentoo-dev 2021-05-09 18:13:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b26e5a664b0300b7c50b259849b5946fa78a4ec5

commit b26e5a664b0300b7c50b259849b5946fa78a4ec5
Author:     Huang Rui <vowstar@gmail.com>
AuthorDate: 2021-05-08 19:40:22 +0000
Commit:     Huang Rui <vowstar@gmail.com>
CommitDate: 2021-05-08 19:40:22 +0000

    sci-electronics/dsview: fix gcc-11 compile
    
    * fix extern-c error when compile
    * fix qt compile error
    * fix segfault
    * remove useless patches
    
    Closes: https://bugs.gentoo.org/787674
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Huang Rui <vowstar@gmail.com>

 sci-electronics/dsview/dsview-1.12.ebuild          | 13 +++----
 sci-electronics/dsview/dsview-9999.ebuild          | 11 ++----
 .../dsview/files/dsview-1.12-fix-extern-c.patch    | 42 ++++++++++++++++++++++
 .../dsview/files/dsview-1.12-fix-qt.patch          | 13 +++++++
 .../dsview/files/dsview-1.12-fix-segfault.patch    | 22 ++++++++++++
 5 files changed, 86 insertions(+), 15 deletions(-)