#67548 closed defect (fixed)

re2 update breaks py310-re2

Reported by: dershow Owned by: Mark Mentovai <mark@…>
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: herbygillot (Herby Gillot), dbl001 (dbl), mascguy (Christopher Nielsen)
Port: re2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Macports showed re2 as outdated:

re2                            2023-03-01_0 < 2023-06-01_0
--->  Found 1 broken file, matching files to ports
--->  Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: py310-re2 @1.0.7
Continue? [Y/n]: Y
--->  Computing dependencies for py310-re2
--->  Cleaning py310-re2
--->  Scanning binaries for linking errors
--->  Found 1 broken file, matching files to ports
--->  Found 1 broken port, determining rebuild order
--->  Rebuilding in order
     py310-re2 @1.0.7_2
--->  Computing dependencies for py310-re2
--->  Fetching distfiles for py310-re2
--->  Attempting to fetch pyre2-1.0.7.tar.gz from https://distfiles.macports.org/py-re2
--->  Verifying checksums for py310-re2
--->  Extracting py310-re2
--->  Configuring py310-re2
--->  Building py310-re2
Error: Failed to build py310-re2: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-re2/py310-re2/main.log for details.
Error: rev-upgrade failed: Error rebuilding py310-re2
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.

Change History (4)

comment:2 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: dbl001 added
Description: modified (diff)

Has duplicate #67550.

comment:3 Changed 16 months ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:4 Changed 16 months ago by Mark Mentovai <mark@…>

Owner: set to Mark Mentovai <mark@…>
Resolution: fixed
Status: newclosed

In d656b3c8eda466eeb6d7a8a7788f26636030c2c7/macports-ports (master):

py-re2: build as C++14

The re2 upgrade at 8d9008694fb2 brings it to version 2023-06-01, which
requires Abseil, added as a dependency in 60e55a7069d6. Abseil enforces a
C++14 minimum via an #error in one of its headers
(https://github.com/abseil/abseil-cpp/blob/71ffb09f8c27849c7e92595b5ac883b1ec45b95e/absl/base/policy_checks.h#L68),
and that header is visible to the py-re2 build. This was addressed for
re2 itself in d7242bf8674b.

Fixes: #67548

Note: See TracTickets for help on using tickets.