pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Nathan Bossart <nathandbossart@gmail.com>
Cc: Peter Eisentraut <peter@eisentraut.org>
Cc: Tomas Vondra <tomas@vondra.me>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Japin Li <japinli@hotmail.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Cannot find a working 64-bit integer type on Illumos
Date: Tue, 25 Mar 2025 19:01:37 -0400
Message-ID: <1321975.1742943697@sss.pgh.pa.us> (raw )
In-Reply-To: <CA+hUKG+iDwkHX4DkXYZ6LO0LWA4DCfexuP3zBFfeTJq4_FhJwQ@mail.gmail.com >
References: <2397643.1733347237@sss.pgh.pa.us >
<CA+hUKGLf9CKuAgwKZ4ZBDWvqkSe729D+rXZ-vMpU37-BLso9TQ@mail.gmail.com >
<2401111.1733349005@sss.pgh.pa.us >
<2402151.1733349346@sss.pgh.pa.us >
<CA+hUKG+AyuDcY5BX8uut2id11UDm-V+uwHz--o3h_iF1UKBhZA@mail.gmail.com >
<CA+hUKGJj71+xFnEF8D26MMYiATNSECdi=3tcpm1kncpmLDJd7w@mail.gmail.com >
<2412342.1733354191@sss.pgh.pa.us >
<CA+hUKGKn_EkNNGMY5RzMcKP+a6urT4JF=CPhw_zHtQwjvX6P2g@mail.gmail.com >
<a6fe6b44-e5f7-4edd-a451-bff69170dadd@eisentraut.org >
<CA+hUKGKs-QSkM-AnmU55aSrxxrYEDA9A4YoNaE4t4ma-3CAFYQ@mail.gmail.com >
<Z-MhRzoc7t-nPUQG@nathan >
<CA+hUKG+iDwkHX4DkXYZ6LO0LWA4DCfexuP3zBFfeTJq4_FhJwQ@mail.gmail.com >
Thomas Munro <thomas.munro@gmail.com> writes:
> On Wed, Mar 26, 2025 at 10:34 AM Nathan Bossart
> <nathandbossart@gmail.com> wrote:
>> In file included from pg_regress.c:34:
>> /usr/local/include/libpq-fe.h:623:8: error: unknown type name 'pg_int64'
> Looks like it's mixing up /usr/local/include and our source tree...
Yeah. That's because the compile command for pg_regress.c has
-I../../../src/include/libpq too late, after -I switches added
for other things:
ccache cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -g -O2 -fPIC -DPIC -fvisibility=hidden -I../../../src/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I../../../src/port -I../../../src/interfaces/libpq '-DHOST_TUPLE="x86_64-unknown-freebsd15.0"' '-DSHELLPROG="/bin/sh"' -c -o pg_regress.o pg_regress.c
How did that work before? Perhaps somebody just now added a libpq
dependency to pg_regress.c?
regards, tom lane
view thread (78+ messages) latest in thread
Message-ID: <1321975.1742943697@sss.pgh.pa.us>
Permalink: ../1321975.1742943697@sss.pgh.pa.us/
Also on: postgresql.org/message-id/1321975.1742943697@sss.pgh.pa.us
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, thomas.munro@gmail.com, nathandbossart@gmail.com, peter@eisentraut.org, tomas@vondra.me, hlinnaka@iki.fi, japinli@hotmail.com, andres@anarazel.de, pgsql-hackers@lists.postgresql.org
Subject: Re: Cannot find a working 64-bit integer type on Illumos
In-Reply-To: <1321975.1742943697@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox