From owner-svn-ports-head@freebsd.org Sun Jul 26 17:58:55 2020 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 7C8A8367060; Sun, 26 Jul 2020 17:58:55 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BF9fl2VFKz3br0; Sun, 26 Jul 2020 17:58:55 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 38F171037F; Sun, 26 Jul 2020 17:58:55 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 06QHwtxv017733; Sun, 26 Jul 2020 17:58:55 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 06QHwtVN017732; Sun, 26 Jul 2020 17:58:55 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <202007261758.06QHwtVN017732@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sun, 26 Jul 2020 17:58:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r543488 - head/science/netcdf-fortran X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/science/netcdf-fortran X-SVN-Commit-Revision: 543488 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 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: Sun, 26 Jul 2020 17:58:55 -0000 Author: tobik Date: Sun Jul 26 17:58:54 2020 New Revision: 543488 URL: https://svnweb.freebsd.org/changeset/ports/543488 Log: science/netcdf-fortran: Unbreak build with GCC 10 netcdf4_func.f90:730:75: 730 | nf90_inq_var_fill_FourByteReal = nf_inq_var_fill(ncid, varid, no_fill, fill) | 1 ...... 740 | nf90_inq_var_fill_EightByteReal = nf_inq_var_fill(ncid, varid, no_fill, fill) | 2 Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(4)/REAL(8)). netcdf4_func.f90:720:75: 720 | nf90_inq_var_fill_EightByteInt = nf_inq_var_fill(ncid, varid, no_fill, fill) | 1 ...... 740 | nf90_inq_var_fill_EightByteReal = nf_inq_var_fill(ncid, varid, no_fill, fill) | 2 Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(8)/REAL(8)). netcdf4_func.f90:710:74: 710 | nf90_inq_var_fill_FourByteInt = nf_inq_var_fill(ncid, varid, no_fill, fill) | 1 ...... 740 | nf90_inq_var_fill_EightByteReal = nf_inq_var_fill(ncid, varid, no_fill, fill) | 2 Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(8)). netcdf4_func.f90:700:73: 700 | nf90_inq_var_fill_TwoByteInt = nf_inq_var_fill(ncid, varid, no_fill, fill) | 1 ...... 740 | nf90_inq_var_fill_EightByteReal = nf_inq_var_fill(ncid, varid, no_fill, fill) | 2 Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(2)/REAL(8)). netcdf4_func.f90:690:73: 690 | nf90_inq_var_fill_OneByteInt = nf_inq_var_fill(ncid, varid, no_fill, fill) | 1 ...... 740 | nf90_inq_var_fill_EightByteReal = nf_inq_var_fill(ncid, varid, no_fill, fill) | 2 Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(1)/REAL(8)). netcdf4_func.f90:670:75: 670 | nf90_def_var_fill_FourByteReal = nf_def_var_fill(ncid, varid, no_fill, fill) | 1 ...... 680 | nf90_def_var_fill_EightByteReal = nf_def_var_fill(ncid, varid, no_fill, fill) | 2 Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(4)/REAL(8)). netcdf4_func.f90:660:75: 660 | nf90_def_var_fill_EightByteInt = nf_def_var_fill(ncid, varid, no_fill, fill) | 1 ...... 680 | nf90_def_var_fill_EightByteReal = nf_def_var_fill(ncid, varid, no_fill, fill) | 2 Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(8)/REAL(8)). netcdf4_func.f90:650:74: 650 | nf90_def_var_fill_FourByteInt = nf_def_var_fill(ncid, varid, no_fill, fill) | 1 ...... 680 | nf90_def_var_fill_EightByteReal = nf_def_var_fill(ncid, varid, no_fill, fill) | 2 Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(8)). netcdf4_func.f90:640:73: 640 | nf90_def_var_fill_TwoByteInt = nf_def_var_fill(ncid, varid, no_fill, fill) | 1 ...... 680 | nf90_def_var_fill_EightByteReal = nf_def_var_fill(ncid, varid, no_fill, fill) | 2 Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(2)/REAL(8)). netcdf4_func.f90:630:73: 630 | nf90_def_var_fill_OneByteInt = nf_def_var_fill(ncid, varid, no_fill, fill) | 1 ...... 680 | nf90_def_var_fill_EightByteReal = nf_def_var_fill(ncid, varid, no_fill, fill) | 2 Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(1)/REAL(8)). PR: 246700 Modified: head/science/netcdf-fortran/Makefile Modified: head/science/netcdf-fortran/Makefile ============================================================================== --- head/science/netcdf-fortran/Makefile Sun Jul 26 17:48:41 2020 (r543487) +++ head/science/netcdf-fortran/Makefile Sun Jul 26 17:58:54 2020 (r543488) @@ -29,4 +29,11 @@ MAKE_JOBS_UNSAFE= yes TEST_TARGET= check USE_LDCONFIG= yes +.include + +# XXX: Drop after updating to 4.5.3 +.if ${FORTRAN_DEFAULT} == gfortran && ${GCC_DEFAULT} >= 10 +FCFLAGS+= -fallow-argument-mismatch +.endif + .include