Closed Bug 1855329 Opened 2 years ago Closed 5 months ago

Update protobuf to version 25.3

Categories

(Toolkit :: General, task)

task

Tracking

()

RESOLVED DUPLICATE of bug 1989886

People

(Reporter: RyanVM, Unassigned)

References

()

Details

Attachments

(6 obsolete files)

Our vendored copy of protobuf is about a year out of date now. Unfortunately, updating to a newer release is blocked on having a recent-ish version of abseil-cpp available to it (LTS 20230125 or later). I've got the beginnings of a patch set attempting to utilize the copy vendored in libwebrtc, but unfortunately that's too far out of date to use.

I'm going to file another bug about trying to update our vendored copy of abseil-cpp in libwebrtc under the assumption that bug 1788569 isn't going to move forward any time soon, but I at least want to have this filed to set the dependency.

/home/ryanvm/repos/mozilla/obj-x86_64-pc-linux-gnu/dist/include/google/protobuf/io/coded_stream.h:132:10: fatal error: 'absl/log/absl_check.h' file not found
  132 | #include "absl/log/absl_check.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~
Depends on: 1855330
Summary: Update protobuf to version 24.3 → Update protobuf to version 24.4

With help from mjf, I've got a somewhat-working patch stack with the latest 25.0 release. However, there are some issues remaining still:

  1. There are a few platforms which are failing to build at the moment due to what appears to be various abseil-related build config issues we haven't been able to sort out:
  2. Right now, these patches depend on the copy of abseil vendored in our import of libwebrtc, which mostly works in our normal build configuration but predictably doesn't do as well when --disable-webrtc is specified. I'm not sure if that's something that can be worked around without moving abseil outside of libwebrtc. And this is probably what needs to happen to un-break the Windows contentanalysis agent bustage as well?

But on the bright side, test pass on the platforms that do build!

Summary: Update protobuf to version 24.4 → Update protobuf to version 25.0

Depends on D192523

Depends on D192524

Depends on D192525

Attached file WIP: Bug 1855329 - Regenerate headers. (obsolete) —

Depends on D192526

Summary: Update protobuf to version 25.0 → Update protobuf to version 25.1
Attachment #9361517 - Attachment description: WIP: Bug 1855329 - Update protobuf to version 25.0. → WIP: Bug 1855329 - Update protobuf to version 25.1.
Summary: Update protobuf to version 25.1 → Update protobuf to version 25.2
Attachment #9361517 - Attachment description: WIP: Bug 1855329 - Update protobuf to version 25.1. → WIP: Bug 1855329 - Update protobuf to version 25.2.
Summary: Update protobuf to version 25.2 → Update protobuf to version 25.3
Attachment #9361517 - Attachment description: WIP: Bug 1855329 - Update protobuf to version 25.2. → WIP: Bug 1855329 - Update protobuf to version 25.3.
Depends on: 1921707
See Also: 1788569

Just for information.
The latest version of protobuf is 28.2 and v29.0-rc1.

Attachment #9361514 - Attachment is obsolete: true
Attachment #9361515 - Attachment is obsolete: true
See Also: → 1989886
Status: NEW → RESOLVED
Closed: 5 months ago
Duplicate of bug: 1989886
Resolution: --- → DUPLICATE
See Also: 1989886
Attachment #9361516 - Attachment is obsolete: true
Attachment #9361517 - Attachment is obsolete: true
Attachment #9361518 - Attachment is obsolete: true
Attachment #9361519 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: