hangs when building python26 & python27
Mark Hattam
mark at dxradio.demon.co.uk
Wed Aug 24 15:53:01 PDT 2011
On 24 Aug 2011, at 23:27, Ryan Schmidt wrote:
> Sorry, I inadvertently left the list off my previous reply. Returning the conversation to the list now.
[snip]
>>> MacPorts only deletes logs if the build was successful. And you can even turn that off, by setting "keeplogs yes" in macports.conf
>>
>> I don't think I've ever looked at macports.conf ... or at least not for some time ... but now I am
>>
>> less /opt/local/etc/macports/macports.conf
>>
>> # Type of storage to use for the port registry information, "flat" or "sqlite"
>> # NOTE: sqlite not yet supported.
>> portdbformat sqlite
>>
>> # CPU architecture to compile for. Defaults to i386 or ppc on Mac OS X 10.5
>> # and earlier, depending on the CPU type detected at runtime. On Mac OS X 10.6
>> # the default is x86_64 if the CPU supports it, i386 otherwise.
>> #build_arch i386
>>
>> There doesn't appear to be any mention of "log" in the file ...
>>
>> However, looking at the directory, there's clearly a newer .default conf file, doubtless from installing 2.0.1
>>
>> iMac:~ mark$ cd /opt/local/etc/macports/
>> iMac:macports mark$ ls -la
>> total 88
>> drwxr-xr-x 11 root admin 374 2 Aug 08:54 .
>> drwxr-xr-x 17 root admin 578 15 Aug 17:23 ..
>> -r--r--r-- 1 root admin 5446 8 Jun 2010 macports.conf
>> -r--r--r-- 1 root admin 5290 2 Aug 08:54 macports.conf.default
>>
>> Perhaps I should move the .default into being the conf file as that does have the keeplogs line. I doubt I have done any customisations to the existing file.
>
> https://trac.macports.org/wiki/Migration#Updatemacports.conf
OK ... I've moved aside the existing 4 conf files and moved in the 4 default ones (as I don't believe I have done any customisations to the old ones)
iMac:~ mark$ cd /opt/local/etc/macports/
iMac:macports mark$ ls -la
total 88
drwxr-xr-x 11 root admin 374 2 Aug 08:54 .
drwxr-xr-x 17 root admin 578 15 Aug 17:23 ..
-r--r--r-- 1 root admin 5446 8 Jun 2010 macports.conf
-r--r--r-- 1 root admin 5290 2 Aug 08:54 macports.conf.default
-rw-r--r-- 1 root admin 467 21 Jul 23:38 pubkeys.conf
-r--r--r-- 1 root admin 467 2 Aug 08:54 pubkeys.conf.default
-r--r--r-- 1 root admin 1315 5 Sep 2009 sources.conf
-r--r--r-- 1 root admin 1465 2 Aug 08:54 sources.conf.default
-rw-r--r-- 1 root admin 631 17 Dec 2007 sources.conf.mpsaved
-r--r--r-- 1 root admin 529 5 Sep 2009 variants.conf
-r--r--r-- 1 root admin 312 2 Aug 08:54 variants.conf.default
becomes
iMac:macports mark$ ls -la
total 88
drwxr-xr-x 11 root admin 374 24 Aug 23:35 .
drwxr-xr-x 17 root admin 578 15 Aug 17:23 ..
-r--r--r-- 1 root admin 5290 2 Aug 08:54 macports.conf
-r--r--r-- 1 root admin 5446 8 Jun 2010 macports.conf.old
-r--r--r-- 1 root admin 467 2 Aug 08:54 pubkeys.conf
-rw-r--r-- 1 root admin 467 21 Jul 23:38 pubkeys.conf.old
-r--r--r-- 1 root admin 1465 2 Aug 08:54 sources.conf
-rw-r--r-- 1 root admin 631 17 Dec 2007 sources.conf.mpsaved
-r--r--r-- 1 root admin 1315 5 Sep 2009 sources.conf.old
-r--r--r-- 1 root admin 312 2 Aug 08:54 variants.conf
-r--r--r-- 1 root admin 529 5 Sep 2009 variants.conf.old
and then ran selfupdate ...
Warning: No index(es) found! Have you synced your source indexes?
---> Updating the ports tree
Synchronizing local ports tree from rsync://rsync.macports.org/release/tarballs/ports.tar
receiving file list ... done
ports.tar
sent 58 bytes received 8716700 bytes 425207.71 bytes/sec
total size is 45221376 speedup is 5.19
receiving file list ... done
ports.tar.rmd160
sent 58 bytes received 636 bytes 277.60 bytes/sec
total size is 512 speedup is 0.74
receiving file list ... done
PortIndex
sent 58 bytes received 1178302 bytes 261857.78 bytes/sec
total size is 6806201 speedup is 5.78
receiving file list ... done
PortIndex.rmd160
sent 58 bytes received 636 bytes 277.60 bytes/sec
total size is 512 speedup is 0.74
Creating port index in /opt/local/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: 12140
---> Updating MacPorts base sources using rsync
receiving file list ... done
base.tar
sent 58 bytes received 877502 bytes 159556.36 bytes/sec
total size is 3219456 speedup is 3.67
receiving file list ... done
base.tar.rmd160
sent 58 bytes received 635 bytes 277.20 bytes/sec
total size is 512 speedup is 0.74
MacPorts base version 2.0.1 installed,
MacPorts base version 2.0.1 downloaded.
---> MacPorts base is already the latest version
So, that looks like it's done something "new" ... sync source indexes ... running selfupdate again straightaway obviously didn't throw the same warning. And I received 70 or 77 bytes back rather than the Megabytes the first time (above).
More information about the macports-users
mailing list