pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Error running "mozilla-rootcerts install" on macOS



Hello, pkgsrc Users!

On macOS Sierra 10.12.3, I installed Mercurial using pkgin from my own
binaries produced from pkgsrc -current yesterday:

# pkgin install mercurial

This pulled in a dependency on mozilla-rootcerts.  Since
mozilla-rootcerts got installed, I thought I should do what its MESSAGE
file says:

# mozilla-rootcerts install

This eventually failed with exit status 1.  The last three lines of
output were:

===
mozilla-rootcert-98.pem => 4bfab552.0
mozilla-rootcert-99.pem => 09789157.0
ERROR: /etc/ssl/certs already exists, aborting.
===

Indeed, /etc/ssl/certs exists, but it's empty:

===
# ls -alF /etc/ssl/certs
total 0
drwxr-xr-x  2 root  wheel   68 Oct 20 17:53 ./
drwxr-xr-x  6 root  wheel  204 Oct 20 17:53 ../
===

Should the check at line 208 of
security/mozilla-rootcerts/files/mozilla-rootcerts.sh for the
existence of $destdir$certdir instead be for the existence of
$destdir$certdir/ca-certificates.crt?  In my case, this would have
allowed the install to succeed.  I could submit a patch if it would be
helpful.

Thank you!

Lewis


Home | Main Index | Thread Index | Old Index