From: | Álvaro Herrera <alvherre(at)kurilemu(dot)de> |
---|---|
To: | Devrim Gündüz <devrim(at)gunduz(dot)org> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: git head build failure |
Date: | 2025-10-07 08:44:26 |
Message-ID: | 202510070829.6b7ri54girk3@alvherre.pgsql |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hello,
On 2025-Oct-07, Devrim Gündüz wrote:
> My daily alpha RPMs failed to build in the last 2 days. Using the
> tarball here:
>
> https://ftp.postgresql.org/pub/snapshot/dev/
>
>
> This happens on all of my RHEL/Fedora boxes (gcc 8.5.0 to 15.2.1) (clang 19 to clang 21):
> =======================================
> /usr/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -O2 -I. -I. -I../../src/include -D_GNU_SOURCE -I/usr/include -I/usr/include/libxml2 -DWITH_GZFILEOP -flto=thin -emit-llvm -c -o funcs.bc funcs.c
> funcs.c:74:35: error: call to undeclared function 'VARSIZE_ANY_EXHDR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> 74 | text *new_t = (text *) palloc(VARSIZE_ANY_EXHDR(t) + VARHDRSZ);
> | ^
Thanks for reporting. I'm going to bet that this is related to the
recent header inclusion changes I did two days ago, but I wonder why
don't I see them ...
... oh, this file is in src/tutorial/. I can find no Makefile rule that
compiles these files -- in fact, its own Makefile doesn't even work
under VPATH, and Meson has never heard of them (so I had to create a
separate workdir in order to test the fix, because none of my existing
trees are capable of compiling these files). So if this code wasn't
referenced from the documentation, it would all be pretty much dead
code. I wonder if anyone other than ancient forgotten RPM .spec files
compiles these files anymore.
Anyway, I've fixed it now, thanks for reporting.
--
Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/
"El miedo atento y previsor es la madre de la seguridad" (E. Burke)
From | Date | Subject | |
---|---|---|---|
Next Message | Dilip Kumar | 2025-10-07 08:51:13 | Re: Logical Replication of sequences |
Previous Message | Daniel Gustafsson | 2025-10-07 08:40:11 | Re: Support getrandom() for pg_strong_random() source |