git: 5f4d541a6700 - main - science/dynare: Re-add port: Software platform for handling a wide class of economic models

Yuri yuri at FreeBSD.org
Mon Aug 23 20:37:08 UTC 2021


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



More information about the dev-commits-ports-main mailing list