Bug 278139 - databases/duckdb: fails to compile on 13
Summary: databases/duckdb: fails to compile on 13
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-03 08:29 UTC by Pat Maddox
Modified: 2024-04-03 09:05 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments
patch to fix build on 13 (1.29 KB, patch)
2024-04-03 08:41 UTC, Pat Maddox
pat: maintainer-approval? (yuri)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pat Maddox 2024-04-03 08:29:32 UTC
fails with

    /wrkdirs/usr/ports/databases/duckdb/work/duckdb-0.10.1/tools/shell/linenoise/terminal.cpp:70:17: error: use of undeclared identifier 'IUTF8'
            raw.c_iflag |= IUTF8;

reported upstream bug: https://github.com/duckdb/duckdb/issues/11487
proposed upstream fix: https://github.com/duckdb/duckdb/pull/11488
Comment 1 Pat Maddox 2024-04-03 08:41:02 UTC
Created attachment 249675 [details]
patch to fix build on 13

Presumably this is temporary and will be removed once https://github.com/duckdb/duckdb/issues/11487 is resolved upstream.
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2024-04-03 09:05:37 UTC
Backported, thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-04-03 09:05:50 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=18566f7da01518f90aa0ea3413e555b9cfd73489

commit 18566f7da01518f90aa0ea3413e555b9cfd73489
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-04-03 08:26:33 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-04-03 09:04:34 +0000

    databases/duckdb: Backport the patch fixing build on 13

    PR:             278139

 databases/duckdb/Makefile | 9 +++------
 databases/duckdb/distinfo | 4 +++-
 2 files changed, 6 insertions(+), 7 deletions(-)