Upgrade from squid 6.14 to 7.3 fails
Xavier Humbert <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.ports |
|---|---|
| Message-ID | <[email protected]> |
Hi, Now that squid 7 is out, I tried to update my system, but if fails on FreeBSD numenor.groumpf.org 14.3-STABLE FreeBSD 14.3-STABLE stable/14-f9d671f726ac GENERIC amd64 c++ -std=c++17 -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/usr/local/etc/squid/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/usr/local/etc/squid\" -DDEFAULT_SQUID_CONFIG_DIR=\"/usr/local/etc/squid\" -I.. -I../include -I../lib -I../src -I../include -I/usr/local/include -I../libltdl -I../src -I../libltdl -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -isystem /usr/local/include -Wall -Wextra -Wno-unused-private-field -Wno-implicit-fallthrough -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Wmissing-declarations -Woverloaded-virtual -D_REENTRANT -I/usr/local/include -pipe -g -march=core2 -g -DLDAP_DEPRECATED -g -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -g -isystem /usr/local/include -I/usr/local/include -MT tools.o -MD -MP -MF $depbase.Tpo -c -o tools.o tools.cc &&\ mv -f $depbase.Tpo $depbase.Po tools.cc:403:21: error: use of undeclared identifier 'debug_log' 403 | fprintf(debug_log, "Failed to trace own stack: " | ^ tools.cc:408:21: error: use of undeclared identifier 'debug_log' 408 | fprintf(debug_log, "Failed to trace own stack: " | ^ tools.cc:413:10: error: use of undeclared identifier 'debug_log' 413 | fprintf(debug_log, "Backtrace follows (deepest frame first):\n"); | ^ tools.cc:423:14: error: use of undeclared identifier 'debug_log' 423 | fprintf(debug_log, "#%zd: %s + 0x%zx, ip = 0x%zx, sp = 0x%zx\n", | ^ tools.cc:426:10: error: use of undeclared identifier 'debug_log' 426 | fprintf(debug_log, "Use addr2line of similar to translate offsets to line information.\n"); | ^ 5 errors generated. I tried with or without the DEBUG flag in make config, no change Output of make "showconfig" ===> The following configuration options are available for squid-7.3: ARP_ACL=on: ARP/MAC/EUI based authentification CACHE_DIGESTS=on: Use cache digests DEBUG=off: Build with extended debugging support DELAY_POOLS=on: Delay pools (bandwidth limiting) DOCS=on: Build and/or install documentation ECAP=on: Loadable content adaptation modules EXAMPLES=on: Build and/or install examples FOLLOW_XFF=on: Support for the X-Following-For header FS_AUFS=on: AUFS (threaded-io) support FS_DISKD=on: DISKD storage engine controlled by separate service FS_ROCK=on: ROCK storage engine HTCP=on: HTCP support ICAP=on: the ICAP client ICMP=on: ICMP pinging and network measurement IPV6=on: IPv6 protocol support KQUEUE=on: Kqueue(2) support LARGEFILE=on: Support large (>2GB) cache and log files LAX_HTTP=on: Do not enforce strict HTTP compliance NETTLE=on: Nettle MD5 algorithm support SNMP=on: SNMP support SSL=on: SSL gatewaying support SSL_CRTD=on: Use ssl_crtd to handle SSL cert requests STACKTRACES=on: Enable automatic backtraces on fatal errors TDB=off: TrivialDB support required for session and time quota external helpers VIA_DB=on: Forward/Via database WCCP=on: Web Cache Coordination Protocol WCCPV2=on: Web Cache Coordination Protocol v2 ====> Authentication helpers AUTH_LDAP=on: Install LDAP authentication helpers AUTH_NIS=off: Install NIS/YP authentication helpers AUTH_SASL=off: Install SASL authentication helpers AUTH_SMB=off: Install SMB auth. helpers (req. Samba) AUTH_SQL=on: Install SQL based auth ====> GSSAPI Security API support: you have to select exactly one of them GSSAPI_BASE=off: GSSAPI support via base system (needs Kerberos) GSSAPI_HEIMDAL=off: GSSAPI support via security/heimdal GSSAPI_MIT=off: GSSAPI support via security/krb5 GSSAPI_NONE=on: Disable GSSAPI support ====> Options available for the radio FW: you can only select none or one of them TP_IPF=off: Transparent proxying with IPFilter TP_IPFW=off: Transparent proxying with IPFW TP_PF=on: Transparent proxying with PF Regards, Xavier -- Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer https://www.amdh.fr