public inbox for [email protected]
help / color / mirror / Atom feedRe: Error Building Postgres 17.0 from Source
5+ messages / 2 participants
[nested] [flat]
* Re: Error Building Postgres 17.0 from Source
@ 2024-10-04 16:41 Christophe Pettus <[email protected]>
2024-10-04 19:05 ` Re: Error Building Postgres 17.0 from Source Tom Lane <[email protected]>
0 siblings, 1 reply; 5+ messages in thread
From: Christophe Pettus @ 2024-10-04 16:41 UTC (permalink / raw)
To: Corbin Cavolt <[email protected]>; +Cc: pgsql-general
> On Oct 4, 2024, at 09:35, Corbin Cavolt <[email protected]> wrote:
>
> Hi,
>
> I'm having a problem building Postgres 17.0 from source. I'm able to build all the 16.x versions just fine; I'm running into an error specifically with version 17.0. I use a devcontainer for development with my own postgres feature here: https://github.com/ccavolt/devcontainer-features/tree/main/src/postgres. As you can see I'm using Debian Bookworm for testing. If you open up the repo in a Codespace or a devcontainer and run the following command, you should be able to see the same errors that I'll post below:
You might try installing the Debian packages for the documentation tools; the lack of them is the usual reason for errors of that sort:
https://www.postgresql.org/docs/devel/docguide-toolsets.html#DOCGUIDE-TOOLSETS-INST-DEBIAN
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Error Building Postgres 17.0 from Source
2024-10-04 16:41 Re: Error Building Postgres 17.0 from Source Christophe Pettus <[email protected]>
@ 2024-10-04 19:05 ` Tom Lane <[email protected]>
2024-10-04 19:08 ` Re: Error Building Postgres 17.0 from Source Christophe Pettus <[email protected]>
0 siblings, 1 reply; 5+ messages in thread
From: Tom Lane @ 2024-10-04 19:05 UTC (permalink / raw)
To: Christophe Pettus <[email protected]>; +Cc: Corbin Cavolt <[email protected]>; pgsql-general
Christophe Pettus <[email protected]> writes:
> On Oct 4, 2024, at 09:35, Corbin Cavolt <[email protected]> wrote:
>> I'm having a problem building Postgres 17.0 from source. I'm able to build all the 16.x versions just fine; I'm running into an error specifically with version 17.0.
> You might try installing the Debian packages for the documentation tools; the lack of them is the usual reason for errors of that sort:
> https://www.postgresql.org/docs/devel/docguide-toolsets.html#DOCGUIDE-TOOLSETS-INST-DEBIAN
Yeah, that's what it looks like. I'm a bit confused though because
16.x should have failed the same way: building our docs without local
DTDs has failed for well over a year now [1]. Perhaps you weren't
trying to build the docs before?
regards, tom lane
[1] https://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=969509c3f
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Error Building Postgres 17.0 from Source
2024-10-04 16:41 Re: Error Building Postgres 17.0 from Source Christophe Pettus <[email protected]>
2024-10-04 19:05 ` Re: Error Building Postgres 17.0 from Source Tom Lane <[email protected]>
@ 2024-10-04 19:08 ` Christophe Pettus <[email protected]>
2024-10-04 19:34 ` Re: Error Building Postgres 17.0 from Source Tom Lane <[email protected]>
0 siblings, 1 reply; 5+ messages in thread
From: Christophe Pettus @ 2024-10-04 19:08 UTC (permalink / raw)
To: Tom Lane <[email protected]>; +Cc: Corbin Cavolt <[email protected]>; pgsql-general
> On Oct 4, 2024, at 12:05, Tom Lane <[email protected]> wrote:
>
> Yeah, that's what it looks like. I'm a bit confused though because
> 16.x should have failed the same way: building our docs without local
> DTDs has failed for well over a year now [1].
To add confusion to the fire, I was successfully building pre-17 versions ("make world") locally on MacOS fine without having to install the documentation tools. It wasn't until 17 that it failed (and installing the doc tools as recommended fixed it).
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Error Building Postgres 17.0 from Source
2024-10-04 16:41 Re: Error Building Postgres 17.0 from Source Christophe Pettus <[email protected]>
2024-10-04 19:05 ` Re: Error Building Postgres 17.0 from Source Tom Lane <[email protected]>
2024-10-04 19:08 ` Re: Error Building Postgres 17.0 from Source Christophe Pettus <[email protected]>
@ 2024-10-04 19:34 ` Tom Lane <[email protected]>
2024-10-04 19:35 ` Re: Error Building Postgres 17.0 from Source Christophe Pettus <[email protected]>
0 siblings, 1 reply; 5+ messages in thread
From: Tom Lane @ 2024-10-04 19:34 UTC (permalink / raw)
To: Christophe Pettus <[email protected]>; +Cc: Corbin Cavolt <[email protected]>; pgsql-general
Christophe Pettus <[email protected]> writes:
> On Oct 4, 2024, at 12:05, Tom Lane <[email protected]> wrote:
>> Yeah, that's what it looks like. I'm a bit confused though because
>> 16.x should have failed the same way: building our docs without local
>> DTDs has failed for well over a year now [1].
> To add confusion to the fire, I was successfully building pre-17 versions ("make world") locally on MacOS fine without having to install the documentation tools. It wasn't until 17 that it failed (and installing the doc tools as recommended fixed it).
If you had a locally installed copy of the required DTDs, it should've
worked, but otherwise I don't see how ... oh, wait. Were you building
from a source tarball? If so, the difference is that up to v16 we
included prebuilt HTML docs in the tarballs, but as of v17 we don't.
So "make world" now triggers a local docs build where before it
didn't.
You can restore things to the status quo ante if you also download
the now-separate docs tarball, eg
https://ftp.postgresql.org/pub/source/v17.0/postgresql-17.0-docs.tar.gz
and unpack that into the same place as the main source tarball.
regards, tom lane
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Error Building Postgres 17.0 from Source
2024-10-04 16:41 Re: Error Building Postgres 17.0 from Source Christophe Pettus <[email protected]>
2024-10-04 19:05 ` Re: Error Building Postgres 17.0 from Source Tom Lane <[email protected]>
2024-10-04 19:08 ` Re: Error Building Postgres 17.0 from Source Christophe Pettus <[email protected]>
2024-10-04 19:34 ` Re: Error Building Postgres 17.0 from Source Tom Lane <[email protected]>
@ 2024-10-04 19:35 ` Christophe Pettus <[email protected]>
0 siblings, 0 replies; 5+ messages in thread
From: Christophe Pettus @ 2024-10-04 19:35 UTC (permalink / raw)
To: Tom Lane <[email protected]>; +Cc: Corbin Cavolt <[email protected]>; pgsql-general
> On Oct 4, 2024, at 12:34, Tom Lane <[email protected]> wrote:
>
> If so, the difference is that up to v16 we
> included prebuilt HTML docs in the tarballs, but as of v17 we don't.
> So "make world" now triggers a local docs build where before it
> didn't.
Ah! That would be it.
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2024-10-04 19:35 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-10-04 16:41 Re: Error Building Postgres 17.0 from Source Christophe Pettus <[email protected]>
2024-10-04 19:05 ` Tom Lane <[email protected]>
2024-10-04 19:08 ` Christophe Pettus <[email protected]>
2024-10-04 19:34 ` Tom Lane <[email protected]>
2024-10-04 19:35 ` Christophe Pettus <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox