Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1maMFg-0002Ry-Fm for pgsql-hackers@arkaria.postgresql.org; Tue, 12 Oct 2021 18:11:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1maMFf-0002wi-FX for pgsql-hackers@arkaria.postgresql.org; Tue, 12 Oct 2021 18:11:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1maMFf-0002wR-87 for pgsql-hackers@lists.postgresql.org; Tue, 12 Oct 2021 18:11:47 +0000 Received: from relay9-d.mail.gandi.net ([217.70.183.199]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1maMFc-0005Yt-99 for pgsql-hackers@postgresql.org; Tue, 12 Oct 2021 18:11:46 +0000 Received: (Authenticated sender: adsend@dunslane.net) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id A4035FF80B; Tue, 12 Oct 2021 18:11:41 +0000 (UTC) Subject: Re: [RFC] building postgres with meson To: Andres Freund Cc: pgsql-hackers@postgresql.org References: <20211012083721.hvixq4pnh2pixr3j@alap3.anarazel.de> <20211012165926.phrxn7vwx6ysfioj@alap3.anarazel.de> From: Andrew Dunstan Message-ID: Date: Tue, 12 Oct 2021 14:11:39 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <20211012165926.phrxn7vwx6ysfioj@alap3.anarazel.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/12/21 12:59 PM, Andres Freund wrote: > > > If you repro the hanging, what's the last bit in meson-logs/meson-log.txt? Here's the entire thing # cat  C:/tools/msys64/home/Administrator/postgresql/build/meson-logs/meson-log.txt Build started at 2021-10-12T18:08:34.387568 Main binary: C:/tools/msys64/mingw64/bin/python.exe Build Options: -Dbuildtype=debug Python system: Windows The Meson build system Version: 0.59.1 Source dir: C:/tools/msys64/home/Administrator/postgresql Build dir: C:/tools/msys64/home/Administrator/postgresql/build Build type: native build Project name: postgresql Project version: 15devel Sanity testing C compiler: ccache cc Is cross compiler: False. Sanity check compiler command line: ccache cc sanitycheckc.c -o sanitycheckc.exe -D_FILE_OFFSET_BITS=64 Sanity check compile stdout: ----- Sanity check compile stderr: ----- meson.build:1:0: ERROR: Compiler ccache cc can not compile programs. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com