[MacPorts] #72440: stellarium @23.4_1: error: "GLM: GLM_GTX_transform is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." (was: Install stellarium 23.4_1 failed)

MacPorts noreply at macports.org
Mon May 5 07:35:12 UTC 2025


#72440: stellarium @23.4_1: error: "GLM: GLM_GTX_transform is an experimental
extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL
before including it, if you really want to use it."
-------------------------+-----------------------
  Reporter:  zialo1      |      Owner:  michaelld
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.10.6
Resolution:              |   Keywords:
      Port:  stellarium  |
-------------------------+-----------------------

Old description:

> install fails. Building stellarium
> Error: Failed to build stellarium: command execution failed
> Darwin Kernel Version 24.4.0
>
> {{{Error: Failed to build stellarium: command execution failed}}}
>
> attached is main.log.
>
> If I go to the local macports/build/.../stellarium/work/build directory
> and run make,
> this is the results:
>
> {{{
> In file included from
> /opt/local/var/macports/build/_opt_local_var_macports_sources_vie.at.rsync.macports.org_macports_release_tarballs_ports_science_stellarium/stellarium/work/build/_deps
> /showmysky-qt5-src/common/EclipsedDoubleScatteringPrecomputer.cpp:6:
> /opt/local/include/glm/gtx/transform.hpp:23:3: error: "GLM:
> GLM_GTX_transform is an experimental extension and may change in the
> future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you
> really want to use it."
>    23 | #       error "GLM: GLM_GTX_transform is an experimental
> extension and may change in the future. Use #define
> GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use
> it."
>       |         ^
> 1 error generated.
> make[2]: *** [_deps/showmysky-
> qt5-build/CMakeFiles/common.dir/common/EclipsedDoubleScatteringPrecomputer.cpp.o]
> Error 1
> make[1]: *** [_deps/showmysky-qt5-build/CMakeFiles/common.dir/all] Error
> 2
> make: *** [all] Error 2
> }}}

New description:

 install fails. Building stellarium
 {{{
 Error: Failed to build stellarium: command execution failed
 }}}
 Darwin Kernel Version 24.4.0

 {{{Error: Failed to build stellarium: command execution failed}}}

 attached is main.log.

 If I go to the local macports/build/.../stellarium/work/build directory
 and run make,
 this is the results:

 {{{
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_vie.at.rsync.macports.org_macports_release_tarballs_ports_science_stellarium/stellarium/work/build/_deps
 /showmysky-qt5-src/common/EclipsedDoubleScatteringPrecomputer.cpp:6:
 /opt/local/include/glm/gtx/transform.hpp:23:3: error: "GLM:
 GLM_GTX_transform is an experimental extension and may change in the
 future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you
 really want to use it."
    23 | #       error "GLM: GLM_GTX_transform is an experimental extension
 and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before
 including it, if you really want to use it."
       |         ^
 1 error generated.
 make[2]: *** [_deps/showmysky-
 qt5-build/CMakeFiles/common.dir/common/EclipsedDoubleScatteringPrecomputer.cpp.o]
 Error 1
 make[1]: *** [_deps/showmysky-qt5-build/CMakeFiles/common.dir/all] Error 2
 make: *** [all] Error 2
 }}}

--

Comment (by ryandesign):

 Issuing build commands manually is not equivalent to what MacPorts does so
 it can produce different results and is not a recommended troubleshooting
 step. However, in this case, it seems to have produced the same message
 shown in your log:

 {{{
 /opt/local/include/glm/gtx/transform.hpp:23:3: error: "GLM:
 GLM_GTX_transform is an experimental extension and may change in the
 future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you
 really want to use it."
    23 | #       error "GLM: GLM_GTX_transform is an experimental extension
 and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before
 including it, if you really want to use it."
       |         ^
 }}}

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


More information about the macports-tickets mailing list