Le 30 juin 2014 à 14:39, Ryan Schmidt <[email protected]> a écrit :

> On Jun 30, 2014, at 4:45, Joël Brogniart wrote:
>> 
>> 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.
> 
> Any particular reason why you uninstalled the old version first? Usually you 
> just install the new version on top, or even more usually run "sudo port 
> selfupdate" which does it for you.

Bad habits perhaps. I was working since may on a project for which I had to 
keep the macports tools stable (no updates during the duration of the project). 
After the end of the project, I'd like to go back to a clean state to ease 
documentation of the various steps that lead to the realization of a project 
and limit interactions. And also to reduce unnecessary tools that could stay on 
a drive years after their last usage.

>> :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
> 
> Too many open files... Are you doing anything else on your computer that 
> would open lots of files? Try closing other applications or restarting the 
> computer. 

I alway have a lot of open applications on my machine (mail, safari, contacts, 
calendar, note, messages, itunes, terminal, textmate, libreoffice, dictionary, 
translation dictionary) plus Apache (from server.app) and standard Apple 
processes, but haven't encounter the max open file limit for years until this 
morning.

I closed all my apps, restarted and tried again to install a port and get the 
same result. As previously if I clean the port which installation just failed 
and install it again, then the install succeed. With only terminal.app launched 
I nevertheless have more than 5k open files, as reported by lsof and before 
using macports.

It seems to me that the problem is in part with Mavericks and in part with 
Macports. I'll do some more tests to narrow the problem. Perhaps last Mavericks 
update lowered the max open file per process limit.

> To be honest I am having similar problems on one of my Mavericks machines 
> still running 2.2.1 but my problems began after an improper shutdown and I 
> was assuming some kind of OS corruption and was planning on reinstalling the 
> OS when I have some time, so please let me know what the solution turns out 
> to be for you.

Joël

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to