Date: Sat, 19 Dec 2020 22:49:42 +0100 From: Matthias Apitz <guru@unixarea.de> To: freebsd-ports@freebsd.org Cc: bsam@freebsd.org Subject: textproc/goldendict does not compile on CURRENT Message-ID: <X951djtwtn4J5M/x@c720-r368166.fritz.box>
next in thread | raw e-mail | index | archive | help
Hello, I was building textproc/goldendict on amd64 CURRENT and it failes to compile with: =2E.. --- build/dictionary.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -f= rtti -Wall -Wextra -pthread -fPIC -DMAKE_QTMULTIMEDIA_PLAYER -DMAKE_FFMPEG_= PLAYER -DHAVE_X11 -DPROGRAM_DATA_DIR=3D\"/usr/local/share/goldendict/\" -DP= ROGRAM_VERSION=3D\"1.5.0-RC2+git\" -DMAKE_ZIM_SUPPORT -DMAKE_EXTRA_TIFF_HAN= DLER -DNO_EPWING_SUPPORT -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WEBKITWIDGETS_LIB = -DQT_PRINTSUPPORT_LIB -DQT_HELP_LIB -DQT_WIDGETS_LIB -DQT_WEBKIT_LIB -DQT_M= ULTIMEDIA_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB= -DQT_SQL_LIB -DQT_CORE_LIB -I. -I. -Iqtsingleapplication/src -I/usr/local/= include -I/usr/local/include/hunspell -I/usr/local/include/qt5 -I/usr/local= /include/qt5/QtSvg -I/usr/local/include/qt5/QtWebKitWidgets -I/usr/local/in= clude/qt5/QtPrintSupport -I/usr/local/include/qt5/QtHelp -I/usr/local/inclu= de/qt5/QtWidgets -I/usr/local/include/qt5/QtWebKit -I/usr/local/include/qt5= /QtMultimedia -I/usr/local/include/qt5/QtX11Extras -I/usr/local/include/qt5= /QtGui -I/usr/local/include/qt5/QtXml -I/usr/local/include/qt5/QtNetwork -I= /usr/local/include/qt5/QtSql -I/usr/local/include/qt5/QtCore -Ibuild -I/usr= /local/include/libdrm -Ibuild -I/usr/local/include -I/usr/local/lib/qt5/mks= pecs/freebsd-clang -o build/dictionary.o dictionary.cc =2E.. In file included from dictionary.cc:7: In file included from ./dictionary.hh:10: In file included from /usr/local/include/qt5/QtCore/QObject:1: In file included from /usr/local/include/qt5/QtCore/qobject.h:47: /usr/local/include/qt5/QtCore/qstring.h:1229:22: warning: definition of imp= licit copy constructor for 'QCharRef' is deprecated because it has a user-d= eclared copy assignment operator [-Wdeprecated-copy] inline QCharRef &operator=3D(const QCharRef &c) { return operator=3D(QC= har(c)); } ^ /usr/local/include/qt5/QtCore/qstring.h:1329:38: note: in implicit copy con= structor for 'QCharRef' first required here { Q_ASSERT(i >=3D 0); detach(); return QCharRef(*this, i); } ^ In file included from dictionary.cc:7: In file included from ./dictionary.hh:13: =2E/sptr.hh:71:12: error: cannot initialize return object of type 'unsigned= int' with an lvalue of type 'unsigned int *const' { return count; } ^~~~~ I helped me mofifying the source to=20 { return * count; } and wanted to file an issue upstream. But it seems that the bug is already with: https://github.com/goldendict/goldendict/issues/1267 So, our port needs an update or a patch file to fix this. matthias --=20 Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49-176= -38902045 Public GnuPG key: http://www.unixarea.de/key.pub =D0=91=D0=B5=D0=B7 =D0=BA=D0=BD=D0=B8=D0=B3=D0=B8 =D0=BD=D0=B5=D1=82 =D0=B7= =D0=BD=D0=B0=D0=BD=D0=B8=D1=8F, =D0=B1=D0=B5=D0=B7 =D0=B7=D0=BD=D0=B0=D0=BD= =D0=B8=D1=8F =D0=BD=D0=B5=D1=82 =D0=BA=D0=BE=D0=BC=D0=BC=D1=83=D0=BD=D0=B8= =D0=B7=D0=BC=D0=B0 (=D0=92=D0=BBa=D0=B4=D0=B8=D0=BC=D0=B8=D1=80 =D0=98=D0= =BB=D1=8C=D0=B8=D1=87 =D0=9B=D0=B5=D0=BD=D0=B8=D0=BD) Without books no knowledge - without knowledge no communism (Vladimir Ilyic= h Lenin)=20 Sin libros no hay saber - sin saber no hay comunismo. (Vladimir Ilich Lenin)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?X951djtwtn4J5M/x>