Opened 9 days ago

Closed 8 days ago

#71179 closed defect (duplicate)

gexiv2 @0.14.3: cannot find type_traits

Reported by: amagela (Anthony M. Agelastos) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.10.2
Keywords: sonoma Cc: mascguy (Christopher Nielsen), dkossack
Port: gexiv2

Description

I am unable to build the latest gexiv2 since it cannot find type_traits. I am on macOS Sonoma 14.7 (arm64) and tried this with Xcode Command Line Tools set to Xcode 16.0 (16A242d) and Xcode-15 15.4 (15F31d), both to no avail. I attached the build log file.

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

Attachments (4)

main.log (44.4 KB) - added by amagela (Anthony M. Agelastos) 9 days ago.
Build log
main.2.log (253.2 KB) - added by dkossack 9 days ago.
main2.log (280.3 KB) - added by dkossack 8 days ago.
main3.log (250.9 KB) - added by dkossack 8 days ago.

Download all attachments as: .zip

Change History (12)

Changed 9 days ago by amagela (Anthony M. Agelastos)

Attachment: main.log added

Build log

comment:1 Changed 9 days ago by kencu (Ken)

please try this fix:

ProblemHotlist#clts16

Last edited 9 days ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

Changed 9 days ago by dkossack

Attachment: main.2.log added

comment:2 Changed 9 days ago by kencu (Ken)

Did you try the fix mentioned?

Changed 8 days ago by dkossack

Attachment: main2.log added

comment:3 Changed 8 days ago by dkossack

Yes... main.2.log before, main2.log after: fatal error: 'type_traits' file not found

comment:4 in reply to:  2 Changed 8 days ago by amagela (Anthony M. Agelastos)

Replying to kencu:

Did you try the fix mentioned?

I did and it seems to work for me. I also have Xcode 16 selected now instead of 15.4 (which I had for a while when 16 came out as some ports had issues).

comment:5 in reply to:  3 Changed 8 days ago by kencu (Ken)

Replying to dkossack:

Yes... main.2.log before, main2.log after: fatal error: 'type_traits' file not found

I think you still have the problem ProblemHotlist#clts16

please try again to do the fix.

comment:6 Changed 8 days ago by kencu (Ken)

I see there is a new CLTs released today ... perhaps that will finally fix this for everyone once they update.

Changed 8 days ago by dkossack

Attachment: main3.log added

comment:7 Changed 8 days ago by dkossack

I reinstalled CLT (Xcode 12.4). I appear to have gotten past the 'type_traits' issue but now failing at:

:info:build Command failed: cd "/Volumes/PEluard/opt/local/var/macports/build/_Volumes_PEluard_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gexiv2/gexiv2/work/build" && /Volumes/PEluard/opt/local/bin/ninja -j8 -v
:info:build Exit code: 1
:error:build Failed to build gexiv2: command execution failed

main3.log

Last edited 8 days ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:8 in reply to:  7 Changed 8 days ago by ryandesign (Ryan Carsten Schmidt)

Cc: dkossack added
Keywords: sonoma added
Resolution: duplicate
Status: assignedclosed

Replying to amagela:

Replying to kencu:

Did you try the fix mentioned?

I did and it seems to work for me. I also have Xcode 16 selected now instead of 15.4 (which I had for a while when 16 came out as some ports had issues).

Great, then we'll consider this ticket closed as a duplicate of #70750.

Replying to kencu:

Replying to dkossack:

Yes... main.2.log before, main2.log after: fatal error: 'type_traits' file not found

I think you still have the problem ProblemHotlist#clts16

please try again to do the fix.

The log from dkossack shows macOS 10.15, which is not affected by that bug. While reinstalling the CLT was the solution, the problem was not caused by the bug in the CLT 16 updater since the user is not using CLT 16.

Replying to dkossack:

I reinstalled CLT (Xcode 12.4). I appear to have gotten past the 'type_traits' issue but now failing at:

:info:build Command failed: cd "/Volumes/PEluard/opt/local/var/macports/build/_Volumes_PEluard_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gexiv2/gexiv2/work/build" && /Volumes/PEluard/opt/local/bin/ninja -j8 -v
:info:build Exit code: 1
:error:build Failed to build gexiv2: command execution failed

main3.log

That is yet another different problem. We need each separate unrelated problem to be filed in separate tickets, please, so that we can investigate and advise clearly.

Note: See TracTickets for help on using tickets.