D: [iurt_root_command] chroot cat: /usr/include/httpd/.mmn: No such file or directory warning: Macro expanded in comment on line 26: %{_httpd_mmn} warning: Macro expanded in comment on line 26: %{_httpd_mmn} Installing /home/iurt/rpmbuild/SRPMS/mod_cluster-1.3.3-9.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.wVqqxu + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf mod_cluster-1.3.3.Final + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/mod_cluster-1.3.3.Final.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mod_cluster-1.3.3.Final + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (MODCLUSTER-528-CatalinaContext.java.patch):' Patch #0 (MODCLUSTER-528-CatalinaContext.java.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file container/catalina/src/main/java/org/jboss/modcluster/container/catalina/CatalinaContext.java + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module demo + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module tomcat6 container + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module tomcat7 container + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module jbossweb container + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :animal-sniffer-maven-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :versions-maven-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_change_dep :jboss-servlet-api_3.0_spec org.apache.tomcat:tomcat-util container/catalina + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_change_dep org.apache.tomcat: '::${version.tomcat8}' container/catalina + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_change_dep :catalina ':tomcat-catalina:${version.tomcat8}' container/catalina-standalone + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_change_dep :coyote ':tomcat-coyote:${version.tomcat8}' container/catalina-standalone + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:dependency[pom:type = '\''test-jar'\'']' container/tomcat8 + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_inject 'pom:profile[pom:id = '\''TC8'\'']/pom:modules' 'catalina-standalone' container + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_set 'pom:profile[pom:id = '\''TC7'\'']/pom:id' TC8 container/catalina + /usr/bin/python3 /usr/share/java-utils/mvn_package.py :mod_cluster-core java + /usr/bin/python3 /usr/share/java-utils/mvn_package.py :mod_cluster-container-spi java + /usr/bin/python3 /usr/share/java-utils/mvn_file.py :mod_cluster-core:jar: mod_cluster/mod_cluster-core tomcat/mod_cluster-core + /usr/bin/python3 /usr/share/java-utils/mvn_file.py :mod_cluster-container-spi:jar: mod_cluster/mod_cluster-container-spi tomcat/mod_cluster-container-spi + /usr/bin/python3 /usr/share/java-utils/mvn_package.py :mod_cluster-container-tomcat8 java-tomcat8 + /usr/bin/python3 /usr/share/java-utils/mvn_package.py :mod_cluster-container-catalina-standalone java-tomcat8 + /usr/bin/python3 /usr/share/java-utils/mvn_package.py :mod_cluster-container-catalina java-tomcat8 + /usr/bin/python3 /usr/share/java-utils/mvn_file.py :mod_cluster-container-catalina:jar: tomcat/mod_cluster-container-catalina + /usr/bin/python3 /usr/share/java-utils/mvn_file.py :mod_cluster-container-catalina-standalone:jar: tomcat/mod_cluster-container-catalina-standalone + /usr/bin/python3 /usr/share/java-utils/mvn_file.py :mod_cluster-container-tomcat8:jar: tomcat/mod_cluster-container-tomcat8 + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_plugin org.apache.maven.plugins:maven-source-plugin . ' true ' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.VqZrlr + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd mod_cluster-1.3.3.Final + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -s -f -- -PTC8 Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true -PTC8 package org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', '-Dmaven.test.skip=true', '-PTC8', 'package', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] mod_cluster (parent) [pom] [INFO] mod_cluster: Container SPI [jar] [INFO] mod_cluster: Core [jar] [INFO] mod_cluster: Container (parent) [pom] [INFO] mod_cluster: Container - Catalina [jar] [INFO] mod_cluster: Container - Catalina (standalone) [jar] [INFO] mod_cluster: Container - Tomcat 8 [jar] [INFO] [INFO] --------------< org.jboss.mod_cluster:mod_cluster-parent >-------------- [INFO] Building mod_cluster (parent) 1.3.3.Final [1/7] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-java-version) @ mod_cluster-parent --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven-version) @ mod_cluster-parent --- [INFO] [INFO] --- buildnumber-maven-plugin:1.3:create (get-scm-revision) @ mod_cluster-parent --- [INFO] maven is executed in offline mode, Updating project files from SCM: skipped. [INFO] Executing: /bin/sh -c cd '/home/iurt/rpmbuild/BUILD/mod_cluster-1.3.3.Final' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/iurt/rpmbuild/BUILD/mod_cluster-1.3.3.Final [WARNING] Cannot get the revision information from the scm repository, proceeding with revision of UNKNOWN : Exception while executing SCM command. [INFO] Storing buildNumber: UNKNOWN at timestamp: 1602134281333 [WARNING] Cannot get the branch information from the git repository: Error while executing command. [INFO] Executing: /bin/sh -c cd '/home/iurt/rpmbuild/BUILD/mod_cluster-1.3.3.Final' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/iurt/rpmbuild/BUILD/mod_cluster-1.3.3.Final [WARNING] Cannot get the branch information from the scm repository, proceeding with UNKNOWN_BRANCH : Exception while executing SCM command. [INFO] Storing buildScmBranch: UNKNOWN_BRANCH [INFO] [INFO] --- maven-source-plugin:3.2.1:jar-no-fork (attach-sources) @ mod_cluster-parent --- [INFO] Skipping source per configuration. [INFO] [INFO] ----------< org.jboss.mod_cluster:mod_cluster-container-spi >----------- [INFO] Building mod_cluster: Container SPI 1.3.3.Final [2/7] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-java-version) @ mod_cluster-container-spi --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven-version) @ mod_cluster-container-spi --- [INFO] [INFO] --- buildnumber-maven-plugin:1.3:create (get-scm-revision) @ mod_cluster-container-spi --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ mod_cluster-container-spi --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/iurt/rpmbuild/BUILD/mod_cluster-1.3.3.Final/container-spi/src/main/resources [INFO] Copying 0 resource [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ mod_cluster-container-spi --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 6 source files to /home/iurt/rpmbuild/BUILD/mod_cluster-1.3.3.Final/container-spi/target/classes [WARNING] bootstrap class path not set in conjunction with -source 6 [WARNING] source value 6 is obsolete and will be removed in a future release [WARNING] target value 1.6 is obsolete and will be removed in a future release [WARNING] To suppress warnings about obsolete options, use -Xlint:-options. [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ mod_cluster-container-spi --- [INFO] Not copying test resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ mod_cluster-container-spi --- [INFO] Not compiling test sources [INFO] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ mod_cluster-container-spi --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ mod_cluster-container-spi --- [INFO] Building jar: /home/iurt/rpmbuild/BUILD/mod_cluster-1.3.3.Final/container-spi/target/mod_cluster-container-spi-1.3.3.Final.jar [INFO] [INFO] --- maven-source-plugin:3.2.1:jar-no-fork (attach-sources) @ mod_cluster-container-spi --- [INFO] Skipping source per configuration. [INFO] [INFO] ---------------< org.jboss.mod_cluster:mod_cluster-core >--------------- [INFO] Building mod_cluster: Core 1.3.3.Final [3/7] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-java-version) @ mod_cluster-core --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven-version) @ mod_cluster-core --- [INFO] [INFO] --- buildnumber-maven-plugin:1.3:create (get-scm-revision) @ mod_cluster-core --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ mod_cluster-core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/iurt/rpmbuild/BUILD/mod_cluster-1.3.3.Final/core/src/main/resources [INFO] Copying 2 resources [INFO] The encoding used to copy filtered properties files have not been set. This means that the same encoding will be used to copy filtered properties files as when copying other filtered resources. This might not be what you want! Run your build with --debug to see which files might be affected. Read more at https://maven.apache.org/plugins/maven-resources-plugin/examples/filtering-properties-files.html [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ mod_cluster-core --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 66 source files to /home/iurt/rpmbuild/BUILD/mod_cluster-1.3.3.Final/core/target/classes [WARNING] bootstrap class path not set in conjunction with -source 6 [WARNING] source value 6 is obsolete and will be removed in a future release [WARNING] target value 1.6 is obsolete and will be removed in a future release [WARNING] To suppress warnings about obsolete options, use -Xlint:-options. [WARNING] /home/iurt/rpmbuild/BUILD/mod_cluster-1.3.3.Final/core/src/main/java/org/jboss/modcluster/mcmp/impl/DefaultMCMPHandler.java:[238,17] addProxy(java.net.InetSocketAddress,boolean) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated [WARNING] /home/iurt/rpmbuild/BUILD/mod_cluster-1.3.3.Final/core/src/main/java/org/jboss/modcluster/mcmp/impl/DefaultMCMPHandler.java:[182,17] addProxy(java.net.InetSocketAddress) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated [WARNING] /home/iurt/rpmbuild/BUILD/mod_cluster-1.3.3.Final/core/src/main/java/org/jboss/modcluster/advertise/impl/AdvertiseListenerImpl.java:[440,67] addProxy(java.net.InetSocketAddress) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated [WARNING] /home/iurt/rpmbuild/BUILD/mod_cluster-1.3.3.Final/core/src/main/java/org/jboss/modcluster/config/impl/ModClusterConfig.java:[169,42] getProxies() in org.jboss.modcluster.config.MCMPHandlerConfiguration has been deprecated [WARNING] /home/iurt/rpmbuild/BUILD/mod_cluster-1.3.3.Final/core/src/main/java/org/jboss/modcluster/ModClusterService.java:[174,84] getProxies() in org.jboss.modcluster.config.MCMPHandlerConfiguration has been deprecated [WARNING] /home/iurt/rpmbuild/BUILD/mod_cluster-1.3.3.Final/core/src/main/java/org/jboss/modcluster/ModClusterService.java:[490,25] addProxy(java.net.InetSocketAddress) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated [WARNING] /home/iurt/rpmbuild/BUILD/mod_cluster-1.3.3.Final/core/src/main/java/org/jboss/modcluster/load/impl/DynamicLoadBalanceFactorProvider.java:[118,22] Double(double) in java.lang.Double has been deprecated [WARNING] /home/iurt/rpmbuild/BUILD/mod_cluster-1.3.3.Final/core/src/main/java/org/jboss/modcluster/load/metric/impl/DeterministicLoadStateImpl.java:[35,86] Double(double) in java.lang.Double has been deprecated [WARNING] /home/iurt/rpmbuild/BUILD/mod_cluster-1.3.3.Final/core/src/main/java/org/jboss/modcluster/load/metric/impl/DeterministicLoadStateImpl.java:[47,59] Double(double) in java.lang.Double has been deprecated [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ mod_cluster-core --- [INFO] Not copying test resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ mod_cluster-core --- [INFO] Not compiling test sources [INFO] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ mod_cluster-core --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ mod_cluster-core --- [INFO] Building jar: /home/iurt/rpmbuild/BUILD/mod_cluster-1.3.3.Final/core/target/mod_cluster-core-1.3.3.Final.jar [INFO] [INFO] --- maven-source-plugin:3.2.1:jar-no-fork (attach-sources) @ mod_cluster-core --- [INFO] Skipping source per configuration. [INFO] [INFO] ------------< org.jboss.mod_cluster:mod_cluster-container >------------- [INFO] Building mod_cluster: Container (parent) 1.3.3.Final [4/7] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-java-version) @ mod_cluster-container --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven-version) @ mod_cluster-container --- [INFO] [INFO] --- buildnumber-maven-plugin:1.3:create (get-scm-revision) @ mod_cluster-container --- [INFO] [INFO] --- maven-source-plugin:3.2.1:jar-no-fork (attach-sources) @ mod_cluster-container --- [INFO] Skipping source per configuration. [INFO] [INFO] --------< org.jboss.mod_cluster:mod_cluster-container-catalina >-------- [INFO] Building mod_cluster: Container - Catalina 1.3.3.Final [5/7] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-java-version) @ mod_cluster-container-catalina --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven-version) @ mod_cluster-container-catalina --- [INFO] [INFO] --- buildnumber-maven-plugin:1.3:create (get-scm-revision) @ mod_cluster-container-catalina --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ mod_cluster-container-catalina --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/iurt/rpmbuild/BUILD/mod_cluster-1.3.3.Final/container/catalina/src/main/resources [INFO] Copying 0 resource [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ mod_cluster-container-catalina --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 28 source files to /home/iurt/rpmbuild/BUILD/mod_cluster-1.3.3.Final/container/catalina/target/classes [INFO] ------------------------------------------------------------- [WARNING] COMPILATION WARNING : [INFO] ------------------------------------------------------------- [WARNING] bootstrap class path not set in conjunction with -source 6 [WARNING] source value 6 is obsolete and will be removed in a future release [WARNING] target value 1.6 is obsolete and will be removed in a future release [WARNING] To suppress warnings about obsolete options, use -Xlint:-options. [WARNING] /home/iurt/rpmbuild/BUILD/mod_cluster-1.3.3.Final/container/catalina/src/main/java/org/jboss/modcluster/container/catalina/ServiceLoaderCatalinaFactory.java:[52,40] newInstance() in java.lang.Class has been deprecated [INFO] 5 warnings [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /home/iurt/rpmbuild/BUILD/mod_cluster-1.3.3.Final/container/catalina/src/main/java/org/jboss/modcluster/container/catalina/CatalinaContext.java:[105,41] cannot find symbol symbol: method getDistributable() location: interface org.apache.catalina.Manager [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping mod_cluster (parent) [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for mod_cluster (parent) 1.3.3.Final: [INFO] [INFO] mod_cluster (parent) ............................... SUCCESS [ 2.061 s] [INFO] mod_cluster: Container SPI ......................... SUCCESS [ 2.666 s] [INFO] mod_cluster: Core .................................. SUCCESS [ 4.715 s] [INFO] mod_cluster: Container (parent) .................... SUCCESS [ 0.020 s] [INFO] mod_cluster: Container - Catalina .................. FAILURE [ 0.682 s] [INFO] mod_cluster: Container - Catalina (standalone) ..... SKIPPED [INFO] mod_cluster: Container - Tomcat 8 .................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11.587 s [INFO] Finished at: 2020-10-08T05:18:10Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project mod_cluster-container-catalina: Compilation failure [ERROR] /home/iurt/rpmbuild/BUILD/mod_cluster-1.3.3.Final/container/catalina/src/main/java/org/jboss/modcluster/container/catalina/CatalinaContext.java:[105,41] cannot find symbol [ERROR] symbol: method getDistributable() [ERROR] location: interface org.apache.catalina.Manager [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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :mod_cluster-container-catalina error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.VqZrlr (%build) RPM build errors: Macro expanded in comment on line 26: %{_httpd_mmn} Macro expanded in comment on line 26: %{_httpd_mmn} Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.VqZrlr (%build) I: [iurt_root_command] ERROR: chroot