Re: Error reinstalling python 3.8.10 from ports

2021-05-19 Thread Kubilay Kocak

On 20/05/2021 1:54 am, Xavier Humbert wrote:

Hi,

I got trouble with python 3.8.10 at reinstall stage :


===>   Registering installation for python38-3.8.10
pkg-static: Unable to access file 
/usr/ports/lang/python38/work/stage/usr/local/lib/python3.8/lib-dynload/_asyncio.cpython-38.so:No 
such file or directory
pkg-static: Unable to access file 
/usr/ports/lang/python38/work/stage/usr/local/lib/python3.8/lib-dynload/_bisect.cpython-38.so:No 
such file or directory

And a bunch of others (the whole lib-dynload directory actually)

In fact those files are almost present : the are not  named eg 
_asyncio.cpython-38.so , but asyncio.cpython-38*d*.so


Where from comes this *d* letter, which is not in pkg-plist ?

Cheers,

Xavier



d is the debug ABI suffix, added with DEBUG option is enabled.

I recall an upstream discussion or issue on removing the use of ABI 
tags, but can't recall if it landed and if so what versions it was merge to.


CC'ing committer of the latest lang/python38 update

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Error reinstalling python 3.8.10 from ports

2021-05-19 Thread Xavier Humbert

On 19/05/2021 19:10, Gleb Popov wrote:

Just a guess - are you building with WITH_DEBUG=yes ?


Actually, no

Xavier

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Senior Engineer
https://www.amdh.fr

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Error reinstalling python 3.8.10 from ports

2021-05-19 Thread Gleb Popov
On Wed, May 19, 2021 at 6:55 PM Xavier Humbert  wrote:

> Hi,
>
> I got trouble with python 3.8.10 at reinstall stage :
>
> > ===>   Registering installation for python38-3.8.10
> > pkg-static: Unable to access file
> >
> /usr/ports/lang/python38/work/stage/usr/local/lib/python3.8/lib-dynload/_asyncio.cpython-38.so:No
>
> > such file or directory
> > pkg-static: Unable to access file
> >
> /usr/ports/lang/python38/work/stage/usr/local/lib/python3.8/lib-dynload/_bisect.cpython-38.so:No
>
> > such file or directory
> And a bunch of others (the whole lib-dynload directory actually)
>
> In fact those files are almost present : the are not  named eg
> _asyncio.cpython-38.so , but asyncio.cpython-38*d*.so
>
> Where from comes this *d* letter, which is not in pkg-plist ?
>

Just a guess - are you building with WITH_DEBUG=yes ?
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Error reinstalling python 3.8.10 from ports

2021-05-19 Thread Xavier Humbert

On 19/05/2021 17:54, Xavier Humbert wrote:

Hi,

I got trouble with python 3.8.10 at reinstall stage :


===>   Registering installation for python38-3.8.10
pkg-static: Unable to access file 
/usr/ports/lang/python38/work/stage/usr/local/lib/python3.8/lib-dynload/_asyncio.cpython-38.so:No 
such file or directory
pkg-static: Unable to access file 
/usr/ports/lang/python38/work/stage/usr/local/lib/python3.8/lib-dynload/_bisect.cpython-38.so:No 
such file or directory

And a bunch of others (the whole lib-dynload directory actually)

In fact those files are almost present : the are not  named eg 
_asyncio.cpython-38.so , but asyncio.cpython-38*d*.so


Where from comes this *d* letter, which is not in pkg-plist ?


A workaround is to edit pkg-plist and add this *d*

Xavier

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Senior Engineer
https://www.amdh.fr
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"