Thread: make check-world problem

make check-world problem

From
Vladimir Koković
Date:
Hi,

Thanks Tom, postgresql source now belongs to user 'postgres' and make  
check-world passed.

But, installcheck-world failed:

tail /home/src/postgresql-devel/dev-build/make-install-out-dev.log

../../../src/test/regress/pg_regress  
--inputdir=/home/src/postgresql-devel/postgresql-git/postgresql/src/test/regress  
--psqldir='/home/src/postgresql-devel/dev-install/bin'    --dlpath=.   
--schedule=/home/src/postgresql-devel/postgresql-git/postgresql/src/test/regress/serial_schedule
(using postmaster on Unix socket, default port)
============== dropping database "regression"         ==============
sh: 1: /home/src/postgresql-devel/dev-install/bin/psql: not found
command failed: "/home/src/postgresql-devel/dev-install/bin/psql" -X -c  
"DROP DATABASE IF EXISTS \"regression\"" "postgres"
make[2]: *** [installcheck] Error 2
make[2]: Leaving directory  
`/home/src/postgresql-devel/dev-build/src/test/regress'
make[1]: *** [installcheck-regress-recurse] Error 2
make[1]: Leaving directory `/home/src/postgresql-devel/dev-build/src/test'
make: *** [installcheck-world-src/test-recurse] Error 2

Best regards
Vladimir Kokovic DP senior



Re: make check-world problem

From
Tom Lane
Date:
Vladimir Koković <vladimir.kokovic@a-asoft.com> writes:
> Thanks Tom, postgresql source now belongs to user 'postgres' and make  
> check-world passed.

> But, installcheck-world failed:

installcheck-world is supposed to test against an installed, running
server.  So you need to do "make install-world" (not to mention initdb
and starting the postmaster) first.  This looks like you didn't:

> sh: 1: /home/src/postgresql-devel/dev-install/bin/psql: not found

In practice, if you've done check-world, I don't see a lot of value in
doing installcheck-world as well.  (Unless you're checking a packaging
process, but in that case you'd want to construct and install the package,
not just do "make install".)
        regards, tom lane