Opened 4 years ago

Last modified 3 years ago

#62288 assigned defect

openscad-devel @2018.04-1_2: error: no viable conversion from 'boost::tribool' to 'bool'

Reported by: murrayE Owned by: dstrubbe (David Strubbe)
Priority: Normal Milestone:
Component: ports Version: 2.6.99
Keywords: Cc:
Port: openscad-devel

Description

Under macOS Big Sur 11.2.1 , MacPorts 2.6.99, and Xcode CLT 12.4, the following build error occurs:

:info:build src/CSGTreeEvaluator.cc:179:9: error: no viable conversion from 'boost::tribool' to 'bool'
:info:build                         bool convex = ps->convexValue();
:info:build                              ^        ~~~~~~~~~~~~~~~~~
:info:build /usr/bin/clang++ -c -Os -stdlib=libc++ -arch x86_64 -DSTACKSIZE=8388608 -fno-strict-aliasing -frounding-math -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/harfbuzz -I/opt/local/include/freetype2 -I/opt/local/include/fontconfig -stdlib=libc++ -std=c++0x -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=11.0 -Wall -W -Wno-unused-local-typedefs -DOPENSCAD_VERSION=2018.04-1 -DOPENSCAD_SHORTVERSION=2018.04 -DOPENSCAD_YEAR=2018.0 -DOPENSCAD_MONTH=04.0 -DOPENSCAD_DAY=.0 -DSTACKSIZE=8388608 -DENABLE_MDI -DENABLE_CGAL -DENABLE_OPENCSG -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0 -DUSE_SCINTILLA_EDITOR -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4/share/mkspecs/macx-g++ -I. -Iobjects -I/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -Isrc -Isrc/ext/libtess2/Include -I/opt/local/libexec/qt4/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/include/eigen3 -I/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/include/eigen3 -I/opt/local/libexec/qt4/include -I/System/Library/Frameworks/OpenGL.framework/Headers -I/System/Library/Frameworks/AGL.framework/Headers/ -I/opt/local/include -F/opt/local/libexec/qt4/Library/Frameworks -F/opt/local/libexec/qt4/lib -o objects/cgaladv.o src/cgaladv.cc
:info:build clang: warning: optimization flag '-frounding-math' is not supported [-Wignored-optimization-argument]
:info:build 1 error generated.
:info:build make: *** [objects/CSGTreeEvaluator.o] Error 1

Attachments (2)

main.log (286.8 KB) - added by murrayE 4 years ago.
main.log
OpenSCAD-devel_main.log (214.1 KB) - added by LenoreHorner 3 years ago.

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by murrayE

Attachment: main.log added

main.log

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: dstrubbe removed
Keywords: build failure removed
Owner: set to dstrubbe
Status: newassigned
Summary: openscad-devel-2018.04-1_2 build failureopenscad-devel @2018.04-1_2: error: no viable conversion from 'boost::tribool' to 'bool'

Maybe updating the port would be a first step toward trying to fix this.

comment:2 Changed 3 years ago by LenoreHorner

The increment to openscad-devel @2018.04-1_3 has multiple errors on Big Sur with Xcode 12.5.1. Version 2021.01 exists on openscad website. Not having ever built a port before, I don't think I'm qualified to test whether switching to the newer version fixes these errors or not. (And newest version seems still not to be M1 compatible.) I've attached the log in case it's helpful to someone. (Well I would if I could find the attachment button. Ok, I found the attachment button, but that makes it look like attachment to someone else's comment. Weird. Mine is the one called OpenSCAD-devel_main.log.)

Last edited 3 years ago by LenoreHorner (previous) (diff)

Changed 3 years ago by LenoreHorner

Attachment: OpenSCAD-devel_main.log added
Note: See TracTickets for help on using tickets.