That’s interesting, because the 1.8 source in tar.gz form worked (so must
of had setup.py).

Todd

On 2/14/14, 5:33 PM, "Stijn De Weirdt" <[email protected]> wrote:

>actually not a bug, just a bit tire (i saw xzf instead of xjf)
>
>the pycairo 1.10 source has no setup.py but a waf file to be used.
>
>stijn
>
>On 02/14/2014 11:25 PM, Stijn De Weirdt wrote:
>> seems like a legit bug
>>> == 2014-02-14 16:36:50,946 main.EB_Python DEBUG Installing extension
>>>pycairo with default class PythonPackage
>>> == 2014-02-14 16:36:51,018 main.filetools DEBUG Unpacking
>>>/sonas-hs/it/hpc/home/eb/sources/p/Python/extensions/pycairo-1.10.0.tar.
>>>bz2 in directory /s\
>>> 
>>>onas-hs/it/hpc/home/eb/build/Python/3.2.5/goalf-1.5.12-no-OFED.1/pycairo
>>>.
>>> == 2014-02-14 16:36:51,028 main.filetools DEBUG run_cmd: running cmd
>>>tar xjf 
>>>/sonas-hs/it/hpc/home/eb/sources/p/Python/extensions/pycairo-1.10.0.tar.
>>>\
>>> bz2 (in 
>>>/sonas-hs/it/hpc/home/eb/build/Python/3.2.5/goalf-1.5.12-no-OFED.1/pycai
>>>ro)
>>> == 2014-02-14 16:36:52,332 main.filetools DEBUG cmd "tar xjf
>>>/sonas-hs/it/hpc/home/eb/sources/p/Python/extensions/pycairo-1.10.0.tar.
>>>bz2" exited with\
>>>   exitcode 0 and output:
>>>
>> 
>> if you have 5 more minutes, open an issue with this in easyblocks
>> 
>> stijn
>> 
>> 
>> On 02/14/2014 11:14 PM, Heywood, Todd wrote:
>>> Attached. Thanks! I won’t be revisiting till after the weekend.
>>>
>>> Todd
>>>
>>> From: Stijn De Weirdt
>>><[email protected]<mailto:[email protected]>>
>>> Reply-To: "[email protected]<mailto:[email protected]>"
>>><[email protected]<mailto:[email protected]>>
>>> Date: Friday, February 14, 2014 at 5:09 PM
>>> To: "[email protected]<mailto:[email protected]>"
>>><[email protected]<mailto:[email protected]>>
>>> Subject: Re: [easybuild] making EB use bzip2
>>>
>>> hi todd,
>>>
>>> can you send the debug output? it's odd bz2 would be an issue, it can
>>>be
>>> used for regular sources, no real reason why extension sources be
>>>different.
>>>
>>> stijn
>>>
>>> On 02/14/2014 10:49 PM, Heywood, Todd wrote:
>>> Sorry, me again. I have this in exts_list in the easybuild file (with
>>> bzip2 in the dependencies list).
>>>
>>> ('pycairo', '1.10.0', {
>>>             'source_tmpl': 'pycairo-1.10.0.tar.bz2',
>>>             'source_urls': ['http://cairographics.org/releases/'],
>>>         }),
>>>
>>> Without the source_tmpl, easybuild can¹t find the .tar.bz file. So, I
>>>get
>>> this error, since apparently it can¹t deal with the bzip2:
>>>
>>> ERROR: EasyBuild encountered an exception (at
>>> 
>>>easybuild/software/EasyBuild/1.10.0/lib/python2.7/site-packages/easybuil
>>>d_f
>>> ramework-1.10.0-py2.7.egg/easybuild/main.py:809 in
>>> build_and_install_software): autoBuild Failed (last 300 chars): rror
>>>(at
>>> 
>>>easybuild/software/EasyBuild/1.10.0/lib/python2.7/site-packages/easybuil
>>>d_f
>>> ramework-1.10.0-py2.7.egg/easybuild/tools/filetools.py:799 in
>>> parse_cmd_output): cmd "python setup.py build" exited with exitcode 2
>>>and
>>> output:
>>> python: can't open file 'setup.py': [Errno 2] No such file or directory
>>>
>>>
>>> PyCairo has older versions with tar.gz files, and easybuild can
>>>download
>>> and process those without the above error. So how do you make EB uses
>>> bzip2?
>>>
>>> Thanks,
>>>
>>> Todd
>>>
>>>
>>>
>>>
>>>
>>>
>> 
>> 

Reply via email to