Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/jdom.spec'], chrootPath='/var/lib/mock/dist-oc9-build-52606-14601/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/jdom.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/jdom-1.1.3-2.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/jdom.spec'], chrootPath='/var/lib/mock/dist-oc9-build-52606-14601/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/jdom.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uxhv1c + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jdom + /usr/bin/gzip -dc /builddir/build/SOURCES/jdom-1.1.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd jdom + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #3000 (jdom-crosslink.patch): + echo 'Patch #3000 (jdom-crosslink.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file build.xml Hunk #1 succeeded at 283 (offset 6 lines). Patch #3001 (jdom-1.1-OSGiManifest.patch): + echo 'Patch #3001 (jdom-1.1-OSGiManifest.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file ./package/META-INF/MANIFEST.MF Patch #3002 (CVE-2021-33813.patch): + echo 'Patch #3002 (CVE-2021-33813.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/java/org/jdom/input/SAXBuilder.java + find . -name '*.jar' -exec rm -f '{}' ';' + find . -name '*.class' -exec rm -f '{}' ';' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UXgEQ1 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd jdom + JAVA_HOME=/usr/lib/jvm/java-17 + ant -Dcompile.source=1.7 -Dcompile.target=1.7 -Dj2se.apidoc=/usr/share/javadoc/java package javadoc-link Buildfile: /builddir/build/BUILD/jdom/build.xml init: [echo] ----------- JDOM 1.1.2-snap ------------ prepare: prepare-src: [mkdir] Created dir: /builddir/build/BUILD/jdom/build/src [mkdir] Created dir: /builddir/build/BUILD/jdom/build/classes [copy] Copying 69 files to /builddir/build/BUILD/jdom/build/src compile: [javac] /builddir/build/BUILD/jdom/build.xml:173: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 61 source files to /builddir/build/BUILD/jdom/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 7 [javac] warning: [options] source value 7 is obsolete and will be removed in a future release [javac] warning: [options] target value 7 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/input/SAXBuilder.java:67: warning: [deprecation] XMLReaderFactory in org.xml.sax.helpers has been deprecated [javac] import org.xml.sax.helpers.XMLReaderFactory; [javac] ^ [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/CrimsonDOMAdapter.java:98: warning: [removal] Boolean(boolean) in Boolean has been deprecated and marked for removal [javac] args[1] = new Boolean(false); [javac] ^ [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/CrimsonDOMAdapter.java:139: warning: [deprecation] newInstance() in Class has been deprecated [javac] .newInstance(); [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/JAXPDOMAdapter.java:103: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] factoryClass.getMethod("newInstance", null); [javac] ^ [javac] cast to Class for a varargs call [javac] cast to Class[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/JAXPDOMAdapter.java:104: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] Object factory = newParserInstance.invoke(null, null); [javac] ^ [javac] cast to Object for a varargs call [javac] cast to Object[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/JAXPDOMAdapter.java:111: warning: [removal] Boolean(boolean) in Boolean has been deprecated and marked for removal [javac] new Object[]{new Boolean(validate)}); [javac] ^ [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/JAXPDOMAdapter.java:122: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] factoryClass.getMethod("newDocumentBuilder", null); [javac] ^ [javac] cast to Class for a varargs call [javac] cast to Class[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/JAXPDOMAdapter.java:123: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] Object jaxpParser = newDocBuilder.invoke(factory, null); [javac] ^ [javac] cast to Object for a varargs call [javac] cast to Object[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/JAXPDOMAdapter.java:175: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] factoryClass.getMethod("newInstance", null); [javac] ^ [javac] cast to Class for a varargs call [javac] cast to Class[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/JAXPDOMAdapter.java:176: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] Object factory = newParserInstance.invoke(null, null); [javac] ^ [javac] cast to Object for a varargs call [javac] cast to Object[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/JAXPDOMAdapter.java:180: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] factoryClass.getMethod("newDocumentBuilder", null); [javac] ^ [javac] cast to Class for a varargs call [javac] cast to Class[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/JAXPDOMAdapter.java:181: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] Object jaxpParser = newDocBuilder.invoke(factory, null); [javac] ^ [javac] cast to Object for a varargs call [javac] cast to Object[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/JAXPDOMAdapter.java:185: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] Method newDoc = parserClass.getMethod("newDocument", null); [javac] ^ [javac] cast to Class for a varargs call [javac] cast to Class[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/JAXPDOMAdapter.java:187: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] (org.w3c.dom.Document) newDoc.invoke(jaxpParser, null); [javac] ^ [javac] cast to Object for a varargs call [javac] cast to Object[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/OracleV1DOMAdapter.java:95: warning: [deprecation] newInstance() in Class has been deprecated [javac] Object parser = parserClass.newInstance(); [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/OracleV1DOMAdapter.java:104: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] Method getDocument = parserClass.getMethod("getDocument", null); [javac] ^ [javac] cast to Class for a varargs call [javac] cast to Class[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/OracleV1DOMAdapter.java:105: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] Document doc = (Document)getDocument.invoke(parser, null); [javac] ^ [javac] cast to Object for a varargs call [javac] cast to Object[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/OracleV1DOMAdapter.java:138: warning: [deprecation] newInstance() in Class has been deprecated [javac] .newInstance(); [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/OracleV2DOMAdapter.java:95: warning: [deprecation] newInstance() in Class has been deprecated [javac] Object parser = parserClass.newInstance(); [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/OracleV2DOMAdapter.java:104: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] Method getDocument = parserClass.getMethod("getDocument", null); [javac] ^ [javac] cast to Class for a varargs call [javac] cast to Class[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/OracleV2DOMAdapter.java:105: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] Document doc = (Document)getDocument.invoke(parser, null); [javac] ^ [javac] cast to Object for a varargs call [javac] cast to Object[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/OracleV2DOMAdapter.java:138: warning: [deprecation] newInstance() in Class has been deprecated [javac] .newInstance(); [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/XML4JDOMAdapter.java:101: warning: [deprecation] newInstance() in Class has been deprecated [javac] Object parser = parserClass.newInstance(); [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/XML4JDOMAdapter.java:109: warning: [removal] Boolean(boolean) in Boolean has been deprecated and marked for removal [javac] new Boolean(validate)}); [javac] ^ [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/XML4JDOMAdapter.java:113: warning: [removal] Boolean(boolean) in Boolean has been deprecated and marked for removal [javac] new Boolean(false)}); [javac] ^ [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/XML4JDOMAdapter.java:130: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] Method getDocument = parserClass.getMethod("getDocument", null); [javac] ^ [javac] cast to Class for a varargs call [javac] cast to Class[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/XML4JDOMAdapter.java:131: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] Document doc = (Document)getDocument.invoke(parser, null); [javac] ^ [javac] cast to Object for a varargs call [javac] cast to Object[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/XML4JDOMAdapter.java:164: warning: [deprecation] newInstance() in Class has been deprecated [javac] .newInstance(); [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/XercesDOMAdapter.java:98: warning: [deprecation] newInstance() in Class has been deprecated [javac] Object parser = parserClass.newInstance(); [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/XercesDOMAdapter.java:106: warning: [removal] Boolean(boolean) in Boolean has been deprecated and marked for removal [javac] new Boolean(validate)}); [javac] ^ [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/XercesDOMAdapter.java:111: warning: [removal] Boolean(boolean) in Boolean has been deprecated and marked for removal [javac] new Boolean(true)}); [javac] ^ [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/XercesDOMAdapter.java:129: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] Method getDocument = parserClass.getMethod("getDocument", null); [javac] ^ [javac] cast to Class for a varargs call [javac] cast to Class[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/XercesDOMAdapter.java:130: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] Document doc = (Document)getDocument.invoke(parser, null); [javac] ^ [javac] cast to Object for a varargs call [javac] cast to Object[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/adapters/XercesDOMAdapter.java:164: warning: [deprecation] newInstance() in Class has been deprecated [javac] "org.apache.xerces.dom.DocumentImpl").newInstance(); [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/input/SAXBuilder.java:598: warning: [deprecation] XMLReaderFactory in org.xml.sax.helpers has been deprecated [javac] parser = XMLReaderFactory.createXMLReader(saxDriverClass); [javac] ^ [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/input/SAXBuilder.java:646: warning: [deprecation] XMLReaderFactory in org.xml.sax.helpers has been deprecated [javac] parser = XMLReaderFactory.createXMLReader(DEFAULT_SAX_DRIVER); [javac] ^ [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/input/SAXHandler.java:178: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal [javac] new Integer(Attribute.CDATA_TYPE)); [javac] ^ [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/input/SAXHandler.java:180: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal [javac] new Integer(Attribute.ID_TYPE)); [javac] ^ [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/input/SAXHandler.java:182: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal [javac] new Integer(Attribute.IDREF_TYPE)); [javac] ^ [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/input/SAXHandler.java:184: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal [javac] new Integer(Attribute.IDREFS_TYPE)); [javac] ^ [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/input/SAXHandler.java:186: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal [javac] new Integer(Attribute.ENTITY_TYPE)); [javac] ^ [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/input/SAXHandler.java:188: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal [javac] new Integer(Attribute.ENTITIES_TYPE)); [javac] ^ [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/input/SAXHandler.java:190: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal [javac] new Integer(Attribute.NMTOKEN_TYPE)); [javac] ^ [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/input/SAXHandler.java:192: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal [javac] new Integer(Attribute.NMTOKENS_TYPE)); [javac] ^ [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/input/SAXHandler.java:194: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal [javac] new Integer(Attribute.NOTATION_TYPE)); [javac] ^ [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/input/SAXHandler.java:196: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal [javac] new Integer(Attribute.ENUMERATED_TYPE)); [javac] ^ [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/output/DOMOutputter.java:207: warning: [deprecation] newInstance() in Class has been deprecated [javac] (DOMAdapter)Class.forName(adapterClass).newInstance(); [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/output/DOMOutputter.java:226: warning: [deprecation] newInstance() in Class has been deprecated [javac] "org.jdom.adapters.JAXPDOMAdapter").newInstance(); [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/output/DOMOutputter.java:244: warning: [deprecation] newInstance() in Class has been deprecated [javac] Class.forName(DEFAULT_ADAPTER_CLASS).newInstance(); [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/output/Format.java:461: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] Method newEncoder = charsetClass.getMethod("newEncoder", null); [javac] ^ [javac] cast to Class for a varargs call [javac] cast to Class[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/output/Format.java:462: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] encoder = newEncoder.invoke(charsetObj, null); [javac] ^ [javac] cast to Object for a varargs call [javac] cast to Object[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/output/Format.java:495: warning: [removal] Character(char) in Character has been deprecated and marked for removal [javac] Boolean val = (Boolean) canEncode.invoke(encoder, new Object[]{new Character(ch)}); [javac] ^ [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/output/SAXOutputter.java:1349: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] factoryClass.getMethod("newInstance", null); [javac] ^ [javac] cast to Class for a varargs call [javac] cast to Class[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/output/SAXOutputter.java:1350: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] Object factory = newParserInstance.invoke(null, null); [javac] ^ [javac] cast to Object for a varargs call [javac] cast to Object[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/output/SAXOutputter.java:1353: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] Method newSAXParser = factoryClass.getMethod("newSAXParser", null); [javac] ^ [javac] cast to Class for a varargs call [javac] cast to Class[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/output/SAXOutputter.java:1354: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] Object jaxpParser = newSAXParser.invoke(factory, null); [javac] ^ [javac] cast to Object for a varargs call [javac] cast to Object[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/output/SAXOutputter.java:1359: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] parserClass.getMethod("getXMLReader", null); [javac] ^ [javac] cast to Class for a varargs call [javac] cast to Class[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/output/SAXOutputter.java:1360: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] parser = (XMLReader)getXMLReader.invoke(jaxpParser, null); [javac] ^ [javac] cast to Object for a varargs call [javac] cast to Object[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/jdom/build/src/org/jdom/output/SAXOutputter.java:1374: warning: [deprecation] XMLReaderFactory in org.xml.sax.helpers has been deprecated [javac] parser = XMLReaderFactory.createXMLReader( [javac] ^ [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 63 warnings javadoc: [javadoc] Generating Javadoc [javadoc] Javadoc execution [javadoc] Loading source files for package org.jdom... [javadoc] Loading source files for package org.jdom.adapters... [javadoc] Loading source files for package org.jdom.filter... [javadoc] Loading source files for package org.jdom.input... [javadoc] Loading source files for package org.jdom.output... [javadoc] Loading source files for package org.jdom.transform... [javadoc] Loading source files for package org.jdom.xpath... [javadoc] Constructing Javadoc information... [javadoc] /builddir/build/BUILD/jdom/build/src/org/jdom/xpath/JaxenXPath.java:83: error: cannot find symbol [javadoc] private transient JDOMXPath xPath; [javadoc] ^ [javadoc] symbol: class JDOMXPath [javadoc] location: class JaxenXPath [javadoc] /builddir/build/BUILD/jdom/build/src/org/jdom/xpath/JaxenXPath.java:62: error: package org.jaxen does not exist [javadoc] import org.jaxen.*; [javadoc] ^ [javadoc] /builddir/build/BUILD/jdom/build/src/org/jdom/xpath/JaxenXPath.java:63: error: package org.jaxen.jdom does not exist [javadoc] import org.jaxen.jdom.*; [javadoc] ^ [javadoc] /builddir/build/BUILD/jdom/build/src/org/jdom/xpath/JaxenXPath.java:308: error: cannot find symbol [javadoc] private class NSContext extends SimpleNamespaceContext { [javadoc] ^ [javadoc] symbol: class SimpleNamespaceContext [javadoc] location: class JaxenXPath [javadoc] 4 errors [javadoc] Patched 1 link injection vulnerable javadocs package: [copy] Copying 4 files to /builddir/build/BUILD/jdom/build/classes/META-INF [jar] Building jar: /builddir/build/BUILD/jdom/build/jdom-1.1.2-snap.jar [jar] Building jar: /builddir/build/BUILD/jdom/build/jdom-1.1.2-snap-sources.jar [jar] Building jar: /builddir/build/BUILD/jdom/build/jdom-1.1.2-snap-javadoc.jar init: [echo] ----------- JDOM 1.1.2-snap ------------ prepare: prepare-src: javadoc-link: [javadoc] Generating Javadoc [javadoc] Javadoc execution [javadoc] Loading source files for package org.jdom... [javadoc] Loading source files for package org.jdom.adapters... [javadoc] Loading source files for package org.jdom.filter... [javadoc] Loading source files for package org.jdom.input... [javadoc] Loading source files for package org.jdom.output... [javadoc] Loading source files for package org.jdom.transform... [javadoc] Loading source files for package org.jdom.xpath... [javadoc] Constructing Javadoc information... [javadoc] /builddir/build/BUILD/jdom/build/src/org/jdom/xpath/JaxenXPath.java:83: error: cannot find symbol [javadoc] private transient JDOMXPath xPath; [javadoc] ^ [javadoc] symbol: class JDOMXPath [javadoc] location: class JaxenXPath [javadoc] /builddir/build/BUILD/jdom/build/src/org/jdom/xpath/JaxenXPath.java:62: error: package org.jaxen does not exist [javadoc] import org.jaxen.*; [javadoc] ^ [javadoc] /builddir/build/BUILD/jdom/build/src/org/jdom/xpath/JaxenXPath.java:63: error: package org.jaxen.jdom does not exist [javadoc] import org.jaxen.jdom.*; [javadoc] ^ [javadoc] /builddir/build/BUILD/jdom/build/src/org/jdom/xpath/JaxenXPath.java:308: error: cannot find symbol [javadoc] private class NSContext extends SimpleNamespaceContext { [javadoc] ^ [javadoc] symbol: class SimpleNamespaceContext [javadoc] location: class JaxenXPath [javadoc] 4 errors BUILD SUCCESSFUL Total time: 3 seconds + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jOaOB4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch ++ dirname /builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch + cd jdom + /usr/bin/python3 /usr/share/java-utils/mvn_file.py : jdom + /usr/bin/python3 /usr/share/java-utils/mvn_alias.py : jdom:jdom + /usr/bin/python3 /usr/share/java-utils/mvn_artifact.py /builddir/build/SOURCES/jdom-1.1.3.pom build/jdom-1.1.2-snap.jar + xmvn-install -R .xmvn-reactor -n jdom -d /builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch [INFO] Installing artifact org.jdom:jdom:pom:1.1.3 [INFO] Installing artifact org.jdom:jdom:jar:1.1.3 [INFO] Installation successful + jdir=build/apidocs + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch/usr/share/licenses + '[' -d build/apidocs ']' + install -dm755 /builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch/usr/share/javadoc/jdom + cp -pr build/apidocs/allclasses-frame.html build/apidocs/allclasses-noframe.html build/apidocs/constant-values.html build/apidocs/deprecated-list.html build/apidocs/help-doc.html build/apidocs/index-files build/apidocs/index.html build/apidocs/org build/apidocs/overview-frame.html build/apidocs/overview-summary.html build/apidocs/overview-tree.html build/apidocs/package-list build/apidocs/resources build/apidocs/serialized-form.html build/apidocs/stylesheet.css /builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch/usr/share/javadoc/jdom + echo /usr/share/javadoc/jdom + mkdir -p /builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch/usr/share/jdom + cp -pr samples /builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch/usr/share/jdom + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.1.3-2.oc9 --unique-debug-suffix -1.1.3-2.oc9.noarch --unique-debug-src-base jdom-1.1.3-2.oc9.noarch -S debugsourcefiles.list /builddir/build/BUILD/jdom + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: jdom-1.1.3-2.oc9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JHfBeG + umask 022 + cd /builddir/build/BUILD + cd jdom + DOCDIR=/builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch/usr/share/doc/jdom + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch/usr/share/doc/jdom + cp -pr CHANGES.txt /builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch/usr/share/doc/jdom + cp -pr COMMITTERS.txt /builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch/usr/share/doc/jdom + cp -pr README.txt /builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch/usr/share/doc/jdom + cp -pr TODO.txt /builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch/usr/share/doc/jdom + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.R0rJS0 + umask 022 + cd /builddir/build/BUILD + cd jdom + LICENSEDIR=/builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch/usr/share/licenses/jdom + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch/usr/share/licenses/jdom + cp -pr LICENSE.txt /builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch/usr/share/licenses/jdom + RPM_EC=0 ++ jobs -p + exit 0 [INFO maven.prov] input: ['/builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch/usr/share/maven-metadata/jdom.xml'] [INFO maven.prov] mvn(org.jdom:jdom:pom:) = 1.1.3 mvn(jdom:jdom:pom:) = 1.1.3, mvn(org.jdom:jdom) = 1.1.3 mvn(jdom:jdom) = 1.1.3 [INFO osgi.prov] input: ['/builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch/usr/share/java/jdom.jar'] [INFO osgi.prov] osgi(org.jdom) = 1.1.2 [INFO maven.req] input: ['/builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch/usr/share/maven-metadata/jdom.xml'] [INFO maven.req] javapackages-filesystem, (java-headless or java-17-headless or java-11-headless or java-1.8.0-headless) [INFO osgi.req] input: ['/builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch/usr/share/java/jdom.jar'] Provides: jdom = 1.1.3-2.oc9 mvn(jdom:jdom) = 1.1.3 mvn(jdom:jdom:pom:) = 1.1.3 mvn(org.jdom:jdom) = 1.1.3 mvn(org.jdom:jdom:pom:) = 1.1.3 osgi(org.jdom) = 1.1.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (java-headless or java-17-headless or java-11-headless or java-1.8.0-headless) javapackages-filesystem Processing files: jdom-javadoc-1.1.3-2.oc9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.rkGfQ1 + umask 022 + cd /builddir/build/BUILD + cd jdom + LICENSEDIR=/builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch/usr/share/licenses/jdom-javadoc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch/usr/share/licenses/jdom-javadoc + cp -pr LICENSE.txt /builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch/usr/share/licenses/jdom-javadoc + RPM_EC=0 ++ jobs -p + exit 0 Provides: jdom-javadoc = 1.1.3-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: javapackages-filesystem Processing files: jdom-demo-1.1.3-2.oc9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.tElYyG + umask 022 + cd /builddir/build/BUILD + cd jdom + LICENSEDIR=/builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch/usr/share/licenses/jdom-demo + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch/usr/share/licenses/jdom-demo + cp -pr LICENSE.txt /builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch/usr/share/licenses/jdom-demo + RPM_EC=0 ++ jobs -p + exit 0 Provides: jdom-demo = 1.1.3-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/jdom-1.1.3-2.oc9.noarch Wrote: /builddir/build/RPMS/jdom-demo-1.1.3-2.oc9.noarch.rpm Wrote: /builddir/build/RPMS/jdom-1.1.3-2.oc9.noarch.rpm Wrote: /builddir/build/RPMS/jdom-javadoc-1.1.3-2.oc9.noarch.rpm Child return code was: 0