Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917161 - net-proxy/squid-6.2 - Reply.cc: error: no matching function for call to find(std::vector<SBuf>::const_iterator, std::vector<SBuf>::const_iterator, con
Summary: net-proxy/squid-6.2 - Reply.cc: error: no matching function for call to find(...
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: gcc-14
  Show dependency tree
 
Reported: 2023-11-11 10:33 UTC by Toralf Förster
Modified: 2023-11-17 15:08 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.11 KB, text/plain)
2023-11-11 10:34 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,64.83 KB, application/x-xz)
2023-11-11 10:34 UTC, Toralf Förster
Details
environment (environment,128.52 KB, text/plain)
2023-11-11 10:34 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.05 KB, application/x-xz)
2023-11-11 10:34 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,34.08 KB, application/x-xz)
2023-11-11 10:34 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,35.70 KB, application/x-xz)
2023-11-11 10:34 UTC, Toralf Förster
Details
net-proxy:squid-6.2:20231111-041324.log (net-proxy:squid-6.2:20231111-041324.log,132.96 KB, text/plain)
2023-11-11 10:34 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,76.68 KB, application/x-xz)
2023-11-11 10:34 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,43.93 KB, application/x-xz)
2023-11-11 10:34 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 2023-11-11 10:33:59 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
/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 -Wall -Wextra -
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 -Wall -Wextra -
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 -Wall -Wextra -
Reply.cc: In static member function 'static void Helper::Reply::CheckReceivedKey(const SBuf&, const SBuf&)':
Reply.cc:197:18: error: no matching function for call to 'find(std::vector<SBuf>::const_iterator, std::vector<SBuf>::const_iterator, const SBuf&)'
  197 |     if (std::find(recognized.begin(), recognized.end(), key) != recognized.end())
      |         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20231105-205452

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.4
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.4
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0
  [2]   rust-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm
  [4]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 462d90f1771caedb5fbfcff99e10caebd3e843f7
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 11 03:01:59 2023 +0000

    2023-11-11 03:01:58 UTC

emerge -qpvO net-proxy/squid
[ebuild  N    ] net-proxy/squid-6.2  USE="htcp pam ssl systemd wccp wccpv2 -caps -ecap -esi -gnutls -kerberos -ldap -logrotate -mysql -nis -perl -postgres -qos -radius -samba -sasl (-selinux) -snmp -sqlite -ssl-crtd -test -tproxy (-valgrind)"
Comment 1 Toralf Förster gentoo-dev 2023-11-11 10:34:00 UTC
Created attachment 874531 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-11 10:34:01 UTC
Created attachment 874532 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-11-11 10:34:02 UTC
Created attachment 874533 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-11-11 10:34:03 UTC
Created attachment 874534 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-11-11 10:34:04 UTC
Created attachment 874535 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-11 10:34:05 UTC
Created attachment 874536 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-11-11 10:34:07 UTC
Created attachment 874537 [details]
net-proxy:squid-6.2:20231111-041324.log
Comment 8 Toralf Förster gentoo-dev 2023-11-11 10:34:08 UTC
Created attachment 874538 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-11-11 10:34:09 UTC
Created attachment 874539 [details]
temp.tar.xz
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-11 16:42:10 UTC
This might be fine with the pending bump
Comment 11 Larry the Git Cow gentoo-dev 2023-11-17 15:08:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=031e513506d3d9b474f8a5df01994578f531f1eb

commit 031e513506d3d9b474f8a5df01994578f531f1eb
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-11-17 14:54:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-11-17 15:07:23 +0000

    net-proxy/squid: fix build for GCC 14 (partially); use config cache for libltdl
    
    * Fix build for GCC 14 (missing <algorithm> include for std::find, not upstreamed
      it yet). There's another issue I still need to look at to do with class visibility.
    
    * Use config cache for libltdl which avoids some redundant configure checks.
    
    Closes: https://bugs.gentoo.org/917161
    Signed-off-by: Sam James <sam@gentoo.org>

 net-proxy/squid/files/squid-6.4-gcc14-algorithm.patch | 12 ++++++++++++
 net-proxy/squid/squid-6.4.ebuild                      |  3 +++
 2 files changed, 15 insertions(+)