Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/p/pgtcl/pgtcl_2.7.5-1_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/pgtcl-2.7.5-1p848y9py/pgtcl_2.7.5-1_amd64.buildinfo Get source package info: pgtcl=1:2.7.5-1 Source URL: http://snapshot.notset.fr/mr/package/pgtcl/1:2.7.5-1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11.1 automake=1:1.16.2-4 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.48 bash=5.1~rc3-1 binutils=2.35.1-3 binutils-common=2.35.1-3 binutils-x86-64-linux-gnu=2.35.1-3 bsdextrautils=2.36.1-1 bsdutils=1:2.36.1-1 build-essential=12.8 bzip2=1.0.8-4 coreutils=8.32-4+b1 cpp=4:10.2.0-1 cpp-10=10.2.0-18 dash=0.5.11+git20200708+dd9ef66-2 debconf=1.5.74 debhelper=13.2.1 debianutils=4.11.2 dh-autoreconf=19 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-3 dpkg=1.20.5 dpkg-dev=1.20.5 dwz=0.13-5 file=1:5.39-3 findutils=4.7.0+git20201010-2 g++=4:10.2.0-1 g++-10=10.2.0-18 gcc=4:10.2.0-1 gcc-10=10.2.0-18 gcc-10-base=10.2.0-18 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 grep=3.6-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.59 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-8 libarchive-zip-perl=1.68-1 libasan6=10.2.0-18 libatomic1=10.2.0-18 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3.1 libaudit1=1:2.8.5-3.1 libbinutils=2.35.1-3 libblkid1=2.36.1-1 libbz2-1.0=1.0.8-4 libc-bin=2.31-4 libc-dev-bin=2.31-4 libc6=2.31-4 libc6-dev=2.31-4 libcap-ng0=0.7.9-2.2+b1 libcc1-0=10.2.0-18 libcom-err2=1.45.6-1 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35.1-3 libctf0=2.35.1-3 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.255 libdebhelper-perl=13.2.1 libdpkg-perl=1.20.5 libelf1=0.182-1 libffi7=3.3-5 libfile-stripnondeterminism-perl=1.9.0-1 libgcc-10-dev=10.2.0-18 libgcc-s1=10.2.0-18 libgcrypt20=1.8.7-2 libgdbm-compat4=1.18.1-5.1 libgdbm6=1.18.1-5.1 libglib2.0-0=2.66.3-1 libgmp10=2:6.2.1+dfsg-1 libgnutls30=3.6.15-4 libgomp1=10.2.0-18 libgpg-error0=1.38-2 libgssapi-krb5-2=1.18.3-2 libhogweed6=3.6-2 libicu67=67.1-4 libidn2-0=2.3.0-4 libisl22=0.22.1-1 libitm1=10.2.0-18 libk5crypto3=1.18.3-2 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-2 libkrb5support0=1.18.3-2 libldap-2.4-2=2.4.56+dfsg-1 liblsan0=10.2.0-18 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmount1=2.36.1-1 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libnettle8=3.6-2 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libnss-nis=3.1-4 libnss-nisplus=1.3-4 libp11-kit0=0.23.21-2 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libpcre2-8-0=10.34-7 libpcre3=2:8.39-13 libperl5.32=5.32.0-5 libpipeline1=1.5.3-1 libpq-dev=13.1-1+b1 libpq5=13.1-1+b1 libquadmath0=10.2.0-18 libsasl2-2=2.1.27+dfsg-2 libsasl2-modules-db=2.1.27+dfsg-2 libseccomp2=2.5.0-3 libselinux1=3.1-2+b1 libsigsegv2=2.12-2 libsmartcols1=2.36.1-1 libssl1.1=1.1.1h-1 libstdc++-10-dev=10.2.0-18 libstdc++6=10.2.0-18 libsub-override-perl=0.09-2 libsystemd0=246.6-4 libtasn1-6=4.16.0-2 libtcl8.6=8.6.10+dfsg-1 libtinfo6=6.2+20201114-1 libtirpc-common=1.2.6-3 libtirpc-dev=1.2.6-3 libtirpc3=1.2.6-3 libtool=2.4.6-14 libtsan0=10.2.0-18 libubsan1=10.2.0-18 libuchardet0=0.0.7-1 libudev1=246.6-4 libunistring2=0.9.10-4 libuuid1=2.36.1-1 libxml2=2.9.10+dfsg-6.2 libzstd1=1.4.5+dfsg-4 linux-libc-dev=5.9.9-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 ncurses-base=6.2+20201114-1 ncurses-bin=6.2+20201114-1 patch=2.7.6-6 perl=5.32.0-5 perl-base=5.32.0-5 perl-modules-5.32=5.32.0-5 po-debconf=1.0.21 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-5 tar=1.30+dfsg-7 tcl=8.6.9+1+b1 tcl-dev=8.6.9+1+b1 tcl8.6=8.6.10+dfsg-1 tcl8.6-dev=8.6.10+dfsg-1 tzdata=2020d-1 util-linux=2.36.1-1 xz-utils=5.2.4-1+b1 zlib1g=1:1.2.11.dfsg-2 zlib1g-dev=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20201123T152838Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d pgtcl=1:2.7.5-1 && mkdir -p /build/pgtcl-9x4UQH && dpkg-source --no-check -x /*.dsc /build/pgtcl-9x4UQH/pgtcl-2.7.5 && chown -R builduser:builduser /build/pgtcl-9x4UQH" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/pgtcl-9x4UQH/pgtcl-2.7.5 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1606235569" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/pgtcl-9x4UQH /tmp/pgtcl-2.7.5-1p848y9py bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20201123T152838Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.1wNE_botst as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.1wNE_botst Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-1). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20201123T152838Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20201123T152838Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (666 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4691 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-4) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20201123T152838Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.1wNE_botst Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20201123T152838Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 20s (1119 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.1wNE_botst I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d pgtcl=1:2.7.5-1 && mkdir -p /build/pgtcl-9x4UQH && dpkg-source --no-check -x /*.dsc /build/pgtcl-9x4UQH/pgtcl-2.7.5 && chown -R builduser:builduser /build/pgtcl-9x4UQH"' exec /tmp/mmdebstrap.1wNE_botst Reading package lists... Need to get 648 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main pgtcl 1:2.7.5-1 (dsc) [1799 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main pgtcl 1:2.7.5-1 (tar) [642 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main pgtcl 1:2.7.5-1 (diff) [3936 B] Fetched 648 kB in 1s (1104 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'pgtcl_2.7.5-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting pgtcl in /build/pgtcl-9x4UQH/pgtcl-2.7.5 dpkg-source: info: unpacking pgtcl_2.7.5.orig.tar.gz dpkg-source: info: unpacking pgtcl_2.7.5-1.debian.tar.xz I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/pgtcl-9x4UQH/pgtcl-2.7.5 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1606235569" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.1wNE_botst dpkg-buildpackage: info: source package pgtcl dpkg-buildpackage: info: source version 1:2.7.5-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Mark Hindley dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean dh_clean debian/rules build-arch dh build-arch dh_update_autotools_config -a dh_autoreconf -a dh_auto_configure -a ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking checking for correct TEA configuration... ok (TEA 3.9) configure: configuring pgtcl 2.7.5 checking for Tcl configuration... found /usr/lib/tclConfig.sh checking for 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 existence of /usr/lib/tclConfig.sh... loading checking platform... unix configure: --exec-prefix defaulting to TCL_EXEC_PREFIX /usr checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking how to run the C preprocessor... gcc -E checking whether make sets $(MAKE)... yes checking for ranlib... ranlib checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking if the compiler understands -pipe... yes checking whether byte ordering is bigendian... no checking for sin... no checking for main in -lieee... no checking for main in -linet... no checking net/errno.h usability... no checking net/errno.h presence... no checking for net/errno.h... no checking for connect... yes checking for gethostbyname... yes checking dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for pg_config... /usr/bin/pg_config using pg_config-reported PostgreSQL include dir of... "/usr/include/postgresql" using pg_config-reported PostgreSQL lib dir of... "/usr/lib/x86_64-linux-gnu" checking for PQsetSingleRowMode... yes checking for main in -lsqlite3... no checking for Tcl public headers... /usr/include/tcl8.6 checking for pthread_mutex_init in -lpthread... yes checking for building with threads... yes (default) checking how to build libraries... shared checking for ranlib... (cached) ranlib checking if 64bit support is requested... no checking if 64bit Sparc VIS support is requested... no checking if compiler supports visibility "hidden"... yes checking if rpath support is requested... yes checking system version... Linux-5.10.0-8-amd64 checking for ar... ar checking for cast to union support... yes checking for required early compiler flags... _LARGEFILE64_SOURCE checking for 64-bit integer type... using long checking for build with symbols... no checking for tclsh... /usr/bin/tclsh8.6 configure: creating ./config.status config.status: creating Makefile config.status: creating pkgIndex.tcl dh_auto_build -a make -j4 make[1]: Entering directory '/build/pgtcl-9x4UQH/pgtcl-2.7.5' gcc -DPACKAGE_NAME=\"pgtcl\" -DPACKAGE_TARNAME=\"pgtcl\" -DPACKAGE_VERSION=\"2.7.5\" -DPACKAGE_STRING=\"pgtcl\ 2.7.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_pgtcl=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_PQSETSINGLEROWMODE=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I/usr/include/postgresql -I"/usr/include/tcl8.6" -g -O2 -fdebug-prefix-map=/build/pgtcl-9x4UQH/pgtcl-2.7.5=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c `echo ./generic/pgtcl.c` -o pgtcl.o gcc -DPACKAGE_NAME=\"pgtcl\" -DPACKAGE_TARNAME=\"pgtcl\" -DPACKAGE_VERSION=\"2.7.5\" -DPACKAGE_STRING=\"pgtcl\ 2.7.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_pgtcl=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_PQSETSINGLEROWMODE=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I/usr/include/postgresql -I"/usr/include/tcl8.6" -g -O2 -fdebug-prefix-map=/build/pgtcl-9x4UQH/pgtcl-2.7.5=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c `echo ./generic/pgtclCmds.c` -o pgtclCmds.o gcc -DPACKAGE_NAME=\"pgtcl\" -DPACKAGE_TARNAME=\"pgtcl\" -DPACKAGE_VERSION=\"2.7.5\" -DPACKAGE_STRING=\"pgtcl\ 2.7.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_pgtcl=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_PQSETSINGLEROWMODE=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I/usr/include/postgresql -I"/usr/include/tcl8.6" -g -O2 -fdebug-prefix-map=/build/pgtcl-9x4UQH/pgtcl-2.7.5=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c `echo ./generic/pgtclId.c` -o pgtclId.o gcc -DPACKAGE_NAME=\"pgtcl\" -DPACKAGE_TARNAME=\"pgtcl\" -DPACKAGE_VERSION=\"2.7.5\" -DPACKAGE_STRING=\"pgtcl\ 2.7.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_pgtcl=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_PQSETSINGLEROWMODE=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I/usr/include/postgresql -I"/usr/include/tcl8.6" -g -O2 -fdebug-prefix-map=/build/pgtcl-9x4UQH/pgtcl-2.7.5=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c `echo ./generic/tokenize.c` -o tokenize.o If you really want to rebuild the documentation, do the following: cd doc ; make all rm -f libpgtcl2.7.5.so gcc -shared -g -O2 -fdebug-prefix-map=/build/pgtcl-9x4UQH/pgtcl-2.7.5=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,--export-dynamic -o libpgtcl2.7.5.so pgtcl.o pgtclCmds.o pgtclId.o tokenize.o -L/usr/lib/x86_64-linux-gnu -lpq -L/usr/lib/x86_64-linux-gnu -ltclstub8.6 : libpgtcl2.7.5.so make[1]: Leaving directory '/build/pgtcl-9x4UQH/pgtcl-2.7.5' dh_auto_test -a make -j4 test VERBOSE=1 make[1]: Entering directory '/build/pgtcl-9x4UQH/pgtcl-2.7.5' cd ./tests; LD_LIBRARY_PATH=".:/usr/lib:" PATH=".:/usr/lib:/usr/sbin:/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin:/sbin:/bin" TCLLIBPATH="." TCL_LIBRARY=`echo /usr/include/tcl8.6/tcl-private/library` /usr/bin/tclsh8.6 all.tcl Tests running in interp: /usr/bin/tclsh8.6 Tests located in: /build/pgtcl-9x4UQH/pgtcl-2.7.5/tests Tests running in: /build/pgtcl-9x4UQH/pgtcl-2.7.5/tests Temporary files stored in /build/pgtcl-9x4UQH/pgtcl-2.7.5/tests Test files run in separate interpreters Running tests that match: * Skipping test files that match: l.*.test Only running test files that match: *.test Tests began at Fri Oct 15 08:42:13 UTC 2021 pgtcl.test loading ../libpgtcl2.7.5.so ... sourcing conninfo.tcl ... running tests ... ==== pgtcl-1.1 connect to db using old connection string FAILED ==== Contents of test case: if [info exists ::conninfo(password)] { set conn [pg_connect $::conninfo(dbname) -connhandle pgsql3 -host $::conninfo(host) -port $::conninfo(port) -user $::conninfo(user) -password $::conninfo(password)] } else { set conn [pg_connect $::conninfo(dbname) -connhandle pgsql3 -host $::conninfo(host) -port $::conninfo(port) -user $::conninfo(user)] } pg_disconnect $conn set conn ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg_connect $::conninfo(dbname) -connhandle pgsql3 -host $::conninfo(host) -port $::conninfo(port) -user $::conninfo(user)" invoked from within "if [info exists ::conninfo(password)] { set conn [pg_connect $::conninfo(dbname) -connhandle pgsql3 -host $::conninfo(host) -port $::connin..." ("uplevel" body line 3) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-1.1 FAILED ==== pgtcl-1.2 connect to db using conninfo string FAILED ==== Contents of test case: set l [list dbname=$::conninfo(dbname) host=$::conninfo(host) port=$::conninfo(port) user=$::conninfo(user)] if [info exists ::conninfo(password)] { lappend l password=$::conninfo(password) } set conn [pg_connect -connhandle pgsql3 -conninfo [join $l " "]] pg_disconnect $conn set conn ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg_connect -connhandle pgsql3 -conninfo [join $l " "]" ("uplevel" body line 7) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-1.2 FAILED ==== pgtcl-1.3 connect to db using connlist option FAILED ==== Contents of test case: set conn [pg::connect -connhandle pgsql3 -connlist [array get ::conninfo]] pg_disconnect $conn set conn ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connhandle pgsql3 -connlist [array get ::conninfo]" ("uplevel" body line 3) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-1.3 FAILED ==== pgtcl-1.4 connect to db using -connhandle option FAILED ==== Contents of test case: set conn [pg::connect -connlist [array get ::conninfo] -connhandle myhan] pg_disconnect $conn set conn ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo] -connhandle myhan" ("uplevel" body line 3) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-1.4 FAILED ==== pgtcl-2.1 use connection as command FAILED ==== Contents of test case: set conn [pg::connect -connlist [array get ::conninfo] -connhandle myhan] set res [myhan exec "SELECT * FROM Pg_class LIMIT 5"] pg_result $res -clear pg_disconnect $conn set res ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo] -connhandle myhan" ("uplevel" body line 3) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-2.1 FAILED ==== pgtcl-3.1 test getting connection handles FAILED ==== Contents of test case: set cnt 3 foreach C [list 1 2 3] { set myconn($C) [pg::connect -connlist [array get ::conninfo] -connhandle pgsql$cnt] incr cnt } #set conns [lsort [pg::dbinfo]] set conns [lsort [pg::dbinfo connections]] foreach C [list 1 2 3] { pg::disconnect $myconn($C) } set conns ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo] -connhandle pgsql$cnt" ("foreach" body line 2) invoked from within "foreach C [list 1 2 3] { set myconn($C) [pg::connect -connlist [array get ::conninfo] -connhandle pgsql$cnt] incr cnt }" ("uplevel" body line 4) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-3.1 FAILED ==== pgtcl-3.2 test getting connection handles, after disconnect FAILED ==== Contents of test case: set cnt 3 foreach C [list 1 2 3] { set myconn($C) [pg::connect -connlist [array get ::conninfo] -connhandle pgsql$cnt] incr cnt } foreach C [list 1 2 3] { pg::disconnect $myconn($C) } #pg::conninfo pg::dbinfo connections ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo] -connhandle pgsql$cnt" ("foreach" body line 2) invoked from within "foreach C [list 1 2 3] { set myconn($C) [pg::connect -connlist [array get ::conninfo] -connhandle pgsql$cnt] incr cnt }" ("uplevel" body line 4) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-3.2 FAILED ==== pgtcl-3.3 test renaming of connection handle command FAILED ==== Contents of test case: set conn [pg::connect -connlist [array get ::conninfo] -connhandle pgsql3] rename $conn MYCONN set res [MYCONN exec "SELECT * FROM Pg_class LIMIT 5"] pg_result $res -clear pg_disconnect $conn set res ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo] -connhandle pgsql3" ("uplevel" body line 3) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-3.3 FAILED ==== pgtcl-3.4 test deleting of a command handle FAILED ==== Contents of test case: unset -nocomplain res set conn [pg::connect -connlist [array get ::conninfo]] set res [$conn exec "SELECT * FROM Pg_class WHERE relname='tables'"] pg::result $res -clear rename $conn {} #pg::conninfo pg::dbinfo connections ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 4) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-3.4 FAILED ==== pgtcl-4.1 get result handles FAILED ==== Contents of test case: unset -nocomplain res set conn [pg::connect -connlist [array get ::conninfo] -connhandle pgsql9] foreach R [list 1 2 3 4] { set res($R) [$conn exec "SELECT * FROM Pg_class LIMIT $R"] } #set results [lsort [pg::results $conn]] set results [lsort [pg::dbinfo results $conn]] foreach R [list 1 2 3 4] { pg_result $res($R) -clear } pg_disconnect $conn set results ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo] -connhandle pgsql9" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-4.1 FAILED ==== pgtcl-4.2 test using result handle command FAILED ==== Contents of test case: catch {unset res} set conn [pg::connect -connlist [array get ::conninfo]] set res [$conn exec "SELECT * FROM Pg_class LIMIT 1"] set num [$res -numTuples] $res -clear pg_disconnect $conn set num ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-4.2 FAILED ==== pgtcl-4.3 test deleting of a result handle FAILED ==== Contents of test case: unset -nocomplain res set conn [pg::connect -connlist [array get ::conninfo]] set res [$conn exec "SELECT * FROM Pg_class WHERE relname='tables'"] rename $res {} #pg::result $res -clear pg::dbinfo results $conn ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 4) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-4.3 FAILED ==== pgtcl-4.4 get results as a DICT FAILED ==== Contents of test case: unset -nocomplain res set conn [pg::connect -connlist [array get ::conninfo]] set res [$conn exec "SELECT * FROM Pg_class WHERE relname='pg_tables'"] set results [pg::result $res -dict] pg_result $res -clear pg_disconnect $conn dict get $results 0 relname ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-4.4 FAILED ==== pgtcl-4.5 get results as a list FAILED ==== Contents of test case: unset -nocomplain res set conn [pg::connect -connlist [array get ::conninfo]] set res [$conn exec "SELECT relname FROM Pg_class WHERE relname LIKE 'pg_%' ORDER BY relname LIMIT 5"] set results [pg::result $res -list] pg_result $res -clear pg_disconnect $conn lsort $results ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-4.5 FAILED ==== pgtcl-4.6 get results as a list of lists FAILED ==== Contents of test case: unset -nocomplain res set conn [pg::connect -connlist [array get ::conninfo]] set res [$conn exec "SELECT relname, relkind FROM Pg_class WHERE relname LIKE 'pg_%' ORDER BY relname LIMIT 3"] set results [pg::result $res -llist] pg_result $res -clear pg_disconnect $conn lsort $results ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-4.6 FAILED ==== pgtcl-4.7 get results an array with -assign FAILED ==== Contents of test case: unset -nocomplain res ARR set conn [pg::connect -connlist [array get ::conninfo]] set res [$conn exec "SELECT relname, relkind FROM Pg_class WHERE relname LIKE 'pg_%' ORDER BY relname LIMIT 1"] pg::result $res -assign ARR pg_result $res -clear pg_disconnect $conn lsort [array get ARR] ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-4.7 FAILED ==== pgtcl-4.8 get results an array with -assignbyidx FAILED ==== Contents of test case: unset -nocomplain ARR res set conn [pg::connect -connlist [array get ::conninfo]] set res [$conn exec "SELECT oid, relname, relkind FROM Pg_class WHERE relname LIKE 'pg_%' ORDER BY relname LIMIT 1"] pg::result $res -assignbyidx ARR pg_result $res -clear pg_disconnect $conn lsort [array get ARR] ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-4.8 FAILED ==== pgtcl-4.9 get results an array with -assignbyidx with appendstr FAILED ==== Contents of test case: unset -nocomplain ARR res set conn [pg::connect -connlist [array get ::conninfo]] set res [$conn exec "SELECT '0', relname, relkind FROM Pg_class WHERE relname LIKE 'pg_%' ORDER BY relname LIMIT 1"] pg::result $res -assignbyidx ARR X pg_result $res -clear pg_disconnect $conn lsort [array get ARR] ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-4.9 FAILED ==== pgtcl-4.10 test pg_result -numAttrs FAILED ==== Contents of test case: unset -nocomplain res num set conn [pg::connect -connlist [array get ::conninfo]] set res [$conn exec "SELECT oid, relname, relkind FROM Pg_class WHERE relname LIKE 'pg_%' ORDER BY relname LIMIT 1"] set num [pg::result $res -numAttrs] pg_result $res -clear pg_disconnect $conn set num ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-4.10 FAILED ==== pgtcl-4.11 test pg_result -numTuples FAILED ==== Contents of test case: unset -nocomplain res num set conn [pg::connect -connlist [array get ::conninfo]] set res [$conn exec "SELECT oid, relname, relkind FROM Pg_class WHERE relname LIKE 'pg_%' ORDER BY relname LIMIT 10"] set num [pg::result $res -numTuples] pg_result $res -clear pg_disconnect $conn set num ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-4.11 FAILED ==== pgtcl-4.12 test pg_result -status FAILED ==== Contents of test case: unset -nocomplain res stat set conn [pg::connect -connlist [array get ::conninfo]] set res [$conn exec "SELECT 1 FROM Pg_class WHERE relname LIKE 'pg_%' ORDER BY relname LIMIT 1"] set stat [pg::result $res -status] pg_result $res -clear pg_disconnect $conn set stat ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-4.12 FAILED ==== pgtcl-4.13 test pg_result -error FAILED ==== Contents of test case: unset -nocomplain res stat set conn [pg::connect -connlist [array get ::conninfo]] set res [$conn exec "SELECT 1 FROM Pg_junk"] set stat [string match "*does not exist*" [pg::result $res -error]] pg_result $res -clear pg_disconnect $conn set stat ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-4.13 FAILED ==== pgtcl-4.14 test pg_result -conn FAILED ==== Contents of test case: unset -nocomplain res stat set conn [pg::connect -connlist [array get ::conninfo] -connhandle PGTEST] set res [$conn exec "SELECT 1 FROM Pg_class"] set stat [pg_result $res -conn] pg_result $res -clear pg_disconnect $conn set stat ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo] -connhandle PGTEST" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-4.14 FAILED ==== pgtcl-4.15 test pg_result -getTuple FAILED ==== Contents of test case: unset -nocomplain res stat set conn [pg::connect -connlist [array get ::conninfo]] set res [$conn exec "SELECT 'one', 'two' FROM Pg_class WHERE relname LIKE 'pg_%' ORDER BY relname LIMIT 1"] set stat [pg_result $res -getTuple 0] pg_result $res -clear pg_disconnect $conn set stat ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-4.15 FAILED ==== pgtcl-4.16 test pg_result -typleArray FAILED ==== Contents of test case: unset -nocomplain res ARR set conn [pg::connect -connlist [array get ::conninfo]] set res [$conn exec "SELECT 'one' AS col1, 'two' AS col2 FROM Pg_class WHERE relname LIKE 'pg_%' ORDER BY relname LIMIT 1"] pg_result $res -tupleArray 0 ARR pg_result $res -clear pg_disconnect $conn lsort [array get ARR] ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-4.16 FAILED ==== pgtcl-4.17 test pg_result -attributes FAILED ==== Contents of test case: unset -nocomplain res stat set conn [pg::connect -connlist [array get ::conninfo]] set res [$conn exec "SELECT 'one' AS col1, 'two' AS col2 FROM Pg_class WHERE relname LIKE 'pg_%' ORDER BY relname LIMIT 1"] set stat [pg_result $res -attributes] pg_result $res -clear pg_disconnect $conn lsort $stat ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-4.17 FAILED ==== pgtcl-4.18 test pg_result -lAttributes FAILED ==== Contents of test case: unset -nocomplain res stat set conn [pg::connect -connlist [array get ::conninfo]] set res [$conn exec "SELECT 'one' AS col1, 'two' AS col2 FROM Pg_class WHERE relname LIKE 'pg_%' ORDER BY relname LIMIT 1"] set stat [pg_result $res -lAttributes] pg_result $res -clear pg_disconnect $conn # drop actual type details (oid, size) because they're not stable set names {} foreach tuple $stat { lappend names [lindex $tuple 0] } set names ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-4.18 FAILED ==== pgtcl-5.2 escape a binary string FAILED ==== Contents of test case: set bn [binary format a* \000\\HELLO's] set qstr [pg::escape_bytea $bn] set qstr ---- Result was: \\000\\\\HELLO''s ---- Result should have been (exact matching): \000\\HELLO''s ==== pgtcl-5.2 FAILED ==== pgtcl-6.1 using pg_exec with params FAILED ==== Contents of test case: unset -nocomplain res set conn [pg::connect -connlist [array get ::conninfo]] set res [$conn exec {SELECT relname FROM Pg_class WHERE relname LIKE $1 ORDER BY relname LIMIT $2} "pg_%" 5] set results [pg::result $res -list] pg_result $res -clear pg_disconnect $conn lsort $results ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-6.1 FAILED ==== pgtcl-6.2 using pg_exec_prepared with params FAILED ==== Contents of test case: unset -nocomplain res set conn [pg::connect -connlist [array get ::conninfo]] set res [$conn exec {PREPARE test_prepare (integer) AS SELECT relname FROM Pg_class WHERE relname LIKE 'pg_%' ORDER BY relname LIMIT $1}] set res [pg::exec_prepared $conn test_prepare 5] set results [pg::result $res -list] if {[$res -status] != "PGRES_TUPLES_OK"} { puts "[$res -status] [pg::result $res -error] during select" } pg_result $res -clear pg_disconnect $conn lsort $results ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-6.2 FAILED ==== pgtcl-6.3 using pg_exec with named params FAILED ==== Contents of test case: unset -nocomplain res set conn [pg::connect -connlist [array get ::conninfo]] array set params {pattern "pg_%" limit 5} set res [$conn exec -paramarray params {SELECT relname FROM Pg_class WHERE relname LIKE `pattern` ORDER BY relname LIMIT `limit`}] set results [pg::result $res -list] pg_result $res -clear pg_disconnect $conn lsort $results ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-6.3 FAILED ==== pgtcl-6.4 using pg_exec with embedded variables FAILED ==== Contents of test case: unset -nocomplain res set conn [pg::connect -connlist [array get ::conninfo]] set pattern "pg_%" set limit 5 set res [$conn exec -variables {SELECT relname FROM Pg_class WHERE relname LIKE :pattern ORDER BY relname LIMIT :limit}] set results [pg::result $res -list] pg_result $res -clear pg_disconnect $conn lsort $results ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-6.4 FAILED ==== pgtcl-6.5 pg_select error code FAILED ==== Contents of test case: unset -nocomplain res set conn [pg::connect -connlist [array get ::conninfo]] catch {$conn select "SELECT * FROM UNKNOWN_TABLE_GLARGH;" _ {break}} set res $::errorCode pg_disconnect $conn set res ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 4) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-6.5 FAILED ==== pgtcl-6.6 using pg_exec with statement starting with a comment FAILED ==== Contents of test case: unset -nocomplain res set conn [pg::connect -connlist [array get ::conninfo]] set res [$conn exec {-- something about this statement here SELECT relname FROM Pg_class WHERE relname LIKE 'pg_%' ORDER BY relname LIMIT 5}] set results [pg::result $res -list] pg_result $res -clear pg_disconnect $conn lsort $results ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-6.6 FAILED ==== pgtcl-7.1 using pg_select FAILED ==== Contents of test case: unset -nocomplain res set conn [pg::connect -connlist [array get ::conninfo]] set names {} pg::select $conn "SELECT relname FROM Pg_class LIMIT 5" resultArr { set headers $resultArr(.headers) set numcols $resultArr(.numcols) set tupno $resultArr(.tupno) lappend names $resultArr(relname) } rename $conn {} llength $names ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-7.1 FAILED ==== pgtcl-7.2 using pg_select via handle FAILED ==== Contents of test case: unset -nocomplain res set conn [pg::connect -connlist [array get ::conninfo]] set names {} $conn select "SELECT relname FROM Pg_class LIMIT 5" resultArr { set headers $resultArr(.headers) set numcols $resultArr(.numcols) set tupno $resultArr(.tupno) lappend names $resultArr(relname) } rename $conn {} llength $names ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-7.2 FAILED ==== pgtcl-7.3 using pg_select with parameters FAILED ==== Contents of test case: unset -nocomplain res set conn [pg::connect -connlist [array get ::conninfo]] set names {} $conn select -params {pg_% 5} {SELECT relname FROM Pg_class WHERE relname like $1 LIMIT $2} resultArr { set headers $resultArr(.headers) set numcols $resultArr(.numcols) set tupno $resultArr(.tupno) lappend names $resultArr(relname) } rename $conn {} llength $names ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-7.3 FAILED ==== pgtcl-7.4 using pg_select with named parameters FAILED ==== Contents of test case: unset -nocomplain res set conn [pg::connect -connlist [array get ::conninfo]] set names {} array set params {pattern pg_% limit 5} $conn select -paramarray params "SELECT relname FROM Pg_class WHERE relname like `pattern` LIMIT `limit`" resultArr { set headers $resultArr(.headers) set numcols $resultArr(.numcols) set tupno $resultArr(.tupno) lappend names $resultArr(relname) } rename $conn {} llength $names ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-7.4 FAILED ==== pgtcl-7.5 using pg_select with embedded variables FAILED ==== Contents of test case: unset -nocomplain res set conn [pg::connect -connlist [array get ::conninfo]] set names {} set pattern "pg_%" set limit 5 $conn select -variables "SELECT relname FROM Pg_class WHERE relname like :pattern LIMIT :limit" resultArr { set headers $resultArr(.headers) set numcols $resultArr(.numcols) set tupno $resultArr(.tupno) lappend names $resultArr(relname) } rename $conn {} llength $names ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-7.5 FAILED ==== pgtcl-7.6 pg_select -count FAILED ==== Contents of test case: unset -nocomplain res set conn [pg::connect -connlist [array get ::conninfo]] set names {} pg::select $conn -count ntuples "SELECT relname FROM Pg_class LIMIT 5" resultArr { set headers $resultArr(.headers) set numcols $resultArr(.numcols) set tupno $resultArr(.tupno) lappend names $resultArr(relname) set count $ntuples } rename $conn {} list [llength $names] $count ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-7.6 FAILED ==== pgtcl-8.1 using pg_execute FAILED ==== Contents of test case: unset -nocomplain res names set conn [pg::connect -connlist [array get ::conninfo]] set names [list] pg::execute -array resultArr $conn "SELECT relname FROM Pg_class LIMIT 5" { lappend names $resultArr(relname) } rename $conn {} llength $names ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-8.1 FAILED ==== pgtcl-8.2 using connection command handle for pg_execute, no options FAILED ==== Contents of test case: unset -nocomplain res names set conn [pg::connect -connlist [array get ::conninfo]] $conn execute -array resultArr "SELECT relname FROM Pg_class LIMIT 5" { lappend ::names $resultArr(relname) } rename $conn {} llength $::names ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-8.2 FAILED ==== pgtcl-8.3 using connection command handle for pg_execute, -array option FAILED ==== Contents of test case: unset -nocomplain res names set conn [pg::connect -connlist [array get ::conninfo]] $conn execute -array resultArr -oid OID "SELECT relname FROM Pg_class LIMIT 5" { lappend ::names $resultArr(relname) } rename $conn {} llength $::names ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-8.3 FAILED ==== pgtcl-9.1 dbinfo version FAILED ==== Contents of test case: unset -nocomplain res set conn [pg::connect -connlist [array get ::conninfo]] set val [pg::dbinfo version $conn] set val2 [$conn version] lappend res [string equal $val $val2] ::pg::disconnect $conn lappend res [regexp {(7|8|9|10|11|12)0([0-9])[012]([0-9])} $val] ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 4) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-9.1 FAILED ==== pgtcl-9.2 dbinfo protocol FAILED ==== Contents of test case: unset -nocomplain res set conn [pg::connect -connlist [array get ::conninfo]] set val [pg::dbinfo protocol $conn] set val2 [$conn protocol] lappend res [string equal $val $val2] ::pg::disconnect $conn lappend res [regexp {2|3} $val] ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 4) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-9.2 FAILED ==== pgtcl-9.3 dbinfo param FAILED ==== Contents of test case: unset -nocomplain res set conn [pg::connect -connlist [array get ::conninfo]] set val [pg::dbinfo param $conn server_version] set val2 [$conn param server_version] lappend res [string equal $val $val2] ::pg::disconnect $conn set match [regexp {(7|8|9|10|11|12)\.([0-9])\.([0-9])} $val] if {!$match} { set match [regexp {^(10|11|12)\.[1-9][0-9]* \(.*} $val] } lappend res $match ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 4) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-9.3 FAILED ==== pgtcl-9.4 dbinfo backend pid FAILED ==== Contents of test case: unset -nocomplain res set conn [pg::connect -connlist [array get ::conninfo]] set val [pg::dbinfo backendpid $conn] set val2 [$conn backendpid] lappend res [string equal $val $val2] ::pg::disconnect $conn lappend res [regexp {^[0-9]{2,6}$} $val] ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 4) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-9.4 FAILED ==== pgtcl-9.5 dbinfo socket FAILED ==== Contents of test case: unset -nocomplain res set conn [pg::connect -connlist [array get ::conninfo]] set val [pg::dbinfo socket $conn] set val2 [$conn socket] lappend res [string equal $val $val2] ::pg::disconnect $conn lappend res [regexp {^[0-9]{1,6}$} $val] ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 4) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-9.5 FAILED ==== pgtcl-10.1 copy in FAILED ==== Contents of test case: unset -nocomplain res set conn [pg::connect -connlist [array get ::conninfo]] set r [pg_exec $conn { CREATE TEMPORARY TABLE test1011 ( key text primary key, val text ); }] set ok 1 if {[pg_result $r -status] ne "PGRES_COMMAND_OK"} { set ok 0 set result "ERROR [pg_result $r -status] [pg_result $r -error]" } pg_result $r -clear if {$ok} { set r [pg_exec $conn "COPY test1011 FROM stdin with DELIMITER as '\t';"] if {"[pg_result $r -status]" ne "PGRES_COPY_IN"} { set ok 0 set result "ERROR [pg_result $r -status] [pg_result $r -error]" } else { puts $conn "name batfink" puts $conn "wings steel" puts $conn "type superhero" puts $conn "studio Hal Seeger Studios" puts $conn "\\." } } if {$ok} { set result {} pg_select $conn -nodotfields "select key,val from test1011 ORDER BY key;" row { lappend result [array get row] } } ::pg::disconnect $conn set result ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 4) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-10.1 FAILED ==== pgtcl-10.2 copy in new API FAILED ==== Contents of test case: unset -nocomplain res set conn [pg::connect -connlist [array get ::conninfo]] set r [pg_exec $conn { CREATE TEMPORARY TABLE test1011 ( key text primary key, val text ); }] set ok 1 if {[pg_result $r -status] ne "PGRES_COMMAND_OK"} { set ok 0 set result "ERROR [pg_result $r -status] [pg_result $r -error]" } pg_result $r -clear if {$ok} { set r [pg_exec $conn "COPY test1011 FROM stdin with DELIMITER as '\t';"] if {"[pg_result $r -status]" ne "PGRES_COPY_IN"} { set ok 0 set result "ERROR [pg_result $r -status] [pg_result $r -error]" } else { puts $conn "name batfink" puts $conn "wings steel" puts $conn "type superhero" puts $conn "studio Hal Seeger Studios" $conn copy_complete } } if {$ok} { set result {} pg_select $conn -nodotfields "select key,val from test1011 ORDER BY key;" row { lappend result [array get row] } } ::pg::disconnect $conn set result ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 4) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-10.2 FAILED ==== pgtcl-10.3 copy out FAILED ==== Contents of test case: unset -nocomplain res set conn [pg::connect -connlist [array get ::conninfo]] set r [pg_exec $conn { CREATE TEMPORARY TABLE test1011 ( key text primary key, val text ); INSERT INTO test1011 (key, val) VALUES ('name', 'batfink'); INSERT INTO test1011 (key, val) VALUES ('wings', 'steel'); INSERT INTO test1011 (key, val) VALUES ('type', 'superhero'); INSERT INTO test1011 (key, val) VALUES ('studio', 'Hal Seeger Studios'); }] set ok 1 if {[pg_result $r -status] ne "PGRES_COMMAND_OK"} { set ok 0 set result "ERROR [pg_result $r -status] [pg_result $r -error]" } pg_result $r -clear if {$ok} { set r [pg_exec $conn "COPY test1011 TO stdout with DELIMITER as '\t';"] if {"[pg_result $r -status]" eq "PGRES_COPY_OUT"} { set result {} while {[gets $conn line]>= 0} { lappend result [split $line "\t"] } } else { set result "ERROR [pg_result $r -status] [pg_result $r -error]" } pg_result $r -clear set result [lsort -index 0 $result] } ::pg::disconnect $conn set result ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: Connection to database failed could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Cannot assign requested address Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? while executing "pg::connect -connlist [array get ::conninfo]" ("uplevel" body line 4) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== pgtcl-10.3 FAILED tests complete sqlite3.test Test file error: can't find package sqlite3 while executing "package require sqlite3" (file "/build/pgtcl-9x4UQH/pgtcl-2.7.5/tests/sqlite3.test" line 5) Tests ended at Fri Oct 15 08:42:13 UTC 2021 all.tcl: Total 0 Passed 0 Skipped 0 Failed 0 Sourced 2 Test Files. Test files exiting with errors: sqlite3.test ====== SUCCESS ===== make[1]: Leaving directory '/build/pgtcl-9x4UQH/pgtcl-2.7.5' create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-arch dh binary-arch dh_testroot -a dh_prep -a dh_auto_install -a make -j4 install DESTDIR=/build/pgtcl-9x4UQH/pgtcl-2.7.5/debian/tmp AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/pgtcl-9x4UQH/pgtcl-2.7.5' If you really want to rebuild the documentation, do the following: cd doc ; make all /bin/bash ./tclconfig/install-sh -c libpgtcl2.7.5.so /build/pgtcl-9x4UQH/pgtcl-2.7.5/debian/tmp/usr/lib/x86_64-linux-gnu/pgtcl2.7/libpgtcl2.7.5.so Installing header files in /build/pgtcl-9x4UQH/pgtcl-2.7.5/debian/tmp/usr/include Installing ./generic/pgtclId.h Installing documentation in /build/pgtcl-9x4UQH/pgtcl-2.7.5/debian/tmp/usr/share/man Installing ./doc/man/PgGetConnectionId.n : /build/pgtcl-9x4UQH/pgtcl-2.7.5/debian/tmp/usr/lib/x86_64-linux-gnu/pgtcl2.7/libpgtcl2.7.5.so ln -sf pgtcl2.7/libpgtcl2.7.5.so /build/pgtcl-9x4UQH/pgtcl-2.7.5/debian/tmp/usr/lib/x86_64-linux-gnu/`echo libpgtcl2.7.5.so | sed 's/2.7.5//'` Installing ./doc/man/pg_blocking.n Install postgres-helpers.tcl /build/pgtcl-9x4UQH/pgtcl-2.7.5/debian/tmp/usr/lib/x86_64-linux-gnu/pgtcl2.7/postgres-helpers.tcl Installing ./doc/man/pg_cancelrequest.n Install pkgIndex.tcl /build/pgtcl-9x4UQH/pgtcl-2.7.5/debian/tmp/usr/lib/x86_64-linux-gnu/pgtcl2.7 Installing ./doc/man/pg_conndefaults.n Installing ./doc/man/pg_connect.n Installing ./doc/man/pg_copy_complete.n Installing ./doc/man/pg_dbinfo.n Installing ./doc/man/pg_disconnect.n Installing ./doc/man/pg_escape_bytea.n Installing ./doc/man/pg_escape_string.n Installing ./doc/man/pg_exec.n Installing ./doc/man/pg_exec_prepared.n Installing ./doc/man/pg_execute.n Installing ./doc/man/pg_getresult.n Installing ./doc/man/pg_isbusy.n Installing ./doc/man/pg_listen.n Installing ./doc/man/pg_lo_close.n Installing ./doc/man/pg_lo_creat.n Installing ./doc/man/pg_lo_export.n Installing ./doc/man/pg_lo_import.n Installing ./doc/man/pg_lo_lseek.n Installing ./doc/man/pg_lo_open.n Installing ./doc/man/pg_lo_read.n Installing ./doc/man/pg_lo_tell.n Installing ./doc/man/pg_lo_truncate.n Installing ./doc/man/pg_lo_unlink.n Installing ./doc/man/pg_lo_write.n Installing ./doc/man/pg_null_value_string.n Installing ./doc/man/pg_on_connection_loss.n Installing ./doc/man/pg_quote.n Installing ./doc/man/pg_result.n Installing ./doc/man/pg_select.n Installing ./doc/man/pg_sendquery.n Installing ./doc/man/pg_sendquery_prepared.n Installing ./doc/man/pg_sqlite.n Installing ./doc/man/pg_unescape_bytea.n make[1]: Leaving directory '/build/pgtcl-9x4UQH/pgtcl-2.7.5' dh_install -a dh_installdocs -a dh_installchangelogs -a dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_fixperms -a dh_missing -a dh_dwz -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb -a dh_gencontrol -a dpkg-gencontrol: warning: Depends field of package libpgtcl: substitution variable ${tcl:Depends} used, but is not defined dpkg-gencontrol: warning: Depends field of package libpgtcl: substitution variable ${tcl:Depends} used, but is not defined dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'libpgtcl-dbgsym' in '../libpgtcl-dbgsym_2.7.5-1_amd64.deb'. dpkg-deb: building package 'libpgtcl' in '../libpgtcl_2.7.5-1_amd64.deb'. dpkg-deb: building package 'libpgtcl-dev' in '../libpgtcl-dev_2.7.5-1_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../pgtcl_2.7.5-1_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/pgtcl-9x4UQH /tmp/pgtcl-2.7.5-1p848y9py I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.1wNE_botst... I: success in 499.5999 seconds md5: libpgtcl-dbgsym_2.7.5-1_amd64.deb: OK md5: libpgtcl-dev_2.7.5-1_amd64.deb: OK md5: libpgtcl_2.7.5-1_amd64.deb: OK sha1: libpgtcl-dbgsym_2.7.5-1_amd64.deb: OK sha1: libpgtcl-dev_2.7.5-1_amd64.deb: OK sha1: libpgtcl_2.7.5-1_amd64.deb: OK sha256: libpgtcl-dbgsym_2.7.5-1_amd64.deb: OK sha256: libpgtcl-dev_2.7.5-1_amd64.deb: OK sha256: libpgtcl_2.7.5-1_amd64.deb: OK Checksums: OK