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 1obUp9-0000ll-35 for pgsql-hackers@arkaria.postgresql.org; Thu, 22 Sep 2022 22:37:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1obUp7-0001B6-Me for pgsql-hackers@arkaria.postgresql.org; Thu, 22 Sep 2022 22:37:37 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1obUp7-0001Ax-AK for pgsql-hackers@lists.postgresql.org; Thu, 22 Sep 2022 22:37:37 +0000 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1obUp3-0001WM-IP for pgsql-hackers@postgresql.org; Thu, 22 Sep 2022 22:37:36 +0000 Received: by mail-pf1-x433.google.com with SMTP id b75so10661125pfb.7 for ; Thu, 22 Sep 2022 15:37:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=HosTQAp6ZQFWgIPZT2kq/2KV/jmg2tBdE8SpColD4+o=; b=NnzBAEEWl5/BuDSxzJwBELfucV4bmaToSGpe1Ntu0hLRns8pXxqMgdYpaclwaMtEj6 U8PGN4tyM54zrma3DidNmjU2CTpUPKY8luW8+hD/epxqgayYYPLOPlWKo7KCd6fFYaJL PkplZC9LpaXc0EjtymX7Zd+nLiEV54gvJvQE59DyecVULLnZnp74X25aI4wBDKhIF+Bx GPDIIkvoTiIOcraOqdgh032ljsglhNm0bojKBN0Gt8MhWLL+2cDW9mYddZvW+ty19VqM 7TpaNG2ZRl5WfVTcCtpgYXJ1LId9RloFdOPemvnEHQ1I1RD4dfyNbWuOzYNU1XhDAyuS Z9/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=HosTQAp6ZQFWgIPZT2kq/2KV/jmg2tBdE8SpColD4+o=; b=peXnAwTm0lWN0t7Rz0PD6OHOAqm59KnEQ/fsZSS5zuxLnfxYcJYpoEvb2zHxGZK+zi 0/IxTkSHezi5g5PYZG9CkCdvV74RdLKWhH4c/7tXhD/dSMEbjE5SPQAvcXWRq+P3fAGd 8PJSIt4XTsdThr90iDkWkY1zc9dvEupGKmepy1iV1AFPFIcEPjCLlLna5zIXI+9NPLQ5 LuLo6XGMVKA1wWh/QzvbTk5MohRDVbnf+z1NvrzvNAyM+qHx0Cw0H7xLJCuVzqP93RkE xubnWn1fiM49MFkxOfyUYUSbMRa5aJQJ1+W6m2XN0Z7LqNFuHyIz2W4xF8y6RVrpKd54 knGw== X-Gm-Message-State: ACrzQf10w+1PeJTihe6YOeGSMuqgWwd93M80abwjoMRqoHvLtrVzmUpZ 3DjuTpNdASCtqh1zZIGyWes= X-Google-Smtp-Source: AMsMyM6gWTUec5ypOqHMKJck2AHblHRJ1yh/A8CIoBFJx8VkQeUX88dHG7a5gnPUl+Yv8GqodkHzbg== X-Received: by 2002:a05:6a00:2350:b0:541:b5bf:2774 with SMTP id j16-20020a056a00235000b00541b5bf2774mr5870497pfj.28.1663886252379; Thu, 22 Sep 2022 15:37:32 -0700 (PDT) Received: from nathanxps13 ([50.47.162.83]) by smtp.gmail.com with ESMTPSA id v1-20020aa799c1000000b005360da6b26bsm4867947pfi.159.2022.09.22.15.37.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Sep 2022 15:37:31 -0700 (PDT) Date: Thu, 22 Sep 2022 15:37:29 -0700 From: Nathan Bossart To: Andres Freund Cc: Andrew Dunstan , Peter Eisentraut , Tom Lane , Thomas Munro , Justin Pryzby , samay sharma , Nazir Bilal Yavuz , pgsql-hackers@postgresql.org Subject: Re: [RFC] building postgres with meson - v13 Message-ID: <20220922223729.GA721620@nathanxps13> References: <38ff430c-4a53-63f1-caf7-bb54c024d344@enterprisedb.com> <20220920021630.vufrgcjmidimcarq@awork3.anarazel.de> <20220921164630.wrklkjmifjqjtlwc@awork3.anarazel.de> <20220922055704.fngsvviugsnivebs@awork3.anarazel.de> <2b9a02ec-22e6-24df-18ec-b60e3af12995@dunslane.net> <20220922150550.pscsjv4nwnslupeg@awork3.anarazel.de> <20220922200533.GA697326@nathanxps13> <20220922202809.4touie37lfafyabw@awork3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220922202809.4touie37lfafyabw@awork3.anarazel.de> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Sep 22, 2022 at 01:28:09PM -0700, Andres Freund wrote: > On 2022-09-22 13:05:33 -0700, Nathan Bossart wrote: >> * I'm using an Ubuntu-based distribution, and the version of meson that apt >> installed was not new enough for Postgres. I ended up cloning meson [0] >> and using the newest tag. This is no big deal. > > I assume this is 20.04 LTS? If so, we're missing it by one version of meson > currently. There's unfortunately a few features that'd be a bit painful to not > have. Yes. I imagine I'll upgrade to 22.04 LTS soon, which appears to provide a new enough version of meson. >> * The installed binaries were unable to locate libraries like libpq. I >> ended up setting the extra_lib_dirs option to the directory where these >> libraries were installed to fix this. This one is probably worth >> investigating further. > > I think that should be "fixed" in a later commit in the meson tree - any > chance you could try that? Yup, after cherry-picking 9bc60bc, this is fixed. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com