Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 724922

Summary: net-irc/ptlink-opm fails to compile with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: jer
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-05-24 08:07:50 UTC
This is an auto-filed bug because net-irc/ptlink-opm fails to compile with -fno-common or gcc-10.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

NOTE:
To reproduce this issue you may want to set CFLAGS="${CFLAGS} -fno-common" or compile it with gcc-10 that enables -fno-common by default.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-24 08:07:55 UTC
Created attachment 641288 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-05-28 07:25:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5085ad33d1c161a31945a369ba8a95c5f9b58d1d

commit 5085ad33d1c161a31945a369ba8a95c5f9b58d1d
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-05-28 07:24:51 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-05-28 07:25:30 +0000

    net-irc/ptlink-opm: Fix building with CFLAGS=-fno-common
    
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=724922
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 .../files/ptlink-opm-1.3.1-fno-common.patch        | 17 ++++++++
 net-irc/ptlink-opm/ptlink-opm-1.3.1-r2.ebuild      | 48 ++++++++++++++++++++++
 2 files changed, 65 insertions(+)