pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Python 3.6 retirement

> Hi,
> Well, I got good news and bad news.
> Good news :
> bootstrapping pkgsrc2021Q3 on Solaris worked. Yeah! Guess the issue was on my side or something changed between 2020Q3 and 2021Q3. Whatever, it works!
> Bad news :
> As I previously said on 2020Q3, the same issue happens in 2021Q3. This means: Python3.9(tested), Python3.8(tested), and Python3.7(tested) do not build. Pretty much with the same error :
> /var/tmp/pkgbuild/lang/python39/work/Python-3.9.7/Modules/socketmodule.c: In function 'socket_sethostname':
> /var/tmp/pkgbuild/lang/python39/work/Python-3.9.7/Modules/socketmodule.c:5514:15: error: implicit declaration of function 'sethostname'; did you mean 'gethostname'? [-Werror=implicit-function-declaration]
>          res = sethostname(buf.buf, buf.len);
>                ^~~~~~~~~~~
>                gethostname
> cc1: some warnings being treated as errors
> ...

Modules/socketmodule.c is not much different between Python 3.6 and the newer versions. In particular, the section that fails. Can you send me the 'make configure' output for Python 3.6 and Python 3.9, and also config.log?


Home | Main Index | Thread Index | Old Index