From nobody Sat Jun 08 18:35:48 2024 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VxRbC6M8Lz5MxDR for ; Sat, 08 Jun 2024 18:35:51 +0000 (UTC) (envelope-from tim@beachpatt.com) Received: from serendipity35.net.net (serendipity35.net [167.71.244.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "serendipity35.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VxRbB6rp6z4cDq for ; Sat, 8 Jun 2024 18:35:50 +0000 (UTC) (envelope-from tim@beachpatt.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=beachpatt.com header.s=mail header.b=OC7J7QdP; dmarc=pass (policy=quarantine) header.from=beachpatt.com; spf=pass (mx1.freebsd.org: domain of tim@beachpatt.com designates 167.71.244.20 as permitted sender) smtp.mailfrom=tim@beachpatt.com Received: from beachpatt.com ([50.123.163.179]) by serendipity35.net.net (8.18.1/8.18.1) with ESMTPS id 458IZnmA084586 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=FAIL); Sat, 8 Jun 2024 14:35:50 -0400 (EDT) (envelope-from tim@beachpatt.com) Received: from [192.168.254.154] ([192.168.254.154]) (authenticated bits=0) by beachpatt.com (8.18.1/8.18.1) with ESMTPSA id 458IZmbK063280 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Sat, 8 Jun 2024 14:35:48 -0400 (EDT) (envelope-from tim@beachpatt.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=beachpatt.com; s=mail; t=1717871748; bh=BGtKpE5pDomz+N+qD/E0adNa5IwPVZO/jo7HTPecao8=; h=Date:Subject:From:To:References:In-Reply-To; b=OC7J7QdPBLcpOQ7STSL8pbITqDICJXBGLXd5sQQTt0ITdZBnqeqYYksjwqDAaa669 yQQTar/SoDnzd5yzwHcZNBWuvipsZIru4AxbvuA77Wr2WI9aEMb6JNjO9XkMVwV4dn G/l0GRZbEu1TESdK1Er1YKDXpfn4FL+7wCWiV2Dg= Message-ID: <077474fc-2828-4333-b9f0-f30ef5398ff0@beachpatt.com> Date: Sat, 8 Jun 2024 14:35:48 -0400 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Unable to build python3.11 From: TIM KELLERS To: Xavier Humbert , FreeBSD Ports ML References: <65bdfd58-8452-4e36-b2f5-0aa4ffcc066c@beachpatt.com> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; DMARC_POLICY_ALLOW(-0.50)[beachpatt.com,quarantine]; R_DKIM_ALLOW(-0.20)[beachpatt.com:s=mail]; R_SPF_ALLOW(-0.20)[+a:serendipity35.net]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:14061, ipnet:167.71.240.0/20, country:US]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[beachpatt.com:+] X-Rspamd-Queue-Id: 4VxRbB6rp6z4cDq On 6/8/24 2:32 PM, TIM KELLERS wrote: > I'm doing the update according to UPDATING now on: > FreeBSD beachpatt.com 13.3-STABLE FreeBSD 13.3-STABLE > stable/13-n257865-e5e6242f62a3 MAY7 amd64 > > I'm a little confused on the > #make clean all > > part you used. > > 3.11 just finished without an error, using just this: >  # sh >  # portmaster -o lang/python311 python39 > > Python upgraded then I followed with: > # pkg delete -f "*py39*" > # portmaster $REINSTALL > > The dependent ports, at this stage are compiling along with no error so > far. > > I didn't try the > #make clean all  approach, but that isn't part of the UPDATING procedure. > > Tim > > > > > On 6/8/24 2:08 PM, Xavier Humbert wrote: >> Le 08/06/2024 19:33, TIM KELLERS a écrit : >>> On 6/8/24 12:38 PM, Xavier Humbert wrote: >>>> Hi, >>>> >>>> Tried to compile python 3.11 but if fails at QA and install stage >>>> with  : >>>> >>>> [root@numenor python311]# make clean all >>>> [...] >>>> ====> Compressing man pages (compress-man) >>>> ====> Running Q/A tests (stage-qa) >>>> egrep: warning: egrep is obsolescent; using /usr/local/bin/ggrep -E >>>> Warning: you might not need LIB_DEPENDS on libreadline.so.8 >>>> readelf: Error: Not an ELF file - it has the wrong magic bytes at >>>> the start >>>> Warning: >>>> /usr/ports/lang/python311/work/stage/usr/local/lib/libpython3.11d.so.1.0-gdb.py doesn't have a SONAME. >>>> Warning: pkg(8) will not register it as being provided by the port. >>>> Warning: If another port depend on it, pkg will not be able to know >>>> where it comes from. >>>> Warning: It is directly in /usr/local/lib, it is probably used by >>>> other ports. >>>> [root@numenor python311]# make install >>>> ===>  Installing for python311-3.11.9 >>>> ===>  Checking if python311 is already installed >>>> ===>   Registering installation for python311-3.11.9 >>>> pkg-static: Unable to access file >>>> /usr/ports/lang/python311/work/stage/usr/local/lib/python3.11/lib-dynload/_testclinic.cpython-311.so:No such file or directory >>>> *** Error code 1 >>>> >>>> Stop. >>>> make[1]: stopped in /usr/ports/lang/python311 >>>> *** Error code 1 >>>> >>>> Stop. >>>> make: stopped in /usr/ports/lang/python311 >>>> [root@numenor python311]# make showconfig >>>> ===> The following configuration options are available for >>>> python311-3.11.9: >>>>       DEBUG=on: Build with debugging support >>>>       IPV6=on: IPv6 protocol support >>>>       LIBMPDEC=on: Use libmpdec from ports instead of bundled version >>>>       LTO=on: Use Link-Time Optimization >>>>       NLS=on: Enable gettext support for the locale module >>>>       PYMALLOC=on: Enable specialized mallocs >>>> ====> Hash Algorithm (PEP-456): you can only select none or one of them >>>>       FNV=off: Modified Fowler-Noll-Vo Algorithm >>>>       SIPHASH=on: SipHash24 Algorithm >>>> ===> Use 'make config' to modify these settings >>>> >>>> My goal was to follow 20240529 entry in UPDATING >>>> >>>> Regards, >>>> >>>> Xavier >>>> >>> >>> >>> Which version and which architecture are you building on? >>> >>> Tim >> >> >> I'm building python 3.11 on 13-STABLE/amd64 >> >> Xavier >> > > Pardon the previous top post... The exact procedure that is working is: # sh # portmaster -o lang/python311 python39 # REINSTALL="$(pkg info -oq '*py39*')" # pkg delete -f "*py39*" # portmaster $REINSTALL That step is still compiling the updated dependencies. Tim