we now decompress tarfiles with python

https://docs.python.org/2/library/tarfile.html

and all the features of it are only in Python 2.7. Hmm...


On Tuesday, March 22, 2016 at 9:35:24 PM UTC, Travis Scrimshaw wrote:
>
> Is that the entire log? If not, could you please post it? Although it 
> looks like you have an issue with not having a high enough version of 
> python (IIRC, this is needed for the bootstrapping) or something is wrong 
> with your tar.
>
> Best,
> Travis
>
>
> On Tuesday, March 22, 2016 at 4:25:35 PM UTC-5, Kiran Kedlaya wrote:
>>
>> I just failed to build Sage 7.1 on my work server, on which I have built 
>> many previous versions. Any ideas?
>>
>> patch-2.7.5
>> ====================================================
>> Setting up build directory for patch-2.7.5
>> Traceback (most recent call last):
>>   File "/home/kkedlaya/sage-7.1/build/bin/sage-uncompress-spkg", line 21, 
>> in <module>
>>     with tarfile.open(filename, 'r:*') as archive:
>> AttributeError: 'TarFile' object has no attribute '__exit__'
>> Error: failed to extract 
>> /home/kkedlaya/sage-7.1/upstream/patch-2.7.5.tar.gz
>> /home/kkedlaya/sage-7.1/logs/pkgs/patch-2.7.5.log (END) 
>>
>> Internals of this machine are reasonably standard:
>> uname -a: Linux variety 2.6.32-573.8.1.el6.x86_64 #1 SMP Tue Nov 10 
>> 18:01:38 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>> lscpu:
>> Architecture:          x86_64
>> CPU op-mode(s):        32-bit, 64-bit
>> Byte Order:            Little Endian
>> CPU(s):                24
>> On-line CPU(s) list:   0-23
>> Thread(s) per core:    2
>> Core(s) per socket:    6
>> Socket(s):             2
>> NUMA node(s):          2
>> Vendor ID:             GenuineIntel
>> CPU family:            6
>> Model:                 44
>> Stepping:              2
>> CPU MHz:               3457.923
>> BogoMIPS:              6915.71
>> Virtualization:        VT-x
>> L1d cache:             32K
>> L1i cache:             32K
>> L2 cache:              256K
>> L3 cache:              12288K
>> NUMA node0 CPU(s):     0,2,4,6,8,10,12,14,16,18,20,22
>> NUMA node1 CPU(s):     1,3,5,7,9,11,13,15,17,19,21,23
>>
>> Kiran
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to