From nobody Mon Nov 06 20:50:01 2023 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 4SPNlF4nhkz505XG; Mon, 6 Nov 2023 20:50:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SPNlF4K2fz3VRk; Mon, 6 Nov 2023 20:50:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699303801; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rM+2ayLLQgP039hyDB91fjq9dhiRaOCN7G1tDMl7Uvw=; b=EPrmCFkkKZkAgLrOTj1nJ+lws8G4pf7kbqBrD4Xbhyccin25EYfVb89qL+S09JOqeiI4T8 Ez+c1Axbqk0r3UExR5EB9m4qrmEM8yh2SgwJ+mJGk/QW8hcjsJMh+C2aXAAtdPVRbRbFa7 68w93xwm+oMe4pjBV0KpzIfwgtu/4yT42vp/SiJt3VNKZiSKtjl3EDpdexdPhjBN/VrzhQ LjnYxffXm+jO1GAjhsvLd2Y/cxJjwkp9AjzoDn1YPD+1whg2GTmCBBPNHA7bD+xY8qiTGM Qpxv+fyjgxRVrPd9/iD6bs+wEkO0bfuNvFvHnv30u1fykYI65Psnr2QozbvVtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699303801; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rM+2ayLLQgP039hyDB91fjq9dhiRaOCN7G1tDMl7Uvw=; b=sWVkLyf27Qj9UWEm4zzRcsLQ8Xa/x9gTctmy+XFDDBpWcGvsqHW9nx02AfwtO4juXYNv5H sz65TIiX7WcfbyuWoJxEuA6kADxdqNkKYJkfp0yh5lrZ0DvFtvRDLvrUfYYtvIQDoAO3On KSnQ/9lEKMaBrI10NO4a5stn95KsQ0TkUYfY/xHywMOkAbk2H/2JrX58q4uSbMqD2qr1JC 5i8hAHARHU0i/ETMw7JryHfBLSZdz/XO63dyHYrEBkD858ddEBieQfiAEDXqQUqRSjmt4n vTZaIxHCrB6WMqcgBRHoKlUQiPtNRnEqpVFFTIGel1pSpjG6CRlauctqIIs+ow== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699303801; a=rsa-sha256; cv=none; b=dHpRDeR4ZMJpK+fQx7UYUft2xsgJl0X4T0cl8RTsFTqiNiQOLAjsE7wKbyv8+R+JLSuZZ5 T9+dfYWLuIg8eszc7IGzncbYvuQWLPbZeAgHSIh3B02RTX87mHRwtWdfD97Xyrl7AakOcz GRpjyMi+/3yxOUkHAQH/t9IZ1HqtjDYawL7PKA3kA7QfXJSfEGf01blWv6Zf+YZjHPUNmw CAflqTmzvieF3zBf5uIfQBzbM2aI1idWtZWvHA+qPMbj3gVD2lkXNyeMaTLD91LJWznujr /VRaZd39sCS5A7vpk5YlwN5PajAW57cFaPECImZWai0azPjqPM/3FDgCxMdHjQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SPNlF3MXTz72T; Mon, 6 Nov 2023 20:50:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3A6Ko1D7062855; Mon, 6 Nov 2023 20:50:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A6Ko1Q2062850; Mon, 6 Nov 2023 20:50:01 GMT (envelope-from git) Date: Mon, 6 Nov 2023 20:50:01 GMT Message-Id: <202311062050.3A6Ko1Q2062850@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Jason E. Hale" Subject: git: 089da4a7a764 - main - www/qt6-webengine: Really disable PCH 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=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhale X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 089da4a7a764183a8d63d22dedc12537f90b50db Auto-Submitted: auto-generated The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=089da4a7a764183a8d63d22dedc12537f90b50db commit 089da4a7a764183a8d63d22dedc12537f90b50db Author: Jason E. Hale AuthorDate: 2023-11-06 19:53:12 +0000 Commit: Jason E. Hale CommitDate: 2023-11-06 20:49:55 +0000 www/qt6-webengine: Really disable PCH Due to the way qt_evaluate_config_expression()[1] parses conditions, De Morgan's Laws do not apply. This function is internal to the Qt build process and this behavior may be by design for simplicity. NOT (A OR B) defies logic and always evaluates to NOT A OR B, so we must express this as NOT A AND NOT B instead to get the desired result. Disabling PCH (pre-compiled headers) greatly decreases build time, especially with ccache and should fix the build on arm64 (not tested). ../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/strings/string_util.h:51:3: error: non-const lvalue reference to type '__builtin_va_list' cannot bind to a value of unrelated type 'va_list' (aka 'std::__va_list') va_start(arguments, format); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/_stdarg.h:45:49: note: expanded from macro 'va_start' #define va_start(ap, last) __builtin_va_start((ap), (last)) ^~~~ [1] https://code.qt.io/cgit/qt/qtbase.git/tree/cmake/QtFeature.cmake?h=6.5.3#n84 --- www/qt6-webengine/files/patch-cmake_Functions.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/qt6-webengine/files/patch-cmake_Functions.cmake b/www/qt6-webengine/files/patch-cmake_Functions.cmake index 2ebeb4684add..919c24219f0b 100644 --- a/www/qt6-webengine/files/patch-cmake_Functions.cmake +++ b/www/qt6-webengine/files/patch-cmake_Functions.cmake @@ -23,7 +23,7 @@ extend_gn_list(gnArgArg ARGS enable_precompiled_headers - CONDITION BUILD_WITH_PCH AND NOT LINUX -+ CONDITION BUILD_WITH_PCH AND NOT (LINUX OR FREEBSD) ++ CONDITION BUILD_WITH_PCH AND NOT LINUX AND NOT FREEBSD ) extend_gn_list(gnArgArg ARGS dcheck_always_on