From nobody Sun Oct 2 11:53:47 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MgMnF28mHz4cxlx for ; Sun, 2 Oct 2022 11:53:53 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4MgMnD6YVLz3mNF; Sun, 2 Oct 2022 11:53:51 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from kalamity.joker.local (123-1-88-210.area1b.commufa.jp [123.1.88.210]) (authenticated bits=0) by www121.sakura.ne.jp (8.16.1/8.16.1/[SAKURA-WEB]/20201212) with ESMTPA id 292BrlfD061050; Sun, 2 Oct 2022 20:53:47 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Sun, 2 Oct 2022 20:53:47 +0900 From: Tomoaki AOKI To: "Tobias C. Berner" Cc: dev-commits-ports-main@freebsd.org Subject: Re: git: b1db946f50b4 - main - Qt: Update Qt6 to 6.4.0 Message-Id: <20221002205347.1758d850b3ff66c9ba784a3f@dec.sakura.ne.jp> In-Reply-To: References: <20221002161806.a8612e060e50987c53c5aae8@dec.sakura.ne.jp> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Rspamd-Queue-Id: 4MgMnD6YVLz3mNF X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N Confirmed builds fine. Thanks! Additional info: I was running on stable/13, amd64 at git 74ffdb90e9d3. So system clang is at 14.0.5. Basically not overriding default version and override specific port only when actually needed. So devel/llvm90 should be used if a port requires port llvm and not specifying any version. On Sun, 2 Oct 2022 11:55:06 +0200 "Tobias C. Berner" wrote: > As I noticed, after typing the above message, it is obviously a typo > in the code, which upstream alrady fixed in > https://github.com/qt/qttools/commit/65cb9a7c5444669d498aad2e2707b2a47b56f002 > > Fixed in 0d879903f16a47e2f948af60c089538107c5cea3 > > mfg Tobias > > On Sun, 2 Oct 2022 at 11:47, Tobias C. Berner wrote: > > > > I see, there is a version check > > #if (LUPDATE_CLANG_VERSION >= LUPDATE_CLANG_VERSION_CHECK(10,0,0)) > > in the code and the #else caes uses the Q_UNUSED you hit. > > > > So I guess it is something that happens on older FreeBSD versions > > with older clangs -- I'll take a look at a fix (i.E including the > > appropriate header for Q_UNUSED). > > > > > > mfg Tobias > > > > On Sun, 2 Oct 2022 at 11:40, Tobias C. Berner wrote: > > > > > > Moin moin > > > > > > What version of FreeBSD are you experiencing the problem on? > > > > > > > > > mfg Tobias > > > > > > On Sun, 2 Oct 2022 at 09:18, Tomoaki AOKI wrote: > > > > > > > > devel/qt6-tools fails to build, even if previous version is deinstalled. > > > > > > > > Error part with "MAKE_JOBS_UNSAFE=yes" build is as below. > > > > > > > > [ 38% 266/688] /usr/bin/c++ -DLUPDATE_CLANG_VERSION_MAJOR=9 > > > > -DLUPDATE_CLANG_VERSION_MINOR=0 -DLUPDATE_CLANG_VERSION_PATCH=1 > > > > -DLUPDATE_CLANG_VERSION_STR=\"\"9.0.1\"\" -DQT_CORE_LIB > > > > -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII > > > > -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS > > > > -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_QMLINTEGRATION_LIB > > > > -DQT_QML_LIB -DQT_TOOLS_LIB -DQT_USE_QSTRINGBUILDER > > > > -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE > > > > -I/usr/ports/devel/qt6-tools/work/.build/src/linguist/lupdate/lupdate_autogen/include > > > > -I/usr/ports/devel/qt6-tools/work/qttools-everywhere-src-6.4.0/src/linguist/lupdate > > > > -I/usr/ports/devel/qt6-tools/work/.build/src/linguist/lupdate > > > > -I/usr/ports/devel/qt6-tools/work/qttools-everywhere-src-6.4.0/src/linguist/lupdate/../shared > > > > -I/usr/ports/devel/qt6-tools/work/.build/include > > > > -I/usr/ports/devel/qt6-tools/work/.build/include/QtTools > > > > -I/usr/ports/devel/qt6-tools/work/qttools-everywhere-src-6.4.0/src/global > > > > -I/usr/ports/devel/qt6-tools/work/.build/src/global > > > > -I/usr/ports/devel/qt6-tools/work/.build/include/QtTools/6.4.0 > > > > -I/usr/ports/devel/qt6-tools/work/.build/include/QtTools/6.4.0/QtTools > > > > -isystem /usr/local/include/qt6/QtCore -isystem /usr/local/include/qt6 > > > > -isystem /usr/local/lib/qt6/mkspecs/freebsd-clang > > > > -isystem /usr/local/include/qt6/QtCore/6.4.0 > > > > -isystem /usr/local/include/qt6/QtCore/6.4.0/QtCore > > > > -isystem /usr/local/include/qt6/QtQml/6.4.0 > > > > -isystem /usr/local/include/qt6/QtQml/6.4.0/QtQml > > > > -isystem /usr/local/include/qt6/QtQml > > > > -isystem /usr/local/include/qt6/QtQmlIntegration > > > > -isystem /usr/local/include/qt6/QtNetwork > > > > -isystem /usr/local/llvm90/include -O2 -pipe -march=haswell > > > > -fstack-protector-strong -fno-strict-aliasing -pipe -march=haswell > > > > -fstack-protector-strong -fno-strict-aliasing -O2 -fPIE > > > > -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra > > > > -fno-exceptions -fPIC -pthread -std=c++17 -MD -MT > > > > src/linguist/lupdate/CMakeFiles/lupdate.dir/clangtoolastreader.cpp.o > > > > -MF > > > > src/linguist/lupdate/CMakeFiles/lupdate.dir/clangtoolastreader.cpp.o.d > > > > -o src/linguist/lupdate/CMakeFiles/lupdate.dir/clangtoolastreader.cpp.o > > > > -c /usr/ports/devel/qt6-tools/work/qttools-everywhere-src-6.4.0/src/linguist/lupdate/clangtoolastreader.cpp > > > > samu: job failed: /usr/bin/c++ -DLUPDATE_CLANG_VERSION_MAJOR=9 > > > > -DLUPDATE_CLANG_VERSION_MINOR=0 -DLUPDATE_CLANG_VERSION_PATCH=1 > > > > -DLUPDATE_CLANG_VERSION_STR=\"\"9.0.1\"\" -DQT_CORE_LIB > > > > -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII > > > > -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS > > > > -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_QMLINTEGRATION_LIB > > > > -DQT_QML_LIB -DQT_TOOLS_LIB -DQT_USE_QSTRINGBUILDER > > > > -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE > > > > -I/usr/ports/devel/qt6-tools/work/.build/src/linguist/lupdate/lupdate_autogen/include > > > > -I/usr/ports/devel/qt6-tools/work/qttools-everywhere-src-6.4.0/src/linguist/lupdate > > > > -I/usr/ports/devel/qt6-tools/work/.build/src/linguist/lupdate > > > > -I/usr/ports/devel/qt6-tools/work/qttools-everywhere-src-6.4.0/src/linguist/lupdate/../shared > > > > -I/usr/ports/devel/qt6-tools/work/.build/include > > > > -I/usr/ports/devel/qt6-tools/work/.build/include/QtTools > > > > -I/usr/ports/devel/qt6-tools/work/qttools-everywhere-src-6.4.0/src/global > > > > -I/usr/ports/devel/qt6-tools/work/.build/src/global > > > > -I/usr/ports/devel/qt6-tools/work/.build/include/QtTools/6.4.0 > > > > -I/usr/ports/devel/qt6-tools/work/.build/include/QtTools/6.4.0/QtTools > > > > -isystem /usr/local/include/qt6/QtCore -isystem /usr/local/include/qt6 > > > > -isystem /usr/local/lib/qt6/mkspecs/freebsd-clang > > > > -isystem /usr/local/include/qt6/QtCore/6.4.0 > > > > -isystem /usr/local/include/qt6/QtCore/6.4.0/QtCore > > > > -isystem /usr/local/include/qt6/QtQml/6.4.0 > > > > -isystem /usr/local/include/qt6/QtQml/6.4.0/QtQml > > > > -isystem /usr/local/include/qt6/QtQml > > > > -isystem /usr/local/include/qt6/QtQmlIntegration > > > > -isystem /usr/local/include/qt6/QtNetwork > > > > -isystem /usr/local/llvm90/include -O2 -pipe -march=haswell > > > > -fstack-protector-strong -fno-strict-aliasing -pipe -march=haswell > > > > -fstack-protector-strong -fno-strict-aliasing -O2 -fPIE > > > > -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra > > > > -fno-exceptions -fPIC -pthread -std=c++17 -MD -MT > > > > src/linguist/lupdate/CMakeFiles/lupdate.dir/clangtoolastreader.cpp.o > > > > -MF > > > > src/linguist/lupdate/CMakeFiles/lupdate.dir/clangtoolastreader.cpp.o.d > > > > -o src/linguist/lupdate/CMakeFiles/lupdate.dir/clangtoolastreader.cpp.o > > > > -c /usr/ports/devel/qt6-tools/work/qttools-everywhere-src-6.4.0/src/linguist/lupdate/clangtoolastreader.cpp > > > > /usr/ports/devel/qt6-tools/work/qttools-everywhere-src-6.4.0/src/linguist/lupdate/clangtoolastreader.cpp: > > > > 440:5: error: use of undeclared identifier 'Q_UNSED' > > > > Q_UNSED(file) > > > > ^ > > > > /usr/ports/devel/qt6-tools/work/qttools-everywhere-src-6.4.0/src/linguist/lupdate/clangtoolastreader.cpp:440:18: error: expected ';' after expression > > > > Q_UNSED(file) > > > > ^ > > > > ; > > > > 2 errors generated. > > > > samu: subcommand failed > > > > *** Error code 1 > > > > > > > > Stop. > > > > make: stopped in /usr/ports/devel/qt6-tools > > > > ** Command failed (exit code 1): env MAKE_JOBS_NUMBER_LIMIT=12 make > > > > DISABLE_VULNERABILITIES=yes MAKE_JOBS_UNSAFE=yes ** Fix the problem and > > > > try again. > > > > > > > > > > > > > The branch main has been updated by tcberner: > > > > > > > > > > URL: > > > > https://cgit.FreeBSD.org/ports/commit/?id=b1db946f50b434fd1792f75ee6dc491a87065e35 > > > > > > > > > > commit b1db946f50b434fd1792f75ee6dc491a87065e35 > > > > > Author: Tobias C. Berner > > > > > AuthorDate: 2022-09-30 16:35:26 +0000 > > > > > Commit: Tobias C. Berner > > > > > CommitDate: 2022-10-01 13:55:15 +0000 > > > > > > > > > > Qt: Update Qt6 to 6.4.0 > > > > > > > > > > Relase Notes: https://www.qt.io/blog/qt-6.4-released > > > > > --- > > > > > > > > (snip) > > > > > > > > -- > > > > Tomoaki AOKI -- Tomoaki AOKI