On 2018-12-10 01:21:49, "Anthony J. Bentley" <anth...@anjbe.name> wrote: > Hi, >=20 > Here is an update to uim-1.8.8. >=20 > Release notes: https://github.com/uim/uim/releases >=20
First, thank you for sending an update to uim! I use it daily and I'm happy to see that it's getting an update given that 1.8.6 was released all the way back in 2013. Unfortunately, I had a few problems getting it to build. The first thing I noticed was that the qt4 MULTI_PACKAGE wouldn't continue building until I manually installed devel/automoc, so it=20 probably needs adding to the Makefile as either a BUILD or LIB_DEPEND. But even after doing so, I still get build failures with both the base version as well as the MULTI_PACKAGES.=20 Considering that all the build failures end with the same error, which is: gmake[1]: Entering directory '/usr/obj/ports/uim-1.8.8/uim-1.8.8/scm' if test -n "/usr/local/bin/csi"; then \ /usr/local/bin/csi -R syntax-case -q json-parser-expander.scm > json-p= arser-expanded.scm; \ fi error CS2006: Command-line syntax error: Missing '<text>' for '-R' option error CS2001: Source file '/usr/obj/ports/uim-1.8.8/uim-1.8.8/scm/syntax-c= ase' could not be found. It looks like it's related to this:=20 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229674 Summary: textproc/uim: does not build when mono is installed For reference: % csi Microsoft (R) Visual C# Interactive Compiler version 2.7.0.62620 Copyright (C) Microsoft Corporation. All rights reserved. =09 Type "#help" for more information. >=20 It looks like FreeBSD simply deleted the offending lines from the Makefile: https://svnweb.freebsd.org/ports?view=3Drevision&revision=3D474523 https://svnweb.freebsd.org/ports/head/textproc/uim/files/patch-scm_Makefil= e.in?view=3Dmarkup&pathrev=3D474523 I removed those lines and got farther, but the build still fails for me. Build logs attached below. If I've done something wrong, feel free to hit me with a cluebat. Also, as a side note, would it be possible to add a qt5 MULTI_PACKAGE as well? I don't use many qt applications, but I remember that gtk3 applications didn't work without the gtk3 subpackage many years ago. Or, they sort of did if you added an environment hack, but they were very buggy. I remember I pestered^W asked a developer nicely to add the gtk3 MULTI_PACKAGE and everything's been working fine since then. I'm not sure if qt{3,4,5} are as picky about things as gtk{2,3} are, so it may not be necessary, but probably wouldn't hurt to have. Anyway, thanks again for sending the patch! -----8<----- % sysctl kern.version kern.version=3DOpenBSD 6.4-current (GENERIC.MP) #494: Sat Dec 8 16:58:39 M= ST 2018 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP % pkg_info | grep libgcroots libgcroots-0.3.1 garbage collector library % make package [...] /usr/obj/ports/uim-1.8.8/bin/c++ -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=3D38 -DK= DE_DEPRECATED_WARNINGS -DMAKE_PLASMA_APPLET_UIM_LIB -DPLASMA_APPLET_UIM -DQ= T_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -= DQT_NO_STL -DQT_SVG_LIB -D_REENTRANT -I/usr/obj/ports/uim-1.8.8/uim-1.8.8/q= t4/toolbar/build -I/usr/obj/ports/uim-1.8.8/uim-1.8.8/qt4/toolbar -I/usr/ob= j/ports/uim-1.8.8/uim-1.8.8/qt4/toolbar/../.. -I/usr/obj/ports/uim-1.8.8/ui= m-1.8.8/qt4/toolbar/../../uim -I/usr/obj/ports/uim-1.8.8/uim-1.8.8/qt4/tool= bar/../../replace -I/usr/obj/ports/uim-1.8.8/uim-1.8.8/qt4/toolbar/.. -I/us= r/obj/ports/uim-1.8.8/uim-1.8.8/qt4/toolbar/build/../../../uim -I/usr/local= /include/kde4 -I/usr/local/include/kde4/KDE -I/usr/local/include/X11/qt4/Qt= Designer -I/usr/local/include/X11/qt4/QtDeclarative -I/usr/local/include/X1= 1/qt4/QtScriptTools -isystem /usr/local/include/X11/qt4/QtDBus -I/usr/local= /include/X11/qt4/QtXml -I/usr/local/include/X11/qt4/QtSql -I/usr/local/incl= ude/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/QtWebKit -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 -isyste= m /usr/local/include/X11/qt4/QtSvg -I/usr/local/include/X11/qt4/Qt3Support = -isystem /usr/local/include/X11/qt4/QtGui -isystem /usr/local/include/X11/q= t4/QtCore -isystem /usr/local/lib/qt4/mkspecs/default -isystem /usr/local/i= nclude/X11/qt4 -I/usr/X11R6/include -O2 -pipe -W -Wall -Wchar-subscripts -= Wnon-virtual-dtor -Wno-long-long -Wcast-align -Wpointer-arith -Wwrite-stri= ngs -Wformat-security -DNDEBUG -I/usr/X11R6/include -Wnon-virtual-dtor -Wn= o-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith= -Wformat-security -Woverloaded-virtual -fno-common -fvisibility=3Dhidden -= Werror=3Dreturn-type -fvisibility-inlines-hidden -Wno-return-type-c-linkage= -I/usr/local/include/X11/qt3 -I/usr/local/include -I/usr/X11R6/include -DN= DEBUG -DQT_NO_DEBUG -fPIC -D_LARGEFILE64_SOURCE -o CMakeFiles/plasma_app= let_uim.dir/applet-kde4.o -c /usr/obj/ports/uim-1.8.8/uim-1.8.8/qt4/toolbar= /applet-kde4.cpp In file included from /usr/obj/ports/uim-1.8.8/uim-1.8.8/qt4/toolbar/common= -uimstateindicator.cpp:33: In file included from /usr/obj/ports/uim-1.8.8/uim-1.8.8/qt4/toolbar/../../= uim/config.h:662: /usr/obj/ports/uim-1.8.8/uim-1.8.8/qt4/toolbar/../../replace/os_dep.h:44:5:= warning: 'HAVE_SYS_INTTYPES_H' is not defined, evaluates to 0 [-Wundef] #if HAVE_SYS_INTTYPES_H ^ In file included from /usr/obj/ports/uim-1.8.8/uim-1.8.8/qt4/toolbar/applet= -kde4.cpp:32: In file included from /usr/obj/ports/uim-1.8.8/uim-1.8.8/qt4/toolbar/../../= uim/config.h:662: /usr/obj/ports/uim-1.8.8/uim-1.8.8/qt4/toolbar/../../replace/os_dep.h:44:5:= warning: 'HAVE_SYS_INTTYPES_H' is not defined, evaluates to 0 [-Wundef] #if HAVE_SYS_INTTYPES_H ^ In file included from /usr/obj/ports/uim-1.8.8/uim-1.8.8/qt4/toolbar/common= -quimhelpertoolbar.cpp:36: In file included from /usr/obj/ports/uim-1.8.8/uim-1.8.8/qt4/toolbar/../../= uim/config.h:662: /usr/obj/ports/uim-1.8.8/uim-1.8.8/qt4/toolbar/../../replace/os_dep.h:44:5:= warning: 'HAVE_SYS_INTTYPES_H' is not defined, evaluates to 0 [-Wundef] #if HAVE_SYS_INTTYPES_H ^ In file included from /usr/obj/ports/uim-1.8.8/uim-1.8.8/qt4/toolbar/applet= -kde4.cpp:34: In file included from /usr/obj/ports/uim-1.8.8/uim-1.8.8/qt4/toolbar/applet= -kde4.h:36: In file included from /usr/local/include/kde4/KDE/Plasma/PopupApplet:1: In file included from /usr/local/include/kde4/KDE/Plasma/../../plasma/popup= applet.h:23: In file included from /usr/local/include/kde4/plasma/applet.h:30: /usr/local/include/kde4/kgenericfactory.h:47:11: warning: 'KPluginFactory' = is deprecated [-Wdeprecated-declarations] : KPluginFactory(data) ^ /usr/local/include/kde4/kpluginfactory.h:263:5: note: 'KPluginFactory' has = been explicitly marked deprecated here KDE_CONSTRUCTOR_DEPRECATED explicit KPluginFactory(const KAboutData *ab= outData, QObject *parent =3D 0); ^ /usr/local/include/kde4/kdemacros.h:204:39: note: expanded from macro 'KDE_= CONSTRUCTOR_DEPRECATED' # define KDE_CONSTRUCTOR_DEPRECATED Q_DECL_CONSTRUCTOR_DEPRECATED ^ /usr/local/include/X11/qt4/QtCore/qglobal.h:1180:43: note: expanded from ma= cro 'Q_DECL_CONSTRUCTOR_DEPRECATED' # define Q_DECL_CONSTRUCTOR_DEPRECATED Q_DECL_DEPRECATED ^ /usr/local/include/X11/qt4/QtCore/qglobal.h:1161:45: note: expanded from ma= cro 'Q_DECL_DEPRECATED' # define Q_DECL_DEPRECATED __attribute__ ((__deprecated__)) ^ In file included from /usr/obj/ports/uim-1.8.8/uim-1.8.8/qt4/toolbar/build/= plasma_applet_uim_automoc.cpp:6: In file included from /usr/obj/ports/uim-1.8.8/uim-1.8.8/qt4/toolbar/build/= moc_applet-kde4.cpp:9: In file included from /usr/obj/ports/uim-1.8.8/uim-1.8.8/qt4/toolbar/build/= =2E./applet-kde4.h:36: In file included from /usr/local/include/kde4/KDE/Plasma/PopupApplet:1: In file included from /usr/local/include/kde4/KDE/Plasma/../../plasma/popup= applet.h:23: In file included from /usr/local/include/kde4/plasma/applet.h:30: /usr/local/include/kde4/kgenericfactory.h:47:11: warning: 'KPluginFactory' = is deprecated [-Wdeprecated-declarations] : KPluginFactory(data) ^ /usr/local/include/kde4/kpluginfactory.h:263:5: note: 'KPluginFactory' has = been explicitly marked deprecated here KDE_CONSTRUCTOR_DEPRECATED explicit KPluginFactory(const KAboutData *ab= outData, QObject *parent =3D 0); ^ /usr/local/include/kde4/kdemacros.h:204:39: note: expanded from macro 'KDE_= CONSTRUCTOR_DEPRECATED' # define KDE_CONSTRUCTOR_DEPRECATED Q_DECL_CONSTRUCTOR_DEPRECATED ^ /usr/local/include/X11/qt4/QtCore/qglobal.h:1180:43: note: expanded from ma= cro 'Q_DECL_CONSTRUCTOR_DEPRECATED' # define Q_DECL_CONSTRUCTOR_DEPRECATED Q_DECL_DEPRECATED ^ /usr/local/include/X11/qt4/QtCore/qglobal.h:1161:45: note: expanded from ma= cro 'Q_DECL_DEPRECATED' # define Q_DECL_DEPRECATED __attribute__ ((__deprecated__)) ^ 1 warning generated. 1 warning generated. 2 warnings generated. 1 warning generated. gmake[5]: Leaving directory '/usr/obj/ports/uim-1.8.8/uim-1.8.8/qt4/toolbar= /build' gmake[4]: *** [CMakeFiles/Makefile2:103: CMakeFiles/plasma_applet_uim.dir/a= ll] Error 2 gmake[4]: Leaving directory '/usr/obj/ports/uim-1.8.8/uim-1.8.8/qt4/toolbar= /build' gmake[3]: *** [Makefile:144: all] Error 2 gmake[3]: Leaving directory '/usr/obj/ports/uim-1.8.8/uim-1.8.8/qt4/toolbar= /build' gmake[2]: *** [Makefile:640: all] Error 2 gmake[2]: Leaving directory '/usr/obj/ports/uim-1.8.8/uim-1.8.8/qt4/toolbar' gmake[1]: *** [Makefile:539: all-recursive] Error 1 gmake[1]: Leaving directory '/usr/obj/ports/uim-1.8.8/uim-1.8.8/qt4' gmake: *** [Makefile:665: all-recursive] Error 1 *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2797 '/usr/obj/p= orts/uim-1.8.8/.build_done') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2020 '/usr/ports= /packages/amd64/all/uim-1.8.8.tgz') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2486 '_internal-= package') *** Error 1 in /usr/ports/inputmethods/uim (/usr/ports/infrastructure/mk/bs= d.port.mk:2465 'package') --=20 Bryan