Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tvOWv-004JCf-CT for pgsql-hackers@arkaria.postgresql.org; Thu, 20 Mar 2025 22:38:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tvOWt-00Aeoc-7n for pgsql-hackers@arkaria.postgresql.org; Thu, 20 Mar 2025 22:38:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tvOWs-00Aei3-Hs for pgsql-hackers@lists.postgresql.org; Thu, 20 Mar 2025 22:38:22 +0000 Received: from mail-qt1-x82f.google.com ([2607:f8b0:4864:20::82f]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tvOWo-000Dbk-2X for pgsql-hackers@postgresql.org; Thu, 20 Mar 2025 22:38:20 +0000 Received: by mail-qt1-x82f.google.com with SMTP id d75a77b69052e-4767b3f8899so24948121cf.0 for ; Thu, 20 Mar 2025 15:38:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dunslane-net.20230601.gappssmtp.com; s=20230601; t=1742510294; x=1743115094; darn=postgresql.org; h=in-reply-to:autocrypt:content-language:references:cc:to:from :subject:user-agent:mime-version:date:message-id:from:to:cc:subject :date:message-id:reply-to; bh=mUO9gfF0wVnlnCcIF9T3X4qmvGajo1wBE5yQcF9XMEU=; b=mvsYpPPRzSvGp0XOIlNGeLVombGkyq8clCQGjbrNEL7j7il+YrVeHOF0bnVDn7nvtL gzAmVpE5zJD8baeZjgJYoQn2ZJk5cYx7yGJ9e9KndLqXwQCis3G2vMpal6RPfJRotd22 lcBl9sf0eupmRvEUgvEN9B+OwU5fq7+tfe7zQf3BUCUFCQwGeYgjGocJ4E2sJCqBALt1 ovZEoW7fkz87kwLcpz2uBvFawy/oZuI/FgR0OuiaiMawqutrIJ15YuoXiqpcTKVGfqTx KbzNuZ+TYYSrcrl0xJt+ngZGeOa06bejiGjg+VHbXYd6cjjO5OHQQRxsicjS+iPkwsOu 6Xmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742510294; x=1743115094; h=in-reply-to:autocrypt:content-language:references:cc:to:from :subject:user-agent:mime-version:date:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=mUO9gfF0wVnlnCcIF9T3X4qmvGajo1wBE5yQcF9XMEU=; b=ertqIO0hOngnm99Qw+xoxonzMbM/v80QAjdmEDIi+oZ5/m8gHo+IS7OUdTRK2vIY2N el68IXhMksT3q4jeBCf4TXFDqm7kI3rsap5yaBkSKz3dhmTI+Egezd2y/6x6vuNfz+cf z2XzdOBq5YfjJgf2PM80vjm6IQEOzpxEMICWo3bD+K5wSbVrvW5qCLXOs15MpUfFfJaD Ly7Y1U1CY/DF5/0fD8vsGGzSozyT4BaqhW+tFOMcnzrV1/HreYP6K3Um5ZBHl5GyeEVK ILINBp3ZpVGcZIMfLuJcKutC7yuaaNDh/qsoOGMfKYYaSbbDepA2CY9fxlcJu5XT2g79 yLbA== X-Forwarded-Encrypted: i=1; AJvYcCUIQDk8xv2O3h25LOFAzaFixEwXDQuVoPcdJOv0oYKHBs74kkbIeKnU3UjWU8fTHjK0eCXFLC2Rt8fvEE0v@postgresql.org X-Gm-Message-State: AOJu0YxP/n/OPg+uD5iO7v5uwnVRjv48dvBcyyAhryVMc+jkPuSNbFxc tu/L2nNx2w7ajCsgGSoSje0uy7uxL4UOSH7ueX7Q+FW0n3LX9Ti8xEOl+Fbzze0= X-Gm-Gg: ASbGncvbe6cA+o3BCU/1rwJEo0LVunnasSF703slHVI2L+ChtyOg6peh50ylEpGQHTe w61roI68yF12SlGQBsxq3qfgOuPIKbkob1IDUfCk5qgAvWUuKFKMIT/0dEvQbCWPyUet1KQ9He2 YoWT6YLVtFHbSjZ7eB01pF/ZV/PgLeHqxFViL+BhBR2XsPDVDSuuLcL4CVsqe3o1qzw9X57O2vF SRhoPq+5xDfA7cda5TyFgVmBisrenZFKmS305DLaIkXJn11YL0j7y4fV6epIhfJ4j8Qg7utTpm+ MtTbp5OeUcS9HsCVXQmTGmtrwtsKShWercEhpLHc1zBOxLC0VEeKRps= X-Google-Smtp-Source: AGHT+IFg4uwNPTYzPJNHNKUr17IKHpHEr9m/ebWt3TjmfHwXOa4cd0oKUSXZ7iXmy9fYKKdC9gJJgA== X-Received: by 2002:a05:6214:f64:b0:6eb:1c42:a14b with SMTP id 6a1803df08f44-6eb348e0487mr81409786d6.1.1742510294082; Thu, 20 Mar 2025 15:38:14 -0700 (PDT) Received: from ?IPV6:2605:a601:a681:6b00::1cb? ([2605:a601:a681:6b00::1cb]) by smtp.googlemail.com with ESMTPSA id 6a1803df08f44-6eb3ef1f5b5sm3345706d6.35.2025.03.20.15.38.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Mar 2025 15:38:12 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------JDoqkmNUDXnobHdEFEg5ugkT" Message-ID: Date: Thu, 20 Mar 2025 18:38:10 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: RFC: Additional Directory for Extensions From: Andrew Dunstan To: Tom Lane , Peter Eisentraut Cc: Matheus Alcantara , Gabriele Bartolini , Craig Ringer , "David E. Wheeler" , Robert Haas , Alvaro Herrera , PostgreSQL-development References: <0d384836-7e6e-4932-af3b-8dad1f6fee43@eisentraut.org> <4f7209ba-1ca2-475e-9a70-0f3fe0be6378@eisentraut.org> <12312928-5516-49b8-81c1-a7b56fd01bc8@dunslane.net> <38c53446-6b65-4222-b76b-351e56f4841c@eisentraut.org> <7c178ff3-20a5-493e-a704-e6b3263e782f@eisentraut.org> <28e98657-9369-4539-9e06-9124d1e77853@eisentrau! t.org> <784527.1742410558@sss.pgh.pa.us> Content-Language: en-US Autocrypt: addr=andrew@dunslane.net; keydata= xsBNBE7KWFkBCAClridxur2AIc7eW2AR7izbfp3EnNefie2HbLF0izW5Ik5UjX2HBXBx4syI gY6b0ugohXrr274+baoAlvSbq6cAoQuEVrk5IZFzt20b1Xkx65FwGSEj526yiKLocqkJceSq Xr9xcA5SGY+FZv441chh5SU92v4q6z+6LPpoHOh97ptAVXZYNTtU0LevyvD5lja0TzbvJm6C eFXitJfnm1pLEr0DGJCR/iUOl/N62Kh4855zZC7NHIjQHPOvV5Stz/l5ilDhvGVk+xkXFPys SjZoUr1rXhYLpiyi5sR0X9FHXT0KnGuz1F5ERO7ZTLSSQ6fJwPj6gOk9K+vvoKvoeql5ABEB AAHNJEFuZHJldyBEdW5zdGFuIDxhbmRyZXdAZHVuc2xhbmUubmV0PsLAmwQTAQgARQIbAwIX gAIZAQULCQgHAgMiAgEGFQoJCAsCBBYCAwECHgcWIQTkPlhGHfx8v0RpFaWZ+n/LWfw7gQUC ZFlxxwUJGVGAbgAKCRCZ+n/LWfw7gXikB/9ZdcUy6CTBFIIuL/bVsc1eLEW/gJBjJBF6HxNY xgEkAgXAp4Lg4A5U+QB9GouFr7+GYxF0BU4hzoGhNPUWltxnHdMWP8nC/38LAqgMi8L/bbsm HW5YPBdWYaAZAPJQVfOAgjTbRUb26KSprpyrrJKW0ZmrZfjhNPcQ72jpWzoPLQqx2X6B0fru 1jq+cBh8lb6r1mJTim1T3JIn+F/v5VpdQS+EL8xqsHkfzKjIPsW3CIXpkypSk6saA55Rkkbl 26AW8ftPVB0Q6Lnn6FLt9CP0MGNixBQ55yq8r1K+nCBvCCjvQjM8RDm0UUum0WNl+ifQgTLO E8TWEnwVtkBf+3QWzsBNBE7KWFkBCADRnOM0FCzsYW6jtncg+dWIagjUZpvaClmqn/sJluLa Q3v1VXMQJzYs3eC1gh386W+XBwLRpDj3jzH81lX+p73Re3d3oJW7X+ffsxuzu5ZVdMUkqBYo nkAbKxr6gyJ12F/+JkUVzLcoTN+d/7YsQvUVi7NaKH8mJgjz112O4fUe3p9wfAaFa0RXHc5S GPzRTYRRlv/XZBIho4J2tkZOnteZJZ+GbxQVlINt6fd8P6al3MWOvpP/ExJPguEfjOsO6Njy xjo3WfpD4lHMOR/Oc3/8mScEF84rF2jXbsFgelWnbPWAvXY+pD0dXOFRkagGmC/viwBDqq5b 5tk76kKmUbZxABEBAAHCwHwEGAEIACYCGwwWIQTkPlhGHfx8v0RpFaWZ+n/LWfw7gQUCZFlx 5wUJGVGAjgAKCRCZ+n/LWfw7gf+iB/4g8CPY5jihf5r/8EsoIGe2H+dpVmpPF8YGBzTIvCz/ fQoOq8AX/pE76QEuFnFZWfjw+wgBXgCVmkox2Eflkk6z4ND3pcwGZ6CfCxTQCDk/dij+2DQ4 6bmDCy/sBgcbz9mTpoLC11HLoPae6YN9nBNQRZDcEFEu54OaVOqlIdbA6m+POIBCXZdHOFc0 WoDTgxHRzC1jgQNidyd6tKqcsVJs0dzF0oKTmFFmUAqTdJO12LBuNA1rlqrR3EtpYk8B/wtS 5dIMD7Q8hwQpL+4C6GNpb6ZKnPkLi47pDOLhz2qBrqN+rqUEsT3YnExYpzj5yOBi+FlmV1Hw 49QYe1sn2ZPs In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------JDoqkmNUDXnobHdEFEg5ugkT Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2025-03-20 Th 10:53 AM, Andrew Dunstan wrote: > > > On 2025-03-19 We 2:55 PM, Tom Lane wrote: >> Peter Eisentraut writes: >>> Committed that, thanks. >> Buildfarm member snakefly doesn't like this too much. Since no other >> animals have failed, I guess it must be about local conditions on >> that machine, but the report is pretty opaque: >> >> # +++ tap check in src/test/modules/test_extensions +++ >> >> # Failed test '$system extension is installed correctly on pg_available_extensions' >> # at t/001_extension_control_path.pl line 69. >> # got: 'f' >> # expected: 't' >> >> # Failed test '$system extension is installed correctly on pg_available_extensions with empty extension_control_path' >> # at t/001_extension_control_path.pl line 76. >> # got: 'f' >> # expected: 't' >> # Looks like you failed 2 tests of 5. >> [06:43:53] t/001_extension_control_path.pl .. >> Dubious, test returned 2 (wstat 512, 0x200) >> Failed 2/5 subtests >> >> Looking at the test, it presupposes that "amcheck" must be an >> available extension. I do not see anything that guarantees >> that that's so, though. It'd fail if contrib hasn't been >> installed. Is there a reason to use "amcheck" rather than >> something more certainly available, like "plpgsql"? > > > > I think something else must be going on. The failure in question came > after the step "install-contrib" succeeded, and the log file for that > shows: > > > make[1]: Entering directory `/opt/postgres/build-farm-18/HEAD/pgsql.build/contrib/amcheck' > /usr/bin/mkdir -p '/opt/postgres/build-farm-18/HEAD/pgsql.build/tmp_install/opt/postgres/build-farm-18/HEAD/inst/lib' > /usr/bin/mkdir -p '/opt/postgres/build-farm-18/HEAD/pgsql.build/tmp_install/opt/postgres/build-farm-18/HEAD/inst/share/extension' > /usr/bin/mkdir -p '/opt/postgres/build-farm-18/HEAD/pgsql.build/tmp_install/opt/postgres/build-farm-18/HEAD/inst/share/extension' > /usr/bin/install -c -m 755 amcheck.so '/opt/postgres/build-farm-18/HEAD/pgsql.build/tmp_install/opt/postgres/build-farm-18/HEAD/inst/lib/amcheck.so' > /usr/bin/install -c -m 644 ./amcheck.control '/opt/postgres/build-farm-18/HEAD/pgsql.build/tmp_install/opt/postgres/build-farm-18/HEAD/inst/share/extension/' > /usr/bin/install -c -m 644 ./amcheck--1.3--1.4.sql ./amcheck--1.2--1.3.sql ./amcheck--1.1--1.2.sql ./amcheck--1.0--1.1.sql ./amcheck--1.0.sql '/opt/postgres/build-farm-18/HEAD/pgsql.build/tmp_install/opt/postgres/build-farm-18/HEAD/inst/share/extension/' > make[1]: Leaving directory `/opt/postgres/build-farm-18/HEAD/pgsql.build/contrib/amcheck' > > > (wondering if this another of these cases where the "path includes postgres" thing bites us, and we're looking in the wrong place) > > > Nope, testing shows it's not that, so I am rather confused about what was going on. cheers andrew -- Andrew Dunstan EDB:https://www.enterprisedb.com --------------JDoqkmNUDXnobHdEFEg5ugkT Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit


On 2025-03-20 Th 10:53 AM, Andrew Dunstan wrote:


On 2025-03-19 We 2:55 PM, Tom Lane wrote:
Peter Eisentraut <peter@eisentraut.org> writes:
Committed that, thanks.
Buildfarm member snakefly doesn't like this too much.  Since no other
animals have failed, I guess it must be about local conditions on
that machine, but the report is pretty opaque:

# +++ tap check in src/test/modules/test_extensions +++

#   Failed test '$system extension is installed correctly on pg_available_extensions'
#   at t/001_extension_control_path.pl line 69.
#          got: 'f'
#     expected: 't'

#   Failed test '$system extension is installed correctly on pg_available_extensions with empty extension_control_path'
#   at t/001_extension_control_path.pl line 76.
#          got: 'f'
#     expected: 't'
# Looks like you failed 2 tests of 5.
[06:43:53] t/001_extension_control_path.pl .. 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/5 subtests

Looking at the test, it presupposes that "amcheck" must be an
available extension.  I do not see anything that guarantees
that that's so, though.  It'd fail if contrib hasn't been
installed.  Is there a reason to use "amcheck" rather than
something more certainly available, like "plpgsql"?



I think something else must be going on. The failure in question came after the step "install-contrib" succeeded, and the log file for that shows:


make[1]: Entering directory `/opt/postgres/build-farm-18/HEAD/pgsql.build/contrib/amcheck'
/usr/bin/mkdir -p '/opt/postgres/build-farm-18/HEAD/pgsql.build/tmp_install/opt/postgres/build-farm-18/HEAD/inst/lib'
/usr/bin/mkdir -p '/opt/postgres/build-farm-18/HEAD/pgsql.build/tmp_install/opt/postgres/build-farm-18/HEAD/inst/share/extension'
/usr/bin/mkdir -p '/opt/postgres/build-farm-18/HEAD/pgsql.build/tmp_install/opt/postgres/build-farm-18/HEAD/inst/share/extension'
/usr/bin/install -c -m 755  amcheck.so '/opt/postgres/build-farm-18/HEAD/pgsql.build/tmp_install/opt/postgres/build-farm-18/HEAD/inst/lib/amcheck.so'
/usr/bin/install -c -m 644 ./amcheck.control '/opt/postgres/build-farm-18/HEAD/pgsql.build/tmp_install/opt/postgres/build-farm-18/HEAD/inst/share/extension/'
/usr/bin/install -c -m 644 ./amcheck--1.3--1.4.sql ./amcheck--1.2--1.3.sql ./amcheck--1.1--1.2.sql ./amcheck--1.0--1.1.sql ./amcheck--1.0.sql  '/opt/postgres/build-farm-18/HEAD/pgsql.build/tmp_install/opt/postgres/build-farm-18/HEAD/inst/share/extension/'
make[1]: Leaving directory `/opt/postgres/build-farm-18/HEAD/pgsql.build/contrib/amcheck'


(wondering if this another of these cases where the "path includes postgres" thing bites us, and we're looking in the wrong place)





Nope, testing shows it's not that, so I am rather confused about what was going on.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com
--------------JDoqkmNUDXnobHdEFEg5ugkT--