"Failed to open portfile from registry" while reinstalling because of configure.optflags

Ryan Schmidt ryandesign at macports.org
Tue Oct 25 10:23:04 PDT 2016


> On Oct 25, 2016, at 12:17 PM, René J.V. Bertin <rjvbertin at gmail.com> wrote:
> 
> On Tuesday October 25 2016 08:34:31 Ryan Schmidt wrote:
> 
>> I don't know the answers to your questions, but I wanted to mention that I also have noticed the "Failed to open portfile from registry" error far more often than seems normal to me. ("Never" would seem normal to me.)
> 
> Yes, never would seem normal, esp. if the Portfile is there when you check :)
> 
> Are you running base from SVN?

Yes, trying to keep it updated every so often.


> I've looked into putting the offending statement (`$workername eval set user_options($opt) $val`) in a loop, something like
> 
> $workername eval set user_options($opt) ""
> foreach v $val {
>        $workername eval set user_options($opt) "$user_options($opt) $v"
> }
> 
> but I haven't gotten that right yet.
> 
> R.



More information about the macports-dev mailing list