Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jun 2024 13:33:28 -0400
From:      TIM KELLERS <tim@beachpatt.com>
To:        Xavier Humbert <xavier@groumpf.org>, FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: Unable to build python3.11
Message-ID:  <65bdfd58-8452-4e36-b2f5-0aa4ffcc066c@beachpatt.com>
In-Reply-To: <d45e06ae-5b21-4c96-afb5-7fb03d2f16e0@groumpf.org>
References:  <d45e06ae-5b21-4c96-afb5-7fb03d2f16e0@groumpf.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?65bdfd58-8452-4e36-b2f5-0aa4ffcc066c>