MacPorts 2.7.0 has been released

Ryan Schmidt ryandesign at macports.org
Thu May 20 06:15:05 UTC 2021


On May 19, 2021, at 18:43, raf wrote:

> I have the same problem on 10.14.6

Thanks for confirming. So far everyone affected has been on 10.14. I suspect the difference between the 10.15 SDK SQLite version and the 10.14 runtime SQLite version is the issue.


>> sqlite3 --version
>  3.35.5 2021-04-19 18:32:05 1b256d97b553a9611efca188a3d995a2fff712759044ba480f9a0c9e98fae886
>> /usr/bin/sqlite3 --version
>  3.24.0 2018-06-04 14:10:15 95fbac39baaab1c3a84fdfc82ccb7f42398b2e92f18a2a57bce1d4a713cbaapl
> 
> And every attempt to use the port command gives an error:
> 
>> port help
>  sqlite error: near "COLUMN": syntax error (1) while executing query: ALTER TABLE registry.ports RENAME COLUMN negated_variants TO requested_variants
>      while executing
>  "registry::open $db_path"
>      (procedure "mportinit" line 712)
>      invoked from within
>  "mportinit ui_options global_options global_variations"
>  Error: /opt/local/bin/port: Failed to initialize MacPorts, sqlite error: near "COLUMN": syntax error (1) while executing query: ALTER TABLE registry.ports RENAME COLUMN negated_variants TO requested_variants
> 
> It won't even selfupdate. Do I need to disable SIP and fiddle with /usr/bin/sqlite3?

Nope. Visit the ticket, share what you've done there, help us find the solution there.



More information about the macports-users mailing list