Re: meson vs make: missing/inconsistent ENV

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: meson vs make: missing/inconsistent ENV
Дата
Msg-id 20230226232104.5djexwyitlfemrhg@awork3.anarazel.de
обсуждение исходный текст
Ответ на meson vs make: missing/inconsistent ENV  (Justin Pryzby <pryzby@telsasoft.com>)
Ответы Re: meson vs make: missing/inconsistent ENV  (Justin Pryzby <pryzby@telsasoft.com>)
Re: meson vs make: missing/inconsistent ENV  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
Hi,

On 2023-02-26 16:52:39 -0600, Justin Pryzby wrote:
> I noticed warnings:
> Use of uninitialized value $ENV{"with_icu"} in string eq at
/home/pryzbyj/src/postgres/src/bin/pg_dump/t/002_pg_dump.plline 56.
 
> 
> and looked through: git grep ^export '*/Makefile'
> 
> and found that:
> src/bin/pg_dump/meson.build is missing with_icu since 396d348b0

Looks like it.


> Also, e6927270c added ZSTD to src/bin/pg_basebackup/meson.build, but
> it's not in ./Makefile ??  Maybe that was for consistency with other
> places, or pre-emptive in case the tap tests want to do tests involving
> the ZSTD tool.  But it'd be better if ./Makefile had it too.

I suspect I just over-eagerly added it when the pg_basebackup zstd support
went in, using the GZIP_PROGRAM/LZ4 cases as a template. And foolishly
assuming a newly added compression method would be tested.


> The rest I think are not errors:
> 
> src/test/meson.build is missing PG_TEST_EXTRA

> src/bin/pg_upgrade/meson.build and ../src/test/recovery/meson.build
> are missing REGRESS_SHLIB

Yep, these are added in the top-level meson.build.


> Is there any consideration of promoting these or other warnings to
> fatal?

You mean the perl warnings?

Greetings,

Andres Freund



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

Предыдущее
От: "Takamichi Osumi (Fujitsu)"
Дата:
Сообщение: RE: Allow logical replication to copy tables in binary format
Следующее
От: Tom Lane
Дата:
Сообщение: Re: tests against running server occasionally fail, postgres_fdw & tenk1