From nobody Sat Jun 08 18:32:13 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 4VxRW501jwz5MxD5 for ; Sat, 08 Jun 2024 18:32:17 +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 4VxRW45DBPz4bd4 for ; Sat, 8 Jun 2024 18:32:16 +0000 (UTC) (envelope-from tim@beachpatt.com) Authentication-Results: mx1.freebsd.org; none Received: from beachpatt.com ([50.123.163.179]) by serendipity35.net.net (8.18.1/8.18.1) with ESMTPS id 458IWE4C084571 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=FAIL); Sat, 8 Jun 2024 14:32:15 -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 458IWD0I056452 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Sat, 8 Jun 2024 14:32:13 -0400 (EDT) (envelope-from tim@beachpatt.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=beachpatt.com; s=mail; t=1717871534; bh=DVzVplR8gZ30Y5QZOBVAACUsmgkrQlWDKHhVAhpi5sg=; h=Date:Subject:To:References:From:In-Reply-To; b=bw2ooKCgyrNHD3N4j0O9qNKMn6J37+reDzRa6p25nVTfTbJny2mrAZ3WWSze95ewT 9XGRO1vCb5kGIB4+sMnSInuzWEkjsVmAkhvakO875wwaRa0JKlx61/AMai/p8zvLGH hz8AwRT1Gx4BxhbjN/EYzFVvhUg/J/xLaYXZROrE= Message-ID: Date: Sat, 8 Jun 2024 14:32:13 -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 To: Xavier Humbert , FreeBSD Ports ML References: <65bdfd58-8452-4e36-b2f5-0aa4ffcc066c@beachpatt.com> Content-Language: en-US From: TIM KELLERS In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:14061, ipnet:167.71.240.0/20, country:US] X-Rspamd-Queue-Id: 4VxRW45DBPz4bd4 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 >