Opened 11 months ago

Closed 9 months ago

Last modified 9 months ago

#67473 closed update (fixed)

protobuf3-cpp: Update to newer version

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: barracuda156
Port: protobuf3-cpp

Description

MacPorts protobuf3-cpp is at version 3.19.3 which is from January 2022.

3.23.1 was released in May 2023:

% port livecheck protobuf3-cpp
protobuf3-cpp seems to have been updated (port version: 3.19.3, new version: 23.1)

livecheck needs to be adjusted to account for their new version numbering strategy (limit livecheck to 3.x versions).

Attachments (1)

Portfile-23.2 (5.2 KB) - added by Schamschula (Marius Schamschula) 11 months ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 11 months ago by Schamschula (Marius Schamschula)

I just had look at this.

The build system is severely broken

  1. libraries are built into build, but at link time it is looking for them in build/../lib
  1. The abseil-cpp submodule doesn't seem to build any libraries, and there is no way of pointing at the existing abseil port which contains the required libs.

I'm attaching the WIP Portfile

Changed 11 months ago by Schamschula (Marius Schamschula)

Attachment: Portfile-23.2 added

comment:2 Changed 11 months ago by Schamschula (Marius Schamschula)

It looks like both FreeBSD and Homebrew are using the last autotools version of protobuf3-cpp: 3.21.12. Versions (3).22.x and (3).23.x use cmake and are both a terrible mess.

comment:4 in reply to:  2 Changed 9 months ago by mascguy (Christopher Nielsen)

Owner: set to mascguy
Status: newassigned

Replying to Schamschula:

It looks like both FreeBSD and Homebrew are using the last autotools version of protobuf3-cpp: 3.21.12. Versions (3).22.x and (3).23.x use cmake and are both a terrible mess.

Port protobuf3-cpp has been migrated to CMake, as of commit:

As for updating: Given the potential for breakage of dependents, a new segregated port - protobuf3-cpp-upstream - has been created:

Last edited 9 months ago by mascguy (Christopher Nielsen) (previous) (diff)

comment:5 Changed 9 months ago by mascguy (Christopher Nielsen)

Cc: barracuda156 added
Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.