Date: Sun, 2 Oct 2022 20:53:47 +0900 From: Tomoaki AOKI <junchoon@dec.sakura.ne.jp> To: "Tobias C. Berner" <tcberner@freebsd.org> 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: <CAOshKtcZw=yNSFXH5oKh0i5aiXqh%2B6KLfefk70bWKKr_W32wyg@mail.gmail.com> References: <20221002161806.a8612e060e50987c53c5aae8@dec.sakura.ne.jp> <CAOshKteBStFHP3Kzsg-FNCsBzjBbVddC=iwE3URhmwHtmPnLMA@mail.gmail.com> <CAOshKteB2kk57Xa%2B2puWSzesgGEmKwFKsg7fUhEQi2N9o1i49g@mail.gmail.com> <CAOshKtcZw=yNSFXH5oKh0i5aiXqh%2B6KLfefk70bWKKr_W32wyg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <tcberner@freebsd.org> 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 <tcberner@freebsd.org> 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 <tcberner@freebsd.org> 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 <junchoon@dec.sakura.ne.jp> 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 <tcberner@FreeBSD.org> > > > > > AuthorDate: 2022-09-30 16:35:26 +0000 > > > > > Commit: Tobias C. Berner <tcberner@FreeBSD.org> > > > > > 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 <junchoon@dec.sakura.ne.jp> -- Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20221002205347.1758d850b3ff66c9ba784a3f>