-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Description
What happens?
In file included from /usr/ports/databases/duckdb/work/duckdb-1.4.4/extension/postgres_scanner/postgres/src/common/ip.c:37:
In file included from /usr/ports/databases/duckdb/work/duckdb-1.4.4/extension/postgres_scanner/postgres/src/include/common/ip.h:17:
/usr/ports/databases/duckdb/work/duckdb-1.4.4/extension/postgres_scanner/postgres/src/include/getaddrinfo.h:98:8: error: redefinition of 'addrinfo'
98 | struct addrinfo
| ^
/usr/include/netdb.h:133:8: note: previous definition is here
133 | struct addrinfo {
| ^
In file included from /usr/ports/databases/duckdb/work/duckdb-1.4.4/extension/postgres_scanner/postgres/src/common/ip.c:37:
In file included from /usr/ports/databases/duckdb/work/duckdb-1.4.4/extension/postgres_scanner/postgres/src/include/common/ip.h:18:
/usr/ports/databases/duckdb/work/duckdb-1.4.4/extension/postgres_scanner/postgres/src/include/libpq/pqcomm.h:44:8: error: redefinition of 'sockaddr_storage'
44 | struct sockaddr_storage
| ^
/usr/include/sys/_sockaddr_storage.h:45:8: note: previous definition is here
45 | struct sockaddr_storage {
| ^
2 errors generated.
These structures are re-defined in the downloaded code tarball and structures are different.
To Reproduce
Build on FreeBSD.
OS:
FreeBSD 15 STABLE
PostgreSQL Version:
N/A
DuckDB Version:
1.4.4
DuckDB Client:
1.4.4
Full Name:
Yuri Vic
Affiliation:
FreeBSD
Have you tried this on the latest main branch?
- I agree
Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?
- I agree
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels