Opened 7 days ago

Closed 6 days ago

#71274 closed defect (duplicate)

Error: Failed to build gexiv2: command execution failed

Reported by: thomasleaute Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: sonoma Cc:
Port: gexiv2

Description

gexiv2 fails to build on macOS 14.7.2 (23H301) with Xcode 16.1 (16B40).

--->  Building gexiv2
Error: Failed to build gexiv2: command execution failed  
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gexiv2/gexiv2/main.log for details.
Error: Problem while installing gexiv2
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.

See attached log file. The error seems to be:

:info:build /opt/local/include/glib-2.0/glib/glib-typeof.h:43:10: fatal error: 'type_traits' file not found
:info:build    43 | #include <type_traits>
:info:build       |          ^~~~~~~~~~~~~
:info:build 1 error generated.
:info:build ninja: build stopped: subcommand failed.

Attachments (1)

main.log (154.3 KB) - added by thomasleaute 7 days ago.

Download all attachments as: .zip

Change History (4)

Changed 7 days ago by thomasleaute

Attachment: main.log added

comment:1 Changed 7 days ago by ryandesign (Ryan Carsten Schmidt)

Keywords: sonoma added

This sounds like #70750. Try the solution at ProblemHotlist#clts16, including cleaning the port before trying again.

comment:2 Changed 6 days ago by thomasleaute

You're right! Problem solved. Thanks!

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

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.