From 28ba957b0f23c75900b7e3ce8132c926bf5724e6 Mon Sep 17 00:00:00 2001 From: Ricardo Ribalda Delgado Date: Tue, 13 Sep 2016 14:37:57 +0200 Subject: xpp3: Fix bashism findpath var must also be fixed on its second occurrence. Without this patch: ERROR: xpp3-1.1.3.4.O-r0 do_compile: Function failed: do_compile (log file is located at /home/ricardo/curro/qt5022/build-qt5022-open/build/tmp/work/all-poky-linux/xpp3/1.1.3.4.O-r0/temp/log.do_compile.14262) ERROR: Logfile of failure stored in: /home/ricardo/curro/qt5022/build-qt5022-open/build/tmp/work/all-poky-linux/xpp3/1.1.3.4.O-r0/temp/log.do_compile.14262 Log data follows: | DEBUG: Executing shell function do_compile | ---------- | 1. WARNING in src/java/api/org/xmlpull/v1/XmlPullParserException.java (at line 11) | public class XmlPullParserException extends Exception { | ^^^^^^^^^^^^^^^^^^^^^^ | The serializable class XmlPullParserException does not declare a static final serialVersionUID field of type long /home/ricardo/curro/qt5022/build-qt5022-open/build/tmp/work/all-poky-linux/xpp3/1.1.3.4.O-r0/temp/run.do_compile.14262: Bad substitution | WARNING: exit code 2 from a shell command. Signed-off-by: Ricardo Ribalda Delgado Signed-off-by: Maxin B. John --- recipes-core/xml-commons/xpp3_1.1.3.4.O.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-core/xml-commons/xpp3_1.1.3.4.O.bb b/recipes-core/xml-commons/xpp3_1.1.3.4.O.bb index f264022..808a937 100644 --- a/recipes-core/xml-commons/xpp3_1.1.3.4.O.bb +++ b/recipes-core/xml-commons/xpp3_1.1.3.4.O.bb @@ -33,7 +33,7 @@ do_compile() { mkdir -p build-xpath sourcepath="src/java/xpath" - findpath="${sourcepath//:/ }" + findpath=${sourcepath} javac -sourcepath $sourcepath -cp build-oe -d build-xpath `find $findpath -name "*.java"` fastjar -C build-xpath -c -f xpp3-xpath-${PV}.jar . -- cgit v1.2.3-54-g00ecf