Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#38277 closed defect (worksforme)

qt4-mac hanging on intsallation/update

Reported by: harperic@… Owned by: wsiegrist@…
Priority: Normal Milestone:
Component: server/hosting Version: 2.1.3
Keywords: Cc: michaelld (Michael Dickens), ryandesign (Ryan Carsten Schmidt), djjeck@…
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I am trying to install py32-pyqt4 on my mac running OS X 10.6. Currently, macports is hanging on qt4:

Attempting to fetch qt4-mac-4.8.4_6.darwin_10.x86_64.tbz2 from http://packages.macports.org/qt4-mac

It has been sitting here for a while now, over half hour, so I just wanted to bring to your attention.

Change History (10)

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Component: portsserver/hosting
Owner: changed from macports-tickets@… to wsiegrist@…

comment:2 Changed 11 years ago by mf2k (Frank Schima)

Cc: michaelld@… added

comment:3 Changed 11 years ago by michaelld (Michael Dickens)

This file is 168 MB. So, if your internet connection is slow this could take a while to download. You can also ^C out and try it again; port is smart enough to start the download where it left off before, so you don't have to download the same data twice.

comment:4 in reply to:  3 ; Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Replying to michaelld@…:

This file is 168 MB. So, if your internet connection is slow this could take a while to download.

Yes. If you use the -d switch you should see the progress of the download as it's happening (sudo port -d install qt4-mac), that way you'll know if it's stuck or just taking a long time.

You can also ^C out and try it again; port is smart enough to start the download where it left off before, so you don't have to download the same data twice.

Are you sure? I'm sure MacPorts does not resume distfile downloads; looking in the source briefly, I don't think that archive/package downloads are any different. If you interrupt the download, when you try again, it'll delete the partial download and start again from the beginning.

comment:5 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:6 in reply to:  4 Changed 11 years ago by michaelld (Michael Dickens)

Replying to ryandesign@…:

Replying to michaelld@…:

You can also ^C out and try it again; port is smart enough to start the download where it left off before, so you don't have to download the same data twice.

Are you sure? I'm sure MacPorts does not resume distfile downloads; looking in the source briefly, I don't think that archive/package downloads are any different. If you interrupt the download, when you try again, it'll delete the partial download and start again from the beginning.

I thought that was the case, though looking through the code it does not seem to be so. My bad.

Seems wise to use the "-d" flag to see where the hang is, what's going on during it. Is the download just not happening? Or, is port actually hanging somehow? Is this still an issue for the OP?

comment:7 Changed 11 years ago by michaelld (Michael Dickens)

Did this ever work?

comment:8 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

comment:9 Changed 10 years ago by djjeck@…

I was having the same problem. I confirm that the installation does not hang, it's just very slow. It took it 20 minutes to install, on a fast connection. And I confirm that if you cancel it, it will restart from the beginning, NOT from where it left off.

Do run sudo port -d install qt4-mac to monitor transfer progress.

comment:10 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: djjeck@… added

MacPorts 2.3.0 will have a progress bar for downloads.

Note: See TracTickets for help on using tickets.