Opened 3 weeks ago

Last modified 3 weeks ago

#73755 assigned defect

openexr @3.4.8_0: fatal error: 'exception' file not found

Reported by: mobydick31 Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.12.4
Keywords: sequoia Cc: mascguy (Christopher Nielsen)
Port: openexr

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

after updating to MacOS 15.7.5 on a 2017 iMac Pro, then upgrading macports, i got the message that openexr failed to upgrade. i tried to clean it, uninstall it, but to no avail. here is the message i got

The following new port will be installed as a dependency:
 openexr
--->  Installing openexr @3.4.8_0 (1/14)
Warning: Old C++ headers are present, which may cause build failures with Command Line Tools v16+.
Warning: Please see: <https://trac.macports.org/wiki/ProblemHotlist#clts16>
--->  Computing dependencies for openexr
--->  Fetching archive for openexr
--->  Building openexr
Error: Failed to build openexr: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/main.log for details.
Error: Problem while installing openexr @3.4.8_0

looking at the log file, it looks as if there are a number of files missing from the install :

:info:build In file included from /opt/local/var/macports/build/openexr-e55176f0/work/openexr-3.4.8/src/lib/Iex/IexBaseExc.cpp:12:
:info:build /opt/local/var/macports/build/openexr-e55176f0/work/openexr-3.4.8/src/lib/Iex/IexBaseExc.h:19:10: fatal error: 'exception' file not found
:info:build    19 | #include <exception>
:info:build       |          ^~~~~~~~~~~
:info:build In file included from /opt/local/var/macports/build/openexr-e55176f0/work/openexr-3.4.8/src/lib/Iex/IexMathFloatExc.cpp:15:
:info:build /opt/local/var/macports/build/openexr-e55176f0/work/openexr-3.4.8/src/lib/Iex/IexMacros.h:15:10: fatal error: 'sstream' file not found
:info:build    15 | #include <sstream>
:info:build       |          ^~~~~~~~~
:info:build In file included from /opt/local/var/macports/build/openexr-e55176f0/work/openexr-3.4.8/src/lib/Iex/IexThrowErrnoExc.cpp:13:
:info:build In file included from /opt/local/var/macports/build/openexr-e55176f0/work/openexr-3.4.8/src/lib/Iex/IexThrowErrnoExc.h:15:
:info:build /opt/local/var/macports/build/openexr-e55176f0/work/openexr-3.4.8/src/lib/Iex/IexBaseExc.h:19:10: fatal error: 'exception' file not found
:info:build    19 | #include <exception>
:info:build       |          ^~~~~~~~~~~
:info:build 1 error generated.
:info:build make[2]: *** [src/lib/Iex/CMakeFiles/Iex.dir/IexMathFloatExc.cpp.o] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build /opt/local/var/macports/build/openexr-e55176f0/work/openexr-3.4.8/src/lib/OpenEXRCore/internal_ht.cpp:6:10: fatal error: 'limits' file not found
:info:build     6 | #include <limits>
:info:build       |          ^~~~~~~~
:info:build In file included from /opt/local/var/macports/build/openexr-e55176f0/work/openexr-3.4.8/src/lib/OpenEXRCore/internal_ht_common.cpp:6:
:info:build /opt/local/var/macports/build/openexr-e55176f0/work/openexr-3.4.8/src/lib/OpenEXRCore/internal_ht_common.h:9:10: fatal error: 'vector' file not found
:info:build     9 | #include <vector>
:info:build       |          ^~~~~~~~
:info:build 1 error generated.
:info:build make[2]: *** [src/lib/Iex/CMakeFiles/Iex.dir/IexThrowErrnoExc.cpp.o] Error 1
:info:build 1 error generated.
:info:build make[2]: *** [src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/internal_ht_common.cpp.o] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build 1 error generated.
:info:build make[2]: *** [src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/internal_ht.cpp.o] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/openexr-e55176f0/work/build'
:info:build make[1]: *** [src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/all] Error 2
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build 1 error generated.
:info:build make[2]: *** [src/lib/Iex/CMakeFiles/Iex.dir/IexBaseExc.cpp.o] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/openexr-e55176f0/work/build'
:info:build make[1]: *** [src/lib/Iex/CMakeFiles/Iex.dir/all] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/openexr-e55176f0/work/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/openexr-e55176f0/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/openexr-e55176f0/work/build" && /usr/bin/make -j20 -w all VERBOSE=ON 
:info:build Exit code: 2
:error:build Failed to build openexr: command execution failed
:debug:build Error code: CHILDSTATUS 2658 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 10)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/main.log for details.

Change History (2)

comment:1 Changed 3 weeks ago by reneeotten (Renee Otten)

Cc: mascguy added
Description: modified (diff)
Owner: set to MarcusCalhoun-Lopez
Port: openexr added
Status: newassigned

the first comment in the part of the log says:

Warning: Old C++ headers are present, which may cause build failures with Command Line Tools v16+.
Warning: Please see: <https://trac.macports.org/wiki/ProblemHotlist#clts16>

please take care of that to be sure it's not causing issues.

comment:2 Changed 3 weeks ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: sequoia added
Summary: Problem while installing openexr @3.4.8_0openexr @3.4.8_0: fatal error: 'exception' file not found
Note: See TracTickets for help on using tickets.