Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Aug 2021 13:36:54 -0700
From:      Yuri <yuri@FreeBSD.org>
To:        Gerald Pfeifer <gerald@pfeifer.com>, Yuri Victorovich <yuri@freebsd.org>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: 5f4d541a6700 - main - science/dynare: Re-add port: Software platform for handling a wide class of economic models
Message-ID:  <23eb1bfb-4a26-7cf5-ea4f-86414d9a0879@rawbw.com>
In-Reply-To: <ccf7c86a-ab23-8bff-f320-eabe2da1842@pfeifer.com>
References:  <202108140856.17E8uDin010078@gitrepo.freebsd.org> <ccf7c86a-ab23-8bff-f320-eabe2da1842@pfeifer.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23eb1bfb-4a26-7cf5-ea4f-86414d9a0879>