Slightly improved meson error for docs tools

Started by Magnus Haganderover 2 years ago3 messageshackers
Beta feature

Hackorum builds and tests every patch posted to the lists, not only commitfest submissions. This is Hackorum's own CI rather than the PostgreSQL project's, and it is still under testing - please report anything that looks wrong.

never appliedsuccessCI history

You can run a PostgreSQL built from this patch straight from Docker, with no checkout and no build:

docker run --rm -p 5432:5432 ghcr.io/hackorum-dev/postgres-patch:t49015
psql -h localhost -U postgres

Built from patchset v1 (message #1), July 28, 2026 at 11:53 AM.

Every patchset is also pushed to a branch of our PostgreSQL fork, so you can check out the same tree CI built. Without a PostgreSQL checkout:

git clone --branch t49015_1 https://github.com/hackorum-dev/postgres.git

In a checkout you already have, add the fork once:

git remote add hackorum https://github.com/hackorum-dev/postgres.git

then, for this patchset and every later one:

git fetch hackorum t49015_1 && git checkout t49015_1

Patchset v1 (message #1) is on t49015_1

Jump to latest
#1Magnus Hagander
magnus@hagander.net

The meson build doesn't tell you what tool is missing when trying to
build the docs (and you don't have it in the path.. sigh), it just
tells you that something is missing. Attached is a small patch that at
least lists what's expected -- I'm not sure if this is the way to go,
or if we should somehow list the individual tools that are failing
here?

--
Magnus Hagander
Me: https://www.hagander.net/
Work: https://www.redpill-linpro.com/

Attachments:

t49015_1
meson_error_msg.patchtext/x-patch; charset=US-ASCII; name=meson_error_msg.patchDownload+1-1
#2Aleksander Alekseev
aleksander@timescale.com
In reply to: Magnus Hagander (#1)
Re: Slightly improved meson error for docs tools

Hi,

least lists what's expected -- I'm not sure if this is the way to go,
or if we should somehow list the individual tools that are failing
here?

Personally I think the patch is OK.

--
Best regards,
Aleksander Alekseev

#3Magnus Hagander
magnus@hagander.net
In reply to: Aleksander Alekseev (#2)
Re: Slightly improved meson error for docs tools

On Wed, Jan 10, 2024 at 1:05 PM Aleksander Alekseev
<aleksander@timescale.com> wrote:

Hi,

least lists what's expected -- I'm not sure if this is the way to go,
or if we should somehow list the individual tools that are failing
here?

Personally I think the patch is OK.

Thanks. I've pushed this one for now, we can always adjust further
later if needed.

--
Magnus Hagander
Me: https://www.hagander.net/
Work: https://www.redpill-linpro.com/