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 1of9CP-00075Y-MU for pgsql-hackers@arkaria.postgresql.org; Mon, 03 Oct 2022 00:20:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1of9BO-0007NT-Oc for pgsql-hackers@arkaria.postgresql.org; Mon, 03 Oct 2022 00:19:42 +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 1of9BO-0007NK-Ag for pgsql-hackers@lists.postgresql.org; Mon, 03 Oct 2022 00:19:42 +0000 Received: from mail-io1-xd2e.google.com ([2607:f8b0:4864:20::d2e]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1of9BL-0002Yw-FR for pgsql-hackers@postgresql.org; Mon, 03 Oct 2022 00:19:41 +0000 Received: by mail-io1-xd2e.google.com with SMTP id r134so7052707iod.8 for ; Sun, 02 Oct 2022 17:19:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date; bh=y04BCKba30FugKW1wLm2cXEmQwZAtoOImTYEgAgHDro=; b=V6K5cx0mXCLBHOfZ2royRy/qs+4wHPNwpzXGcr1mcNTI4pw8J8v0NFjOpGs1fkELXY my93RBcsnUiWexrg70pCrVoEltahW367N1b23aQOTIbSxYwIRTUerw4/FneyZRhbzolw /j4uEPO8qaHEqkHQrwYgQsev4Dyxpz2BkwoaUgNwGOCS1GWMvbSRct4d7sVI1RMSVnOm 6Ez645Df4Fqh8U/R65o9MLH170gKIXLiSrdVhNYuAlEs+1UkTqCk/V7amBKmUbu1/ICZ GAWc0zpvL/AAFkUS8U/vkkasETJWYWC8KFYzoU8Cc/v1/DPblSsNR2t08e9aIqOBJqB6 quyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date; bh=y04BCKba30FugKW1wLm2cXEmQwZAtoOImTYEgAgHDro=; b=dpHA1DlJkdl/6AVViD7qNf2V308hT9errN2j6qx8DF0n3PkPy2EJMH8TaG+UxrFfvi 0wFRXY4Z1L8ew6/1Sm97FclUQ+Yvgfia6WXlwqoYQmPQCb/DgN7qM4/dMkUDwk45lHzk z+BuD+4V9wC4eN8ESfsrgYWbDtiUxcK0W6QqGW38pwDyuhygCfPruQAYMj55lM+/NBQf E9U5DkU306Qm8WGnl8ChctA03eUnTg2jFo328ajH66uF7RHN+6e8sFMIxcYIiWi/iF0S jx7xjnmiVfm3OhcX2YGRA5dmKE/xUuWyzUquOIsSg13JvgQODBcX/w/kP7H9LvE0Pw+n P0qQ== X-Gm-Message-State: ACrzQf1cUpx689yAeWNWrOn4oQeVbOW78KEqvSaBq/mqn4EI8yzav2pi n4OQNHaLSgnc2OyINAlyLq4ZGw== X-Google-Smtp-Source: AMsMyM7fnVZstlCjSrA6kYRemUp2XeSw2d48Flq04Q/v73UsT25QBE7rmz9q2TqVd9ZASr2bSEGqfw== X-Received: by 2002:a05:6638:1492:b0:35a:5484:b8db with SMTP id j18-20020a056638149200b0035a5484b8dbmr9043486jak.236.1664756377264; Sun, 02 Oct 2022 17:19:37 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id d191-20020a0262c8000000b0035aea8cce87sm3626661jac.141.2022.10.02.17.19.36 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Oct 2022 17:19:36 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id EFC3C800784; Sun, 2 Oct 2022 19:19:35 -0500 (CDT) Date: Sun, 2 Oct 2022 19:19:35 -0500 From: Justin Pryzby To: Andres Freund Cc: Peter Eisentraut , Peter Geoghegan , wangw.fnst@fujitsu.com, Tom Lane , Nathan Bossart , Andrew Dunstan , Thomas Munro , samay sharma , Nazir Bilal Yavuz , pgsql-hackers@postgresql.org Subject: Re: [RFC] building postgres with meson - v13 Message-ID: <20221003001935.GF7745@telsasoft.com> References: <20220922223729.GA721620@nathanxps13> <2298281.1664041949@sss.pgh.pa.us> <20220924180955.2hevwoniwsj2q2tm@awork3.anarazel.de> <20220926163516.ftxjmoljjwyy4m2q@awork3.anarazel.de> <20220926194435.4hhrwu7d6anrapc3@awork3.anarazel.de> <20220927011951.j3h4o7n6bhf7dwau@awork3.anarazel.de> <20221002172520.GC7745@telsasoft.com> <20221002180530.fkhl6kpx734dlmow@awork3.anarazel.de> <20221002183837.GD7745@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221002183837.GD7745@telsasoft.com> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sun, Oct 02, 2022 at 01:38:37PM -0500, Justin Pryzby wrote: > On Sun, Oct 02, 2022 at 11:05:30AM -0700, Andres Freund wrote: > > > Also, you wrote "rm -fr build" between building for gcc and clang, but > > > since they run in an "always" block, it'd be better to use separate > > > dirs, to allow seeing logs for the the all (failed) tasks, in case the > > > last one succeeds. > > > > Hm, when are logs important for CompilerWarnings? I don't think we even > > collect any? Using a different builddir for the "sibling" tests (i.e. the two > > gcc and the two clang tests) would increase the times a bit because we'd > > regenerate the bison files etc. > > > > I guess it'll look a bit cleaner to use a build-gcc and a build-clang, just to > > get rid of the irregularity of needing that rm -rf. > > The build logs are important when hacking on .cirrus.yml itself. > > You're right that we don't normally save logs for CompilerWarnings; one or > another (unpublished) patch of mine adds that, and then also needed to change > to use separate dirs in order to debug building while experimenting with your > patch to use meson. FYI, this is what led me to make that suggestion. https://cirrus-ci.com/task/5920691940753408 I had a patch laying around to change the "compiler warnings" task to use debian "testing", which seems to have added some new flags in -Wall, which caused me to add (for now) some compiler flags like -Wno-error=... But when I added them to the task's CFLAGS, it broke "clang" (which doesn't support the warnings) in an obscure way[0], and no logs available to show why. [0] Header "uuid/uuid.h" has symbol "uuid_generate" with dependency uuid: NO So, I think it's worth reporting meson's build logs, even though no tests are run here. -- Justin