Opened 2 weeks ago

Closed 2 weeks ago

#71148 closed defect (duplicate)

libomp @19.1.2: fatal error: 'atomic' file not found

Reported by: tgederberg Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.2
Keywords: Cc: eborisch (Eric A. Borisch)
Port: libomp

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

In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-19.1.2.src/runtime/src/kmp_itt.cpp:16:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-19.1.2.src/runtime/src/kmp_itt.h:17:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-19.1.2.src/runtime/src/kmp_lock.h:20:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-19.1.2.src/runtime/src/kmp_os.h:17:10: fatal error: 'atomic' file not found
   17 | #include <atomic>
      |          ^~~~~~~~
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-19.1.2.src/runtime/src/kmp_i18n.cpp:13:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-19.1.2.src/runtime/src/kmp_i18n.h:16:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-19.1.2.src/runtime/src/kmp_str.h:19:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-19.1.2.src/runtime/src/kmp_os.h:17:10: fatal error: 'atomic' file not found
   17 | #include <atomic>
      |          ^~~~~~~~
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-19.1.2.src/runtime/src/kmp_atomic.cpp:13:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-19.1.2.src/runtime/src/kmp_atomic.h:16:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-19.1.2.src/runtime/src/kmp_lock.h:20:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-19.1.2.src/runtime/src/kmp_os.h:17:10: fatal error: 'atomic' file not found
   17 | #include <atomic>
      |          ^~~~~~~~
In file included from In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-19.1.2.src/runtime/src/kmp_environment.cpp/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-19.1.2.src/runtime/src/kmp_error.cpp::5313:
:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-19.1.2.src/runtime/src/kmp.h/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-19.1.2.src/runtime/src/kmp.h::8080::1010::  fatal error: fatal error: 'limits' file not found'limits' file not found

      8080 |  | ##iinncclluuddee  <<lliimmiittss>>

            | |          ^~~~~~~~         ^~~~~~~~

In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-19.1.2.src/runtime/src/kmp_debug.cpp:13:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-19.1.2.src/runtime/src/kmp.h:80:10: fatal error: 'limits' file not found
   80 | #include <limits>
      |          ^~~~~~~~
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-19.1.2.src/runtime/src/kmp_global.cpp:13:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-19.1.2.src/runtime/src/kmp.h:80:10: fatal error: 'limits' file not found
   80 | #include <limits>
      |          ^~~~~~~~
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-19.1.2.src/runtime/src/kmp_alloc.cpp:13:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-19.1.2.src/runtime/src/kmp.h:80:10: fatal error: 'limits' file not found
   80 | #include <limits>
      |          ^~~~~~~~
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-19.1.2.src/runtime/src/kmp_csupport.cpp:15:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-19.1.2.src/runtime/src/kmp.h:80:10: fatal error: 'limits' file not found
   80 | #include <limits>
      |          ^~~~~~~~
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-19.1.2.src/runtime/src/kmp_io.cpp:22:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-19.1.2.src/runtime/src/kmp.h:80:10: fatal error: 'limits' file not found
   80 | #include <limits>
      |          ^~~~~~~~
1 error1 generated.
 error generated.
1 error generated.
1 error generated.
make[2]: *** [runtime/src/CMakeFiles/omp.dir/kmp_error.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [runtime/src/CMakeFiles/omp.dir/kmp_debug.cpp.o] Error 1
make[2]: *** [runtime/src/CMakeFiles/omp.dir/kmp_environment.cpp.o] Error 1
make[2]: *** [runtime/src/CMakeFiles/omp.dir/kmp_io.cpp.o] Error 1
1 error generated.
1 error generated.
make[2]: *** [runtime/src/CMakeFiles/omp.dir/kmp_alloc.cpp.o] Error 1
make[2]: *** [runtime/src/CMakeFiles/omp.dir/kmp_global.cpp.o] Error 1
1 error generated.
make[2]: *** [runtime/src/CMakeFiles/omp.dir/kmp_itt.cpp.o] Error 1
1 error generated.
make[2]: *** [runtime/src/CMakeFiles/omp.dir/kmp_i18n.cpp.o] Error 1
1 error generated.
1 error generated.
make[2]: *** [runtime/src/CMakeFiles/omp.dir/kmp_csupport.cpp.o] Error 1
make[2]: *** [runtime/src/CMakeFiles/omp.dir/kmp_atomic.cpp.o] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/build'
make[1]: *** [runtime/src/CMakeFiles/omp.dir/all] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/build'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/build'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/build" && /usr/bin/make -j10 -w all VERBOSE=ON
Exit code: 2
Error: Failed to build libomp: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.

Change History (1)

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

Cc: eborisch added
Description: modified (diff)
Resolution: duplicate
Status: newclosed
Summary: failed to build libomplibomp @19.1.2: fatal error: 'atomic' file not found

Please see the solution at ProblemHotlist#clts16. Duplicate of #70750.

Note: See TracTickets for help on using tickets.