• Re: Upgrade from squid 6.14 to 7.3 fails

    From Pavel Timofeev@timp87@gmail.com to muc.lists.freebsd.ports on Fri Jan 2 13:02:06 2026
    From Newsgroup: muc.lists.freebsd.ports

    --000000000000b841c606476d2fdf
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    Hello

    I'm really sorry for the inconvenience, but this upgrade has already had a
    few problems:
    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D292070 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D292098

    The failure you encountered is because of the STACKTRACES option turned ON.
    You can turn it off to make it build for now.

    I'll take a look at it a bit later.

    On Fri, Jan 2, 2026 at 12:48=E2=80=AFPM Xavier Humbert <xavier@groumpf.org>=
    wrote:

    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=3Dc++17 -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=3D\"/usr/local/etc/squid/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=3D\"/usr/local/etc/squid\" -DDEFAULT_SQUID_CONFIG_DIR=3D\"/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=3Dcore2 -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 =3D 0x%zx,
    sp =3D 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"

    =3D=3D=3D> The following configuration options are available for squid-7.=
    3:
    ARP_ACL=3Don: ARP/MAC/EUI based authentification
    CACHE_DIGESTS=3Don: Use cache digests
    DEBUG=3Doff: Build with extended debugging support
    DELAY_POOLS=3Don: Delay pools (bandwidth limiting)
    DOCS=3Don: Build and/or install documentation
    ECAP=3Don: Loadable content adaptation modules
    EXAMPLES=3Don: Build and/or install examples
    FOLLOW_XFF=3Don: Support for the X-Following-For header
    FS_AUFS=3Don: AUFS (threaded-io) support
    FS_DISKD=3Don: DISKD storage engine controlled by separate service
    FS_ROCK=3Don: ROCK storage engine
    HTCP=3Don: HTCP support
    ICAP=3Don: the ICAP client
    ICMP=3Don: ICMP pinging and network measurement
    IPV6=3Don: IPv6 protocol support
    KQUEUE=3Don: Kqueue(2) support
    LARGEFILE=3Don: Support large (>2GB) cache and log files
    LAX_HTTP=3Don: Do not enforce strict HTTP compliance
    NETTLE=3Don: Nettle MD5 algorithm support
    SNMP=3Don: SNMP support
    SSL=3Don: SSL gatewaying support
    SSL_CRTD=3Don: Use ssl_crtd to handle SSL cert requests
    STACKTRACES=3Don: Enable automatic backtraces on fatal errors
    TDB=3Doff: TrivialDB support required for session and time quota external helpers
    VIA_DB=3Don: Forward/Via database
    WCCP=3Don: Web Cache Coordination Protocol
    WCCPV2=3Don: Web Cache Coordination Protocol v2
    =3D=3D=3D=3D> Authentication helpers
    AUTH_LDAP=3Don: Install LDAP authentication helpers
    AUTH_NIS=3Doff: Install NIS/YP authentication helpers
    AUTH_SASL=3Doff: Install SASL authentication helpers
    AUTH_SMB=3Doff: Install SMB auth. helpers (req. Samba)
    AUTH_SQL=3Don: Install SQL based auth
    =3D=3D=3D=3D> GSSAPI Security API support: you have to select exactly one=
    of them
    GSSAPI_BASE=3Doff: GSSAPI support via base system (needs Kerberos)
    GSSAPI_HEIMDAL=3Doff: GSSAPI support via security/heimdal
    GSSAPI_MIT=3Doff: GSSAPI support via security/krb5
    GSSAPI_NONE=3Don: Disable GSSAPI support
    =3D=3D=3D=3D> Options available for the radio FW: you can only select non=
    e or
    one of them
    TP_IPF=3Doff: Transparent proxying with IPFilter
    TP_IPFW=3Doff: Transparent proxying with IPFW
    TP_PF=3Don: Transparent proxying with PF

    Regards,

    Xavier

    --
    Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer https://www.amdh.fr




    --000000000000b841c606476d2fdf
    Content-Type: text/html; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    <div dir=3D"ltr">Hello<div><br>I&#39;m really sorry for the inconvenience, = but this upgrade has already had a few problems:<br><a href=3D"https://bugs= .freebsd.org/bugzilla/show_bug.cgi?id=3D292070">https://bugs.freebsd.org/bu= gzilla/show_bug.cgi?id=3D292070</a><br><a href=3D"https://bugs.freebsd.org/= bugzilla/show_bug.cgi?id=3D292098">https://bugs.freebsd.org/bugzilla/show_b= ug.cgi?id=3D292098</a><br><div><br></div><div>The failure you encountered i=
    s because of the STACKTRACES option turned ON.</div><div>You can turn it of=
    f to make it build for now.</div><div><br></div><div>I&#39;ll take a look a=
    t it a bit later.</div></div></div><br><div class=3D"gmail_quote gmail_quot= e_container"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Jan 2, 2026 at 1= 2:48=E2=80=AFPM Xavier Humbert &lt;<a href=3D"mailto:xavier@groumpf.org">xa= vier@groumpf.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" = style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pa= dding-left:1ex">Hi,<br>

    Now that squid 7 is out, I tried to update my system, but if fails on <br> FreeBSD <a href=3D"http://numenor.groumpf.org" rel=3D"noreferrer" target=3D= "_blank">numenor.groumpf.org</a> 14.3-STABLE FreeBSD 14.3-STABLE <br> stable/14-f9d671f726ac GENERIC amd64<br>

    c++ -std=3Dc++17 -DHAVE_CONFIG_H <br> -DDEFAULT_CONFIG_FILE=3D\&quot;/usr/local/etc/squid/squid.conf\&quot; <br> -DDEFAULT_SQUID_DATA_DIR=3D\&quot;/usr/local/etc/squid\&quot; <br> -DDEFAULT_SQUID_CONFIG_DIR=3D\&quot;/usr/local/etc/squid\&quot;=C2=A0 =C2= =A0-I.. -I../include <br>
    -I../lib -I../src -I../include -I/usr/local/include -I../libltdl <br>
    -I../src -I../libltdl -I/usr/local/include -I/usr/local/include <br> -I/usr/local/include -I/usr/local/include -I/usr/local/include -isystem <br=

    /usr/local/include -Wall -Wextra -Wno-unused-private-field <br> -Wno-implicit-fallthrough -Wpointer-arith -Wwrite-strings -Wcomments <br> -Wshadow -Wmissing-declarations -Woverloaded-virtual=C2=A0 -D_REENTRANT <br=

    -I/usr/local/include -pipe -g -march=3Dcore2 -g -DLDAP_DEPRECATED -g <br> -fstack-protector-strong -isystem /usr/local/include <br>
    -fno-strict-aliasing -g -isystem /usr/local/include -I/usr/local/include <b=

    -MT tools.o -MD -MP -MF $depbase.Tpo -c -o tools.o tools.cc &amp;&amp;\<br>
    mv -f $depbase.Tpo $depbase.Po<br>
    tools.cc:403:21: error: use of undeclared identifier &#39;debug_log&#39;<br=

    =C2=A0=C2=A0 403 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0fprintf(d= ebug_log, &quot;Failed to trace own stack: &quot;<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
    =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^<br>
    tools.cc:408:21: error: use of undeclared identifier &#39;debug_log&#39;<br=

    =C2=A0=C2=A0 408 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0fprintf(d= ebug_log, &quot;Failed to trace own stack: &quot;<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
    =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^<br>
    tools.cc:413:10: error: use of undeclared identifier &#39;debug_log&#39;<br=

    =C2=A0=C2=A0 413 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0fprintf(debug_log, &quo= t;Backtrace follows (deepest frame <br>
    first):\n&quot;);<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
    =A0 =C2=A0 =C2=A0^<br>
    tools.cc:423:14: error: use of undeclared identifier &#39;debug_log&#39;<br=

    =C2=A0=C2=A0 423 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0fprintf(d= ebug_log, &quot;#%zd: %s + 0x%zx, ip =3D 0x%zx, <br>
    sp =3D 0x%zx\n&quot;,<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
    =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^<br>
    tools.cc:426:10: error: use of undeclared identifier &#39;debug_log&#39;<br=

    =C2=A0=C2=A0 426 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0fprintf(debug_log, &quo= t;Use addr2line of similar to <br>
    translate offsets to line information.\n&quot;);<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
    =A0 =C2=A0 =C2=A0^<br>
    5 errors generated.<br>

    I tried with or without the DEBUG flag in make config, no change<br>

    Output of make &quot;showconfig&quot;<br>

    =3D=3D=3D&gt; The following configuration options are available for squid-7= .3:<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0ARP_ACL=3Don: ARP/MAC/EUI based authentification<=

    =C2=A0=C2=A0 =C2=A0 =C2=A0CACHE_DIGESTS=3Don: Use cache digests<br> =C2=A0=C2=A0 =C2=A0 =C2=A0DEBUG=3Doff: Build with extended debugging suppor= t<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0DELAY_POOLS=3Don: Delay pools (bandwidth limiting= )<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0DOCS=3Don: Build and/or install documentation<br> =C2=A0=C2=A0 =C2=A0 =C2=A0ECAP=3Don: Loadable content adaptation modules<br=

    =C2=A0=C2=A0 =C2=A0 =C2=A0EXAMPLES=3Don: Build and/or install examples<br> =C2=A0=C2=A0 =C2=A0 =C2=A0FOLLOW_XFF=3Don: Support for the X-Following-For = header<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0FS_AUFS=3Don: AUFS (threaded-io) support<br> =C2=A0=C2=A0 =C2=A0 =C2=A0FS_DISKD=3Don: DISKD storage engine controlled by=
    separate service<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0FS_ROCK=3Don: ROCK storage engine<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0HTCP=3Don: HTCP support<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0ICAP=3Don: the ICAP client<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0ICMP=3Don: ICMP pinging and network measurement<b=

    =C2=A0=C2=A0 =C2=A0 =C2=A0IPV6=3Don: IPv6 protocol support<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0KQUEUE=3Don: Kqueue(2) support<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0LARGEFILE=3Don: Support large (&gt;2GB) cache and=
    log files<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0LAX_HTTP=3Don: Do not enforce strict HTTP complia= nce<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0NETTLE=3Don: Nettle MD5 algorithm support<br> =C2=A0=C2=A0 =C2=A0 =C2=A0SNMP=3Don: SNMP support<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0SSL=3Don: SSL gatewaying support<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0SSL_CRTD=3Don: Use ssl_crtd to handle SSL cert re= quests<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0STACKTRACES=3Don: Enable automatic backtraces on = fatal errors<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0TDB=3Doff: TrivialDB support required for session=
    and time quota <br>
    external helpers<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0VIA_DB=3Don: Forward/Via database<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0WCCP=3Don: Web Cache Coordination Protocol<br> =C2=A0=C2=A0 =C2=A0 =C2=A0WCCPV2=3Don: Web Cache Coordination Protocol v2<b=

    =3D=3D=3D=3D&gt; Authentication helpers<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0AUTH_LDAP=3Don: Install LDAP authentication helpe= rs<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0AUTH_NIS=3Doff: Install NIS/YP authentication hel= pers<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0AUTH_SASL=3Doff: Install SASL authentication help= ers<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0AUTH_SMB=3Doff: Install SMB auth. helpers (req. S= amba)<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0AUTH_SQL=3Don: Install SQL based auth<br> =3D=3D=3D=3D&gt; GSSAPI Security API support: you have to select exactly on=
    e of them<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0GSSAPI_BASE=3Doff: GSSAPI support via base system=
    (needs Kerberos)<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0GSSAPI_HEIMDAL=3Doff: GSSAPI support via security= /heimdal<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0GSSAPI_MIT=3Doff: GSSAPI support via security/krb= 5<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0GSSAPI_NONE=3Don: Disable GSSAPI support<br> =3D=3D=3D=3D&gt; Options available for the radio FW: you can only select no=
    ne or <br>
    one of them<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0TP_IPF=3Doff: Transparent proxying with IPFilter<=

    =C2=A0=C2=A0 =C2=A0 =C2=A0TP_IPFW=3Doff: Transparent proxying with IPFW<br> =C2=A0=C2=A0 =C2=A0 =C2=A0TP_PF=3Don: Transparent proxying with PF<br>

    Regards,<br>

    Xavier<br>

    -- <br>
    Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer<br>
    <a href=3D"https://www.amdh.fr" rel=3D"noreferrer" target=3D"_blank">https:= //www.amdh.fr</a><br>


    </blockquote></div>

    --000000000000b841c606476d2fdf--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Pavel Timofeev@timp87@gmail.com to muc.lists.freebsd.ports on Sat Jan 3 08:15:21 2026
    From Newsgroup: muc.lists.freebsd.ports

    --0000000000001258a306477d4ca2
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D292154
    fix for STACKTRACES option

    On Sat, Jan 3, 2026 at 1:38=E2=80=AFAM Xavier Humbert <xavier@groumpf.org> = wrote:

    Le 02/01/2026 21:02, Pavel Timofeev a =C3=A9crit :

    The failure you encountered is because of the STACKTRACES option
    turned ON.
    You can turn it off to make it build for now.

    Hi Pavel,

    Thakns, problem solved !

    Regards,

    Xavier

    --
    Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer https://www.amdh.fr




    --0000000000001258a306477d4ca2
    Content-Type: text/html; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    <div dir=3D"ltr"><a href=3D"https://bugs.freebsd.org/bugzilla/show_bug.cgi?= id=3D292154">https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D292154</a>= <div>fix for=C2=A0STACKTRACES option</div></div><br><div class=3D"gmail_quo=
    te gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, Jan=
    3, 2026 at 1:38=E2=80=AFAM Xavier Humbert &lt;<a href=3D"mailto:xavier@gro= umpf.org">xavier@groumpf.org</a>&gt; wrote:<br></div><blockquote class=3D"g= mail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204= ,204,204);padding-left:1ex">Le 02/01/2026 21:02, Pavel Timofeev a =C3=A9cri=
    t :<br>
    &gt;<br>
    &gt; The failure you encountered is because of the STACKTRACES option <br>
    &gt; turned ON.<br>
    &gt; You can turn it off to make it build for now.<br>

    Hi Pavel,<br>

    Thakns, problem solved !<br>

    Regards,<br>

    Xavier<br>

    -- <br>
    Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer<br>
    <a href=3D"https://www.amdh.fr" rel=3D"noreferrer" target=3D"_blank">https:= //www.amdh.fr</a><br>


    </blockquote></div>

    --0000000000001258a306477d4ca2--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2