From nobody Sun Oct 02 09:55:06 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 4MgK8S6pJWz4V4Df for ; Sun, 2 Oct 2022 09:55:20 +0000 (UTC) (envelope-from tcberner@gmail.com) Received: from mail-qv1-f43.google.com (mail-qv1-f43.google.com [209.85.219.43]) (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 4MgK8S6QXHz3d66; Sun, 2 Oct 2022 09:55:20 +0000 (UTC) (envelope-from tcberner@gmail.com) Received: by mail-qv1-f43.google.com with SMTP id h10so3754389qvq.7; Sun, 02 Oct 2022 02:55:20 -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=/oRCSSUaFO/81A6jlsR/WR0eJu9NFRyHKZRdyT9Tqvg=; b=nHgUdY3DVhhi3wQEshEQOuwHrU64+W0ViEBHFVWZRAu6t1oL1/ZvWU7Nwk0hB7SEsE GrEaofu+JroLtvTqnmlfPxUydS/uEQ7MT/s+kGumPGbY8RaF/c4xXlNkxvlXZxSqhynj B9v4iGObbZhHNXQm1c/UW+2zmQPcqujZNmQrGrPRgHZel1rv64VNMg+KrEtOq2iPWUl2 mMnTEpP/Pj+pZ+ZhfrZfpwmHvJabwBJ48auezt2F6PNsEVDEbaJIYzqHLMJKayT4YZ2J XUiAef8dkh8WidOwDYXy3feJDkHRMF8ZkZeResb/VDZx8ETfZBugZu9CqG8W8L5QvGVa tMSw== X-Gm-Message-State: ACrzQf3XnfEgwPggdxvCkHMa2jPUMKdwOolOm++1+xPl3vRn8QbLD1Tu BwPiZevlXuK2gtmDpVmEZyhgffwk/wU9sA== X-Google-Smtp-Source: AMsMyM4Y+wealYXMMB0CiURZhEVFx9pAag04W3db5FbN/J3z/WbPhdhA6UEOpeQXO6Nk6Qk/mfxIXg== X-Received: by 2002:a05:6214:5013:b0:4b1:877e:539c with SMTP id jo19-20020a056214501300b004b1877e539cmr1777348qvb.106.1664704519805; Sun, 02 Oct 2022 02:55:19 -0700 (PDT) Received: from mail-qk1-f176.google.com (mail-qk1-f176.google.com. [209.85.222.176]) by smtp.gmail.com with ESMTPSA id g12-20020ac8580c000000b0035d4f68232esm7033644qtg.3.2022.10.02.02.55.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 02 Oct 2022 02:55:19 -0700 (PDT) Received: by mail-qk1-f176.google.com with SMTP id i17so5207946qkk.12; Sun, 02 Oct 2022 02:55:19 -0700 (PDT) X-Received: by 2002:a05:620a:bd4:b0:6cf:468e:e092 with SMTP id s20-20020a05620a0bd400b006cf468ee092mr11033906qki.583.1664704519272; Sun, 02 Oct 2022 02:55:19 -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:55:06 +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: 4MgK8S6QXHz3d66 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 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