MacPorts 2.7.0-beta1 sqlite error: attempt to write a readonly database

Ken Cunningham ken.cunningham.webuse at
Wed Apr 28 20:51:56 UTC 2021

Here’s a quick reproducer on Mojave (or probably any system) for anyone interested:

/opt/local/bin/port install sqlite3

cd /tmp
git clone <>
cd macports-base
./configure --with-sqlite3prefix=/opt/local --with-applications-dir=/opt/tester/Applications --prefix=/opt/tester
sudo make install

export PATH=/opt/tester/bin:/opt/tester/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
/opt/tester/bin/port -v
sudo /opt/tester/bin/port -v
/opt/tester/bin/port -v

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-dev mailing list