On Thu, Nov 28, 2013 at 01:18:29AM +0100, Marc Espie wrote: > On Thu, Nov 28, 2013 at 12:49:21AM +0100, Stefan Sperling wrote: > > Update retroshare to the latest release. > > https://retroshareteam.wordpress.com/2013/10/30/v0-5-5-release-notes/ > > > > This release contains some of the patches I've pushed upstream. > > > > I also noticed that the build doesn't work with MAKE_JOBS=4, > > so disable parallel build for now. > > Nope. What doesn't work with parallel build ? Is it make itself, or > are the Makefile bogus ?
No idea, but I would guess the Makefiles are bogus. It is happening with Makefiles generated by qmake. It fails like this: /usr/local/lib/qt4/bin/moc -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/lib/qt4/mkspecs/openbsd-g++4 -I. -I/usr/local/include/X11/qt4/QtCore -I/usr/local/include/X11/qt4/QtGui -I/usr/local/include/X11/qt4/QtMultimedia -I/usr/local/include/X11/qt4 -I../../libretroshare/src -I../../retroshare-gui/src -I../../retroshare-gui/src/temp/ui -I../../libretroshare/src -I. -I. -I/usr/local/include gui/AudioPopupChatDialog.h -o moc_AudioPopupChatDialog.cpp In file included from gui/AudioPopupChatDialog.h:4, from gui/AudioPopupChatDialog.cpp:4: ../../retroshare-gui/src/gui/chat/PopupChatDialog.h:26:32: error: ui_PopupChatDialog.h: No such file or directory g++ -c -pipe -O2 -fno-wrapv -Wall -O2 -fno-wrapv -pthread -Wall -W -fPIC -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/lib/qt4/mkspecs/openbsd-g++4 -I. -I/usr/local/include/X11/qt4/QtCore -I/usr/local/include/X11/qt4/QtGui -I/usr/local/include/X11/qt4/QtMultimedia -I/usr/local/include/X11/qt4 -I../../libretroshare/src -I../../retroshare-gui/src -I../../retroshare-gui/src/temp/ui -I../../libretroshare/src -I. -I. -I/usr/local/include -o moc_AudioPopupChatDialog.o moc_AudioPopupChatDialog.cpp In file included from gui/AudioPopupChatDialog.h:4, from moc_AudioPopupChatDialog.cpp:9: ../../retroshare-gui/src/gui/chat/PopupChatDialog.h:26:32: error: ui_PopupChatDialog.h: No such file or directory In file included from gui/AudioPopupChatDialog.h:4, from gui/AudioPopupChatDialog.cpp:4: ../../retroshare-gui/src/gui/chat/PopupChatDialog.h:71: error: 'Ui' has not been declared g++ -c -pipe -O2 -fno-wrapv -Wall -O2 -fno-wrapv -pthread -Wall -W -fPIC -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/lib/qt4/mkspecs/openbsd-g++4 -I. -I/usr/local/include/X11/qt4/QtCore -I/usr/local/include/X11/qt4/QtGui -I/usr/local/include/X11/qt4/QtMultimedia -I/usr/local/include/X11/qt4 -I../../libretroshare/src -I../../retroshare-gui/src -I../../retroshare-gui/src/temp/ui -I../../libretroshare/src -I. -I. -I/usr/local/include -o PluginGUIHandler.o gui/PluginGUIHandler.cpp ../../retroshare-gui/src/gui/chat/PopupChatDialog.h:71: error: ISO C++ forbids declaration of 'PopupChatDialog' with no type ../../retroshare-gui/src/gui/chat/PopupChatDialog.h:71: error: expected ';' before 'ui' gui/AudioPopupChatDialog.cpp: In member function 'void AudioPopupChatDialog::toggleAudioMuteCapture()': gui/AudioPopupChatDialog.cpp:137: error: invalid use of incomplete type 'struct ChatWidget' ../../retroshare-gui/src/gui/chat/ChatDialog.h:29: error: forward declaration of 'struct ChatWidget' gui/AudioPopupChatDialog.cpp:137: error: incomplete type 'QDateTime' used in nested name specifier gui/AudioPopupChatDialog.cpp:137: error: incomplete type 'QDateTime' used in nested name specifier gui/AudioPopupChatDialog.cpp:137: error: incomplete type 'ChatWidget' used in nested name specifier In file included from gui/AudioPopupChatDialog.h:4, from moc_AudioPopupChatDialog.cpp:9: ../../retroshare-gui/src/gui/chat/PopupChatDialog.h:71: error: 'Ui' has not been declared ../../retroshare-gui/src/gui/chat/PopupChatDialog.h:71: error: ISO C++ forbids declaration of 'PopupChatDialog' with no type ../../retroshare-gui/src/gui/chat/PopupChatDialog.h:71: error: expected ';' before 'ui' *** Error 1 in target 'AudioPopupChatDialog.o' *** Error 1 in target 'moc_AudioPopupChatDialog.o' In file included from ./gui/AudioPopupChatDialog.h:4, from gui/PluginGUIHandler.cpp:7: ../../retroshare-gui/src/gui/chat/PopupChatDialog.h:26:32: error: ui_PopupChatDialog.h: No such file or directory In file included from ./gui/AudioPopupChatDialog.h:4, from gui/PluginGUIHandler.cpp:7: ../../retroshare-gui/src/gui/chat/PopupChatDialog.h:71: error: 'Ui' has not been declared ../../retroshare-gui/src/gui/chat/PopupChatDialog.h:71: error: ISO C++ forbids declaration of 'PopupChatDialog' with no type ../../retroshare-gui/src/gui/chat/PopupChatDialog.h:71: error: expected ';' before 'ui' *** Error 1 in plugins/VOIP (Makefile:396 'PluginGUIHandler.o') *** Error 1 (Makefile:439 'moc_AudioPopupChatDialog.o') *** Error 1 (Makefile:389 'AudioPopupChatDialog.o') *** Error 2 in plugins (Makefile:70 'sub-VOIP-all') *** Error 2 in /usr/ports/pobj/retroshare-0.5.5b/retroshare-0.5.5/src (Makefile:184 'sub-plugins-plugins-pro-all') *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2673 '/usr/ports/pobj/retroshare-0.5.5b/.build_done') *** Error 1 in /usr/ports/net/retroshare (/usr/ports/infrastructure/mk/bsd.port.mk:2393 'all') $