Hi all,

I tried to remove one entry of RDEPENDS_${PN} in a bbappend file.
BitBake master failed with a syntax error caused by this line:

RDEPENDS_libsoup-2.4 := "$...@oe_filter_out('^(hicolor-icon-theme)$',
'${RDEPENDS_libsoup-2.4}', d)}"

The error occurs with every ${RDEPENDS_foo}, but not with ${RDEPENDS},
so the line below works syntactically:

RDEPENDS_libsoup-2.4 := "$...@oe_filter_out('^(hicolor-icon-theme)$',
'${RDEPENDS}', d)}"

Here's the error message:

ERROR: Error evaluating '$...@oe_filter_out('^(hicolor-icon-theme)$',
'${RDEPENDS_libsoup-2.4}', d)}'

          | ETA:  --:--:--
Traceback (most recent call last):
  File ".../bitbake/lib/bb/data_smart.py", line 97, in expand
    s = __expand_python_regexp__.sub(python_sub, s)
  File ".../bitbake/lib/bb/data_smart.py", line 83, in python_sub
    codeobj = compile(code.strip(), varname or "<expansion>", "eval")
  File "<expansion>", line 1
    oe_filter_out('^(hicolor-icon-theme)$', '${RDEPENDS_libsoup-2.4
                                                                  ^
SyntaxError: EOL while scanning string literal

Regards,
Andreas
_______________________________________________
Bitbake-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bitbake-dev

Reply via email to