[oe] [meta-java][PATCH 1/2] xpp2: Remove bashism

Maxin B. John maxin.john at intel.com
Tue Sep 13 12:26:00 UTC 2016


Hi Ricardo,

On Tue, Sep 13, 2016 at 02:17:48PM +0200, Ricardo Ribalda Delgado wrote:
> ERROR: xpp2-2.1.10-r0 do_compile: Function failed: do_compile (log file
> 		is located at
> /var/lib/jenkins/workspace/qt5022-cesium/build/tmp/work/all-poky-linux/xpp2/2.1.10-r0/temp/log.do_compile.6694)
> ERROR: Logfile of failure stored in:
> /var/lib/jenkins/workspace/qt5022-cesium/build/tmp/work/all-poky-linux/xpp2/2.1.10-r0/temp/log.do_compile.6694
> Log data follows:
> | DEBUG: Executing shell function do_compile
> |
> /var/lib/jenkins/workspace/qt5022-cesium/build/tmp/work/all-poky-linux/xpp2/2.1.10-r0/temp/run.do_compile.6694:
> 109:
> /var/lib/jenkins/workspace/qt5022-cesium/build/tmp/work/all-poky-linux/xpp2/2.1.10-r0/temp/run.do_compile.6694:
> Bad substitution
> | WARNING: exit code 2 from a shell command.
> 
> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda at gmail.com>
> ---
>  recipes-core/xml-commons/xpp2_2.1.10.bb | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/recipes-core/xml-commons/xpp2_2.1.10.bb b/recipes-core/xml-commons/xpp2_2.1.10.bb
> index d3baca436b60..32457ddf899c 100644
> --- a/recipes-core/xml-commons/xpp2_2.1.10.bb
> +++ b/recipes-core/xml-commons/xpp2_2.1.10.bb
> @@ -18,8 +18,7 @@ do_compile() {
>      mkdir -p build-oe
>  
>      sourcepath="src/java/drivers/jaxp11:src/java/drivers/sax2:src/java/impl/factory:src/java/impl/format:src/java/impl/node:src/java/impl/pullparser:src/java/impl/tag:src/java/intf"
> -
> -    findpath="${sourcepath//:/ }"
> +    findpath="src/java/drivers/jaxp11 src/java/drivers/sax2 src/java/impl/factory src/java/impl/format src/java/impl/node src/java/impl/pullparser src/java/impl/tag src/java/intf"
>  
>      javac -sourcepath $sourcepath -d build-oe `find $findpath -name "*.java"`

Merged a similar fix yesterday.
http://git.yoctoproject.org/cgit/cgit.cgi/meta-java/commit/?id=aa3c79568dfaeb9c8747d49d12ac0396eaf6a4ea

Please pull the latest master branch and see if this happens again.

Thanks,
Maxin



More information about the Openembedded-devel mailing list