Opened 6 months ago

Closed 7 weeks ago

#70047 closed defect (fixed)

re2 @2024-04-01: fatal error: 'filesystem' file not found

Reported by: workflowsguy Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version:
Keywords: highsierra Cc: judaew (Vadym-Valdis Yudaiev), manbaum (Hsi Fun)
Port: re2 abseil

Description (last modified by jmroot (Joshua Root))

Trying to update & build the re2 package (@2024-04-01_2). It built previously, but now fails with

--->  Computing dependencies for re2
--->  Fetching archive for re2
--->  Attempting to fetch re2-2024-04-01_2.darwin_17.x86_64.tbz2 from http://packages.macports.org/re2
--->  Attempting to fetch re2-2024-04-01_2.darwin_17.x86_64.tbz2 from http://nue.de.packages.macports.org/re2
--->  Attempting to fetch re2-2024-04-01_2.darwin_17.x86_64.tbz2 from http://cph.dk.packages.macports.org/re2
--->  Building re2
Error: Failed to build re2: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_re2/re2/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port re2 failed

The error log is attached

Attachments (1)

main.log (119.9 KB) - added by workflowsguy 6 months ago.

Download all attachments as: .zip

Change History (7)

Changed 6 months ago by workflowsguy

Attachment: main.log added

comment:1 Changed 6 months ago by jmroot (Joshua Root)

Cc: judaew added
Description: modified (diff)
Owner: set to herbygillot
Port: re2 abseil added
Status: newassigned

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

Keywords: highsierra added
Summary: re2 fails to buildre2 @2024-04-01: fatal error: 'filesystem' file not found

Log says:

fatal error: 'filesystem' file not found

std::filesystem is only available on macOS 10.15 and later and I see you're on macOS 10.13.

Alternative: the port could try to use the legacysupport portgroup's feature of using a newer MacPorts copy of libc++. Consequences unknown.

Last edited 6 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 6 months ago by jmroot (Joshua Root)

Recently abseil switched to compiler.cxx_standard 2017, which apparently means all dependents now have to use the same, but the dependents were not updated so re2 is still using 2014.

comment:4 in reply to:  3 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to jmroot:

Recently abseil switched to compiler.cxx_standard 2017, which apparently means all dependents now have to use the same, but the dependents were not updated so re2 is still using 2014.

https://github.com/macports/macports-ports/pull/23963

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

Cc: manbaum added

Has duplicate #70094.

comment:6 Changed 7 weeks ago by FlyingSamson

Resolution: fixed
Status: assignedclosed

In 765dbb8903b4ed6e63e724a90ed6a34cab292a65/macports-ports (master):

abseil-dependents: Use c++17 standard

Fixes: #69975
Fixes: #70047

Note: See TracTickets for help on using tickets.