Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/postgresql-jdbc.spec'], chrootPath='/mnt/compose/mock/dist-circle9-build-95577-42529/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=993gid=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 warning: bogus date in %changelog: Wed Jun 30 2020 Ondrej Dubaj - 42.2.18-4 Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1672704000 Wrote: /builddir/build/SRPMS/postgresql-jdbc-42.2.27-1.el9.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='/mnt/compose/mock/dist-circle9-build-95577-42529/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=993gid=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 warning: bogus date in %changelog: Wed Jun 30 2020 Ondrej Dubaj - 42.2.18-4 Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1672704000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.F0QNDb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf postgresql-jdbc-42.2.27 + /usr/bin/mkdir -p postgresql-jdbc-42.2.27 + cd postgresql-jdbc-42.2.27 + /usr/bin/gzip -dc /builddir/build/SOURCES/postgresql-42.2.27-jdbc-src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv postgresql-42.2.27-jdbc-src/LICENSE postgresql-42.2.27-jdbc-src/README.md postgresql-42.2.27-jdbc-src/build.properties postgresql-42.2.27-jdbc-src/certdir postgresql-42.2.27-jdbc-src/pom.xml postgresql-42.2.27-jdbc-src/src postgresql-42.2.27-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/pom_editor.py pom_remove_plugin -r :maven-javadoc-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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.r0J9Oj + umask 022 + cd /builddir/build/BUILD + cd postgresql-jdbc-42.2.27 + . /usr/share/postgresql-setup/postgresql_pkg_tests.sh +++ pwd ++ : /builddir/build/BUILD/postgresql-jdbc-42.2.27/datadir +++ id -u -n ++ : mockbuild ++ : mockbuild ++ : mockbuild +++ try_random_port +++ _port=8025 +++ test -n 8025 +++ eval '_port=$(( $_port + 32000 ))' +++ echo 40025 ++ : 40025 ++ : /tmp ++ : test:test ++ : test:test ++ : : ++ : : ++ : : ++ export PGPORT=40025 ++ PGPORT=40025 ++ 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.2.27/datadir/postmaster.pid + test -e /builddir/build/BUILD/postgresql-jdbc-42.2.27/datadir + __pgtests_initdb + initdb /builddir/build/BUILD/postgresql-jdbc-42.2.27/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.2.27/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.2.27/datadir -l logfile start + __TRAP_ACTIONS='pgtests_cleanup ' + __pgtests_start + pg_ctl -D /builddir/build/BUILD/postgresql-jdbc-42.2.27/datadir -l /builddir/build/BUILD/postgresql-jdbc-42.2.27/datadir/start.log start -o '-k /tmp -p 40025' -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 40025 + __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'] [INFO] Scanning for projects... [INFO] [INFO] ---------------------< org.postgresql:postgresql >---------------------- [INFO] Building PostgreSQL JDBC Driver - JDBC 4.2 42.2.27 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ postgresql --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 7 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ postgresql --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 255 source files to /builddir/build/BUILD/postgresql-jdbc-42.2.27/target/classes [INFO] /builddir/build/BUILD/postgresql-jdbc-42.2.27/src/main/java/org/postgresql/PGConnection.java: Some input files use or override a deprecated API. [INFO] /builddir/build/BUILD/postgresql-jdbc-42.2.27/src/main/java/org/postgresql/PGConnection.java: Recompile with -Xlint:deprecation for details. [INFO] /builddir/build/BUILD/postgresql-jdbc-42.2.27/src/main/java/org/postgresql/util/StreamWrapper.java: /builddir/build/BUILD/postgresql-jdbc-42.2.27/src/main/java/org/postgresql/util/StreamWrapper.java uses or overrides a deprecated API that is marked for removal. [INFO] /builddir/build/BUILD/postgresql-jdbc-42.2.27/src/main/java/org/postgresql/util/StreamWrapper.java: Recompile with -Xlint:removal for details. [INFO] /builddir/build/BUILD/postgresql-jdbc-42.2.27/src/main/java/org/postgresql/translation/messages_cs.java: Some input files use unchecked or unsafe operations. [INFO] /builddir/build/BUILD/postgresql-jdbc-42.2.27/src/main/java/org/postgresql/translation/messages_cs.java: Recompile with -Xlint:unchecked for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /builddir/build/BUILD/postgresql-jdbc-42.2.27/src/main/java/org/postgresql/jre7/sasl/ScramAuthenticator.java:[77,48] cannot find symbol symbol: variable SASL_PREPARATION location: class com.ongres.scram.common.stringprep.StringPreparations [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping PostgreSQL JDBC Driver - JDBC 4.2 [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.941 s [INFO] Finished at: 2023-05-13T01:15:59Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project postgresql: Compilation failure [ERROR] /builddir/build/BUILD/postgresql-jdbc-42.2.27/src/main/java/org/postgresql/jre7/sasl/ScramAuthenticator.java:[77,48] cannot find symbol [ERROR] symbol: variable SASL_PREPARATION [ERROR] location: class com.ongres.scram.common.stringprep.StringPreparations [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 + __trap_cb + IFS=' ' + for __func in $__TRAP_ACTIONS + pgtests_stop + pg_ctl stop -D /builddir/build/BUILD/postgresql-jdbc-42.2.27/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.2.27/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.r0J9Oj (%build) bogus date in %changelog: Wed Jun 30 2020 Ondrej Dubaj - 42.2.18-4 Bad exit status from /var/tmp/rpm-tmp.r0J9Oj (%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.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, 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