Troubles installing ports with Macports 2.3.1

Joël Brogniart Joel.Brogniart at laposte.net
Tue Jul 1 11:21:50 PDT 2014


Le 1 juil. 2014 à 18:12, Ryan Schmidt <ryandesign at macports.org> a écrit :

> On Jul 1, 2014, at 4:58 AM, Joël Brogniart wrote:
> 
>> I suppose that, during the "Computing dependencies for auto-multiple-choice" phase, a lot of http requests are made to obtain port information and that these requests are not fully closed either by Macports or by the proxy. As this problem is recent (at least for me), it is perhaps related to a recent Java update (the proxy is a java application).
> 
> During "computing dependencies", no http requests would be made by MacPorts, as far as I know. Port information for all ports is already on your computer; that's what you're updating every time you run "sudo port sync" or "sudo port selfupdate". Computing dependencies would however involve opening the portfile and portgroup files for each port that is a dependency of the port you're installing that's not already installed. If you have not yet installed (m)any ports, and the port you've requested has a lot of dependencies, this could be a lot of files and take some minutes. According to "port rdeps auto-multiple-choice", there are 300 ports to be considered. So you could possibly improve the situation by installing some of the dependencies individually first. Look at the output of "port deps auto-multiple-choice" and "sudo port install" some of those ports by themselves. Then later, return to trying to install auto-multiple-choice itself.

Now that I've found the main culprit, my http proxy app, the simplest way is still to close this app. And report the problem to the app developer. Thanks for helping to direct my brain to the right direction :-)

Joël
-------------- 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/20140701/7d3352e6/attachment.sig>


More information about the macports-users mailing list