Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923842 - net-proxy/squid-6.5 - Libxml2Parser.cc: error: invalid conversion from const xmlError {aka const _xmlError } to xmlErrorPtr {aka _xmlError } [-fpermis
Summary: net-proxy/squid-6.5 - Libxml2Parser.cc: error: invalid conversion from const ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hank Leininger
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libxml2-2.12
  Show dependency tree
 
Reported: 2024-02-05 18:49 UTC by Toralf Förster
Modified: 2024-02-06 09:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,23.02 KB, text/plain)
2024-02-05 18:49 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,139.56 KB, application/x-xz)
2024-02-05 18:49 UTC, Toralf Förster
Details
environment (environment,135.47 KB, text/plain)
2024-02-05 18:49 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.07 KB, application/x-xz)
2024-02-05 18:49 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,48.23 KB, application/x-xz)
2024-02-05 18:49 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,36.93 KB, application/x-xz)
2024-02-05 18:49 UTC, Toralf Förster
Details
net-proxy:squid-6.5:20240205-004001.log.xz (net-proxy:squid-6.5:20240205-004001.log.xz,27.23 KB, application/x-xz)
2024-02-05 18:49 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,135.82 KB, application/x-xz)
2024-02-05 18:49 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,60.49 KB, application/x-xz)
2024-02-05 18:49 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-02-05 18:49:01 UTC
too long lines were shrinked:

/bin/sh ../../libtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -std=c++17 -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/usr/share/squid\" -DDEFAULT_SQUID_CONFIG_DIR=\"/etc/squid\"   -I../.. -I../../include -I../../lib -I../../src -I../../inclu
libtool: compile:  x86_64-pc-linux-gnu-g++ -std=c++17 -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/usr/share/squid\" -DDEFAULT_SQUID_CONFIG_DIR=\"/etc/squid\" -I../.. -I../../include -I../../lib -I../../src -I../../include -I/usr/include -I/usr/include/
libtool: compile:  x86_64-pc-linux-gnu-g++ -std=c++17 -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/usr/share/squid\" -DDEFAULT_SQUID_CONFIG_DIR=\"/etc/squid\" -I../.. -I../../include -I../../lib -I../../src -I../../include -I/usr/include -I/usr/include/
libtool: compile:  x86_64-pc-linux-gnu-g++ -std=c++17 -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/usr/share/squid\" -DDEFAULT_SQUID_CONFIG_DIR=\"/etc/squid\" -I../.. -I../../include -I../../lib -I../../src -I../../include -I/usr/include -I/usr/include/
libtool: compile:  x86_64-pc-linux-gnu-g++ -std=c++17 -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/usr/share/squid\" -DDEFAULT_SQUID_CONFIG_DIR=\"/etc/squid\" -I../.. -I../../include -I../../lib -I../../src -I../../include -I/usr/include -I/usr/include/
Libxml2Parser.cc: In member function 'virtual const char* ESILibxml2Parser::errorString() const':
Libxml2Parser.cc:147:40: error: invalid conversion from 'const xmlError*' {aka 'const _xmlError*'} to 'xmlErrorPtr' {aka '_xmlError*'} [-fpermissive]
  147 |     xmlErrorPtr error = xmlGetLastError();
      |                         ~~~~~~~~~~~~~~~^~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-20240120-172004

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1
  [2]   rust-1.74.1 *
The following VMs are available for generation-2:
The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.1
  [2]   php8.3 *
go version go1.21.6 linux/amd64

  HEAD of ::gentoo
commit bf390af4e27fc8a008e4c27f59a860e69a34b7fe
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Feb 5 00:18:30 2024 +0000

    2024-02-05 00:18:30 UTC

emerge -qpvO net-proxy/squid
[ebuild  N    ] net-proxy/squid-6.5  USE="esi htcp ldap logrotate pam postgres ssl wccpv2 -caps -ecap -gnutls -kerberos -mysql -nis -perl -qos -radius -samba -sasl (-selinux) -snmp -sqlite -ssl-crtd -systemd -test -tproxy (-valgrind) -wccp"
Comment 1 Toralf Förster gentoo-dev 2024-02-05 18:49:02 UTC
Created attachment 884279 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-02-05 18:49:03 UTC
Created attachment 884280 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-02-05 18:49:04 UTC
Created attachment 884281 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-02-05 18:49:05 UTC
Created attachment 884282 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-02-05 18:49:06 UTC
Created attachment 884283 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-02-05 18:49:07 UTC
Created attachment 884284 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-02-05 18:49:09 UTC
Created attachment 884285 [details]
net-proxy:squid-6.5:20240205-004001.log.xz
Comment 8 Toralf Förster gentoo-dev 2024-02-05 18:49:10 UTC
Created attachment 884286 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-02-05 18:49:11 UTC
Created attachment 884287 [details]
temp.tar.xz
Comment 10 Hank Leininger 2024-02-05 19:00:20 UTC
I am still waiting since mid-December for my bump to 6.6 PR to land, which includes security fixes, see https://bugs.gentoo.org/920101 and https://github.com/gentoo/gentoo/pull/34310

I haven't moved any boxes to gcc-13 yet, but Squid 6.7 was released yesterday that mentions C++17 support, which might address this. I'll work on a 6.7 bump soon.
Comment 11 Larry the Git Cow gentoo-dev 2024-02-06 09:45:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2002cec99bd8545a4d143ed30e44a5df755d4bf9

commit 2002cec99bd8545a4d143ed30e44a5df755d4bf9
Author:     Hank Leininger <hlein@korelogic.com>
AuthorDate: 2023-12-16 10:04:15 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-06 09:45:04 +0000

    net-proxy/squid: add 6.6
    
    Signed-off-by: Hank Leininger <hlein@korelogic.com>
    Bug: https://bugs.gentoo.org/920101
    Closes: https://bugs.gentoo.org/923842
    Closes: https://github.com/gentoo/gentoo/pull/34310
    Signed-off-by: Sam James <sam@gentoo.org>

 net-proxy/squid/Manifest         |   1 +
 net-proxy/squid/squid-6.6.ebuild | 386 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 387 insertions(+)