From owner-dev-commits-ports-main@freebsd.org Mon Aug 23 20:37:08 2021 Return-Path: Delivered-To: dev-commits-ports-main@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 736106719E4; Mon, 23 Aug 2021 20:37:08 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 4GtkYw1vQPz4Y9K; Mon, 23 Aug 2021 20:37:08 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from yv.noip.me (c-73-189-35-76.hsd1.ca.comcast.net [73.189.35.76]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id 17NKat87013501 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Mon, 23 Aug 2021 13:36:58 -0700 (PDT) (envelope-from yuri@FreeBSD.org) X-Authentication-Warning: shell1.rawbw.com: Host c-73-189-35-76.hsd1.ca.comcast.net [73.189.35.76] claimed to be yv.noip.me Subject: Re: git: 5f4d541a6700 - main - science/dynare: Re-add port: Software platform for handling a wide class of economic models To: Gerald Pfeifer , Yuri Victorovich Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org References: <202108140856.17E8uDin010078@gitrepo.freebsd.org> From: Yuri Message-ID: <23eb1bfb-4a26-7cf5-ea4f-86414d9a0879@rawbw.com> Date: Mon, 23 Aug 2021 13:36:54 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Rspamd-Queue-Id: 4GtkYw1vQPz4Y9K X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Aug 2021 20:37:08 -0000 On 8/23/21 1:12 PM, Gerald Pfeifer wrote: > On Sat, 14 Aug 2021, Yuri Victorovich wrote: >> science/dynare: Re-add port: Software platform for handling a wide class of economic models > Why? This port was removed in January after being broken for more > than 9 months. Users, if any, don't seem to care much. This is an actively maintained and used project with last release made on 2021-03-18. Their user forum is quite active: https://forum.dynare.org/new There is no reliable way to know if there were/are any FreeBSD users of Dynare. >> +USE_GCC= any # clang-11 fails: error: reference to local binding 'ii1' declared in enclosing function 'ss2Iteration_pruning' > This is a tell-tale sign that something's rotten in the stage of Denmark. > Why would an actively maintained project fail with such an error? This is a bug in Clang that they didn't fix for at least several years. The c++20 feature is missing. I stepped on this bug in one of my projects too. There is no fault of Dynare here. > Heaping more such unfortunate dependencies on the maintainers of lang/gcc* > and other volunteers is not a happy thing and makes their lives upgrading > to new versions more difficult. > > > Also, did you notice the following in Mk/bsd.gcc.mk ? > > # (USE_GCC=any is deprecated, must not be used for new ports, and should > # be migrated to USE_GCC=yes or completely removed if possible.) > > I'll look into making this even more clear and have updated science/dynare > accordingly now. If USE_GCC=any is deprecated - portlint should complain about this. I've added the bug report for portlint: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258015 Sorry for the inconvenience this may have caused. Hope this answers your concerns, Yuri