pgsql: Upgrade to Autoconf 2.69
pgsql: Upgrade to Autoconf 2.69
От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
Upgrade to Autoconf 2.69 Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/94b899b829657332bda856ac3f06153d09077bd1 Modified Files -------------- configure |35943 +++++++++++++------------------------------- configure.in | 2 +- src/include/pg_config.h.in | 31 +- 3 files changed, 10253 insertions(+), 25723 deletions(-)
Re: pgsql: Upgrade to Autoconf 2.69
От:
Alvaro Herrera <alvherre@2ndquadrant.com>
Дата:
Peter Eisentraut wrote: > Upgrade to Autoconf 2.69 > Shortly after this patch was committed, buildfarm member locust (running Mac OS X 10.5 apparently) started failing the pg_upgrade check: command: "/Users/pgbuildfarm/Documents/workdir/HEAD/pgsql.82393/contrib/pg_upgrade/tmp_check/install//Users/pgbuildfarm/Documents/workdir//HEAD/inst/bin/pg_ctl" -w -l "pg_upgrade_server.log" -D "/Users/pgbuildfarm/Documents/workdir/HEAD/pgsql.82393/contrib/pg_upgrade/tmp_check/data" -o "-p 57632 -b -c synchronous_commit=off -c fsync=off -c full_page_writes=off -c listen_addresses='' -c unix_socket_permissions=0700 -c unix_socket_directories='/Users/pgbuildfarm/Documents/workdir/HEAD/pgsql.82393/contrib/pg_upgrade'" start >> "pg_upgrade_server.log" 2>&1 waiting for server to start....LOG: database system was shut down at 2013-12-19 12:51:16 CET LOG: invalid primary checkpoint record LOG: invalid secondary checkpoint link in control file PANIC: could not locate a valid checkpoint record ... command: "/Users/pgbuildfarm/Documents/workdir/HEAD/pgsql.82393/contrib/pg_upgrade/tmp_check/install//Users/pgbuildfarm/Documents/workdir//HEAD/inst/bin/pg_resetxlog" -l 000000010000000000000009 "/Users/pgbuildfarm/Documents/workdir/HEAD/pgsql.82393/contrib/pg_upgrade/tmp_check/data" >> "pg_upgrade_utility.log" 2>&1 pg_resetxlog: could not read from directory "pg_xlog": Invalid argument I don't see how can the pg_upgrade check fail in this way but not the regular regression test. This patch includes the following hunk to pg_config.h.in: +/* Enable large inode numbers on Mac OS X 10.5. */ +#ifndef _DARWIN_USE_64_BIT_INODE +# define _DARWIN_USE_64_BIT_INODE 1 +#endif Evidently something is not going well in ReadRecord. It should have reported the read failure, but didn't. That seems a separate bug that needs fixed. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
Re: pgsql: Upgrade to Autoconf 2.69
От:
Alvaro Herrera <alvherre@2ndquadrant.com>
Дата:
Alvaro Herrera wrote: > Peter Eisentraut wrote: > > Upgrade to Autoconf 2.69 > +/* Enable large inode numbers on Mac OS X 10.5. */ > +#ifndef _DARWIN_USE_64_BIT_INODE > +# define _DARWIN_USE_64_BIT_INODE 1 > +#endif FWIW http://gnu-autoconf.7623.n7.nabble.com/AC-SYS-LARGEFILE-and-old-OSX-framework-td19154.html -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services