[prev in list] [next in list] [prev in thread] [next in thread] 

List:       macports-dev
Subject:    Re: 2.5 and cxx_stdlib
From:       Rainer_Müller <raimue () macports ! org>
Date:       2018-05-29 14:02:55
Message-ID: 74a849b0-2823-aa66-dfcd-84ad2a5c495e () macports ! org
[Download RAW message or body]

On 2018-05-29 11:39, Vincent Habchi wrote:
> 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

Hm, the 'make install' target should run several scripts that are also
supposed to update the registry to the latest schema. Not sure why these
were not executed with 'sudo port selfupdate' in your case...

Rainer


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic