Bug#626054: postgresql-9.0: FTBFS on sparc (testsuite failure)
Package: postgresql-9.0
Version: 9.0.4-1
Severity: serious
See
https://buildd.debian.org/status/fetch.php?pkg=postgresql-9.0&arch=sparc&ver=9.0.4-1%2Bb1&stamp=1304474226
The build of postgresql-8.4 got the exact same error on sparc afaict
(https://buildd.debian.org/postgresql-8.4).
set -e; \
patch --no-backup-if-mismatch -p1 < debian/disable-root-check.patch; \
make -C src/test/regress bigcheck || fail=1; \
patch --no-backup-if-mismatch -Rp1 < debian/disable-root-check.patch; \
if [ -n "$fail" ]; then \
for l in regression.diffs log/initdb.log log/postmaster.log; do \
if [ -e src/test/regress/$l ]; then \
echo "********* $l *******"; \
cat src/test/regress/$l; \
fi; \
done; \
exit 1; \
fi
patching file src/backend/main/main.c
patching file src/bin/initdb/initdb.c
patching file src/bin/pg_ctl/pg_ctl.c
Hunk #1 succeeded at 1767 (offset 17 lines).
make[1]: Entering directory `/build/buildd-postgresql-9.0_9.0.4-1+b1-sparc-NUzSQw/postgresql-9.0-9.0.4/src/test/regress'
make -C ../../../src/port all
make[2]: Entering directory `/build/buildd-postgresql-9.0_9.0.4-1+b1-sparc-NUzSQw/postgresql-9.0-9.0.4/src/port'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/build/buildd-postgresql-9.0_9.0.4-1+b1-sparc-NUzSQw/postgresql-9.0-9.0.4/src/port'
rm -rf ./testtablespace
mkdir ./testtablespace
./pg_regress --inputdir=. --dlpath=. --multibyte=SQL_ASCII --temp-install=./tmp_check --top-builddir=../../.. --schedule=./parallel_schedule numeric_big
============== creating temporary installation ==============
============== initializing database system ==============
pg_regress: initdb failed
Examine /build/buildd-postgresql-9.0_9.0.4-1+b1-sparc-NUzSQw/postgresql-9.0-9.0.4/src/test/regress/log/initdb.log for the reason.
Command was: "/build/buildd-postgresql-9.0_9.0.4-1+b1-sparc-NUzSQw/postgresql-9.0-9.0.4/src/test/regress/./tmp_check/install//usr/lib/postgresql/9.0/bin/initdb" -D "/build/buildd-postgresql-9.0_9.0.4-1+b1-sparc-NUzSQw/postgresql-9.0-9.0.4/src/test/regress/./tmp_check/data" -L "/build/buildd-postgresql-9.0_9.0.4-1+b1-sparc-NUzSQw/postgresql-9.0-9.0.4/src/test/regress/./tmp_check/install//usr/share/postgresql/9.0" --noclean > "/build/buildd-postgresql-9.0_9.0.4-1+b1-sparc-NUzSQw/postgresql-9.0-9.0.4/src/test/regress/log/initdb.log" 2>&1
make[1]: *** [bigcheck] Error 2
make[1]: Leaving directory `/build/buildd-postgresql-9.0_9.0.4-1+b1-sparc-NUzSQw/postgresql-9.0-9.0.4/src/test/regress'
patching file src/backend/main/main.c
patching file src/bin/initdb/initdb.c
patching file src/bin/pg_ctl/pg_ctl.c
Hunk #1 succeeded at 1767 (offset 17 lines).
********* regression.diffs *******
********* log/initdb.log *******
Running in noclean mode. Mistakes will not be cleaned up.
fgets failure: Cannot allocate memory
The program "postgres" is needed by initdb but was not found in the
same directory as "/build/buildd-postgresql-9.0_9.0.4-1+b1-sparc-NUzSQw/postgresql-9.0-9.0.4/src/test/regress/tmp_check/install/usr/lib/postgresql/9.0/bin/initdb".
Check your installation.
make: *** [binary-predeb/postgresql-9.0] Error 1
Cheers,
Julien
Reply to: