#30360: py26-hgsubversion @1.2.1.e30ff6d5feff install failure ----------------------------------+----------------------------------------- Reporter: mrctrevisan@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: ----------------------------------+----------------------------------------- Hi all, The install script of py26-hgsubversion @1.2.1.e30ff6d5feff expects to be able to cd to /var/root/.subversion. For some reason this fails on Lion: in order for the build script to work I had to temporarily issue a ''chown o+x /var/root''. I run "port install" in a "sudo su" session so I didn't expect to see such an error. Relevant log file section: {{{ :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-hgsubversion/py26-hgsubversion/work/hgsubversion-1.2.1.e30ff6d5feff" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build' :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-hgsubversion/py26-hgsubversion/work/hgsubversion-1.2.1.e30ff6d5feff" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build :info:build Traceback (most recent call last): :info:build File "setup.py", line 105, in <module> :info:build from hgsubversion.svnwrap import svn_swig_wrapper :info:build File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-hgsubversion/py26-hgsubversion/work/hgsubversion-1.2.1.e30ff6d5feff/hgsubversion/__init__.py", line 58, in <module> :info:build import svncommands :info:build File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-hgsubversion/py26-hgsubversion/work/hgsubversion-1.2.1.e30ff6d5feff/hgsubversion/svncommands.py", line 14, in <module> :info:build import svnwrap :info:build File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-hgsubversion/py26-hgsubversion/work/hgsubversion-1.2.1.e30ff6d5feff/hgsubversion/svnwrap/__init__.py", line 28, in <module> :info:build from svn_swig_wrapper import * :info:build File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-hgsubversion/py26-hgsubversion/work/hgsubversion-1.2.1.e30ff6d5feff/hgsubversion/svnwrap/svn_swig_wrapper.py", line 60, in <module> :info:build svn_config = core.svn_config_get_config(None) :info:build File "/opt/local/lib/svn-python2.6/libsvn/core.py", line 4094, in svn_config_get_config :info:build return apply(_core.svn_config_get_config, args) :info:build svn.core.SubversionException: ("Can't open file '/var/root/.subversion/servers': Permission denied", 13) :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-hgsubversion/py26-hgsubversion/work/hgsubversion-1.2.1.e30ff6d5feff" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build " returned error 1 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for py26-hgsubversion): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for py26-hgsubversion is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-hgsubversion/py26-hgsubversion/main.log }}} Cheers, Marco -- Ticket URL: <https://trac.macports.org/ticket/30360> MacPorts <http://www.macports.org/> Ports system for Mac OS