[MacPorts] #57085: glm @0.9.9.0: build fails on 10.8 and earlier

MacPorts noreply at macports.org
Sun Sep 2 01:34:06 UTC 2018


#57085: glm @0.9.9.0: build fails on 10.8 and earlier
---------------------+----------------------
 Reporter:  dbevans  |      Owner:  mamoll
     Type:  defect   |     Status:  assigned
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  glm
---------------------+----------------------
 Apparently a compiler issue:
 {{{
 [ 66%] Building CXX object glm/CMakeFiles/glm_dummy.dir/detail/glm.cpp.o
 cd
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_glm/glm/work/build/glm
 && /usr/bin/clang++
 -I/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_glm/glm/work/glm-0.9.9.0
 -I/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_glm/glm/work/glm-0.9.9.0/glm/..
 -pipe -Os -DNDEBUG -I/opt/local/include -stdlib=libstdc++ -mmacosx-
 version-min=10.8   -Werror -Weverything -Wno-c++98-compat -Wno-c++98
 -compat-pedantic -Wno-c++11-long-long -Wno-padded -Wno-gnu-anonymous-
 struct -Wno-nested-anon-types -Wno-undefined-reinterpret-cast -Wno-sign-
 conversion -Wno-unused-variable -Wno-missing-prototypes -Wno-unreachable-
 code -Wno-missing-variable-declarations -Wno-sign-compare -Wno-global-
 constructors -Wno-unused-macros -Wno-format-nonliteral -o
 CMakeFiles/glm_dummy.dir/detail/glm.cpp.o -c
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_glm/glm/work/glm-0.9.9.0/glm/detail/glm.cpp
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_glm/glm/work/glm-0.9.9.0/glm/detail/glm.cpp:5:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_glm/glm/work/glm-0.9.9.0/glm/glm.hpp:90:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_glm/glm/work/glm-0.9.9.0/glm/detail/setup.hpp:36:
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_glm/glm/work/glm-0.9.9.0/glm/detail/../simd/platform.h:161:5:
 error: "GLM requires Clang 3.4 / Apple Clang 6.0 or higher"
 #                       error "GLM requires Clang 3.4 / Apple Clang 6.0 or
 higher"
                         ^
 }}}

 Home page says:

 {{{
 GLM is written in C++98 but can take advantage of C++11 when supported by
 the compiler.
 }}}

 Possibly using  the cxx11 1.1 PortGroup  would solve the problem.

 See build log: https://build.macports.org/builders/ports-10
 .8_x86_64_legacy-builder/builds/69587/steps/install-port/logs/stdio

-- 
Ticket URL: <https://trac.macports.org/ticket/57085>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list