Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 2015 14:53:28 +0100
From:      Andrea Venturoli <ml@netfence.it>
To:        mr@FreeBSD.org
Cc:        ports@freebsd.org
Subject:   cad/openscad fails to build on 9.3/i386
Message-ID:  <551560D8.5070604@netfence.it>

next in thread | raw e-mail | index | archive | help
Hello.

I'm trying to upgrade OpensCAD to 2015.03, which was committed yesterday.
However it fails to build.

Following is the log.

> # make
> ===>  License GPLv2 accepted by the user
> ===>   openscad-2015.03 depends on file: /usr/local/sbin/pkg - found
> ===> Fetching all distfiles required by openscad-2015.03 for building
> ===>  Extracting for openscad-2015.03
> => SHA256 Checksum OK for openscad-2015.03.src.tar.gz.
> ===>  Patching for openscad-2015.03
> /usr/bin/sed -i.bak -e 's,share/man,man,'  /tmp/usr/ports/cad/openscad/work/openscad-2015.03/openscad.pro
> ===>   openscad-2015.03 depends on file: /usr/local/bin/flex - found
> ===>   openscad-2015.03 depends on file: /usr/local/libdata/pkgconfig/eigen3.pc - found
> ===>   openscad-2015.03 depends on file: /usr/local/include/boost/tuple/tuple.hpp - found
> ===>   openscad-2015.03 depends on executable: msgfmt - found
> ===>   openscad-2015.03 depends on executable: bison - found
> ===>   openscad-2015.03 depends on executable: update-desktop-database - found
> ===>   openscad-2015.03 depends on executable: pkgconf - found
> ===>   openscad-2015.03 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - found
> ===>   openscad-2015.03 depends on file: /usr/local/libdata/pkgconfig/dri2proto.pc - found
> ===>   openscad-2015.03 depends on file: /usr/local/lib/qt4/libQtCore.so - found
> ===>   openscad-2015.03 depends on file: /usr/local/lib/qt4/libQtGui.so - found
> ===>   openscad-2015.03 depends on file: /usr/local/bin/moc-qt4 - found
> ===>   openscad-2015.03 depends on file: /usr/local/lib/qt4/libQtOpenGL.so - found
> ===>   openscad-2015.03 depends on file: /usr/local/bin/qmake-qt4 - found
> ===>   openscad-2015.03 depends on file: /usr/local/bin/rcc - found
> ===>   openscad-2015.03 depends on file: /usr/local/bin/uic-qt4 - found
> ===>   openscad-2015.03 depends on shared library: libgmp.so - found (/usr/local/lib/libgmp.so.10.1.3)
> ===>   openscad-2015.03 depends on shared library: libmpfr.so - found (/usr/local/lib/libmpfr.so.4.1.2)
> ===>   openscad-2015.03 depends on shared library: libCGAL.so - found (/usr/local/lib/libCGAL.so.10)
> ===>   openscad-2015.03 depends on shared library: libqscintilla2.so - found (/usr/local/lib/qt4/libqscintilla2.so.11.3.0)
> ===>   openscad-2015.03 depends on shared library: libharfbuzz.so - found (/usr/local/lib/libharfbuzz.so.0.936.0)
> ===>   openscad-2015.03 depends on shared library: libopencsg.so - found (/usr/local/lib/libopencsg.so.1.3.2)
> ===>   openscad-2015.03 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so.1.3.1)
> ===>   openscad-2015.03 depends on shared library: libGLEW.so - found (/usr/local/lib/libGLEW.so.1)
> ===>  Configuring for openscad-2015.03
> Project MESSAGE: If you're building a development binary, consider adding CONFIG+=experimental
> Project MESSAGE: User set EIGEN location: /usr/local/include/eigen3
> ===>  Building for openscad-2015.03
> /usr/local/bin/moc-qt4 -DOPENSCAD_VERSION=2015.03 -DOPENSCAD_YEAR=2015.0 -DOPENSCAD_MONTH=03.0 -DOPENSCAD_DAY=.0 -DENABLE_CGAL -DENABLE_OPENCSG -DUSE_SCINTILLA_EDITOR -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I/usr/local/include/eigen3 -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4 -Isrc -I/usr/local/include/qt4 -Isrc/libtess2/Include -I/usr/local/include -Iobjects -I/usr/local/include/qt4 -I/usr/local/include src/Dock.h -o objects/moc_Dock.cpp
> /usr/local/bin/uic-qt4 src/MainWindow.ui -o objects/ui_MainWindow.h -tr _
> /usr/local/bin/moc-qt4 -DOPENSCAD_VERSION=2015.03 -DOPENSCAD_YEAR=2015.0 -DOPENSCAD_MONTH=03.0 -DOPENSCAD_DAY=.0 -DENABLE_CGAL -DENABLE_OPENCSG -DUSE_SCINTILLA_EDITOR -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I/usr/local/include/eigen3 -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4 -Isrc -I/usr/local/include/qt4 -Isrc/libtess2/Include -I/usr/local/include -Iobjects -I/usr/local/include/qt4 -I/usr/local/include src/QGLView.h -o objects/moc_QGLView.cpp
> /usr/local/bin/uic-qt4 src/Preferences.ui -o objects/ui_Preferences.h -tr _
> /usr/local/bin/uic-qt4 src/OpenCSGWarningDialog.ui -o objects/ui_OpenCSGWarningDialog.h -tr _
> /usr/local/bin/uic-qt4 src/AboutDialog.ui -o objects/ui_AboutDialog.h -tr _
> /usr/local/bin/uic-qt4 src/FontListDialog.ui -o objects/ui_FontListDialog.h -tr _
> /usr/local/bin/moc-qt4 -DOPENSCAD_VERSION=2015.03 -DOPENSCAD_YEAR=2015.0 -DOPENSCAD_MONTH=03.0 -DOPENSCAD_DAY=.0 -DENABLE_CGAL -DENABLE_OPENCSG -DUSE_SCINTILLA_EDITOR -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I/usr/local/include/eigen3 -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4 -Isrc -I/usr/local/include/qt4 -Isrc/libtess2/Include -I/usr/local/include -Iobjects -I/usr/local/include/qt4 -I/usr/local/include src/FontListTableView.h -o objects/moc_FontListTableView.cpp
> /usr/local/bin/uic-qt4 src/ProgressWidget.ui -o objects/ui_ProgressWidget.h -tr _
> /usr/local/bin/uic-qt4 src/launchingscreen.ui -o objects/ui_launchingscreen.h -tr _
> /usr/local/bin/uic-qt4 src/LibraryInfoDialog.ui -o objects/ui_LibraryInfoDialog.h -tr _
> /usr/local/bin/moc-qt4 -DOPENSCAD_VERSION=2015.03 -DOPENSCAD_YEAR=2015.0 -DOPENSCAD_MONTH=03.0 -DOPENSCAD_DAY=.0 -DENABLE_CGAL -DENABLE_OPENCSG -DUSE_SCINTILLA_EDITOR -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I/usr/local/include/eigen3 -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4 -Isrc -I/usr/local/include/qt4 -Isrc/libtess2/Include -I/usr/local/include -Iobjects -I/usr/local/include/qt4 -I/usr/local/include src/editor.h -o objects/moc_editor.cpp
> /usr/local/bin/moc-qt4 -DOPENSCAD_VERSION=2015.03 -DOPENSCAD_YEAR=2015.0 -DOPENSCAD_MONTH=03.0 -DOPENSCAD_DAY=.0 -DENABLE_CGAL -DENABLE_OPENCSG -DUSE_SCINTILLA_EDITOR -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I/usr/local/include/eigen3 -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4 -Isrc -I/usr/local/include/qt4 -Isrc/libtess2/Include -I/usr/local/include -Iobjects -I/usr/local/include/qt4 -I/usr/local/include src/scintillaeditor.h -o objects/moc_scintillaeditor.cpp
> c++ -c -O2 -pipe -fno-strict-aliasing -frounding-math -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -pthread -D_THREAD_SAFE -Wall -W -Wno-unused-local-typedefs -DOPENSCAD_VERSION=2015.03 -DOPENSCAD_YEAR=2015.0 -DOPENSCAD_MONTH=03.0 -DOPENSCAD_DAY=.0 -DENABLE_CGAL -DENABLE_OPENCSG -DUSE_SCINTILLA_EDITOR -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I/usr/local/include/eigen3 -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4 -Isrc -I/usr/local/include/qt4 -Isrc/libtess2/Include -I/usr/local/include -Iobjects -I/usr/local/include/qt4 -I/usr/local/include -o objects/scadlexer.o src/scadlexer.cpp
> cc1plus: error: unrecognized command line option "-Wno-unused-local-typedefs"
> *** [objects/scadlexer.o] Error code 1
> 1 error
> ===> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
> the maintainer.
> *** [do-build] Error code 1
>
> Stop in /usr/ports/cad/openscad.

I'm not in a hurry to upgrade this, but if you want me to make any test, 
feel free to ask.

  bye & Thanks
	av.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?551560D8.5070604>