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

Ken Cunningham ken.cunningham.webuse at gmail.com
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 https://github.com/macports/macports-base.git <https://github.com/macports/macports-base.git>
cd macports-base
./configure --with-sqlite3prefix=/opt/local --with-applications-dir=/opt/tester/Applications --prefix=/opt/tester
make
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: <http://lists.macports.org/pipermail/macports-dev/attachments/20210428/14c6d6d4/attachment-0001.htm>


More information about the macports-dev mailing list