port selfupdate incredibly slow
cowwoc
cowwoc at bbs.darktech.org
Mon Oct 15 09:56:07 PDT 2012
Here is what I see:
DEBUG: MacPorts sources location: <home>/build/intermediate/macports/var/macports/sources/rsync.macports.org/release/tarballs
---> Updating MacPorts base sources using rsync
receiving file list ... done
sent 36 bytes received 69 bytes 70.00 bytes/sec
total size is 3543040 speedup is 33743.24
receiving file list ... done
sent 36 bytes received 76 bytes 74.67 bytes/sec
total size is 512 speedup is 4.57
DEBUG: successful verification with key <home>/build/intermediate/macports/share/macports/macports-pubkey.pem
DEBUG: /usr/bin/tar -C <home>/build/intermediate/macports/var/macports/sources/rsync.macports.org/release/tarballs/tmp -xf <home>/build/intermediate/macports/var/macports/sources/rsync.macports.org/release/tarballs/base.tar
MacPorts base version 2.1.2 installed,
DEBUG: Rebuilding and reinstalling MacPorts if needed
MacPorts base version 2.1.2 downloaded.
---> Updating the ports tree
Synchronizing local ports tree from rsync://rsync.macports.org/release/tarballs/ports.tar
DEBUG: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/ports.tar <home>/build/intermediate/macports/var/macports/sources/rsync.macports.org/release/tarballs
receiving file list ... done
sent 36 bytes received 70 bytes 70.67 bytes/sec
total size is 54538240 speedup is 514511.70
DEBUG: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/ports.tar.rmd160 <home>/build/intermediate/macports/var/macports/sources/rsync.macports.org/release/tarballs
receiving file list ... done
sent 36 bytes received 77 bytes 75.33 bytes/sec
total size is 512 speedup is 4.53
DEBUG: successful verification with key <home>/build/intermediate/macports/share/macports/macports-pubkey.pem
DEBUG: /usr/bin/tar -C <home>/build/intermediate/macports/var/macports/sources/rsync.macports.org/release/tarballs/tmp -xf <home>/build/intermediate/macports/var/macports/sources/rsync.macports.org/release/tarballs/ports.tar
This last line hangs for 25 seconds. Then I get:
Creating port index in /Users/builds/.jenkins/workspace/gstreamer_ios_snapshot/build/intermediate/macports/var/macports/sources/rsync.macports.org/release/tarballs/ports
Total number of ports parsed: 0
Ports successfully parsed: 0
Ports failed: 0
Up-to-date ports skipped: 15858
---> MacPorts base is already the latest version
DEBUG: Setting MacPorts sources ownership to builds
The ports tree has been updated. To upgrade your installed ports, you should run
port upgrade outdated
So the question is: why the 25 second hang? Network activity is virtually non-existent during this time.
Gili
On 15/10/2012 11:59 AM, Frank Schima-3 [via Mac OS Forge] wrote:
> Running in debug mode should show you where it is getting stuck.
>
> port -d selfupdate
>
>
> On Oct 15, 2012, at 9:52 AM, cowwoc <[hidden email]
> </user/SendEmail.jtp?type=node&node=196938&i=0>> wrote:
>
> > Hi,
> >
> > Any update on this?
> >
> > "port selfupdate" is still incredibly slow for no obvious reason.
> >
> > Gili
> >
> >
> > Federico Calboli-2 wrote
> >> On 17 Aug 2011, at 11:25, Ryan Schmidt wrote:
> >>>> As I wiped my disk and installed Lion from a bootable USB key I made
> >>>> with my copy of Lion (I did this to maximise performance), I had
> nothing
> >>>> in the way of MacPorts
> >>>
> >>> Ok.
> >>>
> >>>
> >>>> All I am saying is, on the same machine the selfupdate step was much
> >>>> faster in SL. I would not know wy that is, but it is a very
> noticeable
> >>>> difference.
> >>>
> >>> What is selfupdate doing when it is slow? If you run verbosely
> (sudo port
> >>> -v selfupdate), does it pause or slow down at a particular point?
> >>
> >>
> >> It pauses for 30 seconds after
> >>
> >> sent 64 bytes received 636 bytes 280.00 bytes/sec
> >> total size is 512 speedup is 0.73
> >>
> >> As I said, in SL this delay at this stage was of a 5 seconds at most.
> >>
> >> Bw
> >>
> >> F
> >>
> >>
> >> --
> >> Federico Calboli
> >
> >> f.calboli@
> >
> >>
> >>
> >>
> >> _______________________________________________
> >> macports-users mailing list
> >
> >> macports-users at .macosforge
> >
> >> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
> >
> >
> >
> >
> >
> > --
> > View this message in context:
> http://mac-os-forge.2317878.n4.nabble.com/port-selfupdate-incredibly-slow-tp117503p196936.html
> > Sent from the MacPorts - Users mailing list archive at Nabble.com.
> > _______________________________________________
> > macports-users mailing list
> > [hidden email] </user/SendEmail.jtp?type=node&node=196938&i=1>
> > http://lists.macosforge.org/mailman/listinfo/macports-users
>
> _______________________________________________
> macports-users mailing list
> [hidden email] </user/SendEmail.jtp?type=node&node=196938&i=2>
> http://lists.macosforge.org/mailman/listinfo/macports-users
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the
> discussion below:
> http://mac-os-forge.2317878.n4.nabble.com/port-selfupdate-incredibly-slow-tp117503p196938.html
>
> To unsubscribe from port selfupdate incredibly slow, click here
> <http://mac-os-forge.2317878.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=117503&code=Y293d29jQGJicy5kYXJrdGVjaC5vcmd8MTE3NTAzfDE1NzQzMjEyNDc=>.
> NAML
> <http://mac-os-forge.2317878.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context: http://mac-os-forge.2317878.n4.nabble.com/port-selfupdate-incredibly-slow-tp117503p196941.html
Sent from the MacPorts - Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20121015/6da91602/attachment.html>
More information about the macports-users
mailing list