Re: BUG #15243: make check shows errors, i.e. fails to find initdb and others

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #15243: make check shows errors, i.e. fails to find initdb and others
Дата
Msg-id 4394.1529097621@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #15243: make check shows errors,i.e. fails to find initdb and others  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #15243: make check shows errors, i.e. fails to find initdband others  (Mario Emmenlauer <mario@emmenlauer.de>)
Список pgsql-bugs
=?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> writes:
> I tried my first build of PostgreSQL 10.4 on Ubuntu Linux 16.04 today. The
> build worked out of the box. However `make check` fails. I am under the
> impression that it tries a "strange" path to search for build-time binaries.
> But I'm not experienced enough to figure out why.

It's hard for someone else to be sure either.  What "make check" is
supposed to do is create a temporary installation under
...sourcedir.../tmp_install/, so this:

> PATH="/tmp/Debug/Shared/postgresql-10.4/tmp_install/thirdparty/Debug/Shared/bin:$PATH"

looks correct if your PG source is in /tmp/Debug/Shared/postgresql-10.4/
and the configured real installation path is /thirdparty/Debug/Shared/.
You confirmed the latter but not the former.

> In /tmp/Debug/Shared/postgresql-10.4/src/test/regress/log/initdb.log there
> is just a short message saying that initdb was not found.

This suggests that the temp installation failed to be made, but you did
not show us the part of the make log where that should've happened;
it'd be before this extract, of course.

Also, were you trying a VPATH build, or just build-in-source-tree?
That affects where this stuff would end up.

            regards, tom lane


В списке pgsql-bugs по дате отправления:

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15243: make check shows errors,i.e. fails to find initdb and others
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15244: Inherited table queries return null lines that do notexist