Problems with qt4-4.7.1


Stefano Cailotto [EDALab] <stefano.cailotto@...>
 

Hi all,
I'm building the recipe qt4-x11-free_4.7.1.bb for the angstrom distro; I've succesfully built the recipes qt4-tools-native_4.7.1.bb qt4-tools-sdk_4.7.1.bb, but when building this one I get the following error:

oedev@edalab-dev01:~/oeDevel/build-x86-angstrom/recipes/qt4 MM~~>bitbake -b qt4-x11-free_4.7.1.bb
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 1 of 17 (ID: 1, /export/home/oedev/oeDevel/build-x86-angstrom/recipes/qt4/qt4-x11-free_4.7.1.bb, do_setscene)
ERROR: function staging_helper failed
ERROR: log data follows (/export/home/oedev/oeDevel/build-x86-angstrom/tmpoe/work/i486-angstrom-linux/qt4-x11-free-4.7.1-r23.0/temp/log.staging_helper.25385)
| /export/home/oedev/oeDevel/build-x86-angstrom/tmpoe/work/i486-angstrom-linux/qt4-x11-free-4.7.1-r23.0/temp/run.staging_helper.25385: line 574: syntax error near unexpected token `then'
NOTE: Task failed: /export/home/oedev/oeDevel/build-x86-angstrom/tmpoe/work/i486-angstrom-linux/qt4-x11-free-4.7.1-r23.0/temp/log.staging_helper.25385
ERROR: TaskFailed event exception, aborting
ERROR: Build of /export/home/oedev/oeDevel/build-x86-angstrom/recipes/qt4/qt4-x11-free_4.7.1.bb do_setscene failed
ERROR: Task 1 (/export/home/oedev/oeDevel/build-x86-angstrom/recipes/qt4/qt4-x11-free_4.7.1.bb, do_setscene) failed
NOTE: Tasks Summary: Attempted 0 tasks of which 0 didn't need to be rerun and 1 failed.
ERROR: '/export/home/oedev/oeDevel/build-x86-angstrom/recipes/qt4/qt4-x11-free_4.7.1.bb' failed


Googlin' around I found that someone says is related to a missing " in the recipes, but I've checked and they are (or at least seem) ok.

The error in the run.staging_helper.25385 script is due to a wrong " character wich gets added to variable names (e.f ${name}") or a check like if [ -e """ ], but I con't figure out where it comes from.

Anyone had the same problem?

Best regards,
Stefano