Bug 273463 - devel/libfmt: Update to 10.1.1
Summary: devel/libfmt: Update to 10.1.1
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: Po-Chuan Hsieh
URL:
Keywords:
Depends on: 273873 273874 273875 273876 273877 273878 273880 273882 273884 273886 273887 273888 273889
Blocks:
  Show dependency tree / graph
 
Reported: 2023-08-30 21:23 UTC by Hadi
Modified: 2023-12-22 06:08 UTC (History)
3 users (show)

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


Attachments
patch file (1.62 KB, text/plain)
2023-08-30 21:23 UTC, Hadi
no flags Details
libfmt.diff (2.00 KB, patch)
2023-09-25 21:28 UTC, Boris Korzun
drtr0jan: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hadi 2023-08-30 21:23:13 UTC
Created attachment 244508 [details]
patch file

Bumping the devel/libfmt from 9.1.0 to 10.1.1
Comment 1 Po-Chuan Hsieh freebsd_committer freebsd_triage 2023-09-04 02:39:13 UTC
I've already tested libfmt update since 10.0.0 but some of the dependent ports do not build with it. Therefore, libfmt 10.* will not land the ports tree unless they are fixed.
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2023-09-06 02:36:48 UTC
FYI, last time I tested libfmt 10.0.0, 19 ports are broken and I only fixed 3 of them.

Fixed:
games/0ad
games/easyrpg-player
textproc/fcitx5

Not yet fixed:
cad/openroad
devel/malloy
editors/turbo
emulators/dolphin-emu
emulators/pcsx2
ftp/coeurl
games/0ad
games/devilutionX
games/easyrpg-player
multimedia/kodi
net/arataga
net/ceph14
net/gerbera
net/knxd
science/cantera
x11/waybar
Comment 3 Boris Korzun 2023-09-25 21:28:27 UTC
Created attachment 245236 [details]
libfmt.diff

Hi Po-Chuan,

what do you think about to add support of building static library to the port?
It can be useful for fast application, like foundationdb, etc.

A proposed patch adds fmt_static target for CMakeLists.txt and libfmt.a to pkg-plist.
Comment 4 Daniel Engberg freebsd_committer freebsd_triage 2023-09-26 00:05:41 UTC
Hi Boris,

Please submit it upstream as we preferably don't want to carry patches locally unless really needed.

For what I can tell foundationdb is also currently broken and don't depend on (lib)fmt?

Best regards,
Daniel
Comment 5 Boris Korzun 2023-09-26 05:35:17 UTC
(In reply to Daniel Engberg from comment #4)
Hi Daniel,

unfortunately the libfmt upstream doesn't allow to build static and shared libs simultaneously ( https://github.com/fmtlib/fmt/issues/600 ).

What about foundationdb...
The patch for fixing BROKEN is waiting for commit about half a year ( bug #269236 ).
Foundationdb is depends on libfmt ( https://github.com/apple/foundationdb/blob/59e1470263ce37a02174891257f193a87b304926/contrib/CMakeLists.txt#L4-L7 ). And all foundationdb depends are linking statically usually. At last, I work on porting foundationdb 7.3 for FreeBSD currently.
Comment 6 Daniel Engberg freebsd_committer freebsd_triage 2023-10-10 17:12:19 UTC
sunpoet,
All open PRs are well over 2w, push this update and mark ports with unresolved PRs as broken.
Comment 7 Po-Chuan Hsieh freebsd_committer freebsd_triage 2023-12-22 06:08:26 UTC
Updated to 10.1.1 in ports ec5f6e22611156724fe5844ed3783b68e0d404f3.
emulators/dolphin-emu is fixed in ports 558f7ba7e2b816c6f09ff5f0905b2bb933a1d60a.
net-im/nheko is fixed in ports c2e5d6a560286cd550bc5a07f3ca14728d7ffced.
cad/openroad, games/devilutionX and science/vipster are marked as BROKEN.
Thanks.