![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| ||||
| ||||
|
|
Wed Mar 15 13:14:02 2000 PST | @ 34 years | Tue= Mar 15 13:14:02 1966 PST Sun Dec 31 17:32:01 2000 PST | @ 34 years | Sat= Dec 31 17:32:01 1966 PST Mon Jan 01 17:32:01 2001 PST | @ 34 years | Sun= Jan 01 17:32:01 1967 PST |
|
Thu Jan 01 00:00:00 1970 PST | @ 10 days | Mon= Dec 22 00:00:00 1969 PST Thu Jan 01 00:00:00 1970 PST | @ 1 day 2 hours 3 mins 4 secs | Tue= Dec 30 21:56:56 1969 PST Thu Jan 01 00:00:00 1970 PST | @ 5 hours | Wed= Dec 31 19:00:00 1969 PST |
|
Wed Mar 15 13:14:02 2000 PST | @ 34 years | Tue= Mar 15 13:14:02 1966 PST Sun Dec 31 17:32:01 2000 PST | @ 34 years | Sat= Dec 31 17:32:01 1966 PST Mon Jan 01 17:32:01 2001 PST | @ 34 years | Sun= Jan 01 17:32:01 1967 PST |
|
Thu Jan 01 00:00:00 1970 PST | @ 10 days | Mon= Dec 22 00:00:00 1969 PST Thu Jan 01 00:00:00 1970 PST | @ 1 day 2 hours 3 mins 4 secs | Tue= Dec 30 21:56:56 1969 PST Thu Jan 01 00:00:00 1970 PST | @ 5 hours | Wed= Dec 31 19:00:00 1969 PST |
#2
| |||
| |||
|
|
On almost all Debian platforms the horology test for 8.0.3 fails. Sometimes it works on a platform, sometimes not, I did not yet find a pattern, but most often it fails with something like |
|
*** ./expected/horology.out Sun Jul 11 04:57:20 2004 --- ./results/horology.out Thu Sep 29 20:48:57 2005 *************** *** 1775,1784 **** | Wed Mar 15 13:14:02 2000 PST | @ 34 years | Tue Mar 15 13:14:02 1966 PST | Sun Dec 31 17:32:01 2000 PST | @ 34 years | Sat Dec 31 17:32:01 1966 PST | Mon Jan 01 17:32:01 2001 PST | @ 34 years | Sun Jan 01 17:32:01 1967 PST ! | Sat Sep 22 18:19:20 2001 PDT | @ 34 years | Fri Sep 22 18:19:20 1967 PDT ! | Thu Jan 01 00:00:00 1970 PST | @ 5 mons 12 hours | Thu Jul 31 12:00:00 1969 PDT ! | Thu Jan 01 00:00:00 1970 PST | @ 5 mons | Fri Aug 01 00:00:00 1969 PDT ! | Thu Jan 01 00:00:00 1970 PST | @ 3 mons | Wed Oct 01 00:00:00 1969 PDT | Thu Jan 01 00:00:00 1970 PST | @ 10 days | Mon Dec 22 00:00:00 1969 PST | Thu Jan 01 00:00:00 1970 PST | @ 1 day 2 hours 3 mins 4 secs | Tue Dec 30 21:56:56 1969 PST | Thu Jan 01 00:00:00 1970 PST | @ 5 hours | Wed Dec 31 19:00:00 1969 PST --- 1775,1784 ---- | Wed Mar 15 13:14:02 2000 PST | @ 34 years | Tue Mar 15 13:14:02 1966 PST | Sun Dec 31 17:32:01 2000 PST | @ 34 years | Sat Dec 31 17:32:01 1966 PST | Mon Jan 01 17:32:01 2001 PST | @ 34 years | Sun Jan 01 17:32:01 1967 PST ! | Sat Sep 22 18:19:20 2001 PDT | @ 34 years | Fri Sep 22 18:19:20 1967 PST ! | Thu Jan 01 00:00:00 1970 PST | @ 5 mons 12 hours | Thu Jul 31 12:00:00 1969 PST ! | Thu Jan 01 00:00:00 1970 PST | @ 5 mons | Fri Aug 01 00:00:00 1969 PST ! | Thu Jan 01 00:00:00 1970 PST | @ 3 mons | Wed Oct 01 00:00:00 1969 PST | Thu Jan 01 00:00:00 1970 PST | @ 10 days | Mon Dec 22 00:00:00 1969 PST | Thu Jan 01 00:00:00 1970 PST | @ 1 day 2 hours 3 mins 4 secs | Tue Dec 30 21:56:56 1969 PST | Thu Jan 01 00:00:00 1970 PST | @ 5 hours | Wed Dec 31 19:00:00 1969 PST |
#3
| |||
| |||
|
|
On almost all Debian platforms the horology test for 8.0.3 fails. |
#4
| |||
| |||
|
|
Martin Pitt <martin (AT) piware (DOT) de> writes: On almost all Debian platforms the horology test for 8.0.3 fails. Before PG 8.0, I'd have said you were running with a timezone library that didn't understand about DST before 1970. It shouldn't be happening in 8.0 though. |
#5
| |||
| |||
|
|
Hi! =20 On almost all Debian platforms the horology test for 8.0.3 fails. Sometimes it works on a platform, sometimes not, I did not yet find a pattern, but most often it fails with something like [...] |
#6
| |||
| |||
|
|
So it seems that the test suite uses the timezone files from the installed system instead of the files in the temporary installation in the regression test directory. |
#7
| |||
| |||
|
|
Martin Pitt <martin (AT) piware (DOT) de> writes: So it seems that the test suite uses the timezone files from the installed system instead of the files in the temporary installation in the regression test directory. =20 It's not supposed to, and AFAICT it works fine for me (not only on my personal machines, but also on Red Hat's build machines). Perhaps you've done something to break the package-relocation logic? All those files should be sought via paths relative to the postmaster executable. |
#8
| |||
| |||
|
|
Maybe I did something wrong with the configure options. That bug is reproducible with the pristine upstream 8.1.1 tarball and doing: =20 ./configure --prefix=3D/usr --mandir=3D"\${prefix}/share/man" \ --sysconfdir=3D/etc --libdir=3D"\${prefix}/lib/postgresql/8.1/lib" \ --libexecdir=3D"\${prefix}/lib/postgresql-8.1/lib" \ --mandir=3D\${prefix}/share/postgresql/8.1/man \ --with-docdir=3D\${prefix}/share/doc/postgresql-doc-8.1 \ --datadir=3D\${prefix}/share/postgresql/8.1 \ --bindir=3D\${prefix}/lib/postgresql/8.1/bin \ --includedir=3D\${prefix}/include/postgresql/8.1 |
#9
| |||
| |||
|
|
Maybe I did something wrong with the configure options. That bug is reproducible with the pristine upstream 8.1.1 tarball and doing: =2E/configure --prefix=/usr --mandir="\${prefix}/share/man" \ --sysconfdir=/etc --libdir="\${prefix}/lib/postgresql/8.1/lib" \ --libexecdir="\${prefix}/lib/postgresql-8.1/lib" \ --mandir=\${prefix}/share/postgresql/8.1/man \ --with-docdir=\${prefix}/share/doc/postgresql-doc-8.1 \ --datadir=\${prefix}/share/postgresql/8.1 \ --bindir=\${prefix}/lib/postgresql/8.1/bin \ --includedir=\${prefix}/include/postgresql/8.1 However, it does *not* happen when I do not specify any configure options at all. I'll try to narrow down the problematic change further, but can you already see what the problem is here? |
#10
| |||
| |||
|
|
./configure --libdir=3D/usr/lib/postgresql/8.1/lib --bindir=3D/usr/lib/pos= tgresql/8.1/bin is enough to reproduce the problem. With only --libdir, it works, and with only --bindir the test suite does not run at all because the postmaster cannot find $libdir (but that is still justifiable). |
![]() |
| Thread Tools | |
| Display Modes | |
| |