Mock Version: 5.2 Mock Version: 5.2 Mock Version: 5.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/postgresql-jdbc.spec'], chrootPath='/var/lib/mock/f39-build-2272858-54937/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=864000uid=997gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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 setting SOURCE_DATE_EPOCH=1689897600 Wrote: /builddir/build/SRPMS/postgresql-jdbc-42.6.0-3.fc39.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/postgresql-jdbc.spec'], chrootPath='/var/lib/mock/f39-build-2272858-54937/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=864000uid=997gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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 setting SOURCE_DATE_EPOCH=1689897600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iZg5bD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf postgresql-jdbc-42.6.0 + /usr/bin/mkdir -p postgresql-jdbc-42.6.0 + cd postgresql-jdbc-42.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/postgresql-42.6.0-jdbc-src.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + rm -rf /builddir/build/BUILD/postgresql-jdbc-42.6.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/postgresql-jdbc-42.6.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv postgresql-42.6.0-jdbc-src/LICENSE postgresql-42.6.0-jdbc-src/README.md postgresql-42.6.0-jdbc-src/build.properties postgresql-42.6.0-jdbc-src/certdir postgresql-42.6.0-jdbc-src/pom.xml postgresql-42.6.0-jdbc-src/src postgresql-42.6.0-jdbc-src/ssltest.properties . + find -type f '(' -name '*.jar' -or -name '*.class' ')' + xargs rm -f + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:plugin[pom:artifactId = '\''maven-shade-plugin'\'']' + /usr/bin/python3 /usr/share/java-utils/mvn_file.py org.postgresql:postgresql postgresql-jdbc/postgresql postgresql-jdbc postgresql + /usr/bin/python3 /usr/share/java-utils/mvn_alias.py org.postgresql:postgresql postgresql:postgresql + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep uk.org.webcompere:system-stubs-jupiter + rm src/test/java/org/postgresql/test/jdbc2/DriverTest.java src/test/java/org/postgresql/util/OSUtilTest.java src/test/java/org/postgresql/jdbcurlresolver/PgServiceConfParserTest.java src/test/java/org/postgresql/jdbcurlresolver/PgPassParserTest.java src/test/java/org/postgresql/util/StubEnvironmentAndProperties.java + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NXwk14 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 postgresql-jdbc-42.6.0 + . /usr/share/postgresql-setup/postgresql_pkg_tests.sh +++ pwd ++ : /builddir/build/BUILD/postgresql-jdbc-42.6.0/datadir +++ id -u -n ++ : mockbuild ++ : mockbuild ++ : mockbuild +++ try_random_port +++ _port=4270 +++ test -n 4270 +++ eval '_port=$(( $_port + 32000 ))' +++ echo 36270 ++ : 36270 ++ : /tmp ++ : test:test ++ : test:test ++ : : ++ : : ++ : : ++ export PGPORT=36270 ++ PGPORT=36270 ++ export PGHOST=/tmp ++ PGHOST=/tmp ++ : ++ trap __trap_cb EXIT + PGTESTS_LOCALE=C.UTF-8 + cat + pgtests_start + unset __TRAP_ACTIONS + : + test -f /builddir/build/BUILD/postgresql-jdbc-42.6.0/datadir/postmaster.pid + test -e /builddir/build/BUILD/postgresql-jdbc-42.6.0/datadir + __pgtests_initdb + initdb /builddir/build/BUILD/postgresql-jdbc-42.6.0/datadir -U mockbuild --auth-local=peer --auth-host=md5 --locale=C.UTF-8 The files belonging to this database system will be owned by user "mockbuild". This user must also own the server process. The database cluster will be initialized with locale "C.UTF-8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are disabled. creating directory /builddir/build/BUILD/postgresql-jdbc-42.6.0/datadir ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... UTC creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok Success. You can now start the database server using: pg_ctl -D /builddir/build/BUILD/postgresql-jdbc-42.6.0/datadir -l logfile start + __TRAP_ACTIONS='pgtests_cleanup ' + __pgtests_start + pg_ctl -D /builddir/build/BUILD/postgresql-jdbc-42.6.0/datadir -l /builddir/build/BUILD/postgresql-jdbc-42.6.0/datadir/start.log start -o '-k /tmp -p 36270' -w waiting for server to start.... done server started + __TRAP_ACTIONS='pgtests_stop pgtests_cleanup ' + __pgtests_create_admins_db + createdb -h /tmp mockbuild --owner mockbuild -p 36270 + __pgtests_passwd mockbuild mockbuild + psql -d postgres --set=user=mockbuild --set=pass=mockbuild -tA ALTER ROLE + for _pgt_user in $PGTESTS_USERS + save_IFS=' ' + IFS=: + _user= + _pass= + for _part in $_pgt_user + test -z '' + _user=test + for _part in $_pgt_user + test -z test + _pass=test + createuser test + __pgtests_passwd test test + psql -d postgres --set=user=test --set=pass=test -tA ALTER ROLE + IFS=' ' + for _pgt_db in $PGTESTS_DATABASES + save_IFS=' ' + IFS=: + _db= + _user= + for _part in $_pgt_db + test -z '' + _user=test + for _part in $_pgt_db + test -z test + _db=test + createdb test --owner test + IFS=' ' + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc --xmvn-javadoc Executing: xmvn --batch-mode --offline verify org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', 'verify', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] --------------------------------------------------- constituent[0]: file:/usr/share/xmvn/conf/logging/ constituent[1]: file:/usr/share/xmvn/lib/ext/xmvn-api-4.2.0.jar constituent[2]: file:/usr/share/xmvn/lib/ext/xmvn-connector-4.2.0.jar constituent[3]: file:/usr/share/xmvn/lib/ext/xmvn-core-4.2.0.jar constituent[4]: file:/usr/share/xmvn/lib/javax.inject-1.jar constituent[5]: file:/usr/share/xmvn/lib/maven-resolver-named-locks-1.7.3.jar constituent[6]: file:/usr/share/xmvn/lib/maven-resolver-transport-wagon-1.6.3.jar constituent[7]: file:/usr/share/xmvn/lib/plexus-component-annotations-2.1.0.jar constituent[8]: file:/usr/share/xmvn/lib/org.eclipse.sisu.plexus-0.3.5.jar constituent[9]: file:/usr/share/xmvn/lib/cdi-api-1.1.jar constituent[10]: file:/usr/share/xmvn/lib/maven-embedder-3.8.6.jar constituent[11]: file:/usr/share/xmvn/lib/wagon-http-shared-3.5.1.jar constituent[12]: file:/usr/share/xmvn/lib/commons-lang3-3.8.1.jar constituent[13]: file:/usr/share/xmvn/lib/javax.annotation-api-1.2.jar constituent[14]: file:/usr/share/xmvn/lib/slf4j-api-1.7.36.jar constituent[15]: file:/usr/share/xmvn/lib/commons-io-2.6.jar constituent[16]: file:/usr/share/xmvn/lib/commons-codec-1.11.jar constituent[17]: file:/usr/share/xmvn/lib/maven-artifact-3.8.6.jar constituent[18]: file:/usr/share/xmvn/lib/maven-core-3.8.6.jar constituent[19]: file:/usr/share/xmvn/lib/maven-resolver-spi-1.6.3.jar constituent[20]: file:/usr/share/xmvn/lib/wagon-file-3.5.1.jar constituent[21]: file:/usr/share/xmvn/lib/maven-builder-support-3.8.6.jar constituent[22]: file:/usr/share/xmvn/lib/jcl-over-slf4j-1.7.36.jar constituent[23]: file:/usr/share/xmvn/lib/jansi-2.4.0.jar constituent[24]: file:/usr/share/xmvn/lib/jakarta.inject-api-1.0.jar constituent[25]: file:/usr/share/xmvn/lib/maven-plugin-api-3.8.6.jar constituent[26]: file:/usr/share/xmvn/lib/httpcore-4.4.15.jar constituent[27]: file:/usr/share/xmvn/lib/maven-resolver-impl-1.6.3.jar constituent[28]: file:/usr/share/xmvn/lib/maven-resolver-connector-basic-1.6.3.jar constituent[29]: file:/usr/share/xmvn/lib/guava-27.1-jre.jar constituent[30]: file:/usr/share/xmvn/lib/plexus-cipher-2.0.jar constituent[31]: file:/usr/share/xmvn/lib/maven-compat-3.8.6.jar constituent[32]: file:/usr/share/xmvn/lib/maven-slf4j-provider-3.8.6.jar constituent[33]: file:/usr/share/xmvn/lib/org.eclipse.sisu.inject-0.3.5.jar constituent[34]: file:/usr/share/xmvn/lib/maven-resolver-util-1.6.3.jar constituent[35]: file:/usr/share/xmvn/lib/maven-model-builder-3.8.6.jar constituent[36]: file:/usr/share/xmvn/lib/commons-cli-1.4.jar constituent[37]: file:/usr/share/xmvn/lib/failureaccess-1.0.1.jar constituent[38]: file:/usr/share/xmvn/lib/guice-4.2.2-no_aop.jar constituent[39]: file:/usr/share/xmvn/lib/plexus-interpolation-1.26.jar constituent[40]: file:/usr/share/xmvn/lib/httpclient-4.5.13.jar constituent[41]: file:/usr/share/xmvn/lib/maven-shared-utils-3.3.4.jar constituent[42]: file:/usr/share/xmvn/lib/maven-settings-builder-3.8.6.jar constituent[43]: file:/usr/share/xmvn/lib/plexus-utils-3.3.1.jar constituent[44]: file:/usr/share/xmvn/lib/wagon-provider-api-3.5.1.jar constituent[45]: file:/usr/share/xmvn/lib/maven-repository-metadata-3.8.6.jar constituent[46]: file:/usr/share/xmvn/lib/maven-settings-3.8.6.jar constituent[47]: file:/usr/share/xmvn/lib/plexus-sec-dispatcher-2.0.jar constituent[48]: file:/usr/share/xmvn/lib/maven-resolver-provider-3.8.6.jar constituent[49]: file:/usr/share/xmvn/lib/wagon-http-3.5.1.jar constituent[50]: file:/usr/share/xmvn/lib/maven-resolver-api-1.6.3.jar constituent[51]: file:/usr/share/xmvn/lib/maven-model-3.8.6.jar --------------------------------------------------- Exception in thread "main" java.lang.NoClassDefFoundError: com/google/inject/Module at org.apache.maven.cli.MavenCli.container(MavenCli.java:569) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:266) at org.apache.maven.cli.MavenCli.main(MavenCli.java:195) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347) Caused by: java.lang.ClassNotFoundException: com.google.inject.Module at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239) ... 11 more + __trap_cb + IFS=' ' + for __func in $__TRAP_ACTIONS + pgtests_stop + pg_ctl stop -D /builddir/build/BUILD/postgresql-jdbc-42.6.0/datadir -w waiting for server to shut down.... done server stopped + __clean_trap_action pgtests_stop + __new_actions= + for __action in $__TRAP_ACTIONS + test pgtests_stop = pgtests_stop + : + for __action in $__TRAP_ACTIONS + test pgtests_cleanup = pgtests_stop + __new_actions='pgtests_cleanup ' + __TRAP_ACTIONS='pgtests_cleanup ' + for __func in $__TRAP_ACTIONS + pgtests_cleanup + : + rm -r /builddir/build/BUILD/postgresql-jdbc-42.6.0/datadir + __clean_trap_action pgtests_cleanup + __new_actions= + for __action in $__TRAP_ACTIONS + test pgtests_cleanup = pgtests_cleanup + : + __TRAP_ACTIONS= RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.NXwk14 (%build) Bad exit status from /var/tmp/rpm-tmp.NXwk14 (%build) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/postgresql-jdbc.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/postgresql-jdbc.spec'