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 loongarch64 --nodeps /builddir/build/SPECS/postgresql16.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-169502-10414/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/postgresql16.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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/postgresql16-16.1-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/postgresql16.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-169502-10414/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/postgresql16.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XFuKJ5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf postgresql-16.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/postgresql-16.1.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd postgresql-16.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/postgresql-setup-8.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/rpm-pgsql.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/postgresql-logging.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/postgresql-var-run-socket.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/postgresql-server-pg_config.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/postgresql-pgcrypto-openssl3-tests.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + echo 'Patch #3032 (postgresql-no-libecpg.patch):' Patch #3032 (postgresql-no-libecpg.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/interfaces/Makefile + find . -type f -name Makefile -exec sed -i -e 's/SO_MAJOR_VERSION=\s\?\([0-9]\+\)/SO_MAJOR_VERSION= private16-\1/' '{}' ';' + tar xfj /builddir/build/SOURCES/postgresql-15.5.tar.bz2 + find . -type f -name Makefile -exec sed -i -e 's/SO_MAJOR_VERSION=\s\?\([0-9]\+\)/SO_MAJOR_VERSION= private16-\1/' '{}' ';' + find . -type f -name .gitignore + xargs rm + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cYfv93 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd postgresql-16.1 ++ id -u + '[' x981 = x0 ']' + cd postgresql-setup-8.9 + export pgsetup_cv_os_family=redhat + pgsetup_cv_os_family=redhat + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info pgdocdir=/usr/share/doc/postgresql16 PGVERSION=16.1 PGMAJORVERSION=16 NAME_DEFAULT_PREV_SERVICE=postgresql configure: WARNING: unrecognized options: --disable-dependency-tracking checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for sed... /usr/bin/sed checking for rpmmacrosdir... /usr/lib/rpm/macros.d checking for sed... (cached) /usr/bin/sed checking for runuser... /usr/sbin/runuser checking for mountpoint... /usr/bin/mountpoint checking for operating system (distribution) family... (cached) redhat checking for rpm... /usr/bin/rpm checking for postgres... no checking for pg_upgrade... no checking whether to install compat %pgtest_* macros... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating tests/Makefile config.status: executing tests/atconfig commands configure: WARNING: unrecognized options: --disable-dependency-tracking configure: Configured the folowing way: PostgreSQL version: 16.1 PGDATADIR: ${localstatedir}/lib/pgsql/data PostgreSQL service: postgresql PostgreSQL package: postgresql PostgreSQL bin_pfx: postgresql Init system: systemd + /usr/bin/make -O -j32 V=1 VERBOSE=1 Making all in . make[1]: Entering directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' rm -rf initdb; /usr/bin/mkdir -p . && /usr/bin/sed -e 's|@abs_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@bindir[@]|/usr/bin|g' -e 's|@build_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@builddir[@]|.|g' -e 's|@datarootdir[@]|/usr/share|g' -e 's|@datadir[@]|/usr/share|g' -e 's|@docdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@dvidir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@exec_prefix[@]|/usr|g' -e 's|@host_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@htmldir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@includedir[@]|/usr/include|g' -e 's|@infodir[@]|/usr/share/info|g' -e 's|@libdir[@]|/usr/lib64|g' -e 's|@libexecdir[@]|/usr/libexec|g' -e 's|@localedir[@]|/usr/share/locale|g' -e 's|@localstatedir[@]|/var|g' -e 's|@mandir[@]|/usr/share/man|g' -e 's|@oldincludedir[@]|/usr/include|g' -e 's|@pdfdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@pkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@prefix[@]|/usr|g' -e 's|@psdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@sbindir[@]|/usr/sbin|g' -e 's|@sharedstatedir[@]|/var/lib|g' -e 's|@srcdir[@]|.|g' -e 's|@sysconfdir[@]|/etc|g' -e 's|@target_alias[@]||g' -e 's|@top_srcdir[@]|.|g' -e 's|@PACKAGE[@]|postgresql-setup|g' -e 's|@PACKAGE_BUGREPORT[@]|praiskup@redhat.com|g' -e 's|@PACKAGE_NAME[@]|postgresql-setup|g' -e 's|@PACKAGE_STRING[@]|postgresql-setup 8.9|g' -e 's|@PACKAGE_TARNAME[@]|postgresql-setup|g' -e 's|@PACKAGE_URL[@]||g' -e 's|@PACKAGE_VERSION[@]|8.9|g' -e 's|@PATH_SEPARATOR[@]|:|g' -e 's|@SHELL[@]|/bin/sh|g' -e 's|@VERSION[@]|8.9|g' -e 's|@TEST_GEN_FILES_LIST[@]|.generated_files|g' -e 's|@WANT_SYSVINIT[@]|0|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@systemdunitsdir[@]|/usr/lib/systemd/system|g' -e 's|@systemduserunitsdir[@]|/etc/systemd/system|g' -e 's|@systemdlegacyscriptsdir[@]|/usr/libexec/initscripts/legacy-actions|g' -e 's|@initscriptsdir[@]|/etc/rc.d/init.d|g' -e 's|@initscriptsconfdir[@]|/etc/sysconfig/pgsql|g' -e 's|@rawpkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@pgdocdir[@]|/usr/share/doc/postgresql16|g' -e 's|@pgcontribdocdir[@]|/usr/share/doc/postgresql-contrib|g' -e 's|@PGADMINUSER[@]|postgres|g' -e 's|@SU_POSTGRES[@]|/usr/sbin/runuser -s /bin/sh -l postgres|g' -e 's|@MOUNTPOINT[@]|/usr/bin/mountpoint|g' -e 's|@PG_UPGRADE_BIN_USER_OPT[@]|--username|g' -e 's|@PGLOGDIR_BASENAME[@]|log|g' -e 's|@README_DIST[@]|/usr/share/doc/postgresql16/README.rpm-dist|g' -e 's|@README_DIST_BASENAME[@]|README.rpm-dist|g' -e 's|@PGVERSION[@]|16.1|g' -e 's|@PGMAJORVERSION[@]|16|g' -e 's|@PKGCONFIG_DIR[@]|/etc/postgresql|g' -e 's|@POSTGRES_HOMEDIR[@]|/var/lib/pgsql|g' -e 's|@PGDATADIR[@]|/var/lib/pgsql/data|g' -e 's|@LIBS_ENABLED[@]|yes|g' -e 's|@MODULE_COMPAT_SUFFIX[@]||g' -e 's|@NAME_SRV_PFX[@]||g' -e 's|@NAME_SRV_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_PKG_PFX[@]||g' -e 's|@NAME_PKG_SFX[@]||g' -e 's|@NAME_DEFAULT_PREV_SERVICE[@]|postgresql|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@SCL_SHELL_WRAPPER[@]||g' -e 's|@SCL_SOURCE[@]|:|g' -e 's|@SYSTEMD_EXECSTART[@]|/usr/bin/postgres -D ${PGDATA}|g' -e 's|@NAME_BINARYBASE[@]|postgresql|g' -e 's|@NAME_PACKAGE[@]|postgresql|g' -e 's|@NAME_SERVICE[@]|postgresql|g' -e 's|@NAME_SERVICE_VARNAME[@]|postgresql|g' -e 's|@PKG_TESTS_LIB@|/usr/share/postgresql-setup/postgresql_pkg_tests.sh|' $ax_text_add_sed_substs -e 's|@__FILE__[@]|initdb|g' legacy-sysv-script.in > initdb && chmod -w initdb && chmod +x initdb && chmod +x initdb make[1]: Leaving directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' make[1]: Entering directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' rm -rf sbin/postgresql-new-systemd-unit; /usr/bin/mkdir -p sbin && /usr/bin/sed -e 's|@abs_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@bindir[@]|/usr/bin|g' -e 's|@build_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@builddir[@]|.|g' -e 's|@datarootdir[@]|/usr/share|g' -e 's|@datadir[@]|/usr/share|g' -e 's|@docdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@dvidir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@exec_prefix[@]|/usr|g' -e 's|@host_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@htmldir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@includedir[@]|/usr/include|g' -e 's|@infodir[@]|/usr/share/info|g' -e 's|@libdir[@]|/usr/lib64|g' -e 's|@libexecdir[@]|/usr/libexec|g' -e 's|@localedir[@]|/usr/share/locale|g' -e 's|@localstatedir[@]|/var|g' -e 's|@mandir[@]|/usr/share/man|g' -e 's|@oldincludedir[@]|/usr/include|g' -e 's|@pdfdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@pkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@prefix[@]|/usr|g' -e 's|@psdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@sbindir[@]|/usr/sbin|g' -e 's|@sharedstatedir[@]|/var/lib|g' -e 's|@srcdir[@]|.|g' -e 's|@sysconfdir[@]|/etc|g' -e 's|@target_alias[@]||g' -e 's|@top_srcdir[@]|.|g' -e 's|@PACKAGE[@]|postgresql-setup|g' -e 's|@PACKAGE_BUGREPORT[@]|praiskup@redhat.com|g' -e 's|@PACKAGE_NAME[@]|postgresql-setup|g' -e 's|@PACKAGE_STRING[@]|postgresql-setup 8.9|g' -e 's|@PACKAGE_TARNAME[@]|postgresql-setup|g' -e 's|@PACKAGE_URL[@]||g' -e 's|@PACKAGE_VERSION[@]|8.9|g' -e 's|@PATH_SEPARATOR[@]|:|g' -e 's|@SHELL[@]|/bin/sh|g' -e 's|@VERSION[@]|8.9|g' -e 's|@TEST_GEN_FILES_LIST[@]|.generated_files|g' -e 's|@WANT_SYSVINIT[@]|0|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@systemdunitsdir[@]|/usr/lib/systemd/system|g' -e 's|@systemduserunitsdir[@]|/etc/systemd/system|g' -e 's|@systemdlegacyscriptsdir[@]|/usr/libexec/initscripts/legacy-actions|g' -e 's|@initscriptsdir[@]|/etc/rc.d/init.d|g' -e 's|@initscriptsconfdir[@]|/etc/sysconfig/pgsql|g' -e 's|@rawpkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@pgdocdir[@]|/usr/share/doc/postgresql16|g' -e 's|@pgcontribdocdir[@]|/usr/share/doc/postgresql-contrib|g' -e 's|@PGADMINUSER[@]|postgres|g' -e 's|@SU_POSTGRES[@]|/usr/sbin/runuser -s /bin/sh -l postgres|g' -e 's|@MOUNTPOINT[@]|/usr/bin/mountpoint|g' -e 's|@PG_UPGRADE_BIN_USER_OPT[@]|--username|g' -e 's|@PGLOGDIR_BASENAME[@]|log|g' -e 's|@README_DIST[@]|/usr/share/doc/postgresql16/README.rpm-dist|g' -e 's|@README_DIST_BASENAME[@]|README.rpm-dist|g' -e 's|@PGVERSION[@]|16.1|g' -e 's|@PGMAJORVERSION[@]|16|g' -e 's|@PKGCONFIG_DIR[@]|/etc/postgresql|g' -e 's|@POSTGRES_HOMEDIR[@]|/var/lib/pgsql|g' -e 's|@PGDATADIR[@]|/var/lib/pgsql/data|g' -e 's|@LIBS_ENABLED[@]|yes|g' -e 's|@MODULE_COMPAT_SUFFIX[@]||g' -e 's|@NAME_SRV_PFX[@]||g' -e 's|@NAME_SRV_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_PKG_PFX[@]||g' -e 's|@NAME_PKG_SFX[@]||g' -e 's|@NAME_DEFAULT_PREV_SERVICE[@]|postgresql|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@SCL_SHELL_WRAPPER[@]||g' -e 's|@SCL_SOURCE[@]|:|g' -e 's|@SYSTEMD_EXECSTART[@]|/usr/bin/postgres -D ${PGDATA}|g' -e 's|@NAME_BINARYBASE[@]|postgresql|g' -e 's|@NAME_PACKAGE[@]|postgresql|g' -e 's|@NAME_SERVICE[@]|postgresql|g' -e 's|@NAME_SERVICE_VARNAME[@]|postgresql|g' -e 's|@PKG_TESTS_LIB@|/usr/share/postgresql-setup/postgresql_pkg_tests.sh|' $ax_text_add_sed_substs -e 's|@__FILE__[@]|sbin/postgresql-new-systemd-unit|g' sbin/new-systemd-unit.in > sbin/postgresql-new-systemd-unit && chmod -w sbin/postgresql-new-systemd-unit && chmod +x sbin/postgresql-new-systemd-unit && chmod +x sbin/postgresql-new-systemd-unit make[1]: Leaving directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' make[1]: Entering directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' rm -rf share/postgresql-setup/postgresql_pkg_tests.sh; /usr/bin/mkdir -p share/postgresql-setup && /usr/bin/sed -e 's|@abs_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@bindir[@]|/usr/bin|g' -e 's|@build_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@builddir[@]|.|g' -e 's|@datarootdir[@]|/usr/share|g' -e 's|@datadir[@]|/usr/share|g' -e 's|@docdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@dvidir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@exec_prefix[@]|/usr|g' -e 's|@host_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@htmldir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@includedir[@]|/usr/include|g' -e 's|@infodir[@]|/usr/share/info|g' -e 's|@libdir[@]|/usr/lib64|g' -e 's|@libexecdir[@]|/usr/libexec|g' -e 's|@localedir[@]|/usr/share/locale|g' -e 's|@localstatedir[@]|/var|g' -e 's|@mandir[@]|/usr/share/man|g' -e 's|@oldincludedir[@]|/usr/include|g' -e 's|@pdfdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@pkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@prefix[@]|/usr|g' -e 's|@psdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@sbindir[@]|/usr/sbin|g' -e 's|@sharedstatedir[@]|/var/lib|g' -e 's|@srcdir[@]|.|g' -e 's|@sysconfdir[@]|/etc|g' -e 's|@target_alias[@]||g' -e 's|@top_srcdir[@]|.|g' -e 's|@PACKAGE[@]|postgresql-setup|g' -e 's|@PACKAGE_BUGREPORT[@]|praiskup@redhat.com|g' -e 's|@PACKAGE_NAME[@]|postgresql-setup|g' -e 's|@PACKAGE_STRING[@]|postgresql-setup 8.9|g' -e 's|@PACKAGE_TARNAME[@]|postgresql-setup|g' -e 's|@PACKAGE_URL[@]||g' -e 's|@PACKAGE_VERSION[@]|8.9|g' -e 's|@PATH_SEPARATOR[@]|:|g' -e 's|@SHELL[@]|/bin/sh|g' -e 's|@VERSION[@]|8.9|g' -e 's|@TEST_GEN_FILES_LIST[@]|.generated_files|g' -e 's|@WANT_SYSVINIT[@]|0|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@systemdunitsdir[@]|/usr/lib/systemd/system|g' -e 's|@systemduserunitsdir[@]|/etc/systemd/system|g' -e 's|@systemdlegacyscriptsdir[@]|/usr/libexec/initscripts/legacy-actions|g' -e 's|@initscriptsdir[@]|/etc/rc.d/init.d|g' -e 's|@initscriptsconfdir[@]|/etc/sysconfig/pgsql|g' -e 's|@rawpkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@pgdocdir[@]|/usr/share/doc/postgresql16|g' -e 's|@pgcontribdocdir[@]|/usr/share/doc/postgresql-contrib|g' -e 's|@PGADMINUSER[@]|postgres|g' -e 's|@SU_POSTGRES[@]|/usr/sbin/runuser -s /bin/sh -l postgres|g' -e 's|@MOUNTPOINT[@]|/usr/bin/mountpoint|g' -e 's|@PG_UPGRADE_BIN_USER_OPT[@]|--username|g' -e 's|@PGLOGDIR_BASENAME[@]|log|g' -e 's|@README_DIST[@]|/usr/share/doc/postgresql16/README.rpm-dist|g' -e 's|@README_DIST_BASENAME[@]|README.rpm-dist|g' -e 's|@PGVERSION[@]|16.1|g' -e 's|@PGMAJORVERSION[@]|16|g' -e 's|@PKGCONFIG_DIR[@]|/etc/postgresql|g' -e 's|@POSTGRES_HOMEDIR[@]|/var/lib/pgsql|g' -e 's|@PGDATADIR[@]|/var/lib/pgsql/data|g' -e 's|@LIBS_ENABLED[@]|yes|g' -e 's|@MODULE_COMPAT_SUFFIX[@]||g' -e 's|@NAME_SRV_PFX[@]||g' -e 's|@NAME_SRV_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_PKG_PFX[@]||g' -e 's|@NAME_PKG_SFX[@]||g' -e 's|@NAME_DEFAULT_PREV_SERVICE[@]|postgresql|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@SCL_SHELL_WRAPPER[@]||g' -e 's|@SCL_SOURCE[@]|:|g' -e 's|@SYSTEMD_EXECSTART[@]|/usr/bin/postgres -D ${PGDATA}|g' -e 's|@NAME_BINARYBASE[@]|postgresql|g' -e 's|@NAME_PACKAGE[@]|postgresql|g' -e 's|@NAME_SERVICE[@]|postgresql|g' -e 's|@NAME_SERVICE_VARNAME[@]|postgresql|g' -e 's|@PKG_TESTS_LIB@|/usr/share/postgresql-setup/postgresql_pkg_tests.sh|' $ax_text_add_sed_substs -e 's|@__FILE__[@]|share/postgresql-setup/postgresql_pkg_tests.sh|g' share/postgresql-setup/postgresql_pkg_tests.sh.in > share/postgresql-setup/postgresql_pkg_tests.sh && chmod -w share/postgresql-setup/postgresql_pkg_tests.sh make[1]: Leaving directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' make[1]: Entering directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' rm -rf share/postgresql-setup/library.sh; /usr/bin/mkdir -p share/postgresql-setup && /usr/bin/sed -e 's|@abs_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@bindir[@]|/usr/bin|g' -e 's|@build_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@builddir[@]|.|g' -e 's|@datarootdir[@]|/usr/share|g' -e 's|@datadir[@]|/usr/share|g' -e 's|@docdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@dvidir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@exec_prefix[@]|/usr|g' -e 's|@host_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@htmldir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@includedir[@]|/usr/include|g' -e 's|@infodir[@]|/usr/share/info|g' -e 's|@libdir[@]|/usr/lib64|g' -e 's|@libexecdir[@]|/usr/libexec|g' -e 's|@localedir[@]|/usr/share/locale|g' -e 's|@localstatedir[@]|/var|g' -e 's|@mandir[@]|/usr/share/man|g' -e 's|@oldincludedir[@]|/usr/include|g' -e 's|@pdfdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@pkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@prefix[@]|/usr|g' -e 's|@psdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@sbindir[@]|/usr/sbin|g' -e 's|@sharedstatedir[@]|/var/lib|g' -e 's|@srcdir[@]|.|g' -e 's|@sysconfdir[@]|/etc|g' -e 's|@target_alias[@]||g' -e 's|@top_srcdir[@]|.|g' -e 's|@PACKAGE[@]|postgresql-setup|g' -e 's|@PACKAGE_BUGREPORT[@]|praiskup@redhat.com|g' -e 's|@PACKAGE_NAME[@]|postgresql-setup|g' -e 's|@PACKAGE_STRING[@]|postgresql-setup 8.9|g' -e 's|@PACKAGE_TARNAME[@]|postgresql-setup|g' -e 's|@PACKAGE_URL[@]||g' -e 's|@PACKAGE_VERSION[@]|8.9|g' -e 's|@PATH_SEPARATOR[@]|:|g' -e 's|@SHELL[@]|/bin/sh|g' -e 's|@VERSION[@]|8.9|g' -e 's|@TEST_GEN_FILES_LIST[@]|.generated_files|g' -e 's|@WANT_SYSVINIT[@]|0|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@systemdunitsdir[@]|/usr/lib/systemd/system|g' -e 's|@systemduserunitsdir[@]|/etc/systemd/system|g' -e 's|@systemdlegacyscriptsdir[@]|/usr/libexec/initscripts/legacy-actions|g' -e 's|@initscriptsdir[@]|/etc/rc.d/init.d|g' -e 's|@initscriptsconfdir[@]|/etc/sysconfig/pgsql|g' -e 's|@rawpkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@pgdocdir[@]|/usr/share/doc/postgresql16|g' -e 's|@pgcontribdocdir[@]|/usr/share/doc/postgresql-contrib|g' -e 's|@PGADMINUSER[@]|postgres|g' -e 's|@SU_POSTGRES[@]|/usr/sbin/runuser -s /bin/sh -l postgres|g' -e 's|@MOUNTPOINT[@]|/usr/bin/mountpoint|g' -e 's|@PG_UPGRADE_BIN_USER_OPT[@]|--username|g' -e 's|@PGLOGDIR_BASENAME[@]|log|g' -e 's|@README_DIST[@]|/usr/share/doc/postgresql16/README.rpm-dist|g' -e 's|@README_DIST_BASENAME[@]|README.rpm-dist|g' -e 's|@PGVERSION[@]|16.1|g' -e 's|@PGMAJORVERSION[@]|16|g' -e 's|@PKGCONFIG_DIR[@]|/etc/postgresql|g' -e 's|@POSTGRES_HOMEDIR[@]|/var/lib/pgsql|g' -e 's|@PGDATADIR[@]|/var/lib/pgsql/data|g' -e 's|@LIBS_ENABLED[@]|yes|g' -e 's|@MODULE_COMPAT_SUFFIX[@]||g' -e 's|@NAME_SRV_PFX[@]||g' -e 's|@NAME_SRV_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_PKG_PFX[@]||g' -e 's|@NAME_PKG_SFX[@]||g' -e 's|@NAME_DEFAULT_PREV_SERVICE[@]|postgresql|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@SCL_SHELL_WRAPPER[@]||g' -e 's|@SCL_SOURCE[@]|:|g' -e 's|@SYSTEMD_EXECSTART[@]|/usr/bin/postgres -D ${PGDATA}|g' -e 's|@NAME_BINARYBASE[@]|postgresql|g' -e 's|@NAME_PACKAGE[@]|postgresql|g' -e 's|@NAME_SERVICE[@]|postgresql|g' -e 's|@NAME_SERVICE_VARNAME[@]|postgresql|g' -e 's|@PKG_TESTS_LIB@|/usr/share/postgresql-setup/postgresql_pkg_tests.sh|' $ax_text_add_sed_substs -e 's|@__FILE__[@]|share/postgresql-setup/library.sh|g' share/postgresql-setup/library.sh.in > share/postgresql-setup/library.sh && chmod -w share/postgresql-setup/library.sh make[1]: Leaving directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' make[1]: Entering directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' rm -rf lib/rpm/macros.d/macros.postgresql; /usr/bin/mkdir -p lib/rpm/macros.d && /usr/bin/sed -e 's|@abs_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@bindir[@]|/usr/bin|g' -e 's|@build_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@builddir[@]|.|g' -e 's|@datarootdir[@]|/usr/share|g' -e 's|@datadir[@]|/usr/share|g' -e 's|@docdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@dvidir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@exec_prefix[@]|/usr|g' -e 's|@host_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@htmldir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@includedir[@]|/usr/include|g' -e 's|@infodir[@]|/usr/share/info|g' -e 's|@libdir[@]|/usr/lib64|g' -e 's|@libexecdir[@]|/usr/libexec|g' -e 's|@localedir[@]|/usr/share/locale|g' -e 's|@localstatedir[@]|/var|g' -e 's|@mandir[@]|/usr/share/man|g' -e 's|@oldincludedir[@]|/usr/include|g' -e 's|@pdfdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@pkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@prefix[@]|/usr|g' -e 's|@psdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@sbindir[@]|/usr/sbin|g' -e 's|@sharedstatedir[@]|/var/lib|g' -e 's|@srcdir[@]|.|g' -e 's|@sysconfdir[@]|/etc|g' -e 's|@target_alias[@]||g' -e 's|@top_srcdir[@]|.|g' -e 's|@PACKAGE[@]|postgresql-setup|g' -e 's|@PACKAGE_BUGREPORT[@]|praiskup@redhat.com|g' -e 's|@PACKAGE_NAME[@]|postgresql-setup|g' -e 's|@PACKAGE_STRING[@]|postgresql-setup 8.9|g' -e 's|@PACKAGE_TARNAME[@]|postgresql-setup|g' -e 's|@PACKAGE_URL[@]||g' -e 's|@PACKAGE_VERSION[@]|8.9|g' -e 's|@PATH_SEPARATOR[@]|:|g' -e 's|@SHELL[@]|/bin/sh|g' -e 's|@VERSION[@]|8.9|g' -e 's|@TEST_GEN_FILES_LIST[@]|.generated_files|g' -e 's|@WANT_SYSVINIT[@]|0|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@systemdunitsdir[@]|/usr/lib/systemd/system|g' -e 's|@systemduserunitsdir[@]|/etc/systemd/system|g' -e 's|@systemdlegacyscriptsdir[@]|/usr/libexec/initscripts/legacy-actions|g' -e 's|@initscriptsdir[@]|/etc/rc.d/init.d|g' -e 's|@initscriptsconfdir[@]|/etc/sysconfig/pgsql|g' -e 's|@rawpkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@pgdocdir[@]|/usr/share/doc/postgresql16|g' -e 's|@pgcontribdocdir[@]|/usr/share/doc/postgresql-contrib|g' -e 's|@PGADMINUSER[@]|postgres|g' -e 's|@SU_POSTGRES[@]|/usr/sbin/runuser -s /bin/sh -l postgres|g' -e 's|@MOUNTPOINT[@]|/usr/bin/mountpoint|g' -e 's|@PG_UPGRADE_BIN_USER_OPT[@]|--username|g' -e 's|@PGLOGDIR_BASENAME[@]|log|g' -e 's|@README_DIST[@]|/usr/share/doc/postgresql16/README.rpm-dist|g' -e 's|@README_DIST_BASENAME[@]|README.rpm-dist|g' -e 's|@PGVERSION[@]|16.1|g' -e 's|@PGMAJORVERSION[@]|16|g' -e 's|@PKGCONFIG_DIR[@]|/etc/postgresql|g' -e 's|@POSTGRES_HOMEDIR[@]|/var/lib/pgsql|g' -e 's|@PGDATADIR[@]|/var/lib/pgsql/data|g' -e 's|@LIBS_ENABLED[@]|yes|g' -e 's|@MODULE_COMPAT_SUFFIX[@]||g' -e 's|@NAME_SRV_PFX[@]||g' -e 's|@NAME_SRV_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_PKG_PFX[@]||g' -e 's|@NAME_PKG_SFX[@]||g' -e 's|@NAME_DEFAULT_PREV_SERVICE[@]|postgresql|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@SCL_SHELL_WRAPPER[@]||g' -e 's|@SCL_SOURCE[@]|:|g' -e 's|@SYSTEMD_EXECSTART[@]|/usr/bin/postgres -D ${PGDATA}|g' -e 's|@NAME_BINARYBASE[@]|postgresql|g' -e 's|@NAME_PACKAGE[@]|postgresql|g' -e 's|@NAME_SERVICE[@]|postgresql|g' -e 's|@NAME_SERVICE_VARNAME[@]|postgresql|g' -e 's|@PKG_TESTS_LIB@|/usr/share/postgresql-setup/postgresql_pkg_tests.sh|' $ax_text_add_sed_substs -e 's|@__FILE__[@]|lib/rpm/macros.d/macros.postgresql|g' lib/rpm/macros.d/macros.in > lib/rpm/macros.d/macros.postgresql && chmod -w lib/rpm/macros.d/macros.postgresql make[1]: Leaving directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' make[1]: Entering directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' rm -rf upgrade; /usr/bin/mkdir -p . && /usr/bin/sed -e 's|@abs_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@bindir[@]|/usr/bin|g' -e 's|@build_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@builddir[@]|.|g' -e 's|@datarootdir[@]|/usr/share|g' -e 's|@datadir[@]|/usr/share|g' -e 's|@docdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@dvidir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@exec_prefix[@]|/usr|g' -e 's|@host_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@htmldir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@includedir[@]|/usr/include|g' -e 's|@infodir[@]|/usr/share/info|g' -e 's|@libdir[@]|/usr/lib64|g' -e 's|@libexecdir[@]|/usr/libexec|g' -e 's|@localedir[@]|/usr/share/locale|g' -e 's|@localstatedir[@]|/var|g' -e 's|@mandir[@]|/usr/share/man|g' -e 's|@oldincludedir[@]|/usr/include|g' -e 's|@pdfdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@pkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@prefix[@]|/usr|g' -e 's|@psdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@sbindir[@]|/usr/sbin|g' -e 's|@sharedstatedir[@]|/var/lib|g' -e 's|@srcdir[@]|.|g' -e 's|@sysconfdir[@]|/etc|g' -e 's|@target_alias[@]||g' -e 's|@top_srcdir[@]|.|g' -e 's|@PACKAGE[@]|postgresql-setup|g' -e 's|@PACKAGE_BUGREPORT[@]|praiskup@redhat.com|g' -e 's|@PACKAGE_NAME[@]|postgresql-setup|g' -e 's|@PACKAGE_STRING[@]|postgresql-setup 8.9|g' -e 's|@PACKAGE_TARNAME[@]|postgresql-setup|g' -e 's|@PACKAGE_URL[@]||g' -e 's|@PACKAGE_VERSION[@]|8.9|g' -e 's|@PATH_SEPARATOR[@]|:|g' -e 's|@SHELL[@]|/bin/sh|g' -e 's|@VERSION[@]|8.9|g' -e 's|@TEST_GEN_FILES_LIST[@]|.generated_files|g' -e 's|@WANT_SYSVINIT[@]|0|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@systemdunitsdir[@]|/usr/lib/systemd/system|g' -e 's|@systemduserunitsdir[@]|/etc/systemd/system|g' -e 's|@systemdlegacyscriptsdir[@]|/usr/libexec/initscripts/legacy-actions|g' -e 's|@initscriptsdir[@]|/etc/rc.d/init.d|g' -e 's|@initscriptsconfdir[@]|/etc/sysconfig/pgsql|g' -e 's|@rawpkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@pgdocdir[@]|/usr/share/doc/postgresql16|g' -e 's|@pgcontribdocdir[@]|/usr/share/doc/postgresql-contrib|g' -e 's|@PGADMINUSER[@]|postgres|g' -e 's|@SU_POSTGRES[@]|/usr/sbin/runuser -s /bin/sh -l postgres|g' -e 's|@MOUNTPOINT[@]|/usr/bin/mountpoint|g' -e 's|@PG_UPGRADE_BIN_USER_OPT[@]|--username|g' -e 's|@PGLOGDIR_BASENAME[@]|log|g' -e 's|@README_DIST[@]|/usr/share/doc/postgresql16/README.rpm-dist|g' -e 's|@README_DIST_BASENAME[@]|README.rpm-dist|g' -e 's|@PGVERSION[@]|16.1|g' -e 's|@PGMAJORVERSION[@]|16|g' -e 's|@PKGCONFIG_DIR[@]|/etc/postgresql|g' -e 's|@POSTGRES_HOMEDIR[@]|/var/lib/pgsql|g' -e 's|@PGDATADIR[@]|/var/lib/pgsql/data|g' -e 's|@LIBS_ENABLED[@]|yes|g' -e 's|@MODULE_COMPAT_SUFFIX[@]||g' -e 's|@NAME_SRV_PFX[@]||g' -e 's|@NAME_SRV_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_PKG_PFX[@]||g' -e 's|@NAME_PKG_SFX[@]||g' -e 's|@NAME_DEFAULT_PREV_SERVICE[@]|postgresql|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@SCL_SHELL_WRAPPER[@]||g' -e 's|@SCL_SOURCE[@]|:|g' -e 's|@SYSTEMD_EXECSTART[@]|/usr/bin/postgres -D ${PGDATA}|g' -e 's|@NAME_BINARYBASE[@]|postgresql|g' -e 's|@NAME_PACKAGE[@]|postgresql|g' -e 's|@NAME_SERVICE[@]|postgresql|g' -e 's|@NAME_SERVICE_VARNAME[@]|postgresql|g' -e 's|@PKG_TESTS_LIB@|/usr/share/postgresql-setup/postgresql_pkg_tests.sh|' $ax_text_add_sed_substs -e 's|@__FILE__[@]|upgrade|g' legacy-sysv-script.in > upgrade && chmod -w upgrade && chmod +x upgrade && chmod +x upgrade make[1]: Leaving directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' make[1]: Entering directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' rm -rf bin/postgresql-upgrade; /usr/bin/mkdir -p bin && /usr/bin/sed -e 's|@abs_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@bindir[@]|/usr/bin|g' -e 's|@build_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@builddir[@]|.|g' -e 's|@datarootdir[@]|/usr/share|g' -e 's|@datadir[@]|/usr/share|g' -e 's|@docdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@dvidir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@exec_prefix[@]|/usr|g' -e 's|@host_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@htmldir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@includedir[@]|/usr/include|g' -e 's|@infodir[@]|/usr/share/info|g' -e 's|@libdir[@]|/usr/lib64|g' -e 's|@libexecdir[@]|/usr/libexec|g' -e 's|@localedir[@]|/usr/share/locale|g' -e 's|@localstatedir[@]|/var|g' -e 's|@mandir[@]|/usr/share/man|g' -e 's|@oldincludedir[@]|/usr/include|g' -e 's|@pdfdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@pkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@prefix[@]|/usr|g' -e 's|@psdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@sbindir[@]|/usr/sbin|g' -e 's|@sharedstatedir[@]|/var/lib|g' -e 's|@srcdir[@]|.|g' -e 's|@sysconfdir[@]|/etc|g' -e 's|@target_alias[@]||g' -e 's|@top_srcdir[@]|.|g' -e 's|@PACKAGE[@]|postgresql-setup|g' -e 's|@PACKAGE_BUGREPORT[@]|praiskup@redhat.com|g' -e 's|@PACKAGE_NAME[@]|postgresql-setup|g' -e 's|@PACKAGE_STRING[@]|postgresql-setup 8.9|g' -e 's|@PACKAGE_TARNAME[@]|postgresql-setup|g' -e 's|@PACKAGE_URL[@]||g' -e 's|@PACKAGE_VERSION[@]|8.9|g' -e 's|@PATH_SEPARATOR[@]|:|g' -e 's|@SHELL[@]|/bin/sh|g' -e 's|@VERSION[@]|8.9|g' -e 's|@TEST_GEN_FILES_LIST[@]|.generated_files|g' -e 's|@WANT_SYSVINIT[@]|0|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@systemdunitsdir[@]|/usr/lib/systemd/system|g' -e 's|@systemduserunitsdir[@]|/etc/systemd/system|g' -e 's|@systemdlegacyscriptsdir[@]|/usr/libexec/initscripts/legacy-actions|g' -e 's|@initscriptsdir[@]|/etc/rc.d/init.d|g' -e 's|@initscriptsconfdir[@]|/etc/sysconfig/pgsql|g' -e 's|@rawpkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@pgdocdir[@]|/usr/share/doc/postgresql16|g' -e 's|@pgcontribdocdir[@]|/usr/share/doc/postgresql-contrib|g' -e 's|@PGADMINUSER[@]|postgres|g' -e 's|@SU_POSTGRES[@]|/usr/sbin/runuser -s /bin/sh -l postgres|g' -e 's|@MOUNTPOINT[@]|/usr/bin/mountpoint|g' -e 's|@PG_UPGRADE_BIN_USER_OPT[@]|--username|g' -e 's|@PGLOGDIR_BASENAME[@]|log|g' -e 's|@README_DIST[@]|/usr/share/doc/postgresql16/README.rpm-dist|g' -e 's|@README_DIST_BASENAME[@]|README.rpm-dist|g' -e 's|@PGVERSION[@]|16.1|g' -e 's|@PGMAJORVERSION[@]|16|g' -e 's|@PKGCONFIG_DIR[@]|/etc/postgresql|g' -e 's|@POSTGRES_HOMEDIR[@]|/var/lib/pgsql|g' -e 's|@PGDATADIR[@]|/var/lib/pgsql/data|g' -e 's|@LIBS_ENABLED[@]|yes|g' -e 's|@MODULE_COMPAT_SUFFIX[@]||g' -e 's|@NAME_SRV_PFX[@]||g' -e 's|@NAME_SRV_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_PKG_PFX[@]||g' -e 's|@NAME_PKG_SFX[@]||g' -e 's|@NAME_DEFAULT_PREV_SERVICE[@]|postgresql|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@SCL_SHELL_WRAPPER[@]||g' -e 's|@SCL_SOURCE[@]|:|g' -e 's|@SYSTEMD_EXECSTART[@]|/usr/bin/postgres -D ${PGDATA}|g' -e 's|@NAME_BINARYBASE[@]|postgresql|g' -e 's|@NAME_PACKAGE[@]|postgresql|g' -e 's|@NAME_SERVICE[@]|postgresql|g' -e 's|@NAME_SERVICE_VARNAME[@]|postgresql|g' -e 's|@PKG_TESTS_LIB@|/usr/share/postgresql-setup/postgresql_pkg_tests.sh|' $ax_text_add_sed_substs -e 's|@__FILE__[@]|bin/postgresql-upgrade|g' bin/postgresql-upgrade.in > bin/postgresql-upgrade && chmod -w bin/postgresql-upgrade && chmod +x bin/postgresql-upgrade && chmod +x bin/postgresql-upgrade make[1]: Leaving directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' make[1]: Entering directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' rm -rf bin/postgresql-setup; /usr/bin/mkdir -p bin && /usr/bin/sed -e 's|@abs_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@bindir[@]|/usr/bin|g' -e 's|@build_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@builddir[@]|.|g' -e 's|@datarootdir[@]|/usr/share|g' -e 's|@datadir[@]|/usr/share|g' -e 's|@docdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@dvidir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@exec_prefix[@]|/usr|g' -e 's|@host_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@htmldir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@includedir[@]|/usr/include|g' -e 's|@infodir[@]|/usr/share/info|g' -e 's|@libdir[@]|/usr/lib64|g' -e 's|@libexecdir[@]|/usr/libexec|g' -e 's|@localedir[@]|/usr/share/locale|g' -e 's|@localstatedir[@]|/var|g' -e 's|@mandir[@]|/usr/share/man|g' -e 's|@oldincludedir[@]|/usr/include|g' -e 's|@pdfdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@pkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@prefix[@]|/usr|g' -e 's|@psdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@sbindir[@]|/usr/sbin|g' -e 's|@sharedstatedir[@]|/var/lib|g' -e 's|@srcdir[@]|.|g' -e 's|@sysconfdir[@]|/etc|g' -e 's|@target_alias[@]||g' -e 's|@top_srcdir[@]|.|g' -e 's|@PACKAGE[@]|postgresql-setup|g' -e 's|@PACKAGE_BUGREPORT[@]|praiskup@redhat.com|g' -e 's|@PACKAGE_NAME[@]|postgresql-setup|g' -e 's|@PACKAGE_STRING[@]|postgresql-setup 8.9|g' -e 's|@PACKAGE_TARNAME[@]|postgresql-setup|g' -e 's|@PACKAGE_URL[@]||g' -e 's|@PACKAGE_VERSION[@]|8.9|g' -e 's|@PATH_SEPARATOR[@]|:|g' -e 's|@SHELL[@]|/bin/sh|g' -e 's|@VERSION[@]|8.9|g' -e 's|@TEST_GEN_FILES_LIST[@]|.generated_files|g' -e 's|@WANT_SYSVINIT[@]|0|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@systemdunitsdir[@]|/usr/lib/systemd/system|g' -e 's|@systemduserunitsdir[@]|/etc/systemd/system|g' -e 's|@systemdlegacyscriptsdir[@]|/usr/libexec/initscripts/legacy-actions|g' -e 's|@initscriptsdir[@]|/etc/rc.d/init.d|g' -e 's|@initscriptsconfdir[@]|/etc/sysconfig/pgsql|g' -e 's|@rawpkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@pgdocdir[@]|/usr/share/doc/postgresql16|g' -e 's|@pgcontribdocdir[@]|/usr/share/doc/postgresql-contrib|g' -e 's|@PGADMINUSER[@]|postgres|g' -e 's|@SU_POSTGRES[@]|/usr/sbin/runuser -s /bin/sh -l postgres|g' -e 's|@MOUNTPOINT[@]|/usr/bin/mountpoint|g' -e 's|@PG_UPGRADE_BIN_USER_OPT[@]|--username|g' -e 's|@PGLOGDIR_BASENAME[@]|log|g' -e 's|@README_DIST[@]|/usr/share/doc/postgresql16/README.rpm-dist|g' -e 's|@README_DIST_BASENAME[@]|README.rpm-dist|g' -e 's|@PGVERSION[@]|16.1|g' -e 's|@PGMAJORVERSION[@]|16|g' -e 's|@PKGCONFIG_DIR[@]|/etc/postgresql|g' -e 's|@POSTGRES_HOMEDIR[@]|/var/lib/pgsql|g' -e 's|@PGDATADIR[@]|/var/lib/pgsql/data|g' -e 's|@LIBS_ENABLED[@]|yes|g' -e 's|@MODULE_COMPAT_SUFFIX[@]||g' -e 's|@NAME_SRV_PFX[@]||g' -e 's|@NAME_SRV_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_PKG_PFX[@]||g' -e 's|@NAME_PKG_SFX[@]||g' -e 's|@NAME_DEFAULT_PREV_SERVICE[@]|postgresql|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@SCL_SHELL_WRAPPER[@]||g' -e 's|@SCL_SOURCE[@]|:|g' -e 's|@SYSTEMD_EXECSTART[@]|/usr/bin/postgres -D ${PGDATA}|g' -e 's|@NAME_BINARYBASE[@]|postgresql|g' -e 's|@NAME_PACKAGE[@]|postgresql|g' -e 's|@NAME_SERVICE[@]|postgresql|g' -e 's|@NAME_SERVICE_VARNAME[@]|postgresql|g' -e 's|@PKG_TESTS_LIB@|/usr/share/postgresql-setup/postgresql_pkg_tests.sh|' $ax_text_add_sed_substs -e 's|@__FILE__[@]|bin/postgresql-setup|g' bin/postgresql-setup.in > bin/postgresql-setup && chmod -w bin/postgresql-setup && chmod +x bin/postgresql-setup && chmod +x bin/postgresql-setup make[1]: Leaving directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' make[1]: Entering directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' \ ax_text_add_sed_substs="-e s|@PGDATA_ENVIRONMENT[@]|Environment=PGDATA=/var/lib/pgsql/data|" ; \ rm -rf postgresql.service; /usr/bin/mkdir -p . && /usr/bin/sed -e 's|@abs_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@bindir[@]|/usr/bin|g' -e 's|@build_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@builddir[@]|.|g' -e 's|@datarootdir[@]|/usr/share|g' -e 's|@datadir[@]|/usr/share|g' -e 's|@docdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@dvidir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@exec_prefix[@]|/usr|g' -e 's|@host_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@htmldir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@includedir[@]|/usr/include|g' -e 's|@infodir[@]|/usr/share/info|g' -e 's|@libdir[@]|/usr/lib64|g' -e 's|@libexecdir[@]|/usr/libexec|g' -e 's|@localedir[@]|/usr/share/locale|g' -e 's|@localstatedir[@]|/var|g' -e 's|@mandir[@]|/usr/share/man|g' -e 's|@oldincludedir[@]|/usr/include|g' -e 's|@pdfdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@pkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@prefix[@]|/usr|g' -e 's|@psdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@sbindir[@]|/usr/sbin|g' -e 's|@sharedstatedir[@]|/var/lib|g' -e 's|@srcdir[@]|.|g' -e 's|@sysconfdir[@]|/etc|g' -e 's|@target_alias[@]||g' -e 's|@top_srcdir[@]|.|g' -e 's|@PACKAGE[@]|postgresql-setup|g' -e 's|@PACKAGE_BUGREPORT[@]|praiskup@redhat.com|g' -e 's|@PACKAGE_NAME[@]|postgresql-setup|g' -e 's|@PACKAGE_STRING[@]|postgresql-setup 8.9|g' -e 's|@PACKAGE_TARNAME[@]|postgresql-setup|g' -e 's|@PACKAGE_URL[@]||g' -e 's|@PACKAGE_VERSION[@]|8.9|g' -e 's|@PATH_SEPARATOR[@]|:|g' -e 's|@SHELL[@]|/bin/sh|g' -e 's|@VERSION[@]|8.9|g' -e 's|@TEST_GEN_FILES_LIST[@]|.generated_files|g' -e 's|@WANT_SYSVINIT[@]|0|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@systemdunitsdir[@]|/usr/lib/systemd/system|g' -e 's|@systemduserunitsdir[@]|/etc/systemd/system|g' -e 's|@systemdlegacyscriptsdir[@]|/usr/libexec/initscripts/legacy-actions|g' -e 's|@initscriptsdir[@]|/etc/rc.d/init.d|g' -e 's|@initscriptsconfdir[@]|/etc/sysconfig/pgsql|g' -e 's|@rawpkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@pgdocdir[@]|/usr/share/doc/postgresql16|g' -e 's|@pgcontribdocdir[@]|/usr/share/doc/postgresql-contrib|g' -e 's|@PGADMINUSER[@]|postgres|g' -e 's|@SU_POSTGRES[@]|/usr/sbin/runuser -s /bin/sh -l postgres|g' -e 's|@MOUNTPOINT[@]|/usr/bin/mountpoint|g' -e 's|@PG_UPGRADE_BIN_USER_OPT[@]|--username|g' -e 's|@PGLOGDIR_BASENAME[@]|log|g' -e 's|@README_DIST[@]|/usr/share/doc/postgresql16/README.rpm-dist|g' -e 's|@README_DIST_BASENAME[@]|README.rpm-dist|g' -e 's|@PGVERSION[@]|16.1|g' -e 's|@PGMAJORVERSION[@]|16|g' -e 's|@PKGCONFIG_DIR[@]|/etc/postgresql|g' -e 's|@POSTGRES_HOMEDIR[@]|/var/lib/pgsql|g' -e 's|@PGDATADIR[@]|/var/lib/pgsql/data|g' -e 's|@LIBS_ENABLED[@]|yes|g' -e 's|@MODULE_COMPAT_SUFFIX[@]||g' -e 's|@NAME_SRV_PFX[@]||g' -e 's|@NAME_SRV_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_PKG_PFX[@]||g' -e 's|@NAME_PKG_SFX[@]||g' -e 's|@NAME_DEFAULT_PREV_SERVICE[@]|postgresql|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@SCL_SHELL_WRAPPER[@]||g' -e 's|@SCL_SOURCE[@]|:|g' -e 's|@SYSTEMD_EXECSTART[@]|/usr/bin/postgres -D ${PGDATA}|g' -e 's|@NAME_BINARYBASE[@]|postgresql|g' -e 's|@NAME_PACKAGE[@]|postgresql|g' -e 's|@NAME_SERVICE[@]|postgresql|g' -e 's|@NAME_SERVICE_VARNAME[@]|postgresql|g' -e 's|@PKG_TESTS_LIB@|/usr/share/postgresql-setup/postgresql_pkg_tests.sh|' $ax_text_add_sed_substs -e 's|@__FILE__[@]|postgresql.service|g' postgresql.service.in > postgresql.service && chmod -w postgresql.service make[1]: Leaving directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' make[1]: Entering directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' rm -rf postgresql-check-db-dir; /usr/bin/mkdir -p . && /usr/bin/sed -e 's|@abs_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@bindir[@]|/usr/bin|g' -e 's|@build_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@builddir[@]|.|g' -e 's|@datarootdir[@]|/usr/share|g' -e 's|@datadir[@]|/usr/share|g' -e 's|@docdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@dvidir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@exec_prefix[@]|/usr|g' -e 's|@host_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@htmldir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@includedir[@]|/usr/include|g' -e 's|@infodir[@]|/usr/share/info|g' -e 's|@libdir[@]|/usr/lib64|g' -e 's|@libexecdir[@]|/usr/libexec|g' -e 's|@localedir[@]|/usr/share/locale|g' -e 's|@localstatedir[@]|/var|g' -e 's|@mandir[@]|/usr/share/man|g' -e 's|@oldincludedir[@]|/usr/include|g' -e 's|@pdfdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@pkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@prefix[@]|/usr|g' -e 's|@psdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@sbindir[@]|/usr/sbin|g' -e 's|@sharedstatedir[@]|/var/lib|g' -e 's|@srcdir[@]|.|g' -e 's|@sysconfdir[@]|/etc|g' -e 's|@target_alias[@]||g' -e 's|@top_srcdir[@]|.|g' -e 's|@PACKAGE[@]|postgresql-setup|g' -e 's|@PACKAGE_BUGREPORT[@]|praiskup@redhat.com|g' -e 's|@PACKAGE_NAME[@]|postgresql-setup|g' -e 's|@PACKAGE_STRING[@]|postgresql-setup 8.9|g' -e 's|@PACKAGE_TARNAME[@]|postgresql-setup|g' -e 's|@PACKAGE_URL[@]||g' -e 's|@PACKAGE_VERSION[@]|8.9|g' -e 's|@PATH_SEPARATOR[@]|:|g' -e 's|@SHELL[@]|/bin/sh|g' -e 's|@VERSION[@]|8.9|g' -e 's|@TEST_GEN_FILES_LIST[@]|.generated_files|g' -e 's|@WANT_SYSVINIT[@]|0|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@systemdunitsdir[@]|/usr/lib/systemd/system|g' -e 's|@systemduserunitsdir[@]|/etc/systemd/system|g' -e 's|@systemdlegacyscriptsdir[@]|/usr/libexec/initscripts/legacy-actions|g' -e 's|@initscriptsdir[@]|/etc/rc.d/init.d|g' -e 's|@initscriptsconfdir[@]|/etc/sysconfig/pgsql|g' -e 's|@rawpkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@pgdocdir[@]|/usr/share/doc/postgresql16|g' -e 's|@pgcontribdocdir[@]|/usr/share/doc/postgresql-contrib|g' -e 's|@PGADMINUSER[@]|postgres|g' -e 's|@SU_POSTGRES[@]|/usr/sbin/runuser -s /bin/sh -l postgres|g' -e 's|@MOUNTPOINT[@]|/usr/bin/mountpoint|g' -e 's|@PG_UPGRADE_BIN_USER_OPT[@]|--username|g' -e 's|@PGLOGDIR_BASENAME[@]|log|g' -e 's|@README_DIST[@]|/usr/share/doc/postgresql16/README.rpm-dist|g' -e 's|@README_DIST_BASENAME[@]|README.rpm-dist|g' -e 's|@PGVERSION[@]|16.1|g' -e 's|@PGMAJORVERSION[@]|16|g' -e 's|@PKGCONFIG_DIR[@]|/etc/postgresql|g' -e 's|@POSTGRES_HOMEDIR[@]|/var/lib/pgsql|g' -e 's|@PGDATADIR[@]|/var/lib/pgsql/data|g' -e 's|@LIBS_ENABLED[@]|yes|g' -e 's|@MODULE_COMPAT_SUFFIX[@]||g' -e 's|@NAME_SRV_PFX[@]||g' -e 's|@NAME_SRV_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_PKG_PFX[@]||g' -e 's|@NAME_PKG_SFX[@]||g' -e 's|@NAME_DEFAULT_PREV_SERVICE[@]|postgresql|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@SCL_SHELL_WRAPPER[@]||g' -e 's|@SCL_SOURCE[@]|:|g' -e 's|@SYSTEMD_EXECSTART[@]|/usr/bin/postgres -D ${PGDATA}|g' -e 's|@NAME_BINARYBASE[@]|postgresql|g' -e 's|@NAME_PACKAGE[@]|postgresql|g' -e 's|@NAME_SERVICE[@]|postgresql|g' -e 's|@NAME_SERVICE_VARNAME[@]|postgresql|g' -e 's|@PKG_TESTS_LIB@|/usr/share/postgresql-setup/postgresql_pkg_tests.sh|' $ax_text_add_sed_substs -e 's|@__FILE__[@]|postgresql-check-db-dir|g' postgresql-check-db-dir.in > postgresql-check-db-dir && chmod -w postgresql-check-db-dir && chmod +x postgresql-check-db-dir && chmod +x postgresql-check-db-dir make[1]: Leaving directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' make[1]: Entering directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' \ ax_text_add_sed_substs="-e /@PGDATA_ENVIRONMENT[@]/d" ; \ rm -rf postgresql@.service; /usr/bin/mkdir -p . && /usr/bin/sed -e 's|@abs_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@bindir[@]|/usr/bin|g' -e 's|@build_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@builddir[@]|.|g' -e 's|@datarootdir[@]|/usr/share|g' -e 's|@datadir[@]|/usr/share|g' -e 's|@docdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@dvidir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@exec_prefix[@]|/usr|g' -e 's|@host_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@htmldir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@includedir[@]|/usr/include|g' -e 's|@infodir[@]|/usr/share/info|g' -e 's|@libdir[@]|/usr/lib64|g' -e 's|@libexecdir[@]|/usr/libexec|g' -e 's|@localedir[@]|/usr/share/locale|g' -e 's|@localstatedir[@]|/var|g' -e 's|@mandir[@]|/usr/share/man|g' -e 's|@oldincludedir[@]|/usr/include|g' -e 's|@pdfdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@pkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@prefix[@]|/usr|g' -e 's|@psdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@sbindir[@]|/usr/sbin|g' -e 's|@sharedstatedir[@]|/var/lib|g' -e 's|@srcdir[@]|.|g' -e 's|@sysconfdir[@]|/etc|g' -e 's|@target_alias[@]||g' -e 's|@top_srcdir[@]|.|g' -e 's|@PACKAGE[@]|postgresql-setup|g' -e 's|@PACKAGE_BUGREPORT[@]|praiskup@redhat.com|g' -e 's|@PACKAGE_NAME[@]|postgresql-setup|g' -e 's|@PACKAGE_STRING[@]|postgresql-setup 8.9|g' -e 's|@PACKAGE_TARNAME[@]|postgresql-setup|g' -e 's|@PACKAGE_URL[@]||g' -e 's|@PACKAGE_VERSION[@]|8.9|g' -e 's|@PATH_SEPARATOR[@]|:|g' -e 's|@SHELL[@]|/bin/sh|g' -e 's|@VERSION[@]|8.9|g' -e 's|@TEST_GEN_FILES_LIST[@]|.generated_files|g' -e 's|@WANT_SYSVINIT[@]|0|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@systemdunitsdir[@]|/usr/lib/systemd/system|g' -e 's|@systemduserunitsdir[@]|/etc/systemd/system|g' -e 's|@systemdlegacyscriptsdir[@]|/usr/libexec/initscripts/legacy-actions|g' -e 's|@initscriptsdir[@]|/etc/rc.d/init.d|g' -e 's|@initscriptsconfdir[@]|/etc/sysconfig/pgsql|g' -e 's|@rawpkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@pgdocdir[@]|/usr/share/doc/postgresql16|g' -e 's|@pgcontribdocdir[@]|/usr/share/doc/postgresql-contrib|g' -e 's|@PGADMINUSER[@]|postgres|g' -e 's|@SU_POSTGRES[@]|/usr/sbin/runuser -s /bin/sh -l postgres|g' -e 's|@MOUNTPOINT[@]|/usr/bin/mountpoint|g' -e 's|@PG_UPGRADE_BIN_USER_OPT[@]|--username|g' -e 's|@PGLOGDIR_BASENAME[@]|log|g' -e 's|@README_DIST[@]|/usr/share/doc/postgresql16/README.rpm-dist|g' -e 's|@README_DIST_BASENAME[@]|README.rpm-dist|g' -e 's|@PGVERSION[@]|16.1|g' -e 's|@PGMAJORVERSION[@]|16|g' -e 's|@PKGCONFIG_DIR[@]|/etc/postgresql|g' -e 's|@POSTGRES_HOMEDIR[@]|/var/lib/pgsql|g' -e 's|@PGDATADIR[@]|/var/lib/pgsql/data|g' -e 's|@LIBS_ENABLED[@]|yes|g' -e 's|@MODULE_COMPAT_SUFFIX[@]||g' -e 's|@NAME_SRV_PFX[@]||g' -e 's|@NAME_SRV_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_PKG_PFX[@]||g' -e 's|@NAME_PKG_SFX[@]||g' -e 's|@NAME_DEFAULT_PREV_SERVICE[@]|postgresql|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@SCL_SHELL_WRAPPER[@]||g' -e 's|@SCL_SOURCE[@]|:|g' -e 's|@SYSTEMD_EXECSTART[@]|/usr/bin/postgres -D ${PGDATA}|g' -e 's|@NAME_BINARYBASE[@]|postgresql|g' -e 's|@NAME_PACKAGE[@]|postgresql|g' -e 's|@NAME_SERVICE[@]|postgresql|g' -e 's|@NAME_SERVICE_VARNAME[@]|postgresql|g' -e 's|@PKG_TESTS_LIB@|/usr/share/postgresql-setup/postgresql_pkg_tests.sh|' $ax_text_add_sed_substs -e 's|@__FILE__[@]|postgresql@.service|g' postgresql.service.in > postgresql@.service && chmod -w postgresql@.service make[1]: Leaving directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' make[1]: Entering directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' rm -rf README.rpm-dist.sed; /usr/bin/mkdir -p . && /usr/bin/sed -e 's|@abs_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@bindir[@]|/usr/bin|g' -e 's|@build_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@builddir[@]|.|g' -e 's|@datarootdir[@]|/usr/share|g' -e 's|@datadir[@]|/usr/share|g' -e 's|@docdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@dvidir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@exec_prefix[@]|/usr|g' -e 's|@host_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@htmldir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@includedir[@]|/usr/include|g' -e 's|@infodir[@]|/usr/share/info|g' -e 's|@libdir[@]|/usr/lib64|g' -e 's|@libexecdir[@]|/usr/libexec|g' -e 's|@localedir[@]|/usr/share/locale|g' -e 's|@localstatedir[@]|/var|g' -e 's|@mandir[@]|/usr/share/man|g' -e 's|@oldincludedir[@]|/usr/include|g' -e 's|@pdfdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@pkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@prefix[@]|/usr|g' -e 's|@psdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@sbindir[@]|/usr/sbin|g' -e 's|@sharedstatedir[@]|/var/lib|g' -e 's|@srcdir[@]|.|g' -e 's|@sysconfdir[@]|/etc|g' -e 's|@target_alias[@]||g' -e 's|@top_srcdir[@]|.|g' -e 's|@PACKAGE[@]|postgresql-setup|g' -e 's|@PACKAGE_BUGREPORT[@]|praiskup@redhat.com|g' -e 's|@PACKAGE_NAME[@]|postgresql-setup|g' -e 's|@PACKAGE_STRING[@]|postgresql-setup 8.9|g' -e 's|@PACKAGE_TARNAME[@]|postgresql-setup|g' -e 's|@PACKAGE_URL[@]||g' -e 's|@PACKAGE_VERSION[@]|8.9|g' -e 's|@PATH_SEPARATOR[@]|:|g' -e 's|@SHELL[@]|/bin/sh|g' -e 's|@VERSION[@]|8.9|g' -e 's|@TEST_GEN_FILES_LIST[@]|.generated_files|g' -e 's|@WANT_SYSVINIT[@]|0|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@systemdunitsdir[@]|/usr/lib/systemd/system|g' -e 's|@systemduserunitsdir[@]|/etc/systemd/system|g' -e 's|@systemdlegacyscriptsdir[@]|/usr/libexec/initscripts/legacy-actions|g' -e 's|@initscriptsdir[@]|/etc/rc.d/init.d|g' -e 's|@initscriptsconfdir[@]|/etc/sysconfig/pgsql|g' -e 's|@rawpkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@pgdocdir[@]|/usr/share/doc/postgresql16|g' -e 's|@pgcontribdocdir[@]|/usr/share/doc/postgresql-contrib|g' -e 's|@PGADMINUSER[@]|postgres|g' -e 's|@SU_POSTGRES[@]|/usr/sbin/runuser -s /bin/sh -l postgres|g' -e 's|@MOUNTPOINT[@]|/usr/bin/mountpoint|g' -e 's|@PG_UPGRADE_BIN_USER_OPT[@]|--username|g' -e 's|@PGLOGDIR_BASENAME[@]|log|g' -e 's|@README_DIST[@]|/usr/share/doc/postgresql16/README.rpm-dist|g' -e 's|@README_DIST_BASENAME[@]|README.rpm-dist|g' -e 's|@PGVERSION[@]|16.1|g' -e 's|@PGMAJORVERSION[@]|16|g' -e 's|@PKGCONFIG_DIR[@]|/etc/postgresql|g' -e 's|@POSTGRES_HOMEDIR[@]|/var/lib/pgsql|g' -e 's|@PGDATADIR[@]|/var/lib/pgsql/data|g' -e 's|@LIBS_ENABLED[@]|yes|g' -e 's|@MODULE_COMPAT_SUFFIX[@]||g' -e 's|@NAME_SRV_PFX[@]||g' -e 's|@NAME_SRV_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_PKG_PFX[@]||g' -e 's|@NAME_PKG_SFX[@]||g' -e 's|@NAME_DEFAULT_PREV_SERVICE[@]|postgresql|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@SCL_SHELL_WRAPPER[@]||g' -e 's|@SCL_SOURCE[@]|:|g' -e 's|@SYSTEMD_EXECSTART[@]|/usr/bin/postgres -D ${PGDATA}|g' -e 's|@NAME_BINARYBASE[@]|postgresql|g' -e 's|@NAME_PACKAGE[@]|postgresql|g' -e 's|@NAME_SERVICE[@]|postgresql|g' -e 's|@NAME_SERVICE_VARNAME[@]|postgresql|g' -e 's|@PKG_TESTS_LIB@|/usr/share/postgresql-setup/postgresql_pkg_tests.sh|' $ax_text_add_sed_substs -e 's|@__FILE__[@]|README.rpm-dist.sed|g' README.rpm-dist.template > README.rpm-dist.sed && chmod -w README.rpm-dist.sed make[1]: Leaving directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' make[1]: Entering directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' rm -rf lib/rpm/macros.d/macros.postgresql-test; /usr/bin/mkdir -p lib/rpm/macros.d && /usr/bin/sed -e 's|@abs_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@bindir[@]|/usr/bin|g' -e 's|@build_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@builddir[@]|.|g' -e 's|@datarootdir[@]|/usr/share|g' -e 's|@datadir[@]|/usr/share|g' -e 's|@docdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@dvidir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@exec_prefix[@]|/usr|g' -e 's|@host_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@htmldir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@includedir[@]|/usr/include|g' -e 's|@infodir[@]|/usr/share/info|g' -e 's|@libdir[@]|/usr/lib64|g' -e 's|@libexecdir[@]|/usr/libexec|g' -e 's|@localedir[@]|/usr/share/locale|g' -e 's|@localstatedir[@]|/var|g' -e 's|@mandir[@]|/usr/share/man|g' -e 's|@oldincludedir[@]|/usr/include|g' -e 's|@pdfdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@pkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@prefix[@]|/usr|g' -e 's|@psdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@sbindir[@]|/usr/sbin|g' -e 's|@sharedstatedir[@]|/var/lib|g' -e 's|@srcdir[@]|.|g' -e 's|@sysconfdir[@]|/etc|g' -e 's|@target_alias[@]||g' -e 's|@top_srcdir[@]|.|g' -e 's|@PACKAGE[@]|postgresql-setup|g' -e 's|@PACKAGE_BUGREPORT[@]|praiskup@redhat.com|g' -e 's|@PACKAGE_NAME[@]|postgresql-setup|g' -e 's|@PACKAGE_STRING[@]|postgresql-setup 8.9|g' -e 's|@PACKAGE_TARNAME[@]|postgresql-setup|g' -e 's|@PACKAGE_URL[@]||g' -e 's|@PACKAGE_VERSION[@]|8.9|g' -e 's|@PATH_SEPARATOR[@]|:|g' -e 's|@SHELL[@]|/bin/sh|g' -e 's|@VERSION[@]|8.9|g' -e 's|@TEST_GEN_FILES_LIST[@]|.generated_files|g' -e 's|@WANT_SYSVINIT[@]|0|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@systemdunitsdir[@]|/usr/lib/systemd/system|g' -e 's|@systemduserunitsdir[@]|/etc/systemd/system|g' -e 's|@systemdlegacyscriptsdir[@]|/usr/libexec/initscripts/legacy-actions|g' -e 's|@initscriptsdir[@]|/etc/rc.d/init.d|g' -e 's|@initscriptsconfdir[@]|/etc/sysconfig/pgsql|g' -e 's|@rawpkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@pgdocdir[@]|/usr/share/doc/postgresql16|g' -e 's|@pgcontribdocdir[@]|/usr/share/doc/postgresql-contrib|g' -e 's|@PGADMINUSER[@]|postgres|g' -e 's|@SU_POSTGRES[@]|/usr/sbin/runuser -s /bin/sh -l postgres|g' -e 's|@MOUNTPOINT[@]|/usr/bin/mountpoint|g' -e 's|@PG_UPGRADE_BIN_USER_OPT[@]|--username|g' -e 's|@PGLOGDIR_BASENAME[@]|log|g' -e 's|@README_DIST[@]|/usr/share/doc/postgresql16/README.rpm-dist|g' -e 's|@README_DIST_BASENAME[@]|README.rpm-dist|g' -e 's|@PGVERSION[@]|16.1|g' -e 's|@PGMAJORVERSION[@]|16|g' -e 's|@PKGCONFIG_DIR[@]|/etc/postgresql|g' -e 's|@POSTGRES_HOMEDIR[@]|/var/lib/pgsql|g' -e 's|@PGDATADIR[@]|/var/lib/pgsql/data|g' -e 's|@LIBS_ENABLED[@]|yes|g' -e 's|@MODULE_COMPAT_SUFFIX[@]||g' -e 's|@NAME_SRV_PFX[@]||g' -e 's|@NAME_SRV_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_PKG_PFX[@]||g' -e 's|@NAME_PKG_SFX[@]||g' -e 's|@NAME_DEFAULT_PREV_SERVICE[@]|postgresql|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@SCL_SHELL_WRAPPER[@]||g' -e 's|@SCL_SOURCE[@]|:|g' -e 's|@SYSTEMD_EXECSTART[@]|/usr/bin/postgres -D ${PGDATA}|g' -e 's|@NAME_BINARYBASE[@]|postgresql|g' -e 's|@NAME_PACKAGE[@]|postgresql|g' -e 's|@NAME_SERVICE[@]|postgresql|g' -e 's|@NAME_SERVICE_VARNAME[@]|postgresql|g' -e 's|@PKG_TESTS_LIB@|/usr/share/postgresql-setup/postgresql_pkg_tests.sh|' $ax_text_add_sed_substs -e 's|@__FILE__[@]|lib/rpm/macros.d/macros.postgresql-test|g' lib/rpm/macros.d/macros-test.in > lib/rpm/macros.d/macros.postgresql-test && chmod -w lib/rpm/macros.d/macros.postgresql-test make[1]: Leaving directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' make[1]: Entering directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' rm -rf README.rpm-dist.m4; /usr/bin/mkdir -p . && \ m4 -P < README.rpm-dist.sed > README.rpm-dist.m4 make[1]: Leaving directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' make[1]: Entering directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' rm -rf README.rpm-dist.sgml; /usr/bin/mkdir -p . && \ /usr/bin/sed -e 's|@abs_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_builddir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@abs_top_srcdir[@]|/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9|g' -e 's|@bindir[@]|/usr/bin|g' -e 's|@build_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@builddir[@]|.|g' -e 's|@datarootdir[@]|/usr/share|g' -e 's|@datadir[@]|/usr/share|g' -e 's|@docdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@dvidir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@exec_prefix[@]|/usr|g' -e 's|@host_alias[@]|loongarch64-opencloudos-linux-gnu|g' -e 's|@htmldir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@includedir[@]|/usr/include|g' -e 's|@infodir[@]|/usr/share/info|g' -e 's|@libdir[@]|/usr/lib64|g' -e 's|@libexecdir[@]|/usr/libexec|g' -e 's|@localedir[@]|/usr/share/locale|g' -e 's|@localstatedir[@]|/var|g' -e 's|@mandir[@]|/usr/share/man|g' -e 's|@oldincludedir[@]|/usr/include|g' -e 's|@pdfdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@pkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@prefix[@]|/usr|g' -e 's|@psdir[@]|/usr/share/doc/postgresql-setup|g' -e 's|@sbindir[@]|/usr/sbin|g' -e 's|@sharedstatedir[@]|/var/lib|g' -e 's|@srcdir[@]|.|g' -e 's|@sysconfdir[@]|/etc|g' -e 's|@target_alias[@]||g' -e 's|@top_srcdir[@]|.|g' -e 's|@PACKAGE[@]|postgresql-setup|g' -e 's|@PACKAGE_BUGREPORT[@]|praiskup@redhat.com|g' -e 's|@PACKAGE_NAME[@]|postgresql-setup|g' -e 's|@PACKAGE_STRING[@]|postgresql-setup 8.9|g' -e 's|@PACKAGE_TARNAME[@]|postgresql-setup|g' -e 's|@PACKAGE_URL[@]||g' -e 's|@PACKAGE_VERSION[@]|8.9|g' -e 's|@PATH_SEPARATOR[@]|:|g' -e 's|@SHELL[@]|/bin/sh|g' -e 's|@VERSION[@]|8.9|g' -e 's|@TEST_GEN_FILES_LIST[@]|.generated_files|g' -e 's|@WANT_SYSVINIT[@]|0|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@systemdunitsdir[@]|/usr/lib/systemd/system|g' -e 's|@systemduserunitsdir[@]|/etc/systemd/system|g' -e 's|@systemdlegacyscriptsdir[@]|/usr/libexec/initscripts/legacy-actions|g' -e 's|@initscriptsdir[@]|/etc/rc.d/init.d|g' -e 's|@initscriptsconfdir[@]|/etc/sysconfig/pgsql|g' -e 's|@rawpkgdatadir[@]|/usr/share/postgresql-setup|g' -e 's|@pgdocdir[@]|/usr/share/doc/postgresql16|g' -e 's|@pgcontribdocdir[@]|/usr/share/doc/postgresql-contrib|g' -e 's|@PGADMINUSER[@]|postgres|g' -e 's|@SU_POSTGRES[@]|/usr/sbin/runuser -s /bin/sh -l postgres|g' -e 's|@MOUNTPOINT[@]|/usr/bin/mountpoint|g' -e 's|@PG_UPGRADE_BIN_USER_OPT[@]|--username|g' -e 's|@PGLOGDIR_BASENAME[@]|log|g' -e 's|@README_DIST[@]|/usr/share/doc/postgresql16/README.rpm-dist|g' -e 's|@README_DIST_BASENAME[@]|README.rpm-dist|g' -e 's|@PGVERSION[@]|16.1|g' -e 's|@PGMAJORVERSION[@]|16|g' -e 's|@PKGCONFIG_DIR[@]|/etc/postgresql|g' -e 's|@POSTGRES_HOMEDIR[@]|/var/lib/pgsql|g' -e 's|@PGDATADIR[@]|/var/lib/pgsql/data|g' -e 's|@LIBS_ENABLED[@]|yes|g' -e 's|@MODULE_COMPAT_SUFFIX[@]||g' -e 's|@NAME_SRV_PFX[@]||g' -e 's|@NAME_SRV_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_BIN_SFX[@]||g' -e 's|@NAME_PKG_PFX[@]||g' -e 's|@NAME_PKG_SFX[@]||g' -e 's|@NAME_DEFAULT_PREV_SERVICE[@]|postgresql|g' -e 's|@rpmmacrosdir[@]|/usr/lib/rpm/macros.d|g' -e 's|@SCL_SHELL_WRAPPER[@]||g' -e 's|@SCL_SOURCE[@]|:|g' -e 's|@SYSTEMD_EXECSTART[@]|/usr/bin/postgres -D ${PGDATA}|g' -e 's|@NAME_BINARYBASE[@]|postgresql|g' -e 's|@NAME_PACKAGE[@]|postgresql|g' -e 's|@NAME_SERVICE[@]|postgresql|g' -e 's|@NAME_SERVICE_VARNAME[@]|postgresql|g' -e 's|@PKG_TESTS_LIB@|/usr/share/postgresql-setup/postgresql_pkg_tests.sh|' $ax_text_add_sed_substs -e 's|@__FILE__[@]|README.rpm-dist.sgml|g' < README.rpm-dist.m4 | m4 -P > README.rpm-dist.sgml make[1]: Leaving directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' make[1]: Entering directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' odir=`dirname "doc/postgresql-new-systemd-unit.1"`; mkdir -p "$odir" ; \ export PGSETUP_TEST=: ; \ export input=./sbin/postgresql-new-systemd-unit ; \ /bin/sh ./auxdir/missing --run help2man --output=doc/postgresql-new-systemd-unit.1 $input -N ; rs=$? ; if test $rs -eq 127; then test -f doc/postgresql-new-systemd-unit.1 ; else test $rs -eq 0 ; fi make[1]: Leaving directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' make[1]: Entering directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' odir=`dirname "doc/postgresql-upgrade.1"` ; mkdir -p "$odir" ; \ export input=./bin/postgresql-upgrade ; \ /bin/sh ./auxdir/missing --run help2man --output=doc/postgresql-upgrade.1 $input -N ; rs=$? ; if test $rs -eq 127; then test -f doc/postgresql-upgrade.1 ; else test $rs -eq 0 ; fi make[1]: Leaving directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' make[1]: Entering directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' odir=`dirname "doc/postgresql-setup.1"` ; mkdir -p "$odir" ; \ export input=./bin/postgresql-setup ; \ /bin/sh ./auxdir/missing --run help2man --output=doc/postgresql-setup.1 $input -N ; rs=$? ; if test $rs -eq 127; then test -f doc/postgresql-setup.1 ; else test $rs -eq 0 ; fi make[1]: Leaving directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' make[1]: Entering directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' rm -rf README.rpm-dist; /usr/bin/mkdir -p . && docbook2txt -d ./style.dsl README.rpm-dist.sgml >/dev/null && \ mv -f README.rpm-dist.txt README.rpm-dist make[1]: Leaving directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' make[1]: Entering directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' rm -rf .generated_files && \ for i in share/postgresql-setup/library.sh share/postgresql-setup/postgresql_pkg_tests.sh lib/rpm/macros.d/macros.postgresql lib/rpm/macros.d/macros.postgresql-test bin/postgresql-setup bin/postgresql-upgrade sbin/postgresql-new-systemd-unit postgresql-check-db-dir README.rpm-dist postgresql.service postgresql@.service initdb upgrade; do \ echo $i >> .generated_files ; \ done make[1]: Leaving directory '/builddir/build/BUILD/postgresql-16.1/postgresql-setup-8.9' Making all in tests make[1]: Nothing to be done for 'all'. + unset pgsetup_cv_os_family + cd .. + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' ++ echo -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection ++ xargs -n 1 ++ grep -v ffast-math ++ xargs -n 100 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + common_configure_options=' --disable-rpath --with-perl --with-tcl --with-tclconfig=/usr/lib64 --with-ldap --with-openssl --with-pam --with-gssapi --with-ossp-uuid --with-libxml --with-libxslt --enable-nls --enable-dtrace --with-selinux --with-system-tzdata=/usr/share/zoneinfo --datadir=/usr/share/pgsql --with-systemd --with-lz4 --with-icu --with-llvm --with-python ' + export PYTHON=/usr/bin/python3 + PYTHON=/usr/bin/python3 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-11-07 06:04:27.000000000 +0800 +++ ./configure 2024-05-24 08:42:34.525503794 +0800 @@ -2063,7 +2063,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./postgresql-setup-8.9/configure + diff -u ./postgresql-setup-8.9/configure.backup ./postgresql-setup-8.9/configure + mv ./postgresql-setup-8.9/configure.backup ./postgresql-setup-8.9/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./postgresql-setup-8.9/configure + diff -u ./postgresql-setup-8.9/configure.backup ./postgresql-setup-8.9/configure + mv ./postgresql-setup-8.9/configure.backup ./postgresql-setup-8.9/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./postgresql-setup-8.9/configure + diff -u ./postgresql-setup-8.9/configure.backup ./postgresql-setup-8.9/configure + mv ./postgresql-setup-8.9/configure.backup ./postgresql-setup-8.9/configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./postgresql-setup-8.9/configure + diff -u ./postgresql-setup-8.9/configure.backup ./postgresql-setup-8.9/configure + mv ./postgresql-setup-8.9/configure.backup ./postgresql-setup-8.9/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./postgresql-setup-8.9/configure + diff -u ./postgresql-setup-8.9/configure.backup ./postgresql-setup-8.9/configure + mv ./postgresql-setup-8.9/configure.backup ./postgresql-setup-8.9/configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./postgresql-15.5/configure + diff -u ./postgresql-15.5/configure.backup ./postgresql-15.5/configure + mv ./postgresql-15.5/configure.backup ./postgresql-15.5/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./postgresql-15.5/configure + diff -u ./postgresql-15.5/configure.backup ./postgresql-15.5/configure + mv ./postgresql-15.5/configure.backup ./postgresql-15.5/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./postgresql-15.5/configure + diff -u ./postgresql-15.5/configure.backup ./postgresql-15.5/configure --- ./postgresql-15.5/configure.backup 2023-11-07 06:06:45.000000000 +0800 +++ ./postgresql-15.5/configure 2024-05-24 08:42:34.621505489 +0800 @@ -2066,7 +2066,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./postgresql-15.5/configure + diff -u ./postgresql-15.5/configure.backup ./postgresql-15.5/configure + mv ./postgresql-15.5/configure.backup ./postgresql-15.5/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./postgresql-15.5/configure + diff -u ./postgresql-15.5/configure.backup ./postgresql-15.5/configure + mv ./postgresql-15.5/configure.backup ./postgresql-15.5/configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config/config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config/config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./postgresql-15.5/config/config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./postgresql-15.5/config/config.sub ++ basename ./postgresql-15.5/config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./postgresql-15.5/config/config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './postgresql-15.5/config/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./postgresql-15.5/config/config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./postgresql-15.5/config/config.guess ++ basename ./postgresql-15.5/config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./postgresql-15.5/config/config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './postgresql-15.5/config/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-rpath --with-perl --with-tcl --with-tclconfig=/usr/lib64 --with-ldap --with-openssl --with-pam --with-gssapi --with-ossp-uuid --with-libxml --with-libxslt --enable-nls --enable-dtrace --with-selinux --with-system-tzdata=/usr/share/zoneinfo --datadir=/usr/share/pgsql --with-systemd --with-lz4 --with-icu --with-llvm --with-python configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... loongarch64-opencloudos-linux-gnu checking host system type... loongarch64-opencloudos-linux-gnu checking which template to use... linux checking whether NLS is wanted... yes checking for default port number... 5432 checking for dtrace... /usr/bin/dtrace checking for block size... 8kB checking for segment size... 1GB checking for WAL block size... 8kB checking for loongarch64-opencloudos-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for gcc option to accept ISO C99... none needed checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking for gawk... gawk checking for llvm-config... /usr/bin/llvm-config configure: using llvm 17.0.6 checking for clang... no checking for clang-7... no checking for clang-6.0... no checking for clang-5.0... no checking for clang-4.0... no checking for clang-3.9... no configure: error: clang not found, but required when compiling --with-llvm, specify with CLANG= error: Bad exit status from /var/tmp/rpm-tmp.cYfv93 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.cYfv93 (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/postgresql16.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/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 loongarch64 --nodeps /builddir/build/SPECS/postgresql16.spec