--- Begin Message ---
Package: src:psqlodbc
Version: 1:12.01.0000-1
Severity: normal
Tags: sid bullseye
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-10
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/psqlodbc_12.01.0000-1_unstable_gcc10.log
The last lines of the build log are at the end of this report.
To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html
[...]
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/arraybinding-test.c exe/common.o -o
exe/arraybinding-test -lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/insertreturning-test.c exe/common.o -o
exe/insertreturning-test -lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/dataatexecution-test.c exe/common.o -o
exe/dataatexecution-test -lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/boolsaschar-test.c exe/common.o -o
exe/boolsaschar-test -lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/cvtnulldate-test.c exe/common.o -o
exe/cvtnulldate-test -lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/alter-test.c exe/common.o -o exe/alter-test
-lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/quotes-test.c exe/common.o -o exe/quotes-test
-lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/cursors-test.c exe/common.o -o exe/cursors-test
-lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/cursor-movement-test.c exe/common.o -o
exe/cursor-movement-test -lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/cursor-commit-test.c exe/common.o -o
exe/cursor-commit-test -lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/cursor-name-test.c exe/common.o -o
exe/cursor-name-test -lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/cursor-block-delete-test.c exe/common.o -o
exe/cursor-block-delete-test -lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/bookmark-test.c exe/common.o -o
exe/bookmark-test -lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/declare-fetch-commit-test.c exe/common.o -o
exe/declare-fetch-commit-test -lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/declare-fetch-block-test.c exe/common.o -o
exe/declare-fetch-block-test -lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/positioned-update-test.c exe/common.o -o
exe/positioned-update-test -lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/bulkoperations-test.c exe/common.o -o
exe/bulkoperations-test -lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/catalogfunctions-test.c exe/common.o -o
exe/catalogfunctions-test -lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/bindcol-test.c exe/common.o -o exe/bindcol-test
-lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/lfconversion-test.c exe/common.o -o
exe/lfconversion-test -lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/cte-test.c exe/common.o -o exe/cte-test -lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/deprecated-test.c exe/common.o -o
exe/deprecated-test -lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/errors-test.c exe/common.o -o exe/errors-test
-lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/error-rollback-test.c exe/common.o -o
exe/error-rollback-test -lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/diagnostic-test.c exe/common.o -o
exe/diagnostic-test -lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/numeric-test.c exe/common.o -o exe/numeric-test
-lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/large-object-test.c exe/common.o -o
exe/large-object-test -lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/large-object-data-at-exec-test.c exe/common.o
-o exe/large-object-data-at-exec-test -lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/odbc-escapes-test.c exe/common.o -o
exe/odbc-escapes-test -lodbc
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu src/wchar-char-test.c exe/common.o -o
exe/wchar-char-test -lodbc
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -Wno-pointer-sign -Wdate-time
-D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu runsuite.c -o runsuite
runsuite.c: In function 'main':
runsuite.c:163:5: warning: '%s' directive output may be truncated writing up to
999 bytes into a region of size 965 [-Wformat-truncation=]
135 | if (runtest(binname, testname, i, inputdir) != 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
......
163 | "ODBCSYSINI=. ODBCINSTINI=./odbcinst.ini ODBCINI=./odbc.ini "
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
runsuite.c:164:6: note: format string is defined here
164 | "%s > results/%s.out",
| ^~
In file included from /usr/include/stdio.h:867,
from runsuite.c:8:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note:
'__builtin___snprintf_chk' output between 75 and 1173 bytes into a destination
of size 1024
67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/postgresql
-I/usr/include/postgresql/internal -I.. -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-pointer-sign -Wl,-z,relro -L/usr/lib
-L/usr/lib/x86_64-linux-gnu reset-db.c exe/common.o -o reset-db -lodbc
/usr/bin/ld: exe/common.o:(.bss+0x8): multiple definition of `env';
/tmp/ccqfSqFX.o:(.bss+0x8): first defined here
/usr/bin/ld: exe/common.o:(.bss+0x0): multiple definition of `conn';
/tmp/ccqfSqFX.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:46: reset-db] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/test'
*** /tmp/pg_virtualenv.rBMij3/log/postgresql-12-regress.log (last 100 lines) ***
2020-02-26 12:27:18.384 UTC [5448] LOG: starting PostgreSQL 12.2 (Debian
12.2-1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 9.2.1-28) 9.2.1
20200203, 64-bit
2020-02-26 12:27:18.384 UTC [5448] LOG: listening on IPv6 address "::1", port
5432
2020-02-26 12:27:18.384 UTC [5448] LOG: listening on IPv4 address "127.0.0.1",
port 5432
2020-02-26 12:27:18.384 UTC [5448] LOG: listening on Unix socket
"/tmp/.s.PGSQL.5432"
2020-02-26 12:27:18.393 UTC [5449] LOG: database system was shut down at
2020-02-26 12:27:18 UTC
2020-02-26 12:27:18.396 UTC [5448] LOG: database system is ready to accept
connections
Dropping cluster 12/regress ...
Can't exec "/bin/ps": No such file or directory at /usr/share/perl5/PgCommon.pm
line 613.
Error: Could not exec /bin/ps
Error: This cluster is still running. Stop it or supply the --stop option
cat: test/regression.diffs: No such file or directory
make[1]: *** [debian/rules:18: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--- End Message ---