Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/opencsv.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-2cd3bc6ffbf353fe7db8957eef29698e269955f9/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=996) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/opencsv.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/opencsv-2.3-9.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/opencsv.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-2cd3bc6ffbf353fe7db8957eef29698e269955f9/root'shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/opencsv.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QJA6es + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf opencsv-2.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/opencsv-2.3-src-with-libs.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd opencsv-2.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . -name '*.jar' -delete + find . -name '*.class' -delete + rm -rf 'lib/*' doc deploy Patch #0 (opencsv-2.3-java7.patch): + echo 'Patch #0 (opencsv-2.3-java7.patch):' + /usr/bin/cat /builddir/build/SOURCES/opencsv-2.3-java7.patch + /usr/bin/patch -p0 --fuzz=0 patching file test/au/com/bytecode/opencsv/MockResultSet.java + . /usr/share/java-utils/pom_editor.sh + pom_remove_plugin :maven-source-plugin + set +x + . /usr/share/java-utils/pom_editor.sh + pom_remove_plugin :maven-gpg-plugin + set +x + . /usr/share/java-utils/pom_editor.sh + pom_remove_plugin :findbugs-maven-plugin + set +x + . /usr/share/java-utils/pom_editor.sh + pom_remove_plugin :maven-javadoc-plugin + set +x + sed -i 's/\r//' examples/MockResultSet.java + sed -i 's/\r//' examples/JdbcExample.java + sed -i 's/\r//' examples/addresses.csv + sed -i 's/\r//' examples/AddressExample.java + cp -p /builddir/build/SOURCES/LICENSE-2.0.txt . + sed -i 's/\r//' LICENSE-2.0.txt + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tstCky + umask 022 + cd /builddir/build/BUILD + cd opencsv-2.3 + python /usr/share/java-utils/mvn_file.py :opencsv opencsv + python /usr/share/java-utils/mvn_build.py -n opencsv -- -Dproject.build.sourceEncoding=UTF-8 [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for net.sf.opencsv:opencsv:jar:2.3 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 50, column 12 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 57, column 12 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building opencsv 2.3 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ opencsv --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/opencsv-2.3/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ opencsv --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 10 source files to /builddir/build/BUILD/opencsv-2.3/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ opencsv --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/opencsv-2.3/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ opencsv --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 20 source files to /builddir/build/BUILD/opencsv-2.3/target/test-classes [WARNING] /builddir/build/BUILD/opencsv-2.3/test/au/com/bytecode/opencsv/TestUtilitiesTest.java: Some input files use or override a deprecated API. [WARNING] /builddir/build/BUILD/opencsv-2.3/test/au/com/bytecode/opencsv/TestUtilitiesTest.java: Recompile with -Xlint:deprecation for details. [WARNING] /builddir/build/BUILD/opencsv-2.3/test/au/com/bytecode/opencsv/bean/CsvToBeanTest.java: Some input files use unchecked or unsafe operations. [WARNING] /builddir/build/BUILD/opencsv-2.3/test/au/com/bytecode/opencsv/bean/CsvToBeanTest.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-surefire-plugin:2.15:test (default-test) @ opencsv --- [INFO] Surefire report directory: /builddir/build/BUILD/opencsv-2.3/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running au.com.bytecode.opencsv.ResultSetHelperServiceTest Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.19 sec - in au.com.bytecode.opencsv.ResultSetHelperServiceTest Running au.com.bytecode.opencsv.UniCodeTest Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.052 sec - in au.com.bytecode.opencsv.UniCodeTest Running au.com.bytecode.opencsv.bean.ColumnPositionMappingStrategyTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.099 sec - in au.com.bytecode.opencsv.bean.ColumnPositionMappingStrategyTest Running au.com.bytecode.opencsv.bean.HeaderColumnNameTranslateMappingStrategyTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec - in au.com.bytecode.opencsv.bean.HeaderColumnNameTranslateMappingStrategyTest Running au.com.bytecode.opencsv.bean.HeaderColumnNameMappingStrategyTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec - in au.com.bytecode.opencsv.bean.HeaderColumnNameMappingStrategyTest Running au.com.bytecode.opencsv.bean.CsvToBeanTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec - in au.com.bytecode.opencsv.bean.CsvToBeanTest Running au.com.bytecode.opencsv.CSVParserTest Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.226 sec - in au.com.bytecode.opencsv.CSVParserTest Running au.com.bytecode.opencsv.OpencsvTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec - in au.com.bytecode.opencsv.OpencsvTest Running au.com.bytecode.opencsv.CSVWriterTest Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.183 sec - in au.com.bytecode.opencsv.CSVWriterTest Running au.com.bytecode.opencsv.CSVReaderTest Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.167 sec - in au.com.bytecode.opencsv.CSVReaderTest Results : Tests run: 111, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ opencsv --- [INFO] Building jar: /builddir/build/BUILD/opencsv-2.3/target/opencsv-2.3.jar [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building opencsv 2.3 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- xmvn-mojo:1.3.0:install (default-cli) @ opencsv --- [INFO] [INFO] >>> maven-javadoc-plugin:2.9:aggregate (default-cli) @ opencsv >>> [INFO] [INFO] <<< maven-javadoc-plugin:2.9:aggregate (default-cli) @ opencsv <<< [INFO] [INFO] --- maven-javadoc-plugin:2.9:aggregate (default-cli) @ opencsv --- [INFO] Loading source files for package au.com.bytecode.opencsv... Loading source files for package au.com.bytecode.opencsv.bean... Constructing Javadoc information... Standard Doclet version 1.8.0_161 Building tree for all the packages and classes... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/CSVParser.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/CSVReader.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/CSVWriter.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/ResultSetHelper.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/ResultSetHelperService.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/bean/ColumnPositionMappingStrategy.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/bean/CsvToBean.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/bean/HeaderColumnNameMappingStrategy.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/bean/HeaderColumnNameTranslateMappingStrategy.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/bean/MappingStrategy.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/overview-frame.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/package-frame.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/package-summary.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/package-tree.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/bean/package-frame.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/bean/package-summary.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/bean/package-tree.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/constant-values.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/class-use/CSVParser.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/class-use/ResultSetHelper.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/class-use/CSVWriter.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/class-use/ResultSetHelperService.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/class-use/CSVReader.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/bean/class-use/ColumnPositionMappingStrategy.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/bean/class-use/CsvToBean.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/bean/class-use/MappingStrategy.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/bean/class-use/HeaderColumnNameMappingStrategy.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/bean/class-use/HeaderColumnNameTranslateMappingStrategy.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/package-use.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/au/com/bytecode/opencsv/bean/package-use.html... Building index for all the packages and classes... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/overview-tree.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/index-all.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/deprecated-list.html... Building index for all classes... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/allclasses-frame.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/allclasses-noframe.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/index.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/overview-summary.html... Generating /builddir/build/BUILD/opencsv-2.3/target/site/apidocs/help-doc.html... 4 errors 2 warnings [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3:20.542s [INFO] Finished at: Thu Mar 29 07:42:56 UTC 2018 [INFO] Final Memory: 11M/28M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9:aggregate (default-cli) on project opencsv: An error has occurred in JavaDocs report generation: [ERROR] Exit code: 1 - /builddir/build/BUILD/opencsv-2.3/src/au/com/bytecode/opencsv/CSVParser.java:307: error: bad use of '>' [ERROR] * precondition: sb.length() > 0 [ERROR] ^ [ERROR] /builddir/build/BUILD/opencsv-2.3/src/au/com/bytecode/opencsv/CSVWriter.java:294: warning: no @return [ERROR] public boolean checkError() { [ERROR] ^ [ERROR] /builddir/build/BUILD/opencsv-2.3/src/au/com/bytecode/opencsv/bean/MappingStrategy.java:31: warning: no description for @throws [ERROR] * @throws java.beans.IntrospectionException [ERROR] ^ [ERROR] /builddir/build/BUILD/opencsv-2.3/src/au/com/bytecode/opencsv/bean/HeaderColumnNameMappingStrategy.java:15: error: self-closing element not allowed [ERROR] *

[ERROR] ^ [ERROR] /builddir/build/BUILD/opencsv-2.3/src/au/com/bytecode/opencsv/bean/HeaderColumnNameMappingStrategy.java:19: error: self-closing element not allowed [ERROR] *

[ERROR] ^ [ERROR] /builddir/build/BUILD/opencsv-2.3/src/au/com/bytecode/opencsv/bean/HeaderColumnNameMappingStrategy.java:21: error: self-closing element not allowed [ERROR] *

[ERROR] ^ [ERROR] [ERROR] Command line was: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.arm/jre/../bin/javadoc @options @packages [ERROR] [ERROR] Refer to the generated Javadoc files in '/builddir/build/BUILD/opencsv-2.3/target/site/apidocs' dir. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.tstCky (%build) Bad exit status from /var/tmp/rpm-tmp.tstCky (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/opencsv.spec