View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000143 | Pgpool-II | Bug | public | 2015-08-13 22:35 | 2015-08-20 10:31 |
| Reporter | robe | Assigned To | nagata | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Summary | 0000143: pgpool2 3.3.7 test/timestamp fails to compile | ||||
| Description | renner@off-master-01-ber ~/tmp/pgpool-II-3.3.7/test/timestamp $ make make -C ../../parser make[1]: Entering directory `/home/renner/tmp/pgpool-II-3.3.7/parser' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/renner/tmp/pgpool-II-3.3.7/parser' make -C ../.. strlcpy.o make[1]: Entering directory `/home/renner/tmp/pgpool-II-3.3.7' make[1]: Leaving directory `/home/renner/tmp/pgpool-II-3.3.7' make -C ../.. pool_timestamp.o make[1]: Entering directory `/home/renner/tmp/pgpool-II-3.3.7' make[1]: Leaving directory `/home/renner/tmp/pgpool-II-3.3.7' cc -Wall -O0 -g -I../.. -I/usr/include/postgresql -c -o main.o main.c cc main.o ../../strlcpy.o ../../pool_timestamp.o ../../parser/libsql-parser.a -o timestamp-test ../../pool_timestamp.o: In function `relcache_lookup': /home/renner/tmp/pgpool-II-3.3.7/pool_timestamp.c:162: undefined reference to `pool_has_to_regclass' collect2: error: ld returned 1 exit status make: *** [timestamp-test] Error 1 renner@off-master-01-ber ~/tmp/pgpool-II-3.3.7/test/timestamp $ | ||||
| Tags | No tags attached. | ||||
|
|
Thanks for your reporting. We haven't maintain test/timestamp for a long time. The compilation error is resolved by defining pool_has_to_regclass() function, which was added as last year. However, I get segfault when running this. I'll try to fix this and incorporate this into the regression test suites. |
|
|
Thanks, I figured as much. I stumbled over this while trying to package pgpool2-3.3.7 with the existian debian rules file which calls the tests during build. They should either work or be removed altogether, broken tests help no one ;) |
|
|
Fixed. Patch attached. This is already committed. http://git.postgresql.org/gitweb/?p=pgpool2.git;a=commitdiff;h=a038baee30523bf807f32635696c571ecfca7f55#patch1 |
|
|
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2015-08-13 22:35 | robe | New Issue | |
| 2015-08-14 13:40 | nagata | Assigned To | => nagata |
| 2015-08-14 13:40 | nagata | Status | new => assigned |
| 2015-08-14 15:00 | nagata | Note Added: 0000550 | |
| 2015-08-14 18:33 | robe | Note Added: 0000551 | |
| 2015-08-20 10:30 | nagata | Note Added: 0000556 | |
| 2015-08-20 10:30 | nagata | File Added: test_timestamp.patch | |
| 2015-08-20 10:31 | nagata | Status | assigned => resolved |
| 2015-08-20 10:31 | nagata | Resolution | open => fixed |