Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/postgresql-jdbc.spec'], chrootPath='/var/lib/mock/dist-oc8-build-38849-12914/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 --target noarch --nodeps /builddir/build/SPECS/postgresql-jdbc.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/postgresql-jdbc-42.2.14-2.oc8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/postgresql-jdbc.spec'], chrootPath='/var/lib/mock/dist-oc8-build-38849-12914/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 --target noarch --nodeps /builddir/build/SPECS/postgresql-jdbc.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.aQRcXD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf postgresql-jdbc-42.2.14 + /usr/bin/mkdir -p postgresql-jdbc-42.2.14 + cd postgresql-jdbc-42.2.14 + /usr/bin/gzip -dc /builddir/build/SOURCES/postgresql-42.2.14-src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (postgresql-jdbc-CVE-2022-41946.patch): + echo 'Patch #0 (postgresql-jdbc-CVE-2022-41946.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/main/java/org/postgresql/util/StreamWrapper.java Hunk #1 succeeded at 13 (offset -4 lines). Hunk #2 succeeded at 48 (offset -4 lines). + find -type f '(' -name '*.jar' -or -name '*.class' ')' + xargs rm -f + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:plugin[pom:artifactId = '\''maven-javadoc-plugin'\'']' + /usr/libexec/platform-python /usr/share/java-utils/mvn_file.py org.postgresql:postgresql postgresql-jdbc/postgresql postgresql-jdbc postgresql + /usr/libexec/platform-python /usr/share/java-utils/mvn_alias.py org.postgresql:postgresql postgresql:postgresql + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YimD7m + umask 022 + cd /builddir/build/BUILD + cd postgresql-jdbc-42.2.14 + /usr/libexec/platform-python /usr/share/java-utils/mvn_build.py --xmvn-javadoc -f Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true 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', '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] ---------------------< org.postgresql:postgresql >---------------------- [INFO] Building PostgreSQL JDBC Driver - JDBC 4.2 42.2.14 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ postgresql --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 4 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ postgresql --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 246 source files to /builddir/build/BUILD/postgresql-jdbc-42.2.14/target/classes [INFO] /builddir/build/BUILD/postgresql-jdbc-42.2.14/src/main/java/org/postgresql/PGConnection.java: Some input files use or override a deprecated API. [INFO] /builddir/build/BUILD/postgresql-jdbc-42.2.14/src/main/java/org/postgresql/PGConnection.java: Recompile with -Xlint:deprecation for details. [INFO] /builddir/build/BUILD/postgresql-jdbc-42.2.14/src/main/java/org/postgresql/util/LruCache.java: Some input files use unchecked or unsafe operations. [INFO] /builddir/build/BUILD/postgresql-jdbc-42.2.14/src/main/java/org/postgresql/util/LruCache.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ postgresql --- [INFO] Not copying test resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ postgresql --- [INFO] Not compiling test sources [INFO] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ postgresql --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ postgresql --- [INFO] Building jar: /builddir/build/BUILD/postgresql-jdbc-42.2.14/target/postgresql-42.2.14.jar [INFO] [INFO] ---------------------< org.postgresql:postgresql >---------------------- [INFO] Building PostgreSQL JDBC Driver - JDBC 4.2 42.2.14 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- xmvn-mojo:3.0.0:install (default-cli) @ postgresql --- [INFO] [INFO] --- xmvn-mojo:3.0.0:javadoc (default-cli) @ postgresql --- /builddir/build/BUILD/postgresql-jdbc-42.2.14/src/main/java/org/postgresql/core/OptimizedUTF8Encoder.java:89: warning - @param argument "codePointConsumer" is not a parameter name. /builddir/build/BUILD/postgresql-jdbc-42.2.14/src/main/java/org/postgresql/util/ByteConverter.java:59: warning - @return tag cannot be used in method with void return type. /builddir/build/BUILD/postgresql-jdbc-42.2.14/src/main/java/org/postgresql/jdbc/PgArray.java:85: warning - Tag @link: can't find haveMinimumCompatibleVersion(String) in org.postgresql.core.BaseConnection /builddir/build/BUILD/postgresql-jdbc-42.2.14/src/main/java/org/postgresql/jdbc/TimestampUtils.java:759: warning - Tag @param cannot be used in inline documentation. It can only be used in the following types of documentation: class/interface, constructor, method. /builddir/build/BUILD/postgresql-jdbc-42.2.14/src/main/java/org/postgresql/jdbc/TimestampUtils.java:759: warning - Tag @param cannot be used in inline documentation. It can only be used in the following types of documentation: class/interface, constructor, method. [INFO] [INFO] --- xmvn-mojo:3.0.0:builddep (default-cli) @ postgresql --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.617 s [INFO] Finished at: 2023-07-07T18:22:01+08:00 [INFO] ------------------------------------------------------------------------ -----BEGIN MAVEN BUILD DEPENDENCIES----- H4sIAAAAAAACA02NsQ7CIBRF937Fk51Wd9pGnRicGhNXhCchaR8N0Mb+vSXGyHjPPblX9O9phBVD dJ5adqqPDJC0N45sy+4DPw9XKVnfVeLAOVwWNxowOCOZXXMYwSJhUAkNPDd43FYCzne7dLoK4A+2 HHdgg19maTrtp9qTDRjrqIOaRPNrvp4Kyb2UTlkdHVISTYHydFNuFylffwDK0Pvw4QAAAA== -----END MAVEN BUILD DEPENDENCIES----- + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aZQKYU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch ++ dirname /builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch + cd postgresql-jdbc-42.2.14 + xmvn-install -R .xmvn-reactor -n postgresql-jdbc -d /builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch [INFO] Installing artifact org.postgresql:postgresql:jar:42.2.14 [INFO] Installing artifact org.postgresql:postgresql:pom:42.2.14 [INFO] Installation successful + jdir=target/site/apidocs + '[' -d .xmvn/apidocs ']' + jdir=.xmvn/apidocs + /usr/bin/mkdir -p /builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch/usr/share/licenses + '[' -d .xmvn/apidocs ']' + install -dm755 /builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch/usr/share/javadoc/postgresql-jdbc + cp -pr .xmvn/apidocs/allclasses-frame.html .xmvn/apidocs/allclasses-noframe.html .xmvn/apidocs/args .xmvn/apidocs/constant-values.html .xmvn/apidocs/deprecated-list.html .xmvn/apidocs/help-doc.html .xmvn/apidocs/index-all.html .xmvn/apidocs/index.html .xmvn/apidocs/org .xmvn/apidocs/overview-frame.html .xmvn/apidocs/overview-summary.html .xmvn/apidocs/overview-tree.html .xmvn/apidocs/package-list .xmvn/apidocs/script.js .xmvn/apidocs/serialized-form.html .xmvn/apidocs/stylesheet.css /builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch/usr/share/javadoc/postgresql-jdbc + echo /usr/share/javadoc/postgresql-jdbc + /usr/lib/rpm/find-debuginfo.sh -j32 --strict-build-id -m -i --build-id-seed 42.2.14-2.oc8 --unique-debug-suffix -42.2.14-2.oc8.noarch --unique-debug-src-base postgresql-jdbc-42.2.14-2.oc8.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/postgresql-jdbc-42.2.14 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: postgresql-jdbc-42.2.14-2.oc8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tOqOLh + umask 022 + cd /builddir/build/BUILD + cd postgresql-jdbc-42.2.14 + DOCDIR=/builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch/usr/share/doc/postgresql-jdbc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch/usr/share/doc/postgresql-jdbc + cp -pr README.md /builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch/usr/share/doc/postgresql-jdbc + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.3ClEVS + umask 022 + cd /builddir/build/BUILD + cd postgresql-jdbc-42.2.14 + LICENSEDIR=/builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch/usr/share/licenses/postgresql-jdbc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch/usr/share/licenses/postgresql-jdbc + cp -pr LICENSE /builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch/usr/share/licenses/postgresql-jdbc + exit 0 [INFO osgi.prov] input: ['/builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch/usr/share/java/postgresql-jdbc.jar'] [INFO osgi.req] input: ['/builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch/usr/share/java/postgresql-jdbc.jar'] [INFO osgi.prov] input: ['/builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch/usr/share/java/postgresql-jdbc/postgresql.jar'] [INFO osgi.req] input: ['/builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch/usr/share/java/postgresql-jdbc/postgresql.jar'] [INFO osgi.prov] input: ['/builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch/usr/share/java/postgresql.jar'] [INFO osgi.req] input: ['/builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch/usr/share/java/postgresql.jar'] [INFO maven.prov] input: ['/builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch/usr/share/maven-metadata/postgresql-jdbc.xml'] [INFO maven.prov] mvn(org.postgresql:postgresql:pom:) = 42.2.14 mvn(postgresql:postgresql:pom:) = 42.2.14, mvn(org.postgresql:postgresql) = 42.2.14 mvn(postgresql:postgresql) = 42.2.14 [INFO maven.req] input: ['/builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch/usr/share/maven-metadata/postgresql-jdbc.xml'] [INFO maven.req] javapackages-filesystem, mvn(com.ongres.scram:client), java-headless >= 1:1.8 Provides: mvn(org.postgresql:postgresql) = 42.2.14 mvn(org.postgresql:postgresql:pom:) = 42.2.14 mvn(postgresql:postgresql) = 42.2.14 mvn(postgresql:postgresql:pom:) = 42.2.14 pgjdbc = 42.2.14-2.oc8 postgresql-jdbc = 42.2.14-2.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: java-headless >= 1:1.8 javapackages-filesystem mvn(com.ongres.scram:client) Obsoletes: postgresql-jdbc-parent-poms < 42.2.2-2 Processing files: postgresql-jdbc-javadoc-42.2.14-2.oc8.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.RsatAn + umask 022 + cd /builddir/build/BUILD + cd postgresql-jdbc-42.2.14 + LICENSEDIR=/builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch/usr/share/licenses/postgresql-jdbc-javadoc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch/usr/share/licenses/postgresql-jdbc-javadoc + cp -pr LICENSE /builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch/usr/share/licenses/postgresql-jdbc-javadoc + exit 0 Provides: postgresql-jdbc-javadoc = 42.2.14-2.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: javapackages-filesystem Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch Wrote: /builddir/build/RPMS/postgresql-jdbc-42.2.14-2.oc8.noarch.rpm Wrote: /builddir/build/RPMS/postgresql-jdbc-javadoc-42.2.14-2.oc8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.f7YHGr + umask 022 + cd /builddir/build/BUILD + cd postgresql-jdbc-42.2.14 + /usr/bin/rm -rf /builddir/build/BUILDROOT/postgresql-jdbc-42.2.14-2.oc8.noarch + exit 0 Child return code was: 0