OpenSCAD 2014.03_2 fails to build

Mark Brethen mark.brethen at gmail.com
Sat Aug 16 10:47:03 PDT 2014


On Aug 16, 2014, at 11:50 AM, Mark Brethen <mark.brethen at gmail.com> wrote:

> Performed a port upgrade outdated this morning and noticed openSCAD failed to build:
> 
> :info:build clang++ -c -pipe -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -O2 -arch x86_64 -Wall -W -Wno-overloaded-virtual -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-c++11-extensions -Wno-sign-compare -DOPENSCAD_VERSION=2014.03 -DOPENSCAD_YEAR=2014.0 -DOPENSCAD_MONTH=03.0 -DOPENSCAD_DAY=.0 -DENABLE_MDI -DUSE_PROGRESSWIDGET -DENABLE_CGAL -DENABLE_OPENCSG -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0 -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/share/qt4/mkspecs/unsupported/macx-clang -I. -Iobjects -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -Isrc -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/include/eigen3 -I/opt/local/include -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/include/eigen3 -I/opt/local/include -I/opt/local/include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -Iobjects -F/opt/local/Library/Frameworks -F/opt/local/lib -o objects/lexer_lex.o lexer_lex.cpp
> :info:build src/lexer.l:33:10: fatal error: 'parser_yacc.h' file not found
> :info:build #include "parser_yacc.h"
> :info:build          ^
> :info:build rm -f parser_yacc.h parser_yacc.cpp
> :info:build mv -f parser.tab.h parser_yacc.h
> :info:build mv -f parser.tab.c parser_yacc.cpp
> :info:build clang++ -c -pipe -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -O2 -arch x86_64 -Wall -W -Wno-overloaded-virtual -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-c++11-extensions -Wno-sign-compare -DOPENSCAD_VERSION=2014.03 -DOPENSCAD_YEAR=2014.0 -DOPENSCAD_MONTH=03.0 -DOPENSCAD_DAY=.0 -DENABLE_MDI -DUSE_PROGRESSWIDGET -DENABLE_CGAL -DENABLE_OPENCSG -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0 -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/share/qt4/mkspecs/unsupported/macx-clang -I. -Iobjects -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -Isrc -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/include/eigen3 -I/opt/local/include -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/include/eigen3 -I/opt/local/include -I/opt/local/include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -Iobjects -F/opt/local/Library/Frameworks -F/opt/local/lib -o objects/parser_yacc.o parser_yacc.cpp
> :info:build 1 error generated.
> :info:build make: *** [objects/lexer_lex.o] Error 1
> 
> 
> 
> Mark
> 
> 
> 
> 

Wierd behaviour... I issued 'sudo port clean openscad' followed by a 'sudo port -p upgrade outdated' and openscad installed without any errors.

Mark






More information about the macports-users mailing list