Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733304 - dev-db/repmgr fails to compile with -fno-common
Summary: dev-db/repmgr fails to compile with -fno-common
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard: ~arch only
Keywords: PullRequest
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-07-20 11:12 UTC by Agostino Sarubbo
Modified: 2021-01-03 21:39 UTC (History)
0 users

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


Attachments
build.log (build.log,26.98 KB, text/plain)
2020-07-20 11:12 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 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(-)