On Thu, Oct 18, 2018 at 9:21 PM Andreas Nilsson <andrn...@gmail.com> wrote:
> > > On Thu, Oct 18, 2018 at 5:24 PM Adriaan de Groot <gr...@kde.org> wrote: > >> On Thursday, 18 October 2018 13:31:12 CEST Andreas Nilsson wrote: >> > Is anyone working on packaging the new email client kube for FreeBSD? It >> > seems to need few new things like sink, which I cannot find packaged >> > either. >> >> Not that I know of. Kube is released, I guess as extragear, through KDE, >> and >> had a 0.7 release last month. A PR with such a port would be welcome. >> >> [ade] > > > I've started working on it, and I've packaged kdav2, kimap2 and kasync2. > However sink gives me some trouble, can you give me some ideas from the > below error: > > [85/322] cd /usr/ports/net/sink/work/.build/examples/dummyresource && > /usr/local/bin/flatc -c -b -o > /usr/ports/net/sink/work/.build/examples/dummyresource/flatbufferstmp > /usr/ports/net/sink/work/sink-0.7.0/examples/dummyresource/dummycalendar.fbs > && /usr/local/bin/cmake -E copy_if_different > /usr/ports/net/sink/work/.build/examples/dummyresource/flatbufferstmp/dummycalendar_generated.h > /usr/ports/net/sink/work/.build/examples/dummyresource/dummycalendar_generated.h > [86/322] /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB > -DQT_NO_DEBUG -Isynchronizer > -I/usr/ports/net/sink/work/sink-0.7.0/synchronizer > -Isynchronizer/sink_synchronizer_autogen/include -I. > -I/usr/ports/net/sink/work/sink-0.7.0 -Icommon > -I/usr/ports/net/sink/work/sink-0.7.0/3rdparty -isystem > /usr/ports/net/sink/work/sink-0.7.0/common -isystem > /usr/ports/net/sink/work/sink-0.7.0/common/domain -isystem > /usr/local/include -isystem /usr/local/include/KAsync -isystem > /usr/local/include/qt5 -isystem /usr/local/include/qt5/QtCore -isystem > /usr/local/lib/qt5/mkspecs/freebsd-clang -isystem > /usr/local/include/qt5/QtNetwork -isystem /usr/local/include/qt5/QtGui -O2 > -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector > -fno-strict-aliasing -fPIC -std=gnu++14 -MD -MT > synchronizer/CMakeFiles/sink_synchronizer.dir/main.cpp.o -MF > synchronizer/CMakeFiles/sink_synchronizer.dir/main.cpp.o.d -o > synchronizer/CMakeFiles/sink_synchronizer.dir/main.cpp.o -c > /usr/ports/net/sink/work/sink-0.7.0/synchronizer/main.cpp > [87/322] : && /usr/bin/c++ -O2 -pipe -fstack-protector > -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing > -fstack-protector synchronizer/CMakeFiles/sink_synchronizer.dir/main.cpp.o > synchronizer/CMakeFiles/sink_synchronizer.dir/sink_synchronizer_autogen/mocs_compilation.cpp.o > -o synchronizer/sink_synchronizer > -Wl,-rpath,/usr/ports/net/sink/work/.build/common:/usr/local/lib/qt5:/usr/local/lib: > common/libsink.so.0.7.0 /usr/local/lib/qt5/libQt5Network.so.5.11.2 > /usr/local/lib/libKAsync.so.0.2.0 /usr/local/lib/qt5/libQt5Gui.so.5.11.2 > /usr/local/lib/qt5/libQt5Core.so.5.11.2 -Wl,-rpath-link,/usr/local/lib && : > FAILED: synchronizer/sink_synchronizer > : && /usr/bin/c++ -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 > -pipe -fstack-protector -fno-strict-aliasing -fstack-protector > synchronizer/CMakeFiles/sink_synchronizer.dir/main.cpp.o > synchronizer/CMakeFiles/sink_synchronizer.dir/sink_synchronizer_autogen/mocs_compilation.cpp.o > -o synchronizer/sink_synchronizer > -Wl,-rpath,/usr/ports/net/sink/work/.build/common:/usr/local/lib/qt5:/usr/local/lib: > common/libsink.so.0.7.0 /usr/local/lib/qt5/libQt5Network.so.5.11.2 > /usr/local/lib/libKAsync.so.0.2.0 /usr/local/lib/qt5/libQt5Gui.so.5.11.2 > /usr/local/lib/qt5/libQt5Core.so.5.11.2 -Wl,-rpath-link,/usr/local/lib && : > /usr/bin/ld: undefined reference to symbol `backtrace_symbols' (try adding > -lexecinfo) > //usr/lib/libexecinfo.so.1: could not read symbols: Bad value > c++: error: linker command failed with exit code 1 (use -v to see > invocation) > > Best regards > Andreas > Ok, so I was stupid... Just listening to the compiler worked just fine. Sorry for the noise. /A