D: [iurt_root_command] chroot
Installing /home/iurt/rpmbuild/SRPMS/forbidden-apis-2.5-3.mga8.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.t5jVZ6
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf forbidden-apis-2.5
+ /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/forbidden-apis-2.5.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd forbidden-apis-2.5
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (avoid-jarjar-bundling.patch):'
Patch #0 (avoid-jarjar-bundling.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0
patching file ivy.xml
patching file build.xml
+ echo 'Patch #1 (fix-gradle-maven-build.patch):'
Patch #1 (fix-gradle-maven-build.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0
patching file build.xml
patching file ivy.xml
patching file src/main/java/de/thetaphi/forbiddenapis/gradle/CheckForbiddenApis.java
+ find . -name '*.jar' -print -delete
+ find . -name '*.class' -print -delete
./src/test/antunit/Java6Reflection.class
./src/test/antunit/Java8Annotations$FooBar.class
./src/test/antunit/Java8Annotations$ClassFileOnly.class
./src/test/antunit/OracleInternalRuntime.class
./src/test/antunit/Java8Annotations.class
./src/test/antunit/Java7MethodHandles.class
./src/test/antunit/Java6ClassReferences.class
./src/test/antunit/Java8Annotations$InnerClassWithCtorParam.class
./src/test/antunit/Java8Closures.class
./src/test/antunit/Java6DeprecatedAnnotation.class
+ sed -i -e /ivy:configure/d build.xml
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove target/artifact:pom build.xml
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove target/artifact:mvn build.xml
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove target/artifact:install build.xml
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_inject 'target[@name='\''maven-descriptor'\'']' '
' build.xml
+ sed -i -e /maven-ant-tasks/d ivy.xml
+ sed -i -e '/uri="antlib:org.apache.maven.artifact.ant/d' build.xml
+ sed -i -e /apache-rat/d ivy.xml
+ sed -i -e '/uri="antlib:org.apache.rat.anttasks/d' build.xml
+ rm -rf src/main/java/de/thetaphi/forbiddenapis/gradle src/test/gradle
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.VeYmJ4
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd forbidden-apis-2.5
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ ant -Divy.mode=local jar
Buildfile: /home/iurt/rpmbuild/BUILD/forbidden-apis-2.5/build.xml
-install.ivy:
-init:
[echo] Detected Java runtime major version: unknown
[echo] Java runtime: 11.0.9-ea / JVM: OpenJDK 64-Bit Server VM / Vendor: Mageia / OS: Linux (5.4.17-server-1.mga7)
[ivy:resolve] impossible to define new type: class not found: org.apache.ivy.plugins.resolver.VfsResolver in [] nor Ivy classloader
[ivy:resolve] impossible to define new type: class not found: org.apache.ivy.plugins.resolver.SshResolver in [] nor Ivy classloader
[ivy:resolve] impossible to define new type: class not found: org.apache.ivy.plugins.signer.bouncycastle.OpenPGPSignatureGenerator in [] nor Ivy classloader
[ivy:resolve] impossible to define new type: class not found: org.apache.ivy.plugins.resolver.SFTPResolver in [] nor Ivy classloader
[ivy:resolve] :: Apache Ivy 2.5.0-local-20200905132708 - 20200905132708 :: https://ant.apache.org/ivy/ ::
[ivy:resolve] :: loading settings :: file = /etc/ivy/ivysettings.xml
[check-ivy] You have installed a different Apache Ivy version (2.5.0-local-20200905132708) in your ANT classpath than the expected one (2.3.0). The build may fail!
compile:
[mkdir] Created dir: /home/iurt/rpmbuild/BUILD/forbidden-apis-2.5/build/main
[copy] Copying 33 files to /home/iurt/rpmbuild/BUILD/forbidden-apis-2.5/build/main
[javac] Compiling 25 source files to /home/iurt/rpmbuild/BUILD/forbidden-apis-2.5/build/main
[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/forbidden-apis-2.5/src/main/java/de/thetaphi/forbiddenapis/maven/AbstractCheckMojo.java:22: warning: [deprecation] ArtifactFactory in org.apache.maven.artifact.factory has been deprecated
[javac] import org.apache.maven.artifact.factory.ArtifactFactory;
[javac] ^
[javac] /home/iurt/rpmbuild/BUILD/forbidden-apis-2.5/src/main/java/de/thetaphi/forbiddenapis/maven/SignaturesArtifact.java:20: warning: [deprecation] ArtifactFactory in org.apache.maven.artifact.factory has been deprecated
[javac] import org.apache.maven.artifact.factory.ArtifactFactory;
[javac] ^
[javac] /home/iurt/rpmbuild/BUILD/forbidden-apis-2.5/src/main/java/de/thetaphi/forbiddenapis/maven/AbstractCheckMojo.java:222: warning: [deprecation] ArtifactFactory in org.apache.maven.artifact.factory has been deprecated
[javac] private ArtifactFactory artifactFactory;
[javac] ^
[javac] /home/iurt/rpmbuild/BUILD/forbidden-apis-2.5/src/main/java/de/thetaphi/forbiddenapis/maven/AbstractCheckMojo.java:246: warning: [deprecation] resolve(Artifact,List,ArtifactRepository) in ArtifactResolver has been deprecated
[javac] artifactResolver.resolve(artifact, this.remoteRepositories, this.localRepository);
[javac] ^
[javac] /home/iurt/rpmbuild/BUILD/forbidden-apis-2.5/src/main/java/de/thetaphi/forbiddenapis/maven/SignaturesArtifact.java:54: warning: [deprecation] ArtifactFactory in org.apache.maven.artifact.factory has been deprecated
[javac] Artifact createArtifact(ArtifactFactory artifactFactory) {
[javac] ^
[javac] 9 warnings
-install-tasks:
-maven-setup:
[mkdir] Created dir: /home/iurt/rpmbuild/BUILD/forbidden-apis-2.5/build/maven
[copy] Copying 2 files to /home/iurt/rpmbuild/BUILD/forbidden-apis-2.5/build/maven
-maven-uptodate:
maven-descriptor:
[exec] [INFO] Scanning for projects...
[exec] [WARNING]
[exec] [WARNING] Some problems were encountered while building the effective model for de.thetaphi:forbiddenapis:maven-plugin:2.5
[exec] [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 48, column 15
[exec] [WARNING]
[exec] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[exec] [WARNING]
[exec] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[exec] [WARNING]
[exec] [INFO]
[exec] [INFO] ---------------------< de.thetaphi:forbiddenapis >----------------------
[exec] [INFO] Building Policeman's Forbidden API Checker 2.5
[exec] [INFO] ----------------------------[ maven-plugin ]----------------------------
[exec] [INFO]
[exec] [INFO] --- maven-plugin-plugin:3.6.0:helpmojo (default-cli) @ forbiddenapis ---
[exec] [INFO] Using 'UTF-8' encoding to read mojo source files.
[exec] [INFO] java-javadoc mojo extractor found 0 mojo descriptor.
[exec] [INFO] java-annotations mojo extractor found 2 mojo descriptors.
[exec] [INFO]
[exec] [INFO] --- maven-plugin-plugin:3.6.0:descriptor (default-cli) @ forbiddenapis ---
[exec] [INFO] Using 'UTF-8' encoding to read mojo source files.
[exec] [INFO] java-javadoc mojo extractor found 1 mojo descriptor.
[exec] [INFO] java-annotations mojo extractor found 2 mojo descriptors.
[exec] [INFO]
[exec] [INFO] >>> maven-plugin-plugin:3.6.0:report (default-cli) > process-classes @ forbiddenapis >>>
[exec] [INFO]
[exec] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ forbiddenapis ---
[exec] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[exec] [INFO] Using 'UTF-8' encoding to copy filtered properties files.
[exec] [INFO] skip non existing resourceDirectory /home/iurt/rpmbuild/BUILD/forbidden-apis-2.5/build/maven/src/main/resources
[exec] [INFO]
[exec] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ forbiddenapis ---
[exec] [INFO] Nothing to compile - all classes are up to date
[exec] [INFO]
[exec] [INFO] --- maven-plugin-plugin:3.6.0:descriptor (default-descriptor) @ forbiddenapis ---
[exec] [INFO] Using 'UTF-8' encoding to read mojo source files.
[exec] [INFO] java-javadoc mojo extractor found 1 mojo descriptor.
[exec] [INFO] java-annotations mojo extractor found 2 mojo descriptors.
[exec] [INFO]
[exec] [INFO] <<< maven-plugin-plugin:3.6.0:report (default-cli) < process-classes @ forbiddenapis <<<
[exec] [INFO]
[exec] [INFO]
[exec] [INFO] --- maven-plugin-plugin:3.6.0:report (default-cli) @ forbiddenapis ---
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] BUILD SUCCESS
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] Total time: 3.225 s
[exec] [INFO] Finished at: 2020-11-07T19:23:28Z
[exec] [INFO] ------------------------------------------------------------------------
[javac] Compiling 1 source file to /home/iurt/rpmbuild/BUILD/forbidden-apis-2.5/build/main
[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
jar:
[mkdir] Created dir: /home/iurt/rpmbuild/BUILD/forbidden-apis-2.5/dist
[jar] Building jar: /home/iurt/rpmbuild/BUILD/forbidden-apis-2.5/dist/forbiddenapis-2.5.jar
BUILD SUCCESSFUL
Total time: 11 seconds
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.9Ikuy3
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' /home/iurt/rpmbuild/BUILDROOT/forbidden-apis-2.5-3.mga8.x86_64 '!=' / ']'
+ rm -rf /home/iurt/rpmbuild/BUILDROOT/forbidden-apis-2.5-3.mga8.x86_64
++ dirname /home/iurt/rpmbuild/BUILDROOT/forbidden-apis-2.5-3.mga8.x86_64
+ mkdir -p /home/iurt/rpmbuild/BUILDROOT
+ mkdir /home/iurt/rpmbuild/BUILDROOT/forbidden-apis-2.5-3.mga8.x86_64
+ cd forbidden-apis-2.5
+ '[' 1 -eq 1 ']'
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_dep org.apache.ant:ant:1.7.0:provided build/maven/pom-deploy.xml
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_dep org.ow2.asm:asm:6.1.1 build/maven/pom-deploy.xml
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_dep org.ow2.asm:asm-commons:6.1.1 build/maven/pom-deploy.xml
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_dep org.codehaus.plexus:plexus-utils:1.1 build/maven/pom-deploy.xml
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_dep commons-cli:commons-cli:1.3.1 build/maven/pom-deploy.xml
+ /usr/bin/python3 /usr/share/java-utils/mvn_artifact.py build/maven/pom-deploy.xml dist/forbiddenapis-2.5.jar
+ xmvn-install -R .xmvn-reactor -n forbidden-apis -d /home/iurt/rpmbuild/BUILDROOT/forbidden-apis-2.5-3.mga8.x86_64
[INFO] Installing artifact de.thetaphi:forbiddenapis:pom:2.5
[INFO] Installing artifact de.thetaphi:forbiddenapis:jar:2.5
[INFO] Installation successful
+ jdir=build/docs
+ /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/forbidden-apis-2.5-3.mga8.x86_64/usr/share/licenses
+ '[' -d build/docs ']'
+ mkdir -p /home/iurt/rpmbuild/BUILDROOT/forbidden-apis-2.5-3.mga8.x86_64/etc/ant.d
+ echo 'forbidden-apis ant apache-commons-cli objectweb-asm/asm objectweb-asm/asm-commons plexus/utils'
+ install -pm 644 forbidden-apis-ant /home/iurt/rpmbuild/BUILDROOT/forbidden-apis-2.5-3.mga8.x86_64/etc/ant.d/forbidden-apis
+ /usr/lib/rpm/find-debuginfo.sh -j96 --strict-build-id -m -i --build-id-seed 2.5-3.mga8 --unique-debug-suffix -2.5-3.mga8.x86_64 --unique-debug-src-base forbidden-apis-2.5-3.mga8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/forbidden-apis-2.5
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 1
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Processing files: forbidden-apis-2.5-3.mga8.noarch
Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.MLHRC6
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd forbidden-apis-2.5
+ DOCDIR=/home/iurt/rpmbuild/BUILDROOT/forbidden-apis-2.5-3.mga8.x86_64/usr/share/doc/forbidden-apis
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/forbidden-apis-2.5-3.mga8.x86_64/usr/share/doc/forbidden-apis
+ cp -pr README.md /home/iurt/rpmbuild/BUILDROOT/forbidden-apis-2.5-3.mga8.x86_64/usr/share/doc/forbidden-apis
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.8clAS5
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd forbidden-apis-2.5
+ LICENSEDIR=/home/iurt/rpmbuild/BUILDROOT/forbidden-apis-2.5-3.mga8.x86_64/usr/share/licenses/forbidden-apis
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/forbidden-apis-2.5-3.mga8.x86_64/usr/share/licenses/forbidden-apis
+ cp -pr LICENSE.txt /home/iurt/rpmbuild/BUILDROOT/forbidden-apis-2.5-3.mga8.x86_64/usr/share/licenses/forbidden-apis
+ cp -pr NOTICE.txt /home/iurt/rpmbuild/BUILDROOT/forbidden-apis-2.5-3.mga8.x86_64/usr/share/licenses/forbidden-apis
+ RPM_EC=0
++ jobs -p
+ exit 0
[INFO maven.prov] input: ['/home/iurt/rpmbuild/BUILDROOT/forbidden-apis-2.5-3.mga8.x86_64/usr/share/maven-metadata/forbidden-apis.xml']
[INFO maven.prov] mvn(de.thetaphi:forbiddenapis) = 2.5, mvn(de.thetaphi:forbiddenapis:pom:) = 2.5
[INFO osgi.prov] input: ['/home/iurt/rpmbuild/BUILDROOT/forbidden-apis-2.5-3.mga8.x86_64/usr/share/java/forbidden-apis/forbiddenapis.jar']
[INFO maven.req] input: ['/home/iurt/rpmbuild/BUILDROOT/forbidden-apis-2.5-3.mga8.x86_64/usr/share/maven-metadata/forbidden-apis.xml']
[INFO maven.req] javapackages-filesystem, mvn(commons-cli:commons-cli), mvn(org.ow2.asm:asm), mvn(org.codehaus.plexus:plexus-utils), mvn(org.ow2.asm:asm-commons), java-headless
[INFO osgi.req] input: ['/home/iurt/rpmbuild/BUILDROOT/forbidden-apis-2.5-3.mga8.x86_64/usr/share/java/forbidden-apis/forbiddenapis.jar']
Provides: config(forbidden-apis) = 2.5-3.mga8 forbidden-apis = 2.5-3.mga8 mvn(de.thetaphi:forbiddenapis) = 2.5 mvn(de.thetaphi:forbiddenapis:pom:) = 2.5
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: java-headless javapackages-filesystem mvn(commons-cli:commons-cli) mvn(org.codehaus.plexus:plexus-utils) mvn(org.ow2.asm:asm) mvn(org.ow2.asm:asm-commons)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/forbidden-apis-2.5-3.mga8.x86_64
Wrote: /home/iurt/rpmbuild/RPMS/noarch/forbidden-apis-2.5-3.mga8.noarch.rpm
Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.D8OjM6
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd forbidden-apis-2.5
+ /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/forbidden-apis-2.5-3.mga8.x86_64
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.4EsMt3
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf forbidden-apis-2.5
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!