Opened 3 years ago
Closed 3 years ago
#62902 closed defect (fixed)
google-glog fails to build/compile
Reported by: | mouse07410 (Mouse) | Owned by: | reneeotten (Renee Otten) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | google-glog |
Description
MacOS 11.3.1, Xcode-12.5.
Installation of google-glog @0.5.0_0
port fails with these int he log:
. . . . . :info:build /usr/bin/clang++ -DGFLAGS_IS_A_DLL=0 -DGLOG_NO_SYMBOLIZE_DETECTION -DGLOG_STL_LOGGING_FOR_EXT_HASH -DGLOG_STL_LOGGING_FOR_UNORDERED -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_google-glog/google-glog/work/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_google-glog/google-glog/work/glog-0.5.0/src -isystem /opt/local/include -pipe -Os -DNDEBUG -I/opt/local/include -stdlib=libc++ -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=11.3 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-unnamed-type-template-args -Wno-deprecated -o CMakeFiles/stl_logging_unittest.dir/src/stl_logging_unittest.cc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_google-glog/google-glog/work/glog-0.5.0/src/stl_logging_unittest.cc :info:build /usr/bin/clang++ -DGFLAGS_IS_A_DLL=0 -DGLOG_NO_SYMBOLIZE_DETECTION -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_google-glog/google-glog/work/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_google-glog/google-glog/work/glog-0.5.0/src -isystem /opt/local/include -pipe -Os -DNDEBUG -I/opt/local/include -stdlib=libc++ -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=11.3 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-unnamed-type-template-args -o CMakeFiles/logging_unittest.dir/src/logging_unittest.cc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_google-glog/google-glog/work/glog-0.5.0/src/logging_unittest.cc :info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_google-glog/google-glog/work/glog-0.5.0/src/symbolize_unittest.cc:41: :info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_google-glog/google-glog/work/glog-0.5.0/src/googletest.h:106: :info:build In file included from /opt/local/include/gtest/gtest.h:62: :info:build In file included from /opt/local/include/gtest/internal/gtest-internal.h:40: :info:build /opt/local/include/gtest/internal/gtest-port.h:836:12: error: no member named 'make_tuple' in namespace 'std' :info:build using std::make_tuple; :info:build ~~~~~^ :info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_google-glog/google-glog/work/glog-0.5.0/src/utilities_unittest.cc:32: :info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_google-glog/google-glog/work/glog-0.5.0/src/googletest.h:106: :info:build In file included from /opt/local/include/gtest/gtest.h:62: :info:build In file included from /opt/local/include/gtest/internal/gtest-internal.h:40: :info:build /opt/local/include/gtest/internal/gtest-port.h:836:12: error: no member named 'make_tuple' in namespace 'std' :info:build using std::make_tuple; :info:build ~~~~~^ . . . . .
Seems to be related to (somehow colliding with) the installed port gtest @1.10.0_0
.
Full log attached.
Attachments (1)
Change History (4)
Changed 3 years ago by mouse07410 (Mouse)
Attachment: | google-glog.txt added |
---|
comment:1 Changed 3 years ago by reneeotten (Renee Otten)
it looks like this is the issue: gtest
requires now C++11 and this port doesn't do that. Try adding -DWITH_GTEST=OFF
to configure.args-append
in the Portfile and it should be good to go. Anyway the tests are not enabled in the Portfile so I don't see an obvious reason to have the option enabled. If that indeed works, please feel free to open a PR with that change.
comment:3 Changed 3 years ago by reneeotten (Renee Otten)
Owner: | set to reneeotten |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Build log