Re: port lang/python27 does not build in 14.0-CURRENT w/ poudriere
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Aug 2023 16:04:16 UTC
This perfectly builds on the latest HEAD without any problem as shared in my build log. I am not sure what is wrong at your end. Neither can I see any fallout on the clusters. Kind regards, Moin > On Aug 9, 2023, at 6:01 PM, Matthias Apitz <guru@unixarea.de> wrote: > > El día miércoles, agosto 09, 2023 a las 04:35:29 +0200, Moin Rahman escribió: > >> My commit didn't add any new files but just changed the Makefile. Can you do: >> >> grep 000000 Makefile and see what is the result. >> >> You should get something like this: >> @${REINPLACE_CMD} -e 's|00907000|00000000|' \ >> >> If not then there is something else in the play. > > # grep 000000 Makefile > # openssl/opensslv.h so setup.py just detects the string as 00000000 > @${REINPLACE_CMD} -e 's|00907000|00000000|' \ > > This explains why in the log of the build the OpenSSL version is seen > as: > > ... > running build > running build_ext > warning: openssl 0x00000000 is too old for _hashlib > building dbm using ndbm > ... > > Maybe you want to think about this 'is too old'.... > > matthias > >>> On Aug 9, 2023, at 4:07 PM, Matthias Apitz <guru@unixarea.de <mailto:guru@unixarea.de>> wrote: >>> >>> El día miércoles, agosto 09, 2023 a las 03:55:40 +0200, Moin Rahman escribió: >>> >>>> 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 >>> >>> I did a git pull and have these files only from your port: >>> >>> root@jet:/usr/ports/lang # ls -l python27 >>> total 196 >>> -rw-r--r-- 1 root wheel 5525 Aug 5 14:10 Makefile >>> -rw-r--r-- 1 root wheel 197 Aug 5 14:10 Makefile.version >>> -rw-r--r-- 1 root wheel 173 Aug 5 14:10 distinfo >>> drwxr-xr-x 2 root wheel 1024 Aug 5 14:10 files >>> -rw-r--r-- 1 root wheel 109 Aug 5 14:10 pkg-descr >>> -rw-r--r-- 1 root wheel 324 Aug 5 14:10 pkg-message >>> -rw-r--r-- 1 root wheel 170771 Aug 5 14:10 pkg-plist >>> root@jet:/usr/ports/lang # ls -l python27/files/ >>> total 48 >>> -rw-r--r-- 1 root wheel 569 Aug 5 14:10 patch-Doc__library__fcntl.rst >>> -rw-r--r-- 1 root wheel 643 Aug 5 14:10 patch-Lib_distutils_command_build__scripts.py >>> -rw-r--r-- 1 root wheel 1357 Aug 5 14:10 patch-Lib_distutils_command_install__lib.py >>> -rw-r--r-- 1 root wheel 1246 Aug 5 14:10 patch-Lib_distutils_tests_test__install__lib.py >>> -rw-r--r-- 1 root wheel 771 Aug 5 14:10 patch-Makefile.pre.in >>> -rw-r--r-- 1 root wheel 776 Aug 5 14:10 patch-Misc_python-config.in >>> -rw-r--r-- 1 root wheel 1162 Aug 5 14:10 patch-Modules___ctypes__libffi__src__arm__ffi.c >>> -rw-r--r-- 1 root wheel 719 Aug 5 14:10 patch-Modules___hashopenssl.c >>> -rw-r--r-- 1 root wheel 2281 Aug 5 14:10 patch-Modules__fcntlmodule.c >>> -rw-r--r-- 1 root wheel 785 Aug 5 14:10 patch-Modules_posixmodule.c >>> -rw-r--r-- 1 root wheel 2320 Aug 5 14:10 patch-pr192365 >>> -rw-r--r-- 1 root wheel 3742 Aug 5 14:10 patch-setup.py >>> >>> More I can't do. >>> >>> matthias >>> >>>>> On Aug 9, 2023, at 2:30 PM, Moin Rahman <bofh@freebsd.org <mailto:bofh@freebsd.org><mailto: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 <mailto:guru@unixarea.de>, http://www.unixarea.de/+49-176-38902045 >>>>>> Public GnuPG key: http://www.unixarea.de/key.pub >>>>> >>>>> >>>> >>> >>> -- >>> Matthias Apitz, ✉ guru@unixarea.de <mailto:guru@unixarea.de> <mailto:guru@unixarea.de>, http://www.unixarea.de/ +49-176-38902045 >>> Public GnuPG key: http://www.unixarea.de/key.pub >>> >>> NATO must not win the war against Russia. >>> Die NATO darf den Krieg gegen Russland nicht gewinnen! >> > > -- > Matthias Apitz, ✉ guru@unixarea.de <mailto:guru@unixarea.de>, http://www.unixarea.de/ +49-176-38902045 > Public GnuPG key: http://www.unixarea.de/key.pub > > NATO must not win the war against Russia. > Die NATO darf den Krieg gegen Russland nicht gewinnen!