jasperla/openbsd-wip — comment on commit 142bad69581f7897cd39517f0017bea1eaf693d7
File:  line 0
By grayed:

2011/11/8 Amit Kulkarni
:
> I'm unable to compile cantor with R backend support. Did you get cantor to compile? This is the only thing which errors out now... Current, Xenocara compiled from November 7th.
>
> [ 68%] Building CXX object src/backends/R/rserver/CMakeFiles/cantor_rserver.dir/rcallbacks.o
> cd /home/amit/obsd/ports/pobj/cantor-4.7.2/build-amd64/src/backends/R/rserver && /usr/bin/c++ -O2 -pipe -Woverloaded-virtual -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -I/home/amit/obsd/ports/pobj/cantor-4.7.2/build-amd64/src/backends/R/rserver -I/usr/ports/pobj/cantor-4.7.2/cantor-4.7.2/src/backends/R/rserver -I/usr/ports/pobj/cantor-4.7.2/cantor-4.7.2/src/lib -I/home/amit/obsd/ports/pobj/cantor-4.7.2/build-amd64/src/lib -I/usr/local/include -I/usr/local/include/KDE -I/usr/local/include/X11/qt4/QtDesigner -I/usr/local/include/X11/qt4/QtDeclarative -I/usr/local/include/X11/qt4/QtScriptTools -I/usr/local/include/X11/qt4/QtDBus -I/usr/local/include/X11/qt4/QtXml -I/usr/local/include/X11/qt4/QtSql -I/usr/local/include/X11/qt4/QtOpenGL -I/usr/local/include/X11/qt4/QtMultimedia -I/usr/local/include/X11/qt4/QtNetwork -I/usr/local/include/X11/qt4/phonon -I/usr/local/include/X11/qt4/QtXmlPatterns -I/usr/local/include/X11/qt4/Qt
> WebKit -I/usr/local/include/X11/qt4/QtHelp -I/usr/local/include/X11/qt4/QtUiTools -I/usr/local/include/X11/qt4/QtTest -I/usr/local/include/X11/qt4/QtScript -I/usr/local/include/X11/qt4/QtSvg -I/usr/local/include/X11/qt4/Qt3Support -I/usr/local/include/X11/qt4/QtGui -I/usr/local/include/X11/qt4/QtCore -I/usr/local/lib/qt4/mkspecs/default -I/usr/local/include/X11/qt4 -I/usr/X11R6/include -I/usr/local/lib/R/include -o CMakeFiles/cantor_rserver.dir/rcallbacks.o -c /usr/ports/pobj/cantor-4.7.2/cantor-4.7.2/src/backends/R/rserver/rcallbacks.cpp
> In file included from /usr/include/g++/bits/locale_facets.h:1536,
> from /usr/include/g++/bits/basic_ios.h:44,
> from /usr/include/g++/ios:50,
> from /usr/include/g++/ostream:45,
> from /usr/include/g++/iterator:70,
> from /usr/local/include/X11/qt4/QtCore/qlist.h:50,
> from /usr/local/include/X11/qt4/QtCore/qobject.h:50,
> from /usr/local/include/X11/qt4/QtCore/QObject:1,
> from /usr/ports/pobj/cantor-4.7.2/cantor-4.7.2/src/backends/R/rserver/rserver.h:24,
> from /usr/ports/pobj/cantor-4.7.2/cantor-4.7.2/src/backends/R/rserver/rcallbacks.cpp:23:
> /usr/include/g++/bits/codecvt.h:219:45: error: macro "length" passed 4 arguments, but takes just 1
> In file included from /usr/include/g++/bits/locale_facets.h:1536,
> from /usr/include/g++/bits/basic_ios.h:44,
> from /usr/include/g++/ios:50,
> from /usr/include/g++/ostream:45,
> from /usr/include/g++/iterator:70,
> from /usr/local/include/X11/qt4/QtCore/qlist.h:50,
> from /usr/local/include/X11/qt4/QtCore/qobject.h:50,
> from /usr/local/include/X11/qt4/QtCore/QObject:1,
> from /usr/ports/pobj/cantor-4.7.2/cantor-4.7.2/src/backends/R/rserver/rserver.h:24,
> from /usr/ports/pobj/cantor-4.7.2/cantor-4.7.2/src/backends/R/rserver/rcallbacks.cpp:23:
> /usr/include/g++/bits/codecvt.h:218: error: expected ';' before 'const'
> /usr/include/g++/bits/codecvt.h:222: error: expected `;' before 'int'
> *** Error code 1
> Stop in /home/amit/obsd/ports/pobj/cantor-4.7.2/build-amd64 (line 100 of src/backends/R/rserver/CMakeFiles/cantor_rserver.dir/build.make).
> *** Error code 1
>
> Stop in /home/amit/obsd/ports/pobj/cantor-4.7.2/build-amd64 (line 1288 of CMakeFiles/Makefile2).
> *** Error code 1
>
> Stop in /home/amit/obsd/ports/pobj/cantor-4.7.2/build-amd64 (line 123 of Makefile).
> *** Error code 1
>
> Stop in /home/amit/obsd/ports/openbsd-wip/x11/kde4/cantor (line 2391 of /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
>
> Stop in /home/amit/obsd/ports/openbsd-wip/x11/kde4/cantor (line 2147 of /usr/ports/infrastructure/mk/bsd.port.mk).
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/jasperla/openbsd-wip/commit/142bad69581f7897cd39517f0017bea1eaf693d7#commitcomment-703677

Yes, I've got it compiled, but there are run-time issues. I'll commit
what I have ATM in a minute.