New source install problem with certs

Frank Schima macsforever2000 at macports.org
Mon Mar 5 21:29:36 PST 2012


On Mar 1, 2012, at 5:17 PM, Frank Schima wrote:

> I installed Mac OS X 10.7 Lion fresh on a new hard drive on Mac Pro 2008. I then went through the Macports source install with svn [1]. But I am not able to run "port sync". On IRC jmr pointed me to a past mailing list post from Florian [2] but I attempted to apply his fix and that still does not work for me. Can anyone help me solve this problem?
> 
> $ port -v sync
> Warning: No index(es) found! Have you synced your source indexes?
> --->  Updating the ports tree
> Synchronizing local ports tree from file:///opt/mports/trunk/dports
> svn: OPTIONS of 'https://svn.macports.org/repository/macports/trunk': Server certificate verification failed: issuer is not trusted (https://svn.macports.org)
> shell command "/usr/bin/svn update --non-interactive /opt/mports/trunk/dports" returned error 1
> Error: Synchronization of the local ports tree failed doing an svn update
> port sync failed: Synchronization of 1 source(s) failed
> 
> Strangely enough, running a simple "svn up" from "/opt/mports/trunk/dports" seems to work. I just cannot sync with the port command directly. 
> 
> $ pwd
> /opt/mports/trunk/dports
> $ svn up
> At revision 90322.
> 
> 
> Cheers!
> Frank
> 
> [1] <http://guide.macports.org/#installing.macports.subversion>
> [2] <http://comments.gmane.org/gmane.comp.version-control.subversion.user/106230>

As a follow-up, my workaround was to manually build portindex and install the subversion (1.7) port. Then I recursively changed the permissions of the /opt directory to be owned by me with read/write by everyone. 

Note that I don't believe the proper permissions to use are documented anywhere. 


Cheers!
Frank



More information about the macports-dev mailing list