From nobody Sun Oct 27 13:54:56 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 4XbyhG6QZRz5b42W for ; Sun, 27 Oct 2024 13:55:10 +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 4XbyhG5n6sz44YZ; Sun, 27 Oct 2024 13:55:10 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730037310; 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=oInwmMgxTmbpxXLuq3uUWr/X6iLMmaec7xfM5XRQJQA=; b=fqM7DNrmH+4aPH6wfWy4MPWnhi40gSWvu67aBxoyE9zrI4R+76wV2NtgvG+QozzukTGND9 LBrPP31ipthpMjinbA0q0htcxciFOkTDssculoNWwztP8b0YFzPcKjQs1qoUiqbahOvGMr RiMTrnaoTjLsW5nYktet5rKVHhQwT8kejYmowNdUVyjxxoa2XXsF42YTZD9FJd/r2ioaL3 bS+a5NOPxPvTrN+hTVqba3OtHOHIM7pw1VIXlP1Rl/v5SzEraS299mDWxybTmAK6z/gH9m rsfj69tK+CI3g1G4xBCqjhin/inoKci2UwBeriJmLq4wfaY7Bksr9nek9Pv8rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730037310; 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=oInwmMgxTmbpxXLuq3uUWr/X6iLMmaec7xfM5XRQJQA=; b=MOB3pyDxfvs+1bax5lVBrFVopVk0BWSO0AS+Lke9pWC/ZTQy/bJjzfETUDYV3lQmmCaMoI HwyV0PVbbt9OkUSuPYqXAwGDg/9/P2+2glAIb3JzsCxh0XTXwoJi3/indMr4laNdNVFghu UUYssvSHn6uauagaTt7J2VxFJYHDaa14TBgqjvyV/9tE9lAgqrZVUrY6g0RfB29G12W2A8 5wBFqFKp7xNRKNpGb7efs3B4XvgnSUVKtDUoGkcSDq4B3PktXmCDE7s2xwNN+qAxZLfo7l xNSBM0GObESjv6nUaSd9vdKLjM82i6iobjwGcr8yytN+ZneDHE1t4kw91UEV+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730037310; a=rsa-sha256; cv=none; b=sBasy7Wbv1sIzooJdz7Jwc2wtb2Dz+QgB6v40+GSdnsmAIvOB+hem89PTMl9A4fsGdJxgK gm6AlzTH2DwJu+NzEUWwDh7modhzMr6sQEQCj3/kmIW1fNR2KruiXNkg5g2zgPTju3pHZn T7ibXMPvclGstiPC6dqe/Ncs0snesJbknZg/a6W1yDudpqx5z3NXx7W37m8rvdfCgE7nEF +mLl7uGqU+BVKvBII4zhXBvXwYXU1HmlkYGvA7PUt0E7j4mKgqizz9+jf3AwQIVJAmweSD FqaIam+n15kQqW3/c3bP/xBzWjvKk2/r5m+sPqlyARiYd+dWNLdAAY4HXOsHmA== Received: from mail-qv1-f52.google.com (mail-qv1-f52.google.com [209.85.219.52]) (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 4XbyhG5GW7z12PT; Sun, 27 Oct 2024 13:55:10 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qv1-f52.google.com with SMTP id 6a1803df08f44-6cbf6b2e6caso3968076d6.2; Sun, 27 Oct 2024 06:55:10 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCWta/WYXTsTdyePniCGBHmV2KQxTtv8ZKrMqcD+0hN5r3j4mb+z2F3Od0Pc647jKtkW+LuMo6Rlhn8f5eCQ@freebsd.org X-Gm-Message-State: AOJu0YwaWY2N6n90+4sBZISUdvmAT+1tMEBLqDxw06LpnnNWTkdB2CQR F2v1IDFMFkfm9aYLHkFNY5E8Vw5pddgb7EG5WBYwBYA7KDs/4CqTyJ3RKUwbKM2eFKFK9Wx10XN S/olo7qD7NdS7ff36F7EqPZI0x98= X-Google-Smtp-Source: AGHT+IErxrFOKs9702mMBrpSH4nSP6O6XYxa2T9fjtVXg3INTMeCNZit7JvudiFZoK3VIyTEyvQiykJQWgxjoXU4B+Q= X-Received: by 2002:ac8:580f:0:b0:461:2137:ba4d with SMTP id d75a77b69052e-4613c192195mr29346071cf.15.1730037310260; Sun, 27 Oct 2024 06:55:10 -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: <37e9e741-4a3c-4e3e-af9b-6ca78dbf5dbe@FreeBSD.org> From: Nuno Teixeira Date: Sun, 27 Oct 2024 13:54:56 +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="000000000000539c09062575b304" --000000000000539c09062575b304 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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/p645a502a4f6= 0_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:5= 7): > 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:1= 8: > > 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_m= ap, > > cipher, NULL); > > | > ^ > > /usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared he= re > > 23 | struct _LIBCPP_TEMPLATE_VIS char_traits; > > | ^ > > 1 error generated. > > > > .. which appears to be similar to the issue with devel/poco and fixed > > in commit c55157301f317ab8166349340d4cc0765deaac12, > > FYI, I filed PR282347 with the fix. > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282347 > > Jung-uk Kim > > --=20 Nuno Teixeira FreeBSD UNIX: Web: https://FreeBSD.org --000000000000539c09062575b304 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

Getting similar resul= ts on emulators/dosbox-x:
###
usr/include/c++/v1/string:28= 61:5: error: implicit instantiation of undefined template 'std::char_tr= aits<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
--000000000000539c09062575b304--