From nobody Fri Jul 07 08:59:30 2023 X-Original-To: dev-commits-ports-all@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 4Qy6lz2c1Jz4m56j; Fri, 7 Jul 2023 08:59:43 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qy6lz1zkJz3y8J; Fri, 7 Jul 2023 08:59:43 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688720383; 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=oAgzElZVuJeP1aYK+Ic2H1uq6vVIxLg+cFJOiWj6uEs=; b=TuLSBLeKbFElKNtKhsFCe6W+0wWr2GNgfB9mIT7afxbuveNdSiOwyGhuoThbAfhRNWP7Fl uKg48JErl53vKAlaeFQovxID2GPFx6dAumG6ezYDdpM1yhLLKR66LLUZiOa/HML5MPqGnj fv5f5EelMOBIrhB74roDqJE9rz2DV+/VPATGwLxDgpuuoScSvvNTwofYjizAdO5qg/0jWa bKER1Q8bnMs8XQV0/h+JVV63MBgWTc44jVsY3EwXkEiGttgOVA/3nc0sh8O+NHSx4iobRL cMGpuRusPVpFTLqBcNHWLcCtKPl/aiNxjX7InbTLCZK6k5FR3N4ESU1oQebXyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688720383; 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=oAgzElZVuJeP1aYK+Ic2H1uq6vVIxLg+cFJOiWj6uEs=; b=Ze3AdQcYp85N8B8b1DIbaGq/hA6UTG97WZdLAVxw11XZRgZiVVomWZHW7dC3tp3nWwGnF+ Vw3pwv3PWaIgXR57o2jzOpSVQrWZp89L/19HKbZogNCk5ZJF5u2b8f3zU+5GO8UIMs9gBK u8iSqERFgAftwVBh87ZMTpZpQZ3fHjxU1oDf2VxR7x4j2wGHO5IfmT18nSvnnWxMhjMh+k V/Js7dFOmqUFuHYicT/DGjLAV2RoaElu2urM7wUto7H0rTaXsFun25TDEqb36LXi3BBPb8 Om1wwbVu9mEssJvZsCNDw/Wsmz5a2bfA40f2FCrdiwqlbKqvP/CyyN53BKrbZQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688720383; a=rsa-sha256; cv=none; b=NQ/IQQvlVnZrTUjFJMMpmkQzASpvUHLMKpnlBh7MxxviUc/MQ6N628y4ppWBxOX3FygZxx bKeZbUE2hmWqUJCnFao4mGxFZqnh1pT0l1ODY67nrb4HEslQNRlkGgIjiXz6NDKVUYYf0j fIqnCn46pnguX691c2Om8we+a1dHWJ0V2ZIx8pq3aEeO3mKMsXyq/i3FB71whjSZ73w3Xg BrN5YXw46XT58vb9XdgrLHsbhiHi97Skcmggfreigl0GHSL/ehsprtIP0DVRA7MXIz2Drk WdVAYHC6fbZvHPQBRCxmnMulPD9H9fnTQJ0QI5nlW+MqQ7o8vmsrnV8X1aPa6Q== Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com [209.85.160.169]) (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 "GTS CA 1D4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Qy6lz10pCzcMh; Fri, 7 Jul 2023 08:59:43 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qt1-f169.google.com with SMTP id d75a77b69052e-40355c95677so12043781cf.2; Fri, 07 Jul 2023 01:59:43 -0700 (PDT) X-Gm-Message-State: ABy/qLY6X5cdNlT/6tWYkdu+QOPyPD3OBIFPcv4YTqqq/KOrmGMB3QwC xOGpc9h9wa86xf60llli7kYJIrFiGYZmgsPEUjo= X-Google-Smtp-Source: APBJJlEyQgSYog0sjZsdeOLTrJ5dzylfgNFLkTq8SI1N+HdreoDpPDjMfhw5HDHIlqx05VD33xHfP0hRSLdii+UTHeM= X-Received: by 2002:a05:622a:194:b0:400:8036:6f0d with SMTP id s20-20020a05622a019400b0040080366f0dmr4974446qtw.3.1688720382258; Fri, 07 Jul 2023 01:59:42 -0700 (PDT) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 References: <202307050850.3658oPOA049562@gitrepo.freebsd.org> <6cf6a5eb00dfac8358dfcb1e1d5b69f293c3e85a.camel@FreeBSD.org> <4701f862-7a0b-afab-48fd-a62b6f5ec308@gwdg.de> <4cc5665f-a4ef-a4ef-226a-a9a59b29f3a0@gwdg.de> In-Reply-To: <4cc5665f-a4ef-a4ef-226a-a9a59b29f3a0@gwdg.de> From: Nuno Teixeira Date: Fri, 7 Jul 2023 09:59:30 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: git: b56d0bc41af7 - main - devel/libcutl: Explain why USE_CXXSTD=c++11 is used To: "Hurling, Rainer" Cc: Raphael Kubo da Costa , ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Content-Type: multipart/alternative; boundary="0000000000008271eb05ffe1dae3" X-ThisMailContainsUnwantedMimeParts: N --0000000000008271eb05ffe1dae3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello! I've bumped PORTREVISION to 10 so we can identify better each experiment build: PORTREVISION=3D10: USE_CXXSTD=3Dc++14 build status: http://freebsdrpi4.hopto.org/build.html?mastername=3D13Saarch64-main&build= =3D2023-07-07_09h44m48s and when built I will do a run test. Shoud I test gnu++14 too? Rainer Hurling escreveu no dia sexta, 7/07/2023 =C3=A0(s) 06:42: > Hi Nuno, > > Am 06.07.23 um 23:51 schrieb Nuno Teixeira: > > Hello Rainer, > > > > Still, one more question: is it safe to remove > USES=3Dcompiler:c++11-lang > > for architectures other than amd64 and i386 and just use > > USE_STDCXX=3Dgnu++14. I have no way to test for arm, etc. > > > > > > I've asked the same for compiler:c11 on mailing today. > > My doubt is: is it neccessary using c11, c++11, etc when available > > compilers support it or have capabilities for it? > > > > I can do poudriere testport and run test on a rpi4 running 13 stable, > > just send me diff. > > Thanks for the offer. Here is a diff against games/eboard with the to > changes: > > diff --git a/games/eboard/Makefile b/games/eboard/Makefile > index 3f78f9e91874..ce399415cba8 100644 > --- a/games/eboard/Makefile > +++ b/games/eboard/Makefile > @@ -20,10 +20,10 @@ LIB_DEPENDS=3D > libfontconfig.so:x11-fonts/fontconfig \ > libfreetype.so:print/freetype2 \ > libpng.so:graphics/png > > -USES=3D compiler:c++11-lang gnome gstreamer perl5 pkgconfig > shebangfix tar:bzip2 > +USES=3D gnome gstreamer perl5 pkgconfig shebangfix tar:bzip2 > # eboard 1.1.13 is not compatible with C++17, which is the default sinc= e > # clang 16. This means ports depending on it also need to use at most > C++14. > -USE_CXXSTD=3D c++11 > +USE_CXXSTD=3D c++14 > USE_GITHUB=3D yes > GH_ACCOUNT=3D fbergo > USE_GNOME=3D cairo gdkpixbuf2 gtk20 > > > It would be very nice if you could also look for arm, if the package is > still binary compatible compared to the unpatched version :) > > Thanks a lot ! > > Best wishes, > Rainer > > > > > Cheers, > > > > -- > > Nuno Teixeira > > FreeBSD Committer (ports) > --=20 Nuno Teixeira FreeBSD Committer (ports) --0000000000008271eb05ffe1dae3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello!

I've bumped PORTR= EVISION to 10 so we can identify better each experiment build:
PORTREVISION=3D10:=C2=A0 USE_CXXSTD=3Dc++14

and when built I will do a run test.

Shoud= I test gnu++14 too?




Rainer Hurling <= rhurlin@gwdg.de> escreveu no dia sexta, 7/07/2023 =C3=A0(s) 06:42:
Hi Nuno,

Am 06.07.23 um 23:51 schrieb Nuno Teixeira:
> Hello Rainer,
>
>=C2=A0 =C2=A0 =C2=A0Still, one more question: is it safe to remove USES= =3Dcompiler:c++11-lang
>=C2=A0 =C2=A0 =C2=A0for architectures other than amd64 and i386 and jus= t use
>=C2=A0 =C2=A0 =C2=A0USE_STDCXX=3Dgnu++14. I have no way to test for arm= , etc.
>
>
> I've asked the same for compiler:c11 on mailing today.
> My doubt is: is it neccessary using c11, c++11, etc when available > compilers support it or have capabilities for it?
>
> I can do poudriere testport and run test on a rpi4 running 13 stable, =
> just send me diff.

Thanks for the offer. Here is a diff against games/eboard with the to
changes:

diff --git a/games/eboard/Makefile b/games/eboard/Makefile
index 3f78f9e91874..ce399415cba8 100644
--- a/games/eboard/Makefile
+++ b/games/eboard/Makefile
@@ -20,10 +20,10 @@ LIB_DEPENDS=3D
libfontconfig.so:x11-fonts/fontconfig \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0libfreetype.s= o:print/freetype2 \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0libpng.so:gra= phics/png

-USES=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 compiler:c++11-lang gnome gstrea= mer perl5 pkgconfig
shebangfix tar:bzip2
+USES=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 gnome gstreamer perl5 pkgconfig = shebangfix tar:bzip2
=C2=A0 # eboard 1.1.13 is not compatible with C++17, which is the default s= ince
=C2=A0 # clang 16. This means ports depending on it also need to use at mos= t
C++14.
-USE_CXXSTD=3D=C2=A0 =C2=A0 c++11
+USE_CXXSTD=3D=C2=A0 =C2=A0 c++14
=C2=A0 USE_GITHUB=3D=C2=A0 =C2=A0 yes
=C2=A0 GH_ACCOUNT=3D=C2=A0 =C2=A0 fbergo
=C2=A0 USE_GNOME=3D=C2=A0 =C2=A0 =C2=A0cairo gdkpixbuf2 gtk20


It would be very nice if you could also look for arm, if the package is still binary compatible compared to the unpatched version :)

Thanks a lot !

Best wishes,
Rainer

>
> Cheers,
>
> --
> Nuno Teixeira
> FreeBSD Committer (ports)


--
Nuno Teixeira
FreeBSD Committ= er (ports)
--0000000000008271eb05ffe1dae3--