From owner-svn-ports-head@freebsd.org Wed Jan 13 23:09:45 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A67854EAFCB; Wed, 13 Jan 2021 23:09:45 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from mail.anongoth.pl (mail.anongoth.pl [46.248.190.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X448 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "anongoth.pl", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DGNST1G8Hz3v7l; Wed, 13 Jan 2021 23:09:44 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from anongoth.pl (unknown [192.168.1.15]) (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 did not present a certificate) (Authenticated sender: pkubaj@anongoth.pl) by mail.anongoth.pl (Postfix) with ESMTPSA id 746CFA765D; Thu, 14 Jan 2021 00:09:42 +0100 (CET) Date: Thu, 14 Jan 2021 00:09:41 +0100 From: Piotr Kubaj To: Mark Linimon Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r561520 - in head: Mk cad/calculix-ccx comms/wsjtx databases/mariadb105-server games/libretro-paralleln64 math/hs-penrose math/mumps math/octave-forge-optiminterp math/scilab net/iaxmod... Message-ID: References: <202101132303.10DN3V1Y065953@repo.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="CxLc36bwFAOjLiFv" Content-Disposition: inline In-Reply-To: <202101132303.10DN3V1Y065953@repo.freebsd.org> X-Rspamd-Queue-Id: 4DGNST1G8Hz3v7l X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2021 23:09:45 -0000 --CxLc36bwFAOjLiFv Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Could you also remove powerpc64le block from Mk/bsd.default-versions.mk? It's simply better to have powerpc64le use the default version when 11 becomes the default. On 21-01-13 23:03:31, Mark Linimon wrote: >Author: linimon >Date: Wed Jan 13 23:03:31 2021 >New Revision: 561520 >URL: https://svnweb.freebsd.org/changeset/ports/561520 > >Log: > Update GCC_DEFAULT from 9 to 10. > > A few (mostly Fortran-based) ports need to be patched because GCC 10 > is stricter. A handful of ports need to be restricted to GCC 9 because > they fail with 10. > > 5 ports still fail with GCC 10. However, seeing as this work has been > ongoing since 2020-05-24, it is simply time to make the commit and > notify the affected maintainers. > > While here, pet portlint (Makevar order). > > PR: 246700 > Submitted by: gerald > Approved by: antoine (after many, many, -exp runs) > >Modified: > head/Mk/bsd.default-versions.mk > head/cad/calculix-ccx/Makefile > head/comms/wsjtx/Makefile > head/databases/mariadb105-server/Makefile > head/games/libretro-paralleln64/Makefile > head/math/hs-penrose/Makefile > head/math/mumps/Makefile > head/math/octave-forge-optiminterp/Makefile > head/math/scilab/Makefile > head/net/iaxmodem/Makefile > head/science/cp2k/Makefile > head/science/elmerfem/Makefile > head/science/getdp/Makefile > head/science/libgridxc/Makefile > head/science/pnetcdf/Makefile > >Modified: head/Mk/bsd.default-versions.mk >============================================================================== >--- head/Mk/bsd.default-versions.mk Wed Jan 13 23:01:26 2021 (r561519) >+++ head/Mk/bsd.default-versions.mk Wed Jan 13 23:03:31 2021 (r561520) >@@ -53,7 +53,7 @@ GCC_DEFAULT?= 8 > .elif ${ARCH} == "powerpc64le" > GCC_DEFAULT?= 10 > .else >-GCC_DEFAULT?= 9 >+GCC_DEFAULT?= 10 > .endif > # Possible values: 7, 8, 9, agpl > GHOSTSCRIPT_DEFAULT?= agpl > >Modified: head/cad/calculix-ccx/Makefile >============================================================================== >--- head/cad/calculix-ccx/Makefile Wed Jan 13 23:01:26 2021 (r561519) >+++ head/cad/calculix-ccx/Makefile Wed Jan 13 23:03:31 2021 (r561520) >@@ -55,6 +55,11 @@ CFLAGS+= -fpic > FFLAGS+= -fpic > .endif > >+.if ${GCC_DEFAULT} >= 10 >+# workaround for Missing actual argument for argument '_formal_15' at (1) >+FFLAGS+= -fallow-argument-mismatch >+.endif >+ > pre-build: > @${REINPLACE_CMD} -e 's+%%FC%%+${FC}+g ; s+%%CC%%+${CC}+g ; \ > s+%%BLAS_LIBS%%+${BLASLIB}+ ; \ > >Modified: head/comms/wsjtx/Makefile >============================================================================== >--- head/comms/wsjtx/Makefile Wed Jan 13 23:01:26 2021 (r561519) >+++ head/comms/wsjtx/Makefile Wed Jan 13 23:03:31 2021 (r561520) >@@ -36,6 +36,13 @@ PLIST_SUB+= PORTVERSION="${PORTVERSION}" > > _PATCHES= wsjtx.patch hamlib.patch > >+.include >+ >+.if ${GCC_DEFAULT} >= 10 >+# workaround for More actual than formal arguments in procedure call at (1) >+FFLAGS+= -fallow-argument-mismatch >+.endif >+ > post-patch: > . for _patch in ${_PATCHES} > # Keep a copy of the blank patch for the post-build target below > >Modified: head/databases/mariadb105-server/Makefile >============================================================================== >--- head/databases/mariadb105-server/Makefile Wed Jan 13 23:01:26 2021 (r561519) >+++ head/databases/mariadb105-server/Makefile Wed Jan 13 23:03:31 2021 (r561520) >@@ -212,7 +212,7 @@ PLIST_SUB+= WSREP="@comment " > .endif > > .if ${ARCH} == i386 >-USE_GCC= yes >+USE_GCC= 9 > CFLAGS+= -DHAVE_GCC_C11_ATOMICS -latomic -DUSE_NEW_READLINE_INTERFACE > CXXFLAGS+= -fpermissive > .endif > >Modified: head/games/libretro-paralleln64/Makefile >============================================================================== >--- head/games/libretro-paralleln64/Makefile Wed Jan 13 23:01:26 2021 (r561519) >+++ head/games/libretro-paralleln64/Makefile Wed Jan 13 23:03:31 2021 (r561520) >@@ -32,8 +32,14 @@ GH_TAGNAME= 29e7f39 > > PLIST_FILES= lib/libretro/parallel_n64_libretro.so > >+.include >+ >+.if ${GCC_DEFAULT} >= 10 >+BROKEN= fails to link: ./mupen64plus-core/src/dd/dd_disk.o:(.bss+0xc): multiple definition of `CUR_BLOCK' >+.endif >+ > do-install: > ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; > ${INSTALL_LIB} ${WRKSRC}/parallel_n64_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro; > >-.include >+.include > >Modified: head/math/hs-penrose/Makefile >============================================================================== >--- head/math/hs-penrose/Makefile Wed Jan 13 23:01:26 2021 (r561519) >+++ head/math/hs-penrose/Makefile Wed Jan 13 23:03:31 2021 (r561520) >@@ -134,4 +134,10 @@ USE_CABAL= MonadRandom-0.5.1.2 \ > x509-1.7.5_1 \ > zlib-0.6.2.1_1 > >+.include >+ >+.if ${GCC_DEFAULT} >= 10 >+BROKEN= fails to build with GCC 10: cabal: Missing dependency on a foreign library: Missing (or bad) C library: gfortran >+.endif >+ > .include > >Modified: head/math/mumps/Makefile >============================================================================== >--- head/math/mumps/Makefile Wed Jan 13 23:01:26 2021 (r561519) >+++ head/math/mumps/Makefile Wed Jan 13 23:03:31 2021 (r561520) >@@ -44,6 +44,11 @@ MAKE_JOBS_UNSAFE=yes > .include > .include "${.CURDIR}/../../french/aster/bsd.aster.mk" > >+.if ${GCC_DEFAULT} >= 10 >+# workaround for Type mismatch in argument 's' at (1); passed INTEGER(4) to LOGICAL(4) >+FCFLAGS+= -fallow-argument-mismatch >+.endif >+ > .ifdef WITH_MPI > PKGNAMESUFFIX+= -mpich > .endif > >Modified: head/math/octave-forge-optiminterp/Makefile >============================================================================== >--- head/math/octave-forge-optiminterp/Makefile Wed Jan 13 23:01:26 2021 (r561519) >+++ head/math/octave-forge-optiminterp/Makefile Wed Jan 13 23:03:31 2021 (r561520) >@@ -24,8 +24,16 @@ GNU_CONFIGURE= yes > > MAKE_ENV+= MKOCTFILE_FORTRAN_90=yes MKOCTFILE=mkoctfile > >+.include >+ >+.if ${GCC_DEFAULT} >= 10 >+# workaround for Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-2) >+# in theory, this should set FCFLAGS, but the port does not conform >+FFLAGS+= -fallow-argument-mismatch >+.endif >+ > post-build: > ${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure > cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC} > >-.include >+.include > >Modified: head/math/scilab/Makefile >============================================================================== >--- head/math/scilab/Makefile Wed Jan 13 23:01:26 2021 (r561519) >+++ head/math/scilab/Makefile Wed Jan 13 23:03:31 2021 (r561520) >@@ -129,6 +129,13 @@ CONFIGURE_ARGS+= --without-openmp > CONFIGURE_ARGS+= --enable-debug > .endif > >+.include >+ >+.if ${GCC_DEFAULT} >= 10 >+# workaround for Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar) >+FFLAGS+= -fallow-argument-mismatch >+.endif >+ > post-patch: > @${REINPLACE_CMD} 's,/usr/local,${LOCALBASE},' ${WRKSRC}/etc/librarypath.xml > @${REINPLACE_CMD} -e 's, gfortran, ${FC},' ${WRKSRC}/modules/dynamic_link/src/scripts/configure > >Modified: head/net/iaxmodem/Makefile >============================================================================== >--- head/net/iaxmodem/Makefile Wed Jan 13 23:01:26 2021 (r561519) >+++ head/net/iaxmodem/Makefile Wed Jan 13 23:03:31 2021 (r561520) >@@ -31,7 +31,7 @@ OPTIONS_DEFINE= DOCS EXAMPLES > > .if ${ARCH} == i386 && ${CHOSEN_COMPILER_TYPE} == clang > # gsm0610_rpe.c:81:10: error: invalid operand for instruction >-USE_GCC= yes >+USE_GCC= 9 > .endif > > post-patch: > >Modified: head/science/cp2k/Makefile >============================================================================== >--- head/science/cp2k/Makefile Wed Jan 13 23:01:26 2021 (r561519) >+++ head/science/cp2k/Makefile Wed Jan 13 23:03:31 2021 (r561520) >@@ -66,6 +66,10 @@ pre-configure: > fi > .endif > >+.if ${GCC_DEFAULT} >= 10 >+BROKEN= fails to build with GCC 10: Element of assumed-shape or pointer array as actual argument at (1) cannot correspond to actual argument at (2) >+.endif >+ > post-patch: > @${REINPLACE_CMD} -i '' 's|LIBS.*=.*|& ${LDFLAGS}|; s|^FCFLAGS.*=.*|& -I${LOCALBASE}/include|; s| -march=native||' ${WRKSRC}/arch/FreeBSD-* > > >Modified: head/science/elmerfem/Makefile >============================================================================== >--- head/science/elmerfem/Makefile Wed Jan 13 23:01:26 2021 (r561519) >+++ head/science/elmerfem/Makefile Wed Jan 13 23:03:31 2021 (r561520) >@@ -74,6 +74,12 @@ FCFLAGS+= -fPIC > FFLAGS+= -fPIC > .endif > >+.if ${GCC_DEFAULT} >= 10 >+# workaround for Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/COMPLEX(8)). >+# in theory, this should set FCFLAGS, but the port does not conform >+FFLAGS+= -fallow-argument-mismatch >+.endif >+ > post-patch: > @${RM} -r ${WRKSRC}/elmergrid/src/metis-5.1.0 > @${REINPLACE_CMD} -e 's,"metis.*/metis\.h",,' \ > >Modified: head/science/getdp/Makefile >============================================================================== >--- head/science/getdp/Makefile Wed Jan 13 23:01:26 2021 (r561519) >+++ head/science/getdp/Makefile Wed Jan 13 23:03:31 2021 (r561520) >@@ -20,6 +20,13 @@ USES= fortran tar:tgz cmake > > OPTIONS_DEFINE= DOCS EXAMPLES > >+.include >+ >+.if ${GCC_DEFAULT} >= 10 >+# workaround for Rank mismatch in argument 'lines' at (1) (rank-1 and scalar) >+FFLAGS+= -fallow-argument-mismatch >+.endif >+ > do-test: > cd ${WRKSRC}/demos && yes "" | ${STAGEDIR}${PREFIX}/bin/${PORTNAME} magnet.pro -solve MagSta_phi > > >Modified: head/science/libgridxc/Makefile >============================================================================== >--- head/science/libgridxc/Makefile Wed Jan 13 23:01:26 2021 (r561519) >+++ head/science/libgridxc/Makefile Wed Jan 13 23:03:31 2021 (r561520) >@@ -37,6 +37,12 @@ LIBXC_MAKE_ENV= WITH_LIBXC=1 > LIBXC_LIB_DEPENDS= libxc.so:science/libxc > LIBXC_BROKEN= Fails to build with libxc-5.0.0: https://bugs.launchpad.net/libgridxc/+bug/1899578 > >+.include >+ >+.if ${GCC_DEFAULT} >= 10 >+BROKEN= fails to build with GCC 10: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(8)/INTEGER(4)). >+.endif >+ > post-patch: > @${MKDIR} ${BUILD_WRKSRC} > @${CAT} ${WRKSRC}/../extra/fortran.mk \ > >Modified: head/science/pnetcdf/Makefile >============================================================================== >--- head/science/pnetcdf/Makefile Wed Jan 13 23:01:26 2021 (r561519) >+++ head/science/pnetcdf/Makefile Wed Jan 13 23:03:31 2021 (r561520) >@@ -25,8 +25,8 @@ CFLAGS+= -fPIC > CONFIGURE_ARGS= ac_cv_fc_compiler_nag=no > GNU_CONFIGURE= yes > MAKE_JOBS_UNSAFE= yes >-USE_PERL5= build > USES= fortran gmake pathfix perl5 tar:bzip2 >+USE_PERL5= build > > PORTDOCS= COPYRIGHT INSTALL README > >@@ -36,6 +36,13 @@ OPENMPI_CONFIGURE_ON= --with-mpi=${LOCALBASE}/mpi/open > OPENMPI_LIB_DEPENDS= libmpi.so:net/openmpi > OPENMPI3_CONFIGURE_ON= --with-mpi=${LOCALBASE}/mpi/openmpi3 > OPENMPI3_LIB_DEPENDS= libmpi.so:net/openmpi3 >+ >+.include >+ >+.if ${GCC_DEFAULT} >= 10 >+# workaround for Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(8)/CHARACTER(*)). >+FCFLAGS+= -fallow-argument-mismatch >+.endif > > post-patch: > @${REINPLACE_CMD} -e '/$$(INSTALL.*$$(PREFIX)/ s|$$(PREFIX)|$$(DESTDIR)&|' ${WRKSRC}/Makefile.in --CxLc36bwFAOjLiFv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJkBAABCgBOFiEEycyIeNkkgohzsoorelmbhSCDnJ0FAl//fbUwFIAAAAAAFQAS cGthLWFkZHJlc3NAZ251cGcub3JncGt1YmFqQGFub25nb3RoLnBsAAoJEHpZm4Ug g5ydJW8P/1qKL7jpvcEJP4WsBT79Zk5dbdkiEB9R0Zi0fBXYxmH3kkUsEM+Wh/mk sVT3ipOnPMqmbNmu28T6Wp9ulR+C7mYHFpiUlTD00oy++9dfj+/1TtOcFwhhnreM hhCWAAVTb1z3c/+0Lel0q64mc+qXA30lqKxZrWwpYxnkdnjnU2Yvd/B6FXuvswH2 QeiXc8gszj5COUxqysNQeQD8K3IQcH89/Ix80oVeymz8eaAq7WwCLdkhc35XyIEj W2Gnllf4UyJK/VASaHZ+KekAcCyi0X1mkXR5B6fMnSkdMQL8ebDX2zwwiDczg3CN H1suLq/2iiq/kJnYcESW8KjYyOgbHM+eKE6ZMF7N/15OwUTOQbUJo1BG3pgCe6Ld GSTxnMWOKQf7SeUASmXyx5aRd9j12PEnZATsOOCzZGodOKq7XlnXWlQAyEW9BYVW YLjY/SH7tq+dxrg2qVITnL58bBdF6DW32OBGQUf4JZBH+yqsE+/pHqLFfvymJ178 DIZ3mcFBDT3akMpk8vj+ccL4x5/uOarMDHP6bGsqg3PoXSyx3DJTzrF5l5kQc+qG YufD2S+7NJw1QAhU5Z6pkd3EzSS3+e0ubqA4cuwLwMOOUQApB0bxryZWqD9tX/po +ZzcrZDS3YbtgvkmA+0YZz10S4D48ny88ca4wxUQi3CkV2SGlgKG =xugu -----END PGP SIGNATURE----- --CxLc36bwFAOjLiFv--