From nobody Mon Oct 28 12:07:54 2024 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XcXGZ69Wkz5bGmX for ; Mon, 28 Oct 2024 12:08:22 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XcXGZ5Y2bz4RZ4; Mon, 28 Oct 2024 12:08:22 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730117302; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=SjArcEE9xnVZq/Zs+I8X2tqpYxADv5tgnKUteioqDkE=; b=tJN8ASKnSeq0ehG/R98GjdCG6pY0740FRlhSBA9VpBTZn4npAXApDhuZWtEInNIj2RzJKz 7SoPhbLgUDOU9dHIgdDWy8sGoHZ3AtU8Pp3mSdQqGvph856SGKy8Hdgk2mBzau4tOYqftJ EjqKFv9hKjlZ23e/b6sKYUDVl+9I2cGU+Ava/r7hKWa/M+FvNnn2xjUyXZzJOH/GPuD2XA sMke60V3XEFTMRFFI57Zf4EVeTW5mGeitAM4MgGxQrvhzZl8A9YXQlvgQNwijj5ZIlvVB8 0Rg2eThDDTUZlXuDqO5udDnMCINEEtlJgApnVUcocBCqf3qt7v/cZ2J+bpyvdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730117302; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=SjArcEE9xnVZq/Zs+I8X2tqpYxADv5tgnKUteioqDkE=; b=OoGO0b3lNJLcBQ/9uH5t7OtcWKyF5r+2V3wgU0WNTGwkqlWpheBWE3EjJHDT74KNZ4Y+n8 bn0kqyyAIJRJ1UlQtvvVRHHrfxUEnyfQ7ns16prsUGBTp5XwhS0NaHxmr2zqf5uf6OUXO+ 2CoPkD+jfqD82eEizNPx6/A/UPV8iAVC7hZNrm/g114s5DGOWe3BHyukivPnBPfzy9x5VE DRNHVvpIXUKVtQE21GIf1yoaGJnRGVY4lVTJHLwRyP4w16GpJvbYiEpW4TUp0DXp2DiXr2 nZhXMAQv8Rp9Cfyun0JsXZLAOPy96GhkG8JF2HfdcHwR3HUm0ll3fNZAQN6yQA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730117302; a=rsa-sha256; cv=none; b=jdbYBzdPh+jQZ7IVLVacTA3e/PiNf03Mv2ot2vBLKELO02DHGAqF70cGr+nczq+oRJymJG eKThPBjqARyQsLVTvohkJKZacKeIFDVkRUqSHUmosGA4vmXmFyhWcBmHfrnTqYOpxX9Mrh uJ9ga7jDqnvekpV3X38pnCcFBNSSJTsl/eupMOhfPpljZH1S8vGDNVY5k+fXytUysnL/IB ZUvaKoA5g5p2uz1pzOtr+Yq3Vf0orSpKo02l10thlANINxwffK1ZIBnuygPTS8pV4gbCG0 Yv3r41YVUjZtxQcKq1pst8KXr1CkF2scHPx+h7HyX7STMg5xZ8z3UJ3TPVbgUQ== Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4XcXGZ50w5z1S9Z; Mon, 28 Oct 2024 12:08:22 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qk1-f173.google.com with SMTP id af79cd13be357-7b1456b8c6fso48598185a.3; Mon, 28 Oct 2024 05:08:22 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCVVRsNCj/Oelrd3Pt1N0cdTW/0vpPzqor9atE2vAzUq+XClN4a0GKKVwkQzOOerVQxolq3pZmDE/56Ng2TZ@freebsd.org X-Gm-Message-State: AOJu0Yz8ElDInzpk4iNsFBGnPBOlEJWab6McsJ6KnHE/WpuuGzJ3WpHH t0NMWRPxYlIN6/QBiyEUURr214YaHHYM+tmNwVaqMawha9F2W0fb3SKoT4ShRjvBnusKTLOW2vB gNBlVbEycezsfdi/vci0zkFgLlUs= X-Google-Smtp-Source: AGHT+IF2vHvC/KKVWce2o2+WazGdBlmX0abjuNYy6buJI/dLaDcgsabWlJ8qSCgLkuCRiFflAgyDGnbBWakurBpbQkI= X-Received: by 2002:a05:622a:164e:b0:460:9026:6861 with SMTP id d75a77b69052e-4613c0272edmr59195411cf.9.1730117302232; Mon, 28 Oct 2024 05:08:22 -0700 (PDT) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 References: <0af37b3e-fb1e-49b4-9dc8-debd762f411c@protected-networks.net> <37e9e741-4a3c-4e3e-af9b-6ca78dbf5dbe@FreeBSD.org> In-Reply-To: From: Nuno Teixeira Date: Mon, 28 Oct 2024 12:07:54 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: thunderbird 128.4.0 build fail on -current To: Jung-uk Kim Cc: Michael Butler , FreeBSD Ports Content-Type: multipart/alternative; boundary="0000000000003836d20625885321" --0000000000003836d20625885321 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://github.com/joncampbell123/dosbox-x/issues/5259 Nuno Teixeira escreveu (domingo, 27/10/2024 =C3=A0(s) 13:54): > Hello, > > Getting similar results on emulators/dosbox-x: > ### > usr/include/c++/v1/string:2861:5: error: implicit instantiation of > undefined template 'std::char_traits' > 2861 | traits_type::assign(std::__to_address(__p) + __sz, __n, __c); > | ^ > /usr/include/c++/v1/string:3302:5: note: in instantiation of member > function 'std::basic_string::append' requested here > 3302 | append(__n - __sz, __c); > | ^ > /usr/include/c++/v1/string:1303:84: note: in instantiation of member > function 'std::basic_string::resize' requested here > 1303 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void > resize(size_type __n) { resize(__n, value_type()); } > ### > > Full log: > https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p645a502a4= f60_s8b2e7da7085/logs/dosbox-x-2024.10.01.log > > Any hints before I open an upstream PR? > > Thanks, > > Jung-uk Kim escreveu (domingo, 27/10/2024 =C3=A0(s) 06= :57): > >> On 24. 10. 26., Michael Butler wrote: >> > After the llvm19 import and today's thunderbird update, I ran into .. >> > >> > In file included from /usr/ports/mail/thunderbird/work/ >> > thunderbird-128.4.0/comm/third_party/rnp/src/lib/crypto/ >> > cipher_botan.cpp:26: >> > In file included from /usr/include/c++/v1/sstream:317: >> > In file included from /usr/include/c++/v1/__ostream/basic_ostream.h:16= : >> > In file included from >> /usr/include/c++/v1/__system_error/error_code.h:18: >> > In file included from /usr/include/c++/v1/__system_error/ >> > error_category.h:15: >> > /usr/include/c++/v1/string:820:42: error: implicit instantiation of >> > undefined template 'std::char_traits' >> > 820 | static_assert(is_same<_CharT, typename >> > traits_type::char_type>::value, >> > | ^ >> > /usr/ports/mail/thunderbird/work/thunderbird-128.4.0/comm/third_party/ >> > rnp/src/lib/crypto/cipher_botan.cpp:83:65: note: in instantiation of >> > template class 'std::basic_string' requested here >> > 83 | const char *cipher_string =3D >> id_str_pair::lookup(cipher_map, >> > cipher, NULL); >> > >> | ^ >> > /usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared >> here >> > 23 | struct _LIBCPP_TEMPLATE_VIS char_traits; >> > | ^ >> > 1 error generated. >> > >> > .. which appears to be similar to the issue with devel/poco and fixe= d >> > in commit c55157301f317ab8166349340d4cc0765deaac12, >> >> FYI, I filed PR282347 with the fix. >> >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282347 >> >> Jung-uk Kim >> >> > > -- > Nuno Teixeira > FreeBSD UNIX: Web: https://FreeBSD.org > --=20 Nuno Teixeira FreeBSD UNIX: Web: https://FreeBSD.org --0000000000003836d20625885321 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Nuno Tei= xeira <eduardo@freebsd.org>= ; escreveu (domingo, 27/10/2024 =C3=A0(s) 13:54):
Hello,
Getting similar results on emulators/dosbox-x:
#= ##
usr/include/c++/v1/string:2861:5: error: implicit instantiation of un= defined template 'std::char_traits<unsigned short>'
=C2=A02861 |=C2=A0 =C2=A0 =C2=A0traits_type::assign(std::__to_address(__p) = + __sz, __n, __c);
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0^
/usr/include/c++/v1/string:3302:5: note: in instantiation of member functio= n 'std::basic_string<unsigned short>::append' requested here<= br> =C2=A03302 |=C2=A0 =C2=A0 =C2=A0append(__n - __sz, __c);
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0^
/usr/include/c++/v1/string:1303:84: note: in instantiation of member functi= on 'std::basic_string<unsigned short>::resize' requested here=
=C2=A01303 |=C2=A0 =C2=A0_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX2= 0 void resize(size_type __n) { resize(__n, value_type()); }

Jung-uk Kim <jkim@freebsd.org> escreveu (domingo, 27/10= /2024 =C3=A0(s) 06:57):
On 24. 10. 26., Michael Butler wrote:
> After the llvm19 import and today's thunderbird update, I ran into= ..
>
> In file included from /usr/ports/mail/thunderbird/work/
> thunderbird-128.4.0/comm/third_party/rnp/src/lib/crypto/
> cipher_botan.cpp:26:
> In file included from /usr/include/c++/v1/sstream:317:
> In file included from /usr/include/c++/v1/__ostream/basic_ostream.h:16= :
> In file included from /usr/include/c++/v1/__system_error/error_code.h:= 18:
> In file included from /usr/include/c++/v1/__system_error/
> error_category.h:15:
> /usr/include/c++/v1/string:820:42: error: implicit instantiation of > undefined template 'std::char_traits<unsigned char>'
>=C2=A0 =C2=A0 820 |=C2=A0=C2=A0 static_assert(is_same<_CharT, typena= me
> traits_type::char_type>::value,
>=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=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=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=C2=A0=C2=A0 ^
> /usr/ports/mail/thunderbird/work/thunderbird-128.4.0/comm/third_party/=
> rnp/src/lib/crypto/cipher_botan.cpp:83:65: note: in instantiation of <= br> > template class 'std::basic_string<unsigned char>' reques= ted here
>=C2=A0 =C2=A0=C2=A0 83 |=C2=A0=C2=A0=C2=A0=C2=A0 const char *cipher_str= ing =3D id_str_pair::lookup(cipher_map,
> cipher, NULL);
>=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=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=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=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=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^
> /usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared h= ere
>=C2=A0 =C2=A0=C2=A0 23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
>=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=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=C2=A0=C2=A0=C2=A0=C2=A0 ^
> 1 error generated.
>
>=C2=A0 =C2=A0.. which appears to be similar to the issue with devel/poc= o and fixed
> in commit c55157301f317ab8166349340d4cc0765deaac12,

FYI, I filed PR282347 with the fix.

https://bugs.freebsd.org/bugzilla/show_bu= g.cgi?id=3D282347

Jung-uk Kim



--
Nuno Teixeira
FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 https://Fr= eeBSD.org


--
Nuno Teixeira
FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 https://Fr= eeBSD.org
--0000000000003836d20625885321--