From nobody Sun Oct 02 09:47:22 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 4MgJzd0HSyz4V3Np for ; Sun, 2 Oct 2022 09:47:41 +0000 (UTC) (envelope-from tcberner@gmail.com) Received: from mail-qt1-f178.google.com (mail-qt1-f178.google.com [209.85.160.178]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MgJzc6ykMz3cL8; Sun, 2 Oct 2022 09:47:40 +0000 (UTC) (envelope-from tcberner@gmail.com) Received: by mail-qt1-f178.google.com with SMTP id j10so5003779qtv.4; Sun, 02 Oct 2022 02:47:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=dhTk+wB9SOFHR/3VCpATOrIx9uJBrZIc0FrASe388z8=; b=zLGdVuesZx4vQdPXUghULqq4K6S8YGnXMweyflRZi3DaW8wVmv1F6EYx6fZ6EjK799 jy9DrMFHoH9LYoYGH5OFbi8UOop9LJxx8v6c8b0ce71SddQZzx19Q1+/e/3zmANybxda WJswggnshrx6eTaG3K1ArX7x6pn+BwW/2PfTjYlX1lnyCtqrQ9z6JwZ1yKdYhsxKD6IB fOo3UgDN6fgZ6vR8zuGPBFtgpq7LvZWb7JNrCK4mn1VNrwy13sZvk0fsIoSaDvlLzmBy kDU6ekhX5tBqoN5fFgt5xhx7JROGeCklJTkUH0bhfVMiRqoQ67xc6MLsh5E1BxxH2PQV YbYA== X-Gm-Message-State: ACrzQf3jkMM/y66V1L2HBZhFhiR26AyLuiaCS3NZvnXqNFLuDnZ5H140 TUiBjC5jxbHqX5b0BFgSTRLITEkBO+Xp1w== X-Google-Smtp-Source: AMsMyM6PCYh9f93Cxc4dCVNFnMqtNS8nK4rgbeTIC+CZJVAOW73cDtMCM3TpPW6An4SbhlZ8swYRnA== X-Received: by 2002:a05:622a:1b9e:b0:35c:cf5c:37ae with SMTP id bp30-20020a05622a1b9e00b0035ccf5c37aemr12473654qtb.223.1664704059563; Sun, 02 Oct 2022 02:47:39 -0700 (PDT) Received: from mail-qt1-f181.google.com (mail-qt1-f181.google.com. [209.85.160.181]) by smtp.gmail.com with ESMTPSA id o10-20020a05620a2a0a00b006ce40fbb8f6sm8431447qkp.21.2022.10.02.02.47.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 02 Oct 2022 02:47:39 -0700 (PDT) Received: by mail-qt1-f181.google.com with SMTP id s18so4997651qtx.6; Sun, 02 Oct 2022 02:47:35 -0700 (PDT) X-Received: by 2002:ac8:5948:0:b0:35c:db03:be9 with SMTP id 8-20020ac85948000000b0035cdb030be9mr12699955qtz.29.1664704054904; Sun, 02 Oct 2022 02:47:34 -0700 (PDT) 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 References: <20221002161806.a8612e060e50987c53c5aae8@dec.sakura.ne.jp> In-Reply-To: From: "Tobias C. Berner" Date: Sun, 2 Oct 2022 11:47:22 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: git: b1db946f50b4 - main - Qt: Update Qt6 to 6.4.0 To: "Tobias C. Berner" Cc: Tomoaki AOKI , dev-commits-ports-main@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Rspamd-Queue-Id: 4MgJzc6ykMz3cL8 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 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