xpp2: Remove bashism
PATCH 1/2 xpp2: Remove bashism
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.
--- recipes-core/xml-commons/xpp2_2.1.10.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
recipes-core/xml-commons/xpp2_2.1.10.bb +1 -2
@@ -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"`
Signature · 1 line
2.9.3
PATCH 2/2 xpp3: Remove bashism
ERROR: xpp3-1.1.3.4.O-r0 do_compile: Function failed: do_compile (log file is located at
/var/lib/jenkins/workspace/qt5022-cesium/build/tmp/work/all-poky-linux/xpp3/1.1.3.4.O-r0/temp/log.do_compile.10141)
ERROR: Logfile of failure stored in:/var/lib/jenkins/workspace/qt5022-cesium/build/tmp/work/all-poky-linux/xpp3/1.1.3.4.O-r0/temp/log.do_compile.10141 Log data follows:
| DEBUG: Executing shell function do_compile
| /var/lib/jenkins/workspace/qt5022-cesium/build/tmp/work/all-poky-linux/xpp3/1.1.3.4.O-r0/temp/run.do_compile.10141:
108:/var/lib/jenkins/workspace/qt5022-cesium/build/tmp/work/all-poky-linux/xpp3/1.1.3.4.O-r0/temp/run.do_compile.10141:
Bad substitution
| WARNING: exit code 2 from a shell command.
| ERROR: Function failed: do_compile (log file is located at
/var/lib/jenkins/workspace/qt5022-cesium/build/tmp/work/all-poky-linux/xpp3/1.1.3.4.O-r0/temp/log.do_compile.10141)
--- recipes-core/xml-commons/xpp3_1.1.3.4.O.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-core/xml-commons/xpp3_1.1.3.4.O.bb +2 -2
@@ -19,7 +19,7 @@ do_compile() { mkdir -p build-oe sourcepath="src/java/api:src/java/builder:src/java/dom2_builder:src/java/mxp1_min:src/java/mxp1_standard:src/java/parser_pool:src/java/sax2_driver:src/java/serializer_impl:src/java/util:src/java/wrapper" - findpath="${sourcepath//:/ }" + findpath="src/java/api src/java/builder src/java/dom2_builder src/java/mxp1_min src/java/mxp1_standard src/java/parser_pool src/java/sax2_driver src/java/serializer_impl src/java/util src/java/wrapper" javac -sourcepath $sourcepath -d build-oe `find $findpath -name "*.java"`
@@ -33,7 +33,7 @@ do_compile() { mkdir -p build-xpath sourcepath="src/java/xpath" - findpath="${sourcepath//:/ }" + findpath="src/java/xpath" javac -sourcepath $sourcepath -cp build-oe -d build-xpath `find $findpath -name "*.java"` fastjar -C build-xpath -c -f xpp3-xpath-${PV}.jar .
Signature · 1 line
2.9.3
Hi Ricardo,
Quoted 24 lines · Ricardo Ribalda Delgado
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.6694Log data follows:
| DEBUG: Executing shell functiondo_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 <[email protected]>--- recipes-core/xml-commons/xpp2_2.1.10.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)recipes-core/xml-commons/xpp2_2.1.10.bb +0
-0
recipes-core/xml-commons/xpp2_2.1.10.bb do_compile() { · line 23
Quoted 8 lines
recipes-core/xml-commons/xpp2_2.1.10.bb +1
-2@@ -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
Hi Maxin
My bad, I did not checkout the repo state today.
Anyway, it does not completely does the job. it is missing
(quoted diff) +0 -0
b/recipes-core/xml-commons/xpp3_1.1.3.4.O.bb
index f264022ffe60..808a9372338f 100644
recipes-core/xml-commons/xpp3_1.1.3.4.O.bb +1 -1
@@ -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 .without that, I get this error:
og 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 astatic final serialVersionUID field of type long
| ----------
| ----------
I will resend the patch
Thanks!
Quoted 48 lines · Maxin B. John
Hi Ricardo,
Quoted 24 lines · Ricardo Ribalda Delgado
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.6694Log data follows:
| DEBUG: Executing shell functiondo_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 <[email protected]>--- recipes-core/xml-commons/xpp2_2.1.10.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)recipes-core/xml-commons/xpp2_2.1.10.bb +0
-0recipes-core/xml-commons/xpp2_2.1.10.bb do_compile() { · line 23
Quoted 8 lines
recipes-core/xml-commons/xpp2_2.1.10.bb +1
-2@@ -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=aa3c79568dfaeb9c8747d49d12ac0396eaf6a4eaPlease pull the latest master branch and see if this happens again.
Thanks,
Maxin
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Ricardo Ribalda