Opened 9 days ago

Last modified 38 hours ago

#70719 assigned defect

tmux @3.4_1: Fails to build on macOS Sequoia 15 RC

Reported by: tthoma24 (Teddy Thomas) Owned by: tessus (Helmut K. C. Tessarek)
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: sequoia Cc: razzfazz (Daniel Becker), fmirkes (Florian Mirkes)
Port: tmux

Description (last modified by tthoma24 (Teddy Thomas))

Despite an updated Xcode 16 RC and Command Line Tools and a functional clang, the port fails to build with the below error on an Intel-based Mac. Full build log is attached.

:info:build     mv -f $depbase.Tpo $depbase.Po
:info:build cmd-swap-pane.c:87:2: error: call to undeclared function 'TAILQ_REPLACE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
:info:build    87 |         TAILQ_REPLACE(&src_w->panes, src_wp, dst_wp, entry);
:info:build       |         ^
:info:build cmd-swap-pane.c:87:47: error: use of undeclared identifier 'entry'
:info:build    87 |         TAILQ_REPLACE(&src_w->panes, src_wp, dst_wp, entry);
:info:build       |                                                      ^
:info:build 2 errors generated.

Attachments (1)

main.log (160.9 KB) - added by tthoma24 (Teddy Thomas) 9 days ago.
Build log

Download all attachments as: .zip

Change History (10)

Changed 9 days ago by tthoma24 (Teddy Thomas)

Attachment: main.log added

Build log

comment:1 Changed 9 days ago by tthoma24 (Teddy Thomas)

Description: modified (diff)

comment:2 Changed 9 days ago by jmroot (Joshua Root)

Summary: tmux @3.4.1: Fails to build on macOS Sequoia 15 RCtmux @3.4_1: Fails to build on macOS Sequoia 15 RC

comment:3 Changed 8 days ago by ryandesign (Ryan Carsten Schmidt)

See WimplicitFunctionDeclaration for how to fix this.

comment:4 Changed 4 days ago by oversized-monday (MONDAY!)

also see: https://github.com/tmux/tmux/pull/4041

I assume this will be included in next tmux release. for now, you can manually make the suggested change to build.

comment:5 Changed 3 days ago by razzfazz (Daniel Becker)

Cc: razzfazz added

comment:6 Changed 2 days ago by SaintBol

For information, same issue on Sequoia final release, with Xcode clang (and CommandLineTools not installed).

comment:7 Changed 2 days ago by diogom93 (Diogo Martins)

FYI, same issue happens on arm64.

comment:8 Changed 45 hours ago by fmirkes (Florian Mirkes)

Cc: fmirkes added

comment:9 Changed 38 hours ago by diogom93 (Diogo Martins)

Got tmux running by editing the Portfile and pointing tmux-devel to the latest commit

Note: See TracTickets for help on using tickets.