Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 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/f40-build-2351336-60174/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=996gid=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=1706140800 Wrote: /builddir/build/SRPMS/postgresql-jdbc-42.7.1-3.fc40.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/f40-build-2351336-60174/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=996gid=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=1706140800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pUuCZ2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf postgresql-jdbc-42.7.1 + /usr/bin/mkdir -p postgresql-jdbc-42.7.1 + cd postgresql-jdbc-42.7.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/postgresql-42.7.1-jdbc-src.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + rm -rf /builddir/build/BUILD/postgresql-jdbc-42.7.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/postgresql-jdbc-42.7.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv postgresql-42.7.1-jdbc-src/LICENSE postgresql-42.7.1-jdbc-src/README.md postgresql-42.7.1-jdbc-src/build.properties postgresql-42.7.1-jdbc-src/certdir postgresql-42.7.1-jdbc-src/pom.xml postgresql-42.7.1-jdbc-src/src postgresql-42.7.1-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.xvPvSL + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -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 -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 -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.7.1 + . /usr/share/postgresql-setup/postgresql_pkg_tests.sh +++ pwd ++ : /builddir/build/BUILD/postgresql-jdbc-42.7.1/datadir +++ id -u -n ++ : mockbuild ++ : mockbuild ++ : mockbuild +++ try_random_port +++ _port=11238 +++ test -n 11238 +++ eval '_port=$(( $_port + 32000 ))' +++ echo 43238 ++ : 43238 ++ : /tmp ++ : test:test ++ : test:test ++ : : ++ : : ++ : : ++ export PGPORT=43238 ++ PGPORT=43238 ++ 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.7.1/datadir/postmaster.pid + test -e /builddir/build/BUILD/postgresql-jdbc-42.7.1/datadir + __pgtests_initdb + initdb /builddir/build/BUILD/postgresql-jdbc-42.7.1/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.7.1/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 ... America/New_York 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.7.1/datadir -l logfile start + __TRAP_ACTIONS='pgtests_cleanup ' + __pgtests_start + pg_ctl -D /builddir/build/BUILD/postgresql-jdbc-42.7.1/datadir -l /builddir/build/BUILD/postgresql-jdbc-42.7.1/datadir/start.log start -o '-k /tmp -p 43238' -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 43238 + __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'] Error occurred during initialization of VM Unsupported satp mode: sv57. Only satp modes up to sv48 are supported for now. + __trap_cb + IFS=' ' + for __func in $__TRAP_ACTIONS + pgtests_stop + pg_ctl stop -D /builddir/build/BUILD/postgresql-jdbc-42.7.1/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.7.1/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.xvPvSL (%build) Bad exit status from /var/tmp/rpm-tmp.xvPvSL (%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.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, 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