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 1ql8eb-001NZf-G2 for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Sep 2023 14:03:09 +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 1ql8ea-00CJAd-3C for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Sep 2023 14:03:08 +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 1ql8eZ-00CJAN-NP for pgsql-hackers@lists.postgresql.org; Tue, 26 Sep 2023 14:03:07 +0000 Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1ql8eW-007gus-4P for pgsql-hackers@lists.postgresql.org; Tue, 26 Sep 2023 14:03:06 +0000 Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-2c15463ddd4so85550571fa.3 for ; Tue, 26 Sep 2023 07:03:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1695736981; x=1696341781; darn=lists.postgresql.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=YgozU27HVj1FvcDtWr/zIGZRjHSYY4GcDUdZpInTibk=; b=LxhdeVzP6v7YPGFSWxAHIwBP0yVFuzaUk3nNEk8UgWtFbTxVRWJKzTXnQziHp8/VQR 1vhZ+X7l//E4sv/YFvKA9Z+ag1oqjV7UVamNlXIYdI11B5PunDEmv2WyM/6Z5guiym2V zCxVqxB3rbCh3g0FDA2QbHDoH8AThWxZqLPZmk/jwLS6JJmLWcObOhRcPC3iTm65/UKO Fu1ZH0GNe2bFmZm8WbtF57FziiThJshgS5zcdcbLTXNk3EEqGffNKH/vdQa/TF2lddJ0 QDCciQ87vDhrVx0S2TzjMIUl970AuxzKunc3SPJ0ZLrwvuk+5rdTzRhvVKbj6yNnKfpc ypEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695736981; x=1696341781; h=content-transfer-encoding:in-reply-to: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=YgozU27HVj1FvcDtWr/zIGZRjHSYY4GcDUdZpInTibk=; b=Xi8FBv96n/H1WW0vBEF0za4xDRaImQbjmbn3/on2cwRrpt7tzJBPluGMbWil8HPKFY jwQoNkgywtB2ZEwmZqzac+ed52cuilbNCi1Zf6Sv6LFC2ssy/uJ1tUiteQWUBIGUebX+ tCindQi2Qbdqt/3LaVKfciyaEm149dNLYUuSezJJLMIdvxGxT1zJRUdfxmiCmXqWTYSN RKurZkyrygxcCPdUhnvAauwbIX3dDz6uXG5FQRykRQ3B75KY/dHYAntVc8qDeFNSYtCa B9Zw6iT1595KKQvv3lerSjKTU5sW5Jf5JZ4AiXfl0YZNWwARUtZWDN9tWL1G1HOHdSgc 2iXw== X-Gm-Message-State: AOJu0Yy+DuGU9YfwaybLMqSa6khFV0oUumxbUtWPvOt2VQvnBXaHy3xD 8V1s3EgG19vmqQ9Ph48Y3wFrDQ== X-Google-Smtp-Source: AGHT+IHVVzclir1EqQNHlkFjmIAISrzoAaVN0qmIx5GeB5ARNfSxHLUbNI/doqyapKDwhd1ASk/97g== X-Received: by 2002:a2e:8718:0:b0:2bc:d993:b7ba with SMTP id m24-20020a2e8718000000b002bcd993b7bamr9330932lji.27.1695736981463; Tue, 26 Sep 2023 07:03:01 -0700 (PDT) Received: from [10.137.0.17] (srv1.mobissw.com. [89.235.0.226]) by smtp.gmail.com with ESMTPSA id vb5-20020a170907d04500b009b299529709sm1155913ejc.132.2023.09.26.07.03.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Sep 2023 07:03:01 -0700 (PDT) Message-ID: <03a3f095-e800-96a2-0084-a2b39b82554f@enterprisedb.com> Date: Tue, 26 Sep 2023 16:03:01 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: dikkop seems unhappy because of openssl stuff (FreeBSD 14-BETA1) From: Tomas Vondra To: Tom Lane Cc: PostgreSQL Hackers References: <316d304a-1dcd-cea1-3d6c-27f794727a06@enterprisedb.com> <220198.1695063151@sss.pgh.pa.us> <595acc76-6b9c-1445-67e4-00c84cb1a4d8@enterprisedb.com> <380389.1695141908@sss.pgh.pa.us> <20f76b64-c572-7320-64cc-2f6fb3548552@enterprisedb.com> <425660.1695165890@sss.pgh.pa.us> <4ecba72e-4d58-20a9-bb7c-1a1b6b4f48b1@enterprisedb.com> <9ff0a03a-db64-dbab-3896-10c19ff009ce@enterprisedb.com> Content-Language: en-US In-Reply-To: <9ff0a03a-db64-dbab-3896-10c19ff009ce@enterprisedb.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 9/20/23 20:09, Tomas Vondra wrote: > On 9/20/23 19:59, Tomas Vondra wrote: >> >> >> On 9/20/23 01:24, Tom Lane wrote: >>> Tomas Vondra writes: >>>> bsd@freebsd:~ $ tclsh8.6 >>>> % clock scan "1/26/2010" >>>> time value too large/small to represent >>> >>> In hopes of replicating this, I tried installing FreeBSD 14-BETA2 >>> aarch64 on my Pi 3B. This test case works fine: >>> >>> $ tclsh8.6 >>> % clock scan "1/26/2010" >>> 1264482000 >>> >>> $ tclsh8.7 >>> % clock scan "1/26/2010" >>> 1264482000 >>> >>> and unsurprisingly, pltcl's regression tests pass. I surmise >>> that something is broken in BETA1 that they fixed in BETA2. >>> >>> plpython works too, with the python 3.9 package (and no older >>> python). >>> >>> However, all is not peachy, because plperl doesn't work. >>> Trying to CREATE EXTENSION either plperl or plperlu leads >>> to a libperl panic: >>> >>> pl_regression=# create extension plperl; >>> server closed the connection unexpectedly >>> This probably means the server terminated abnormally >>> before or while processing the request. >>> The connection to the server was lost. Attempting reset: Succeeded. >>> >>> with this in the postmaster log: >>> >>> panic: pthread_key_create failed >>> >>> That message is certainly not ours, so it must be coming out of libperl. >>> >>> Another thing that seemed strange is that ecpg's preproc.o takes >>> O(forever) to compile. I killed the build after observing that the >>> compiler had gotten to 40 minutes of CPU time, and redid that step >>> with PROFILE=-O0, which allowed it to compile in 20 seconds or so. >>> (I also tried -O1, but gave up after a few minutes.) This machine >>> can compile the main backend grammar in a minute or two, so there is >>> something very odd there. >>> >>> I'm coming to the conclusion that 14-BETA is, well, beta grade. >>> I'll be interested to see if you get the same results when you >>> update to BETA2. >> >> Thanks, I'll try that when I'll be at the office next week. >> > > FWIW when I disabled tcl, the tests pass (it's running with --nostatus > --nosend, so it's not visible on the buildfarm site). Including the > plperl stuff: > > ============== running regression test queries ============== > test plperl ... ok 397 ms > test plperl_lc ... ok 152 ms > test plperl_trigger ... ok 374 ms > test plperl_shared ... ok 163 ms > test plperl_elog ... ok 184 ms > test plperl_util ... ok 210 ms > test plperl_init ... ok 150 ms > test plperlu ... ok 117 ms > test plperl_array ... ok 228 ms > test plperl_call ... ok 189 ms > test plperl_transaction ... ok 412 ms > test plperl_plperlu ... ok 238 ms > > ====================== > All 12 tests passed. > ====================== > > I wonder if this got broken between BETA1 and BETA2. > Hmmm, I got to install BETA2 yesterday, but I still se the tcl failure: select tcl_date_week(2010,1,26); - tcl_date_week ---------------- - 04 -(1 row) - +ERROR: time value too large/small to represent +CONTEXT: time value too large/small to represent + while executing +"ConvertLocalToUTC $date[set date {}] $TZData($timezone) 2361222" + (procedure "FreeScan" line 86) + invoked from within +"FreeScan $string $base $timezone $locale" + (procedure "::tcl::clock::scan" line 68) + invoked from within +"::tcl::clock::scan 1/26/2010" + ("uplevel" body line 1) + invoked from within +"uplevel 1 [info level 0]" + (procedure "::tcl::clock::scan" line 4) + invoked from within +"clock scan "$2/$3/$1"" + (procedure "__PLTcl_proc_55335" line 3) + invoked from within +"__PLTcl_proc_55335 2010 1 26" +in PL/Tcl function "tcl_date_week" select tcl_date_week(2001,10,24); I wonder what's the difference between the systems ... All I did was writing the BETA2 image to SD card, and install a couple packages: pkg install xml2c libxslt gettext-tools ccache tcl tcl87 \ p5-Test-Harness p5-IPC-Run gmake htop bash screen \ python tcl86 nano p5-Test-LWP-UserAgent \ p5-LWP-Protocol-https And then perl ./run_branches.pl --run-all --nosend --nostatus --verbose with the buildfarm config used by dikkop. regards -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company