Summary: | net-misc/apt-cacher-ng-3.7.4_p1-r2 failed to rebuild with gcc-14 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Leonid Kopylov <leonchik1976> |
Component: | Current packages | Assignee: | John Helmert III <ajak> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | ~arch only | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 914580 | ||
Attachments: | build.log |
Description
Leonid Kopylov
2024-05-25 05:24:45 UTC
Created attachment 894310 [details]
build.log
/var/tmp/portage/net-misc/apt-cacher-ng-3.7.4_p1-r2/work/apt-cacher-ng-debian-3.7.4-1/fs/httpfs.cc: In function ‘void expireAgents(int, short int, void*)’: /var/tmp/portage/net-misc/apt-cacher-ng-3.7.4_p1-r2/work/apt-cacher-ng-debian-3.7.4-1/fs/httpfs.cc:161:26: error: ‘find_if’ was not declared in this scope; did you mean ‘std::ranges::find_if’? 161 | auto firstGood = find_if(spare_agents.begin(), spare_agents.end(), | ^~~~~~~ | std::ranges::find_if Needs <algorithm> commit 4ae8f96b83215d032a76cfc9e3b33f1beb47844d Author: Sam James <sam@gentoo.org> Date: Sun Mar 24 14:27:36 2024 +0000 net-misc/apt-cacher-ng: fix build w/ gcc 14 Signed-off-by: Sam James <sam@gentoo.org> but that didn't touch httpfs. Let me do that quickly. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10d8adb74bc2d3193024e56ed720d6b55111b26c commit 10d8adb74bc2d3193024e56ed720d6b55111b26c Author: Sam James <sam@gentoo.org> AuthorDate: 2024-11-19 15:05:49 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-11-19 15:10:47 +0000 net-misc/apt-cacher-ng: append GCC 14 patch Add another <algorithm> include. Closes: https://bugs.gentoo.org/932676 Signed-off-by: Sam James <sam@gentoo.org> net-misc/apt-cacher-ng/files/apt-cacher-ng-3.7.4-gcc14.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) |