D: [iurt_root_command] chroot [WARNING] Deprecated %add_maven_depmap macro is used. Please use %mvn_artifact and %mvn_install instead. [WARNING] Deprecated %add_maven_depmap macro is used. Please use %mvn_artifact and %mvn_install instead. [WARNING] Deprecated %add_maven_depmap macro is used. Please use %mvn_artifact and %mvn_install instead. Installing /home/iurt/rpmbuild/SRPMS/xmlbeans-2.6.0-16.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Wo8CHe + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf xmlbeans-2.6.0 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/xmlbeans-2.6.0-src.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xmlbeans-2.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (xmlbeans-2.6.0-nodownload.patch):' Patch #0 (xmlbeans-2.6.0-nodownload.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .nodownload --fuzz=0 patching file build.xml + echo 'Patch #1 (0001-Update-to-newer-saxon-API.patch):' Patch #1 (0001-Update-to-newer-saxon-API.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/xpath_xquery/org/apache/xmlbeans/impl/xpath/saxon/XBeansXPath.java + echo 'Patch #2 (xmlbeans-2.6.0-iso-8859-1-encoding.patch):' Patch #2 (xmlbeans-2.6.0-iso-8859-1-encoding.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file build.xml + echo 'Patch #3 (xmlbeans-2.6.0-jsr-bundle.patch):' Patch #3 (xmlbeans-2.6.0-jsr-bundle.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file build.xml + echo 'Patch #4 (xmlbeans-scripts-classpath.patch):' Patch #4 (xmlbeans-scripts-classpath.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file bin/dumpxsb patching file bin/inst2xsd patching file bin/scomp patching file bin/sdownload patching file bin/sfactor patching file bin/svalidate patching file bin/validate patching file bin/xpretty patching file bin/xsd2inst patching file bin/xsdtree patching file bin/xstc + echo 'Patch #5 (xmlbeans-2.6.0-java8.patch):' Patch #5 (xmlbeans-2.6.0-java8.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file build.xml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.fc7ned + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd xmlbeans-2.6.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + find . '(' -name '*.jar' -o -name '*.zip' ')' -not -name 'piccolo*.jar' -not -name 'jam*.jar' -print -delete ./samples/vxsdb/external/DdlUtils-1.0-RC1.jar ./external/lib/saxonb9-0-0-4j.zip ./external/lib/saxon9-dom.jar ./external/lib/jsr173_1.0_api.jar ./external/lib/oldxbean.jar ./external/lib/jsr173_1.0_api_bundle.jar ./external/lib/saxon9.jar ./external/lib/junit.jar ./external/lib/xcresolver.zip + mkdir -p build/lib ++ build-classpath xml-commons-resolver + ln -sf /usr/share/java/xml-commons-resolver.jar build/lib/resolver.jar ++ build-classpath xmlbeans/xbean + ln -sf /usr/share/java/xmlbeans/xbean.jar external/lib/oldxbean.jar ++ build-classpath bea-stax-api + ln -sf /usr/share/java/bea-stax-api.jar external/lib/jsr173_1.0_api.jar ++ build-classpath saxon/saxon + ln -sf /usr/share/java/saxon/saxon.jar external/lib/saxon9.jar ++ build-classpath saxon/saxon + ln -sf /usr/share/java/saxon/saxon.jar external/lib/saxon9-dom.jar + sed 's/\r//' -i LICENSE.txt NOTICE.txt README.txt docs/stylesheet.css docs/xmlbeans.css docs/guide/tools.html + ant -Djavac.source=1.6 -Djavac.target=1.6 default docs Buildfile: /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build.xml dirs: [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/classes [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/ar [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/src [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/private [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/private/classes [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/private/lib [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/test/output version: [echo] Trying to get revision number from Subversion... [exec] Execute failed: java.io.IOException: Cannot run program "svn" (in directory "/home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0"): error=2, No such file or directory [replaceregexp] The following file is missing: '/home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/private/svninfo.properties' [echo] Apache XmlBeans version 2.6.0-unknown jsr173-bundle.downloaded: jsr173-bundle.jar: jsr173_1.0.jars.extracted: jsr173_1.0.jars: [copy] Copying 1 file to /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/lib xmlpublic.classes: [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/classes/xmlpublic [javac] /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build.xml:553: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 111 source files to /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/classes/xmlpublic [javac] warning: [options] bootstrap class path not set in conjunction with -source 6 [javac] warning: [options] source value 6 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/src/xmlpublic/org/apache/xmlbeans/XmlBeans.java:327: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] return (SchemaTypeLoader)_getContextTypeLoaderMethod.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] /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/src/xmlpublic/org/apache/xmlbeans/XmlBeans.java:350: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] return (SchemaTypeSystem)_getBuiltinSchemaTypeSystemMethod.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] /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/src/xmlpublic/org/apache/xmlbeans/XmlBeans.java:856: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] return (SchemaType)_getNoTypeMethod.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] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 7 warnings [copy] Copying 1 file to /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/classes/xmlpublic typeholder.check: typeholder.template: [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/classes/typeholder [javac] /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build.xml:630: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 1 source file to /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/classes/typeholder [javac] warning: [options] bootstrap class path not set in conjunction with -source 6 [javac] warning: [options] source value 6 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] 4 warnings [move] Moving 1 file to /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/classes/typeholder/org/apache/xmlbeans/impl/schema xmlinputstream.classes: [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/classes/xmlinputstream [javac] /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build.xml:542: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 24 source files to /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/classes/xmlinputstream [javac] warning: [options] bootstrap class path not set in conjunction with -source 6 [javac] warning: [options] source value 6 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] Note: /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/src/xmlinputstream/org/apache/xmlbeans/xml/stream/ReferenceResolver.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 4 warnings common.classes: [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/classes/common [javac] /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build.xml:605: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 38 source files to /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/classes/common [javac] warning: [options] bootstrap class path not set in conjunction with -source 6 [javac] warning: [options] source value 6 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/src/common/org/apache/xmlbeans/impl/common/ResolverUtil.java:64: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] cmMethod.invoke(cmObj, new String[] {catalogFile}); [javac] ^ [javac] cast to Object for a varargs call [javac] cast to Object[] for a non-varargs call and to suppress this warning [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 5 warnings typestore.classes: [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/classes/typestore [javac] /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build.xml:590: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 5 source files to /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/classes/typestore [javac] warning: [options] bootstrap class path not set in conjunction with -source 6 [javac] warning: [options] source value 6 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] 4 warnings saaj_api.classes: [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/classes/saaj_api [javac] /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build.xml:734: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 26 source files to /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/classes/saaj_api [javac] warning: [options] bootstrap class path not set in conjunction with -source 6 [javac] warning: [options] source value 6 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] Note: /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/src/saaj_api/org/apache/xmlbeans/impl/soap/FactoryFinder.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/src/saaj_api/org/apache/xmlbeans/impl/soap/MimeHeaders.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 4 warnings piccolo.classes.check: repackage.classes: [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/classes/repackage [javac] /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build.xml:979: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 3 source files to /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/classes/repackage [javac] warning: [options] bootstrap class path not set in conjunction with -source 6 [javac] warning: [options] source value 6 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 4 warnings piccolo.classes: [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/private/piccolo [unjar] Expanding: /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/external/lib/piccolo_apache_dist_20040711_v2.jar into /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/private/piccolo [echo] Re-packaging Piccolo [java] Repackaging 41 files ... [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/classes/piccolo [javac] /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build.xml:1185: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 35 source files to /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build/classes/piccolo [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.3 [javac] error: Source option 1.3 is no longer supported. Use 6 or later. [javac] error: Target option 1.4 is no longer supported. Use 1.6 or later. BUILD FAILED /home/iurt/rpmbuild/BUILD/xmlbeans-2.6.0/build.xml:1185: Compile failed; see the compiler error output for details. Total time: 4 seconds error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.fc7ned (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.fc7ned (%build) I: [iurt_root_command] ERROR: chroot