[Pkg-postgresql-public] Bug#701340: postgresql-9.1: ftbfs with GCC-4.8

Matthias Klose doko at debian.org
Sat Feb 23 11:21:44 UTC 2013


Package: src:postgresql-9.1
Version: 9.1.8-1
Severity: important
Tags: sid jessie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.8

The package fails to build in a test rebuild on at least amd64 with
gcc-4.8/g++-4.8, but succeeds to build with gcc-4.7/g++-4.7. The
severity of this report may be raised before the jessie release.

  XXX

The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/postgresql-9.1_9.1.8-1_unstable_gcc48.log
The last lines of the build log are at the end of this report.

To build with GCC 4.8, either set CC=gcc-4.8 CXX=g++-4.8 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ g++-4.7 g++-4.8 libc6-dev

The test rebuild was done with eglibc-2.17 and GCC-4.8, so some issues
might be caused by the updated glibc.

[...]
make[4]: Leaving directory `/«PKGBUILDDIR»/build/src/backend'
make[3]: Leaving directory `/«PKGBUILDDIR»/build/src/port'
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -pie -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -fpic pg_regress.o pg_regress_main.o -L../../../src/port -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -L/usr/lib  -Wl,--as-needed  -lpgport -lxslt -lxml2 -lpam -lssl -lcrypto -lkrb5 -lcom_err -lgssapi_krb5 -lz -ledit -lcrypt -ldl -lm  -o pg_regress
rm -rf ./testtablespace
mkdir ./testtablespace
../../../src/test/regress/pg_regress --inputdir=/«PKGBUILDDIR»/build/../src/test/regress --temp-install=./tmp_check --top-builddir=../../..   --dlpath=. --schedule=/«PKGBUILDDIR»/build/../src/test/regress/parallel_schedule  numeric_big
============== creating temporary installation        ==============
============== initializing database system           ==============

pg_regress: initdb failed
Examine /«PKGBUILDDIR»/build/src/test/regress/log/initdb.log for the reason.
Command was: "/«PKGBUILDDIR»/build/src/test/regress/./tmp_check/install//usr/lib/postgresql/9.1/bin/initdb" -D "/«PKGBUILDDIR»/build/src/test/regress/./tmp_check/data" -L "/«PKGBUILDDIR»/build/src/test/regress/./tmp_check/install//usr/share/postgresql/9.1" --noclean > "/«PKGBUILDDIR»/build/src/test/regress/log/initdb.log" 2>&1
make[2]: *** [bigcheck] Error 2
make[2]: Leaving directory `/«PKGBUILDDIR»/build/src/test/regress'
patching file src/test/regress/pg_regress.c
Hunk #1 succeeded at 920 (offset 14 lines).
Hunk #2 succeeded at 2221 (offset 14 lines).
Hunk #3 succeeded at 2253 (offset 14 lines).
patching file src/test/regress/pg_regress_main.c
patching file src/backend/main/main.c
Hunk #1 succeeded at 338 (offset 10 lines).
patching file src/bin/initdb/initdb.c
Hunk #1 succeeded at 550 (offset -98 lines).
patching file src/bin/pg_ctl/pg_ctl.c
Hunk #1 succeeded at 1977 (offset 227 lines).
********* regression.diffs *******
********* log/initdb.log *******
Running in noclean mode.  Mistakes will not be cleaned up.
The files belonging to this database system will be owned by user "user".
This user must also own the server process.

The database cluster will be initialized with locale C.
The default database encoding has accordingly been set to SQL_ASCII.
The default text search configuration will be set to "english".

creating directory /«PKGBUILDDIR»/build/src/test/regress/./tmp_check/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 24MB
creating configuration files ... ok
creating template1 database in /«PKGBUILDDIR»/build/src/test/regress/./tmp_check/data/base/1 ... ok
initializing pg_authid ... FATAL:  wrong number of index expressions
STATEMENT:  REVOKE ALL on pg_authid FROM public;
	
child process exited with exit code 1
initdb: data directory "/«PKGBUILDDIR»/build/src/test/regress/./tmp_check/data" not removed at user's request
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Pkg-postgresql-public mailing list