Troubles installing ports with Macports 2.3.1
Joël Brogniart
Joel.Brogniart at laposte.net
Mon Jun 30 02:45:38 PDT 2014
With OS X 10.9.3, Xcode 5.1.1, Macports 2.3.1
I have troubles installing ports with Macports 2.3.1.
First I removed Macports 2.2.1 following instructions from <https://guide.macports.org/#installing.macports.uninstalling>. Then I downloaded Macports 2.3.1 installer for Mavericks and I installed Macports 2.3.1.
Then I quit Terminal and launched it again. Then I run "sudo port selfupdate".
Then I tried "sudo port install auto-multiple-choice" (I don't think that my problems are related to this specific port). The installation failled at the first port that "auto-multiple-choice" depends on: "m4".
It tried to install "m4" directly: "sudo port install m4". That failed too. Then I ran "sudo port clean m4". I tried to install "m4" again and this time it worked. So I tried "sudo port install auto-multiple-choice". It failled at the first next dependence: "expat".
So, again, I tried to install "expat" alone with "sudo port install expat" and that failed. Then I do "sudo port clean expat" one more time and I tried to install "expat" again and this time it worked.
I also restarted my computer but that didn't solved the problem. It seems as if I have to clean each port after the first try to be able to install a port!
I never had such problems with previous version of Macports.
Any idea on a good way to improve this situation?
Joël
---log on error installing m4-----
version:1
:error:main Failed to install m4
:debug:main /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_m4/m4: too many open files
while executing
"fs-traverse myfile ${path} {
lchown $myfile $user
}"
(procedure "chown" line 5)
invoked from within
"chown ${path} ${macportsuser}"
(procedure "chownAsRoot" line 17)
invoked from within
"chownAsRoot $subbuildpath"
(procedure "open_statefile" line 37)
invoked from within
"open_statefile"
(procedure "check_variants" line 29)
invoked from within
"check_variants activate"
invoked from within
"$workername eval check_variants $target"
:notice:main Please see the log file for port m4 for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_m4/m4/main.log
---log on error installing expat-----
version:1
:error:main Failed to install expat
:debug:main /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat: too many open files
while executing
"fs-traverse myfile ${path} {
lchown $myfile $user
}"
(procedure "chown" line 5)
invoked from within
"chown ${path} ${macportsuser}"
(procedure "chownAsRoot" line 17)
invoked from within
"chownAsRoot $subbuildpath"
(procedure "open_statefile" line 37)
invoked from within
"open_statefile"
(procedure "check_variants" line 29)
invoked from within
"check_variants activate"
invoked from within
"$workername eval check_variants $target"
:notice:main Please see the log file for port expat for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log
------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20140630/2b4493e4/attachment.sig>
More information about the macports-users
mailing list