2.5 and cxx_stdlib

Vincent Habchi vince at macports.org
Tue May 29 09:39:18 UTC 2018


Josh,

> Not sure how you ran into that. Installing the new version of base must
> be done as root as well, and it runs scripts that open the registry and
> should trigger that upgrade.

Transcript from my terminal:

Air > sudo port selfupdate
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.4.1 installed,
MacPorts base version 2.5.0 downloaded.
--->  Updating the ports tree
--->  MacPorts base is outdated, installing new version 2.5.0
Installing new MacPorts release in /opt/local as root:admin; permissions 0755

Air > port outdated
sqlite error: attempt to write a readonly database (8) while executing query: ALTER TABLE registry.ports ADD COLUMN cxx_stdlib TEXT
 while executing
"registry::open $db_path"
 (procedure "mportinit" line 664)
 invoked from within
"mportinit ui_options global_options global_variations"
Error: /opt/local/bin/port: Failed to initialize MacPorts, sqlite error: attempt to write a readonly database (8) while executing query: ALTER TABLE registry.ports ADD COLUMN cxx_stdlib TEXT


Vincent



More information about the macports-dev mailing list