From owner-freebsd-ports@freebsd.org Sat Dec 19 21:49:46 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DBC394ABC44 for ; Sat, 19 Dec 2020 21:49:46 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cyzsj6Ys8z3GCf; Sat, 19 Dec 2020 21:49:45 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [188.174.58.74] (helo=c720-r368166.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqk6h-0003YF-Tg; Sat, 19 Dec 2020 22:49:44 +0100 Received: from c720-r368166.fritz.box (localhost [127.0.0.1]) by c720-r368166.unixarea.de (8.16.1/8.14.9) with ESMTPS id 0BJLnhT7005302 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 19 Dec 2020 22:49:43 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by c720-r368166.fritz.box (8.16.1/8.14.9/Submit) id 0BJLngmh005301; Sat, 19 Dec 2020 22:49:42 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: c720-r368166.fritz.box: guru set sender to guru@unixarea.de using -f Date: Sat, 19 Dec 2020 22:49:42 +0100 From: Matthias Apitz To: freebsd-ports@freebsd.org Cc: bsam@freebsd.org Subject: textproc/goldendict does not compile on CURRENT Message-ID: Reply-To: Matthias Apitz Mail-Followup-To: freebsd-ports@freebsd.org, bsam@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Operating-System: FreeBSD 13.0-CURRENT r368166 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.58.74 X-Rspamd-Queue-Id: 4Cyzsj6Ys8z3GCf X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of guru@unixarea.de has no SPF policy when checking 178.254.4.101) smtp.mailfrom=guru@unixarea.de X-Spamd-Result: default: False [-2.20 / 15.00]; HAS_REPLYTO(0.00)[guru@unixarea.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[178.254.4.101:from]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[188.174.58.74:received]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[178.254.4.101:from]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[178.254.4.101:from:127.0.2.255]; RCVD_IN_DNSWL_LOW(-0.10)[178.254.4.101:from]; R_SPF_NA(0.00)[no SPF record]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-ports] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Dec 2020 21:49:46 -0000 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)