Hi Bart,

On 04 Nov 2013, at 22:18, Bart Verleye wrote:

> Hi,
> 
> Although I have installed Qt before with eb, now that I try it for a new eb 
> installation and toolchain, the configuration hangs. Without eb and the same 
> parameters, the configuration goes well.
> 
> I copy pasted the error below. After all the reading, "1088 projects found." 
> should appear (after a little while). I'm not sure what the 'maxHitsReached' 
> mean, does that mean eb cannot deal with the  "1088 projects found." and that 
> this should be added as a no_qa?
> 
> Anybody else had some similar issue perhaps?

Your analysis is very close to correct.

For some reason, the last "Reading ..." remains the last message for quite a 
while, before any other messages are spit out.
The reason for that is not clear (maybe be a slow(er) filesystem for example), 
but doesn't really matter.

The problem is that EasyBuild is assuming the configuration is waiting for an 
answer to a question, and it doesn't have an answer for a question that matches 
the current end-of-output, i.e. "Reading ...".

Getting around that should be done using no_qa indeed, and the current 
easyblock for Qt doesn't mention any no_qa pattern for lines starting with 
"Reading" (see 
https://github.com/hpcugent/easybuild-easyblocks/blob/master/easybuild/easyblocks/q/qt.py).

Simply adding that should do the trick. If that helps, please issue a PR so we 
can get this included in the Qt easyblock in EB v1.9.0.
Unfortunately, getting an interactive installation 100% reliable remains 
trail-and-error...


regards,

Kenneth


> 
> Thanks,
> Bart
> 
> == 2013-11-05 09:43:57,837 main.EB_Qt INFO configuring...
> == 2013-11-05 09:43:57,837 main.EB_Qt INFO Starting configure step
> == 2013-11-05 09:43:57,839 main.EB_Qt INFO Running method configure_step part 
> of step configure
> == 2013-11-05 09:47:31,023 main.filetools ERROR EasyBuild crashed with an 
> error (at easybuild/tools/filetools.py:640 in run_cmd_qa): run_cmd_qa: cmd  
> ./configure 
> --prefix=/home/bver018/.local/easybuild/software/Qt/4.8.5-gmpolf-1.4.8 
> -confirm-license -opensource -no-webkit -silent -release  -platform 
> linux-g++-64  : Max nohits 50 reached: end of output 
> ld/build/Qt/4.8.5/gmpolf-1.4.8/qt-everywhere-opensource-src-4.8.5/demos/helper/helper.pro
> Reading 
> /home/bver018/.local/easybuild/build/Qt/4.8.5/gmpolf-1.4.8/qt-everywhere-opensource-src-4.8.5/demos/spectrum/spectrum.pro
>  Reading 
> /home/bver018/.local/easybuild/build/Qt/4.8.5/gmpolf-1.4.8/qt-everywhere-opensource-src-4.8.5/demos/spectrum/3rdparty/fftreal/fftreal.pro
>  Reading 
> /home/bver018/.local/easybuild/build/Qt/4.8.5/gmpolf-1.4.8/qt-everywhere-opensource-src-4.8.5/demos/spectrum/app/app.pro
> 
> == 2013-11-05 09:47:31,023 main ERROR EasyBuild crashed with an error (at 
> easybuild/tools/build_log.py:96 in exception): EasyBuild encountered an 
> exception (at easybuild/main.py:843 in build_and_install_software): autoBuild 
> Failed (last 300 chars): pectrum/spectrum.pro
>  Reading 
> /home/bver018/.local/easybuild/build/Qt/4.8.5/gmpolf-1.4.8/qt-everywhere-opensource-src-4.8.5/demos/spectrum/3rdparty/fftreal/fftreal.pro
>  Reading 
> /home/bver018/.local/easybuild/build/Qt/4.8.5/gmpolf-1.4.8/qt-everywhere-opensource-src-4.8.5/demos/spectrum/app/app.pro
> Traceback (most recent call last):
>  File "/home/bver018/easy/lib/python2.6/site-packages/easybuild/main.py", 
> line 839, in build_and_install_software
>    regtest_online=options.regtest_online)
>  File 
> "/home/bver018/easy/lib/python2.6/site-packages/easybuild/framework/easyblock.py",
>  line 1759, in run_all_steps
>    self.run_step(stop_name, step_methods, skippable=skippable)
>  File 
> "/home/bver018/easy/lib/python2.6/site-packages/easybuild/framework/easyblock.py",
>  line 1642, in run_step
>    m(self)
>  File 
> "/home/bver018/easy/lib/python2.6/site-packages/easybuild/framework/easyblock.py",
>  line 1693, in <lambda>
>    configure_step_spec = ('configure', 'configuring', [lambda x: 
> x.configure_step()], True)
>  File 
> "/home/bver018/easy/lib/python2.6/site-packages/easybuild_easyblocks-1.9.0dev-py2.6.egg/easybuild/easyblocks/q/qt.py",
>  line 64, in configure_step
>    run_cmd_qa(cmd, qa, no_qa=no_qa, log_all=True, simple=True)
>  File 
> "/home/bver018/easy/lib/python2.6/site-packages/easybuild/tools/filetools.py",
>  line 420, in inner
>    return func(cmd, *args, **kwargs)
>  File 
> "/home/bver018/easy/lib/python2.6/site-packages/easybuild/tools/filetools.py",
>  line 640, in run_cmd_qa
>    stdoutErr[-500:]
>  File 
> "/home/bver018/easy/lib/python2.6/site-packages/easybuild/tools/build_log.py",
>  line 88, in error
>    raise EasyBuildError(newMsg)
> EasyBuildError: 'EasyBuild crashed with an error (at 
> easybuild/tools/filetools.py:640 in run_cmd_qa): run_cmd_qa: cmd ./configure 
> --prefix=/home/bver018/.local/easybuild/software/Qt/4.8.5-gmpolf-1.4.8 
> -confirm-license -opensource -no-webkit -silent -release  -platform 
> linux-g++-64  : Max nohits 50 reached: end of output 
> ld/build/Qt/4.8.5/gmpolf-1.4.8/qt-everywhere-opensource-src-4.8.5/demos/helper/helper.pro\n
>  Reading 
> /home/bver018/.local/easybuild/build/Qt/4.8.5/gmpolf-1.4.8/qt-everywhere-opensource-src-4.8.5/demos/spectrum/spectrum.pro\n
>   Reading 
> /home/bver018/.local/easybuild/build/Qt/4.8.5/gmpolf-1.4.8/qt-everywhere-opensource-src-4.8.5/demos/spectrum/3rdparty/fftreal/fftreal.pro\n
>   Reading 
> /home/bver018/.local/easybuild/build/Qt/4.8.5/gmpolf-1.4.8/qt-everywhere-opensource-src-4.8.5/demos/spectrum/app/app.pro\n'
> 
> 
> -- 
> Dr. Bart Verleye
> Centre for e-Research
> Level G, Room 409-G21
> 24 SYMONDS ST
> Auckland 1010
> New Zealand
> +64 (0) 9 923 9740 ext 89740

Reply via email to