Summary: | sys-power/apcupsd-3.14.14-r3 - [libtool] [gcc-15] options.c: error: pidfile violates the C++ One Definition Rule [-Werror=odr] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | John Einar Reitan <john.einar> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | base-system, conikost, holger |
Priority: | Normal | Keywords: | PATCH, PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/40199 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 | ||
Attachments: |
emerge-info.txt
emerge-history.txt.xz environment etc.clang.tar.xz etc.portage.tar.xz logs.tar.xz qlist-info.txt.xz sys-power:apcupsd-3.14.14-r3:20241015-142638.log temp.tar.xz Patch to make extern symbol declarations consistent |
Description
Toralf Förster
![]() Created attachment 905943 [details]
emerge-info.txt
Created attachment 905944 [details]
emerge-history.txt.xz
Created attachment 905945 [details]
environment
Created attachment 905946 [details]
etc.clang.tar.xz
Created attachment 905947 [details]
etc.portage.tar.xz
Created attachment 905948 [details]
logs.tar.xz
Created attachment 905949 [details]
qlist-info.txt.xz
Created attachment 905950 [details]
sys-power:apcupsd-3.14.14-r3:20241015-142638.log
Created attachment 905951 [details]
temp.tar.xz
I see only using 'filter-lto' here. Upstream has for years no new commits, so I don't expect any proper fix here. Unless someone has an idea how to fix this without filtering.. Created attachment 917061 [details, diff]
Patch to make extern symbol declarations consistent
This fixes it for me.
(In reply to Holger Hoffstätte from comment #11) > Created attachment 917061 [details, diff] [details, diff] > Patch to make extern symbol declarations consistent > > This fixes it for me. Thats great, thank you! The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85f08b2beefc799a843a3c84f309cf44a3316a93 commit 85f08b2beefc799a843a3c84f309cf44a3316a93 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2025-01-23 23:49:58 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2025-01-23 23:51:12 +0000 sys-power/apcupsd: update EAPI 7 -> 8 Also changed: * Sorted use flags * Use generated apcupsd.conf * Set NISIP via configure * Remove runlevel check from apcupsd.powerfail * Patch for LTO * Dropped PAGER workaround Closes: https://bugs.gentoo.org/418177 Closes: https://bugs.gentoo.org/832350 Closes: https://bugs.gentoo.org/941584 Closes: https://github.com/gentoo/gentoo/pull/40199 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> sys-power/apcupsd/apcupsd-3.14.14-r4.ebuild | 160 ++++++++++++++++++++++ sys-power/apcupsd/files/apcupsd-3.14.14-lto.patch | 29 ++++ sys-power/apcupsd/files/apcupsd.powerfail.init-r1 | 17 +++ 3 files changed, 206 insertions(+) |