[Pkg-postgresql-public] Bug#701339: postgresql-8.4: ftbfs with GCC-4.8

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


Package: src:postgresql-8.4
Version: 8.4.16-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-8.4_8.4.16-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.

[...]
Hunk #1 succeeded at 328 (offset 2 lines).
patching file src/bin/initdb/initdb.c
Hunk #1 succeeded at 652 with fuzz 2 (offset 16 lines).
patching file src/bin/pg_ctl/pg_ctl.c
Hunk #1 succeeded at 1735 (offset 218 lines).
make[1]: Entering directory `/«PKGBUILDDIR»/src/test/regress'
make -C ../../../src/port all
make[2]: Entering directory `/«PKGBUILDDIR»/src/port'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/«PKGBUILDDIR»/src/port'
rm -rf ./testtablespace
mkdir ./testtablespace
./pg_regress --inputdir=. --dlpath=. --multibyte=SQL_ASCII --load-language=plpgsql  --temp-install=./tmp_check --top-builddir=../../.. --schedule=./parallel_schedule  numeric_big
============== creating temporary installation        ==============
============== initializing database system           ==============

pg_regress: initdb failed
Examine /«PKGBUILDDIR»/src/test/regress/log/initdb.log for the reason.
Command was: "/«PKGBUILDDIR»/src/test/regress/./tmp_check/install//usr/lib/postgresql/8.4/bin/initdb" -D "/«PKGBUILDDIR»/src/test/regress/./tmp_check/data" -L "/«PKGBUILDDIR»/src/test/regress/./tmp_check/install//usr/share/postgresql/8.4" --noclean > "/«PKGBUILDDIR»/src/test/regress/log/initdb.log" 2>&1
make[1]: *** [bigcheck] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»/src/test/regress'
patching file src/backend/main/main.c
Hunk #1 succeeded at 328 (offset 2 lines).
patching file src/bin/initdb/initdb.c
Hunk #1 succeeded at 652 with fuzz 2 (offset 16 lines).
patching file src/bin/pg_ctl/pg_ctl.c
Hunk #1 succeeded at 1735 (offset 218 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 "root".
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»/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»/src/test/regress/./tmp_check/data/base/1 ... ok
initializing pg_authid ... FATAL:  wrong number of index expressions
STATEMENT:  CREATE TRIGGER pg_sync_pg_database   AFTER INSERT OR UPDATE OR DELETE ON pg_database   FOR EACH STATEMENT EXECUTE PROCEDURE flatfile_update_trigger();
	
child process exited with exit code 1
initdb: data directory "/«PKGBUILDDIR»/src/test/regress/./tmp_check/data" not removed at user's request
make: *** [binary-predeb/postgresql-plperl-8.4] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary-arch gave error exit status 2



More information about the Pkg-postgresql-public mailing list