Summary: | net-proxy/squid-6.5: compilation error with sys-devel/gcc-9 (missing -std=c++17) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | NoXъ <ghqlad3za09z> |
Component: | Current packages | Assignee: | Hank Leininger <hlein> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | ghqlad3za09z, proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: |
https://github.com/squid-cache/squid/pull/1212 https://bugs.squid-cache.org/show_bug.cgi?id=5376 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
NoXъ
2024-01-10 06:37:56 UTC
The problem was caused by old gcc selected by default: # eselect gcc list [1] x86_64-pc-linux-gnu-9.2.0 * [2] x86_64-pc-linux-gnu-13 So, after selecting new gcc the net-proxy/squid got compiled/emerged with no problems. I'm not changing the bug report status because dwfreed from https://web.libera.chat/#gentoo-proxy-maint said: "still a bug in squid, because it's not passing --std=c++17 for that specific compile" "it still uses CXXFLAGS it's just missing the --std=c++17 , which it uses in every other call to cxx" I've mentioned it at https://github.com/squid-cache/squid/pull/1212#discussion_r1479475609. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fb3dca4144e8a027305eaecad841c1da353e382 commit 0fb3dca4144e8a027305eaecad841c1da353e382 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-10-21 08:34:36 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-10-21 09:16:01 +0000 net-proxy/squid: add 6.12 * Fix respecting $AR * Add -std=gnu++17 for older GCC which doesn't yet default to gnu++17 Closes: https://bugs.gentoo.org/911945 Closes: https://bugs.gentoo.org/921688 Signed-off-by: Sam James <sam@gentoo.org> net-proxy/squid/Manifest | 2 + net-proxy/squid/files/squid-6.12-ar.patch | 29 +++ net-proxy/squid/squid-6.12.ebuild | 417 ++++++++++++++++++++++++++++++ 3 files changed, 448 insertions(+) |