Opened 2 weeks ago

Closed 2 weeks ago

#69871 closed update (invalid)

tmux: fix and update to 3.4

Reported by: Koston-0xDEADBEEF Owned by: Koston-0xDEADBEEF
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc: tessus (Helmut K. C. Tessarek)
Port: tmux

Description

Currently packaged version 3.3a is incompatible(*) with latest ncurses 6.5. Proposing possible solutions for consideration by people who understand MP better than I do:

  • Explicitly depend on libncurses-6.4
  • Cherry-pick related patches from tmux git and add to the build
  • Add warning/info text about it to inform users
  • Split port into version-specific ones

New tmux release 3.4 is also available, which should be updated to at some point. I'm including this as part of the bug report, because it would be wise to first address the problem in 3.3a, then update. This is because tmux tends to be so intrusively backwards-incompatible, many people prefer avoiding updates entirely. I'll look into the update, but need advice from senior maintainers to decide how to handle 3.3a.

(*) Quickly looking at tmux git (at around commit 39d41d08), I think it would crash when using any escape sequence ncurses doesn't explicitly know about.

eg. Using OSC 12: printf '\e]12;#ffffff\e\\' w/ ncurses 6.5 crashes tmux 3.3a, does nothing on tmux 3.4 and works again on latest HEAD.

Change History (3)

comment:1 Changed 2 weeks ago by Koston-0xDEADBEEF

Never mind, apparently the port is already updated and it just didn't update via port upgrade outdated.

comment:2 Changed 2 weeks ago by Koston-0xDEADBEEF

Owner: set to Koston-0xDEADBEEF
Status: newassigned

comment:3 Changed 2 weeks ago by ryandesign (Ryan Carsten Schmidt)

Cc: tessus added
Milestone: MacPorts Future
Port: tmux added; sysutils/tmux removed
Resolution: invalid
Status: assignedclosed
Type: defectupdate

Indeed the update to 3.4 happened a couple months ago.

Note: See TracTickets for help on using tickets.