Summary: | gnustep-apps/sogo:fails to build with -fno-common or gcc-10 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nabucho <nabucho> |
Component: | Current packages | Assignee: | Gentoo Gnustep project <gnustep> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein, nabucho |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 705764 |
Description
Nabucho
2020-05-27 13:00:26 UTC
The same bug has been discovered on debian too : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=957826 The problem seems to be related to https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common Manually make a patch to add the -fcommon and the compil step working fine now. Will make a new ebuild for it waiting for the source modification Thanks for the report, indeed as seen from log errors (and debian bug) this is a build error with -fno-common And yes I do not see relevant changes in master upstream (or in PR https://github.com/inverse-inc/sogo/pulls), I will hold off on bumping sogo in tree until it compiles with gcc-10. On a side note, if you actually run 4.3.2 (with gcc-9 or with -fno-common) with a simple ebuild rename it will be nice to know: I can only check compilation works fine so any user feedback is welcome We are running sogo 4.3.2 (gcc-9) for about 1,5 month without any issues. Yes, just simple ebuild rename Sorry I did not check your reply before... This is my modified ebuild to get the last SOGO version (renamed) and to take care aout the GCC 10 problem. diff sogo-4.1.1-r1.ebuild sogo-4.3.2.ebuild 6c6 < inherit gnustep-2 vcs-snapshot --- > inherit gnustep-2 user vcs-snapshot 18d17 < acct-user/sogo 39a39,43 > pkg_setup() { > enewgroup sogo > enewuser sogo -1 /bin/bash /var/lib/sogo sogo > } > 47a52,55 > > # Patch GCC10 > echo '# Add a temporary fix to change the GCC-10 default behavior about the common/no-common bug' >> general.make > echo 'ADDITIONAL_OBJCFLAGS += -fcommon' >> general.make Thanks, I will indeed go this way for now (no time to dig further in a proper fix, and a bump is more than overdue) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b93e8cbf7122c2cedfb899e0bc2fa6653eac7e95 commit b93e8cbf7122c2cedfb899e0bc2fa6653eac7e95 Author: Bernard Cafarelli <voyageur@gentoo.org> AuthorDate: 2020-07-29 17:42:34 +0000 Commit: Bernard Cafarelli <voyageur@gentoo.org> CommitDate: 2020-07-29 17:42:51 +0000 gnustep-apps/sogo: 4.3.2 bump This builds with -fcommon until we have proper fix Thanks Nabucho for testing this version Closes: https://bugs.gentoo.org/725630 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org> gnustep-apps/sogo/Manifest | 1 + gnustep-apps/sogo/sogo-4.3.2.ebuild | 110 ++++++++++++++++++++++++++++++++++++ 2 files changed, 111 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05d084741d559ac578189b6d2aec5092d4a11939 commit 05d084741d559ac578189b6d2aec5092d4a11939 Author: Bernard Cafarelli <voyageur@gentoo.org> AuthorDate: 2020-07-29 17:37:51 +0000 Commit: Bernard Cafarelli <voyageur@gentoo.org> CommitDate: 2020-07-29 17:42:51 +0000 gnustep-libs/sope: 4.3.2 bump Bug: https://bugs.gentoo.org/725630 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org> gnustep-libs/sope/Manifest | 1 + gnustep-libs/sope/sope-4.3.2.ebuild | 62 +++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e930c78025168ff00afe95a670bf4e72d464d3e commit 0e930c78025168ff00afe95a670bf4e72d464d3e Author: Andreas K. Huettel <dilfridge@gentoo.org> AuthorDate: 2021-01-06 18:09:14 +0000 Commit: Andreas K. Huettel <dilfridge@gentoo.org> CommitDate: 2021-01-06 19:07:33 +0000 gnustep-apps/sogo: Remove old Bug: https://bugs.gentoo.org/725630 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org> gnustep-apps/sogo/Manifest | 1 - gnustep-apps/sogo/sogo-4.1.1-r1.ebuild | 106 ------------------------------- gnustep-apps/sogo/sogo-4.1.1.ebuild | 110 --------------------------------- 3 files changed, 217 deletions(-) |