Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/jfontchooser.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-02591f994e67dcbfa09b3f940899520ef063b9b0/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=995) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/jfontchooser.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/jfontchooser-1.0.5-2.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/jfontchooser.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-02591f994e67dcbfa09b3f940899520ef063b9b0/root'shell=Falseuid=995env={'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/jfontchooser.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.dETzaU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jfontchooser-1.0.5 + /usr/bin/unzip -qq /builddir/build/SOURCES/jfontchooser-1.0.5-src.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd jfontchooser-1.0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + . /usr/share/java-utils/pom_editor.sh + pom_remove_parent + set +x + find -name '*.jar' -delete + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uVmIZP + umask 022 + cd /builddir/build/BUILD + cd jfontchooser-1.0.5 + python /usr/share/java-utils/mvn_build.py -n jfontchooser [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building JFontChooser Component 1.0.5 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jfontchooser --- [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 5 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ jfontchooser --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! [INFO] Compiling 1 source file to /builddir/build/BUILD/jfontchooser-1.0.5/target/classes [WARNING] /builddir/build/BUILD/jfontchooser-1.0.5/src/main/java/say/swing/JFontChooser.java: /builddir/build/BUILD/jfontchooser-1.0.5/src/main/java/say/swing/JFontChooser.java uses unchecked or unsafe operations. [WARNING] /builddir/build/BUILD/jfontchooser-1.0.5/src/main/java/say/swing/JFontChooser.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ jfontchooser --- [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /builddir/build/BUILD/jfontchooser-1.0.5/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ jfontchooser --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.15:test (default-test) @ jfontchooser --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ jfontchooser --- [INFO] Building jar: /builddir/build/BUILD/jfontchooser-1.0.5/target/jfontchooser-1.0.5.jar [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building JFontChooser Component 1.0.5 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- xmvn-mojo:1.3.0:install (default-cli) @ jfontchooser --- [INFO] [INFO] >>> maven-javadoc-plugin:2.9:aggregate (default-cli) @ jfontchooser >>> [INFO] [INFO] <<< maven-javadoc-plugin:2.9:aggregate (default-cli) @ jfontchooser <<< [INFO] [INFO] --- maven-javadoc-plugin:2.9:aggregate (default-cli) @ jfontchooser --- [WARNING] Source files encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! [INFO] Loading source files for package say.swing... Constructing Javadoc information... Standard Doclet version 1.8.0_161 Building tree for all the packages and classes... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/say/swing/JFontChooser.html... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/say/swing/JFontChooser.DialogCancelAction.html... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/say/swing/JFontChooser.DialogOKAction.html... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/say/swing/JFontChooser.ListSearchTextFieldDocumentHandler.html... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/say/swing/JFontChooser.ListSearchTextFieldDocumentHandler.ListSelector.html... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/say/swing/JFontChooser.ListSelectionHandler.html... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/say/swing/JFontChooser.TextFieldFocusHandlerForTextSelection.html... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/say/swing/JFontChooser.TextFieldKeyHandlerForListSelectionUpDown.html... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/say/swing/package-frame.html... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/say/swing/package-summary.html... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/say/swing/package-tree.html... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/constant-values.html... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/serialized-form.html... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/say/swing/class-use/JFontChooser.html... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/say/swing/class-use/JFontChooser.ListSelectionHandler.html... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/say/swing/class-use/JFontChooser.TextFieldFocusHandlerForTextSelection.html... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/say/swing/class-use/JFontChooser.TextFieldKeyHandlerForListSelectionUpDown.html... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/say/swing/class-use/JFontChooser.ListSearchTextFieldDocumentHandler.html... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/say/swing/class-use/JFontChooser.ListSearchTextFieldDocumentHandler.ListSelector.html... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/say/swing/class-use/JFontChooser.DialogOKAction.html... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/say/swing/class-use/JFontChooser.DialogCancelAction.html... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/say/swing/package-use.html... Building index for all the packages and classes... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/overview-tree.html... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/index-all.html... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/deprecated-list.html... Building index for all classes... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/allclasses-frame.html... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/allclasses-noframe.html... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/index.html... Generating /builddir/build/BUILD/jfontchooser-1.0.5/target/site/apidocs/help-doc.html... 2 errors 15 warnings [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4:39.666s [INFO] Finished at: Mon Mar 26 19:10:36 UTC 2018 [INFO] Final Memory: 11M/27M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9:aggregate (default-cli) on project jfontchooser: An error has occurred in JavaDocs report generation: [ERROR] Exit code: 1 - /builddir/build/BUILD/jfontchooser-1.0.5/src/main/java/say/swing/JFontChooser.java:98: warning: '_' used as an identifier [ERROR] protected String _(String key) [ERROR] ^ [ERROR] (use of '_' as an identifier might not be supported in releases after Java SE 8) [ERROR] /builddir/build/BUILD/jfontchooser-1.0.5/src/main/java/say/swing/JFontChooser.java:408: warning: '_' used as an identifier [ERROR] return _("Version"); [ERROR] ^ [ERROR] (use of '_' as an identifier might not be supported in releases after Java SE 8) [ERROR] /builddir/build/BUILD/jfontchooser-1.0.5/src/main/java/say/swing/JFontChooser.java:609: warning: '_' used as an identifier [ERROR] putValue(Action.NAME, _(ACTION_NAME)); [ERROR] ^ [ERROR] (use of '_' as an identifier might not be supported in releases after Java SE 8) [ERROR] /builddir/build/BUILD/jfontchooser-1.0.5/src/main/java/say/swing/JFontChooser.java:629: warning: '_' used as an identifier [ERROR] putValue(Action.NAME, _(ACTION_NAME)); [ERROR] ^ [ERROR] (use of '_' as an identifier might not be supported in releases after Java SE 8) [ERROR] /builddir/build/BUILD/jfontchooser-1.0.5/src/main/java/say/swing/JFontChooser.java:643: warning: '_' used as an identifier [ERROR] JDialog dialog = new JDialog(frame, _("SelectFont"), true); [ERROR] ^ [ERROR] (use of '_' as an identifier might not be supported in releases after Java SE 8) [ERROR] /builddir/build/BUILD/jfontchooser-1.0.5/src/main/java/say/swing/JFontChooser.java:701: warning: '_' used as an identifier [ERROR] JLabel label = new JLabel(_("FontName")); [ERROR] ^ [ERROR] (use of '_' as an identifier might not be supported in releases after Java SE 8) [ERROR] /builddir/build/BUILD/jfontchooser-1.0.5/src/main/java/say/swing/JFontChooser.java:732: warning: '_' used as an identifier [ERROR] JLabel label = new JLabel(_("FontStyle")); [ERROR] ^ [ERROR] (use of '_' as an identifier might not be supported in releases after Java SE 8) [ERROR] /builddir/build/BUILD/jfontchooser-1.0.5/src/main/java/say/swing/JFontChooser.java:762: warning: '_' used as an identifier [ERROR] JLabel label = new JLabel(_("FontSize")); [ERROR] ^ [ERROR] (use of '_' as an identifier might not be supported in releases after Java SE 8) [ERROR] /builddir/build/BUILD/jfontchooser-1.0.5/src/main/java/say/swing/JFontChooser.java:779: warning: '_' used as an identifier [ERROR] BorderFactory.createEtchedBorder(), _("Sample")); [ERROR] ^ [ERROR] (use of '_' as an identifier might not be supported in releases after Java SE 8) [ERROR] /builddir/build/BUILD/jfontchooser-1.0.5/src/main/java/say/swing/JFontChooser.java:798: warning: '_' used as an identifier [ERROR] sampleText = new JTextField(_("SampleString")); [ERROR] ^ [ERROR] (use of '_' as an identifier might not be supported in releases after Java SE 8) [ERROR] /builddir/build/BUILD/jfontchooser-1.0.5/src/main/java/say/swing/JFontChooser.java:821: warning: '_' used as an identifier [ERROR] fontStyleNames[i++] = _("Plain"); [ERROR] ^ [ERROR] (use of '_' as an identifier might not be supported in releases after Java SE 8) [ERROR] /builddir/build/BUILD/jfontchooser-1.0.5/src/main/java/say/swing/JFontChooser.java:822: warning: '_' used as an identifier [ERROR] fontStyleNames[i++] = _("Bold"); [ERROR] ^ [ERROR] (use of '_' as an identifier might not be supported in releases after Java SE 8) [ERROR] /builddir/build/BUILD/jfontchooser-1.0.5/src/main/java/say/swing/JFontChooser.java:823: warning: '_' used as an identifier [ERROR] fontStyleNames[i++] = _("Italic"); [ERROR] ^ [ERROR] (use of '_' as an identifier might not be supported in releases after Java SE 8) [ERROR] /builddir/build/BUILD/jfontchooser-1.0.5/src/main/java/say/swing/JFontChooser.java:824: warning: '_' used as an identifier [ERROR] fontStyleNames[i++] = _("BoldItalic"); [ERROR] ^ [ERROR] (use of '_' as an identifier might not be supported in releases after Java SE 8) [ERROR] /builddir/build/BUILD/jfontchooser-1.0.5/src/main/java/say/swing/JFontChooser.java:62: error: tag not allowed here:
[ERROR] * 
[ERROR] ^
[ERROR] /builddir/build/BUILD/jfontchooser-1.0.5/src/main/java/say/swing/JFontChooser.java:62: warning: empty 
 tag
[ERROR] * 
[ERROR] ^
[ERROR] /builddir/build/BUILD/jfontchooser-1.0.5/src/main/java/say/swing/JFontChooser.java:54: error: element not closed: pre
[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/jfontchooser-1.0.5/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.uVmIZP (%build)
    Bad exit status from /var/tmp/rpm-tmp.uVmIZP (%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/jfontchooser.spec