[MacPorts] #71148: libomp @19.1.2: fatal error: 'atomic' file not found (was: failed to build libomp)

MacPorts noreply at macports.org
Tue Oct 22 01:09:00 UTC 2024


#71148: libomp @19.1.2: fatal error: 'atomic' file not found
-------------------------+--------------------
  Reporter:  tgederberg  |      Owner:  (none)
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.10.2
Resolution:  duplicate   |   Keywords:
      Port:  libomp      |
-------------------------+--------------------
Changes (by ryandesign):

 * cc: eborisch (added)
 * status:  new => closed
 * resolution:   => duplicate


Old description:

> 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.

New description:

 {{{
 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.
 }}}

--

Comment:

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

-- 
Ticket URL: <https://trac.macports.org/ticket/71148#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list