Re: port lang/python27 does not build in 14.0-CURRENT w/ poudriere

From: Moin Rahman <bofh_at_freebsd.org>
Date: Wed, 09 Aug 2023 13:55:40 UTC
I just ran a new testport and it looks to build fine with src@b8b33f3b3b 

https://pkg.bofh.network/data/MAIN-default/2023-08-09_15h45m49s/logs/python27-2.7.18_2.log

And from what it looks like that you might have some local python27 patch which might have removed my last commit or there is a mid air collision. See my stupid hacky commits here:

https://cgit.freebsd.org/ports/commit/?id=a5b3714057750ecbb8db8912edf5c481ff46ef2b

https://cgit.freebsd.org/ports/commit/?id=23105bfd5591bed1c24b6a8524a0f274a5977a94

Kind regards,
Moin
> On Aug 9, 2023, at 2:30 PM, Moin Rahman <bofh@freebsd.org> wrote:
> 
> Hi Matthias,
> 
> I will need some time to check this. My box has not yet been updated to 1400094. I am still running 1400093 and I can confirm that it builds fine on 1400093. So I will need to dig deeper but this will not take place until my current build finishes within a day or two.
> 
> Kind regards,
> Moin
> 
> 
>> On Aug 9, 2023, at 1:30 PM, Matthias Apitz <guru@unixarea.de> wrote:
>> 
>> 
>> Hello,
>> 
>> The port lang/python27 does not build in 14.0-CURRENT w/ poudriere.
>> 
>> =>> Building lang/python27
>> build started at Tue Aug  8 04:05:20 CEST 2023
>> port directory: /usr/ports/lang/python27
>> package name: python27-2.7.18_2
>> building for: FreeBSD 140-CURRENT-ports20230806-job-04 14.0-CURRENT FreeBSD 14.0-CURRENT 1400094 amd64
>> maintained by: python@FreeBSD.org
>> Makefile datestamp: -rw-r--r--  1 root wheel 5525 Aug  6 17:51 /usr/ports/lang/python27/Makefile
>> Ports top last git commit: 5914253c5
>> Ports top unclean checkout: no
>> Port dir last git commit: c84214246
>> Port dir unclean checkout: no
>> Poudriere version: poudriere-git-3.3.99.20220831
>> Host OSVERSION: 1400094
>> Jail OSVERSION: 1400094
>> 
>> ...
>> 
>> 1 warning generated.
>> warning: openssl 0x00000000 is too old for _hashlib
>> building dbm using ndbm
>> 
>> Python build finished, but the necessary bits to build these modules were not found:
>> _bsddb             _hashlib           _sqlite3
>> _tkinter           dl                 gdbm
>> imageop            linuxaudiodev      spwd
>> sunaudiodev
>> To find the necessary bits, look in setup.py in detect_modules() for the module's name.
>> 
>> ...
>> 
>> and at the end in stage package it is missing _hashlib.so:
>> 
>> ===>  Building package for python27-2.7.18_2
>> pkg-static: Unable to access file /wrkdirs/usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/lib-dynload/_hashlib.so:No such file or directory
>> *** Error code 1
>> 
>> Stop.
>> make: stopped in /usr/ports/lang/python27
>> 
>> The full log is at: http://www.unixarea.de/python27-2.7.18_2.log
>> 
>> Thanks
>> 
>> 	matthias
>> 
>> 
>> -- 
>> Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
>> Public GnuPG key: http://www.unixarea.de/key.pub
> 
>