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

Bug 733304

Summary: dev-db/repmgr fails to compile with -fno-common
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/18918
Whiteboard: ~arch only
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-07-20 11:12:49 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-db/repmgr fails to compile with -fno-common.
Discovered on: amd64 (internal ref: ci)

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-07-20 11:12:57 UTC
Created attachment 649954 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-01-03 21:39:32 UTC
The bug has been closed via the following commit(s):

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

commit ac2eef59aae978a9c5c530de067bc4b28ab37ff0
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-01-03 21:39:23 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-01-03 21:39:23 +0000

    dev-db/repmgr: Fix build with gcc-10
    
    Closes: https://bugs.gentoo.org/733304
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 dev-db/repmgr/files/repmgr-5.1.0-fno-common.patch | 51 +++++++++++++++++++++++
 dev-db/repmgr/repmgr-5.1.0.ebuild                 | 32 ++++++++------
 2 files changed, 70 insertions(+), 13 deletions(-)