Summary: | net-proxy/squid-5.4.1-r2:0 - Libxml2Parser.cc: error: xmlSetFeature was not declared in this scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Mikle Kolyada (RETIRED) <zlogene> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | atoth, leonchik1976, sam |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tar.bz2 logs.tar.bz2 net-proxy:squid-5.4.1-r2:20220825-072912.log.bz2 temp.tar.bz2 |
Description
Toralf Förster
2022-08-25 10:23:19 UTC
Created attachment 800983 [details]
emerge-info.txt
Created attachment 800986 [details]
emerge-history.txt
Created attachment 800989 [details]
environment
Created attachment 800992 [details]
etc.portage.tar.bz2
Created attachment 800995 [details]
logs.tar.bz2
Created attachment 800998 [details]
net-proxy:squid-5.4.1-r2:20220825-072912.log.bz2
Created attachment 801001 [details]
temp.tar.bz2
ESI: Drop incorrect and unnecessary xmlSetFeature() call (#988) xmlSetFeature() has been deprecated for 10+ years and will eventually be removed from libxml2. Squid calls xmlSetFeature() with the wrong argument: a nil `value` pointer instead of a pointer to a zero value. When called with a nil `value`, the function does nothing but returning an error. Squid does not check whether xmlSetFeature() call is successful, and the bug went unnoticed since libxml2 support was added in commit 964b44c. Since libxml2 does not substitute entities by default, the call can be removed to achieve the intended effect. https://github.com/squid-cache/squid/commit/c4e6b7c2a12fa218089fe839f769ffc8ae18dea4 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1efb38b2ae71a0cf0dc13480491b3cba754ccc1c commit 1efb38b2ae71a0cf0dc13480491b3cba754ccc1c Author: Sam James <sam@gentoo.org> AuthorDate: 2022-09-23 07:16:47 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-23 07:16:54 +0000 net-proxy/squid: fix build w/ libxml2-2.10.0 Closes: https://bugs.gentoo.org/866518 Signed-off-by: Sam James <sam@gentoo.org> .../files/squid-4.17-fix-libxml2-2.10.0.patch | 30 ++++++++++++++++++++++ net-proxy/squid/squid-4.17-r1.ebuild | 1 + net-proxy/squid/squid-5.4.1-r2.ebuild | 1 + 3 files changed, 32 insertions(+) |