Обсуждение: make check-world failing for me
Hi,
I'm using the latest version of Linux Mint Debian Edition, having recently upgraded from an older version, and now I can't get make check-world to finish successfully.
The initial theory was that the version of Bison I'm using (3.0.2) is to blame, but I've also tested it against 3.0.1, 2.7.1 and 2.3, but I get the same problem:
cd . && TESTDIR='/home/thom/Development/postgresql/src/test/modules/commit_ts' PATH="/home/thom/Development/postgresql/tmp_install/home/thom/Development/psql/bin:$PATH" LD_LIBRARY_PATH="/home/thom/Development/postgresql/tmp_install/home/thom/Development/psql/lib" PGPORT='65432' PG_REGRESS='/home/thom/Development/postgresql/src/test/modules/commit_ts/../../../../src/test/regress/pg_regress' prove -I ../../../../src/test/perl/ -I . --verbose t/*.pl
t/001_base.pl .......
1..2
syntax error at /home/thom/Development/postgresql/src/test/modules/commit_ts/../../../../src/test/perl/PostgresNode.pm line 437, near ")
print"
Compilation failed in require at t/001_base.pl line 8.
BEGIN failed--compilation aborted at t/001_base.pl line 8.
# Looks like your test exited with 255 before it could output anything.
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/2 subtests
t/002_standby.pl ....
1..4
syntax error at /home/thom/Development/postgresql/src/test/modules/commit_ts/../../../../src/test/perl/PostgresNode.pm line 437, near ")
print"
Compilation failed in require at t/002_standby.pl line 8.
BEGIN failed--compilation aborted at t/002_standby.pl line 8.
# Looks like your test exited with 255 before it could output anything.
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 4/4 subtests
t/003_standby_2.pl ..
1..4
syntax error at /home/thom/Development/postgresql/src/test/modules/commit_ts/../../../../src/test/perl/PostgresNode.pm line 437, near ")
print"
Compilation failed in require at t/003_standby_2.pl line 8.
BEGIN failed--compilation aborted at t/003_standby_2.pl line 8.
# Looks like your test exited with 255 before it could output anything.
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 4/4 subtests
Test Summary Report
-------------------
t/001_base.pl (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 2 tests but ran 0.
t/002_standby.pl (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 4 tests but ran 0.
t/003_standby_2.pl (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 4 tests but ran 0.
Files=3, Tests=0, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.20 cusr 0.01 csys = 0.24 CPU)
Result: FAIL
Makefile:20: recipe for target 'prove-check' failed
make[3]: *** [prove-check] Error 1
make[3]: Leaving directory '/home/thom/Development/postgresql/src/test/modules/commit_ts'
Makefile:22: recipe for target 'check-commit_ts-recurse' failed
make[2]: *** [check-commit_ts-recurse] Error 2
make[2]: Leaving directory '/home/thom/Development/postgresql/src/test/modules'
Makefile:28: recipe for target 'check-modules-recurse' failed
make[1]: *** [check-modules-recurse] Error 2
make[1]: Leaving directory '/home/thom/Development/postgresql/src/test'
GNUmakefile:69: recipe for target 'check-world-src/test-recurse' failed
make: *** [check-world-src/test-recurse] Error 2
I've attached the config log for reference.I'm using the latest version of Linux Mint Debian Edition, having recently upgraded from an older version, and now I can't get make check-world to finish successfully.
The initial theory was that the version of Bison I'm using (3.0.2) is to blame, but I've also tested it against 3.0.1, 2.7.1 and 2.3, but I get the same problem:
cd . && TESTDIR='/home/thom/Development/postgresql/src/test/modules/commit_ts' PATH="/home/thom/Development/postgresql/tmp_install/home/thom/Development/psql/bin:$PATH" LD_LIBRARY_PATH="/home/thom/Development/postgresql/tmp_install/home/thom/Development/psql/lib" PGPORT='65432' PG_REGRESS='/home/thom/Development/postgresql/src/test/modules/commit_ts/../../../../src/test/regress/pg_regress' prove -I ../../../../src/test/perl/ -I . --verbose t/*.pl
t/001_base.pl .......
1..2
syntax error at /home/thom/Development/postgresql/src/test/modules/commit_ts/../../../../src/test/perl/PostgresNode.pm line 437, near ")
print"
Compilation failed in require at t/001_base.pl line 8.
BEGIN failed--compilation aborted at t/001_base.pl line 8.
# Looks like your test exited with 255 before it could output anything.
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/2 subtests
t/002_standby.pl ....
1..4
syntax error at /home/thom/Development/postgresql/src/test/modules/commit_ts/../../../../src/test/perl/PostgresNode.pm line 437, near ")
print"
Compilation failed in require at t/002_standby.pl line 8.
BEGIN failed--compilation aborted at t/002_standby.pl line 8.
# Looks like your test exited with 255 before it could output anything.
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 4/4 subtests
t/003_standby_2.pl ..
1..4
syntax error at /home/thom/Development/postgresql/src/test/modules/commit_ts/../../../../src/test/perl/PostgresNode.pm line 437, near ")
print"
Compilation failed in require at t/003_standby_2.pl line 8.
BEGIN failed--compilation aborted at t/003_standby_2.pl line 8.
# Looks like your test exited with 255 before it could output anything.
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 4/4 subtests
Test Summary Report
-------------------
t/001_base.pl (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 2 tests but ran 0.
t/002_standby.pl (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 4 tests but ran 0.
t/003_standby_2.pl (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 4 tests but ran 0.
Files=3, Tests=0, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.20 cusr 0.01 csys = 0.24 CPU)
Result: FAIL
Makefile:20: recipe for target 'prove-check' failed
make[3]: *** [prove-check] Error 1
make[3]: Leaving directory '/home/thom/Development/postgresql/src/test/modules/commit_ts'
Makefile:22: recipe for target 'check-commit_ts-recurse' failed
make[2]: *** [check-commit_ts-recurse] Error 2
make[2]: Leaving directory '/home/thom/Development/postgresql/src/test/modules'
Makefile:28: recipe for target 'check-modules-recurse' failed
make[1]: *** [check-modules-recurse] Error 2
make[1]: Leaving directory '/home/thom/Development/postgresql/src/test'
GNUmakefile:69: recipe for target 'check-world-src/test-recurse' failed
make: *** [check-world-src/test-recurse] Error 2
Anyone know (or can speculate) why this isn't building for me?
Thanks
Thom
Вложения
Thom Brown <thom@linux.com> writes: > I'm using the latest version of Linux Mint Debian Edition, having recently > upgraded from an older version, and now I can't get make check-world to > finish successfully. > The initial theory was that the version of Bison I'm using (3.0.2) is to > blame, but I've also tested it against 3.0.1, 2.7.1 and 2.3, but I get the > same problem: Don't see how it would be Bison's fault. What this looks like to me is that you've got a corrupted copy of src/test/perl/PostgresNode.pm, because this: > syntax error at > /home/thom/Development/postgresql/src/test/modules/commit_ts/../../../../src/test/perl/PostgresNode.pm > line 437, near ") > print" doesn't seem to have anything to do with what's actually at line 437 in that file (at least not in current HEAD). I don't see any close matches elsewhere in that file, either. regards, tom lane
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 22 October 2016 at 01:52, Tom Lane <span dir="ltr"><<ahref="mailto:tgl@sss.pgh.pa.us" target="_blank">tgl@sss.pgh.pa.us</a>></span> wrote:<br /><blockquoteclass="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">ThomBrown <<a href="mailto:thom@linux.com">thom@linux.com</a>> writes:<br /> > I'm using the latest versionof Linux Mint Debian Edition, having recently<br /> > upgraded from an older version, and now I can't get makecheck-world to<br /> > finish successfully.<br /><br /> > The initial theory was that the version of Bison I'musing (3.0.2) is to<br /> > blame, but I've also tested it against 3.0.1, 2.7.1 and 2.3, but I get the<br /> > sameproblem:<br /><br /></span>Don't see how it would be Bison's fault. What this looks like to me is<br /> that you'vegot a corrupted copy of src/test/perl/PostgresNode.pm,<br /> because this:<br /><span class=""><br /> > syntax errorat<br /> > /home/thom/Development/<wbr />postgresql/src/test/modules/<wbr />commit_ts/../../../../src/<wbr />test/perl/PostgresNode.pm<br/> > line 437, near ")<br /> > print"<br /><br /></span>doesn't seem to haveanything to do with what's actually at line 437<br /> in that file (at least not in current HEAD). I don't see any close<br/> matches elsewhere in that file, either.<br /></blockquote></div><br /></div><div class="gmail_extra">I've justtaken a fresh clone of the PostgreSQL git repo, and it appears you're right. All the tests appear to be passing now,so sorry for the noise.<br /><br /></div><div class="gmail_extra">Thanks<br /></div><div class="gmail_extra"><br /><divclass="gmail_signature" data-smartmail="gmail_signature">Thom</div></div></div>