From nobody Fri May 31 14:32:51 2024 X-Original-To: chromium@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 4VrQZW2VJcz5N0rC for ; Fri, 31 May 2024 14:32:51 +0000 (UTC) (envelope-from bugzilla-noreply@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 4VrQZW08S0z4yGC for ; Fri, 31 May 2024 14:32:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717165971; a=rsa-sha256; cv=none; b=mYNUgoAP+mR/5eDm/CHDnZh5dTr+7wrCiXCCnDOCzy3iHrS4dkDIHd4Ut550ZTFqVURvd1 JNUaIiYR/Oqo1SJD1k46Ou2NWod8v1EiD9nhsa6f/jNso6QicSXi2UvbuGfLza7AIBx/hk /zGhCTtWZZhUBtPjWdjYe5Gv2Aklwz4k5KjUCzDkGMEMKUpohq37I526x1e97jMtcDvcs9 QKmTyYajioAPUeS8KdF7zXz7OXQvy0AiULKbZpo0Erc12wiEgG3srPAuiRJisb4yJRSx/Q gEst+917LHu6ItIE2Wms09l6v2rgXIusJO9b866E3Y8QcMrbcBfgsgOlrSDGiQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717165971; 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: in-reply-to:in-reply-to:references:references; bh=nccXKRiQtojalc+85kI/r87jh3nEZx5w0B+OIrcAIN4=; b=BwOYrTmPppp0gKrVAGWZcpZSKecLMUtJEdk5RFwt3eR9PEg4z0gHvsxwjkIiAZMP6EjZuf 6j71XVFJ6IuEhtdpCuyUtPGzc50Jyld6QxB/mLrcRQwOFo0h5PJGw6P0G7CrHfVj6NnviL CTxR6BHXaNfGCZaKyWbs5jReepQyl4deRYZQ9IIo7/3WOE8KzJ0MbveWHPdVNA0sQsYIp2 MWweMk9zJIs+qS6CreJq2fJEmSWQvmaAhcpmAT37500Qz+XbOiDQ0YGhEu8AxP1ThEkexe okxV6hb3IFtg6urULlkZx8gAZboHH3whfePLh+ZqeaFFYUZPjaB3ac8pm7P/Fw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4VrQZV6t3lzRqD for ; Fri, 31 May 2024 14:32:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 44VEWo7F001272 for ; Fri, 31 May 2024 14:32:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44VEWoXK001271 for chromium@FreeBSD.org; Fri, 31 May 2024 14:32:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: chromium@FreeBSD.org Subject: [Bug 279397] www/chromium sqlite3_shim.c compilation error Date: Fri, 31 May 2024 14:32:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dev@submerge.ch X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: chromium@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Chromium issues List-Archive: https://lists.freebsd.org/archives/freebsd-chromium List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-chromium@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279397 --- Comment #6 from Florian Walpen --- I'm currently experimenting with the internal SQLite of devel/qtcreator, wh= ich is easier to test for me. Appending " && !defined(__FreeBSD__)" to the exceptions for APPLE and DARWIN works, but I think the correct solution for upstream should be: #if defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE) # define _XOPEN_SOURCE 600 #endif Rationale is that _XOPEN_SOURCE helps to extend an already present restrict= ion to _POSIX_C_SOURCE with XOPEN features. But SQLite should not impose a restriction to XOPEN features only when there is no POSIX restriction in effect, thereby reducing the available feature set (like alloca). I don't have time to create a chromium patch now, it may be defined in mult= iple places due to the amalgamated SQLite source. --=20 You are receiving this mail because: You are the assignee for the bug.=