From nobody Wed Aug 09 14:35:29 2023 X-Original-To: python@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RLXfQ0cfdz4Tm6D for ; Wed, 9 Aug 2023 14:35:42 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RLXfQ0NKDz4brw; Wed, 9 Aug 2023 14:35:42 +0000 (UTC) (envelope-from bofh@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691591742; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yBP13K40VCN0MlJpQ/mwIxy4osjZ7Qk66H0ZcnhLRig=; b=IqZWhfiIBF4MvWDa70syQINOI7CnT/BgUAGxErVlMD/jMacow2/elZxRR0WhI0Au3zbXVj HzRYqiK8RMKWcxmmlJCtnZnWj9CtCp5BbqhvHuUnWDWOdXDpJvp9vwLAyGJr2eAbOj3vUF //YW58r7I/EnzTUB4krsuUjdmRRK2aUg/nkUuFWPoKDvs7Q8+Z8Z9HRQk+Fnkb1wYsinIu 6/dohUU3IVPLR87G+lcZVBD/PUpgO0IndwWNk/pJRdLiTfgiN/N9jWSi5NXHBHEVqPbavH s+Ef+QYlZVC9F6JbhKUhxSz4/FHKMzWCdZ5YteAnCoLhZB94LM7oMdx9OUbIdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691591742; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yBP13K40VCN0MlJpQ/mwIxy4osjZ7Qk66H0ZcnhLRig=; b=GygM559+dexQ1esJWO7iaPiSUqSz7k2Hb65rofrkFStoO1UMe1lCO7cBnkRCoQzKKMdHSX O04ZNLCV56jojHWUSZHCJmhdH/yx2HGbaCdUC+lEw2n0cgnuKOz3c7kUJWoav7C27jbCmN u+2kVY1xeh2JxsbbL+utFcWbBJpvRUotDt4z7/CkIZSEJMiJW9MCGoQlqHDfsF7z/c0sLq M6Orfejk923cao2VtjfZyoMwcEpZtfNEu/fSpsppwnbfyVrc9gXgH+F1OGD+3OhA8ZbwsX JYJkFTR43epBwSD2pVE97Cu9ppMWMPBZud3Uhr3va4FOwutZjnNbC8JPW2BJbQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691591742; a=rsa-sha256; cv=none; b=efkBSfvyusXhkSPEatFWbteuOou1I6LjmS5bllVq9gND2gQpVansjCH4NXXrh9hKHT8OBw 3qo3/F8trm0hWHr9xxl8QNIST4iqjoh6UNIMPGicsmuGptD8SYEgCmoKQUaVUsXhgtT+K9 lHmlGQpnpuCEMmu+3nDhMs7rkyDJ/yVLatnSR5tq8cEuuMIXrv/wqygY9eu1iHUmyaF1KZ by/gE8GsDYXn6uUeg/uYFg86vmCokdDERHQ0KvKF4px5xGhGDHXBwfO0zbGbzYMii/iPdE HvbiY/gxRD2fGa1gak/9gGy7nAtGXVGKvMMktVbFq3UO5nWF9yiEmTK8F7CcYQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from mx.bofh.network (mx.bofh.network [IPv6:2a01:4f8:261:25de::227]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (P-256) client-digest SHA256) (Client CN "mx.bofh.network", Issuer "R3" (verified OK)) (Authenticated sender: bofh/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RLXfP3TfQz169m; Wed, 9 Aug 2023 14:35:41 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtpclient.apple ( [217.117.226.147]) by mx.bofh.network (OpenSMTPD) with ESMTPSA id aff7b908 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Wed, 9 Aug 2023 14:35:40 +0000 (UTC) From: Moin Rahman Message-Id: <414B922C-C553-41D4-B519-E3B3B239B606@freebsd.org> Content-Type: multipart/alternative; boundary="Apple-Mail=_CF9973FB-D1F1-409B-A37C-B5976C87A0F8" List-Id: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: port lang/python27 does not build in 14.0-CURRENT w/ poudriere Date: Wed, 9 Aug 2023 16:35:29 +0200 In-Reply-To: Cc: python@freebsd.org To: Matthias Apitz References: X-Mailer: Apple Mail (2.3731.700.6) --Apple-Mail=_CF9973FB-D1F1-409B-A37C-B5976C87A0F8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 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. Kind regards, Moin > On Aug 9, 2023, at 4:07 PM, Matthias Apitz wrote: >=20 > El d=C3=ADa mi=C3=A9rcoles, agosto 09, 2023 a las 03:55:40 +0200, Moin = Rahman escribi=C3=B3: >=20 >> I just ran a new testport and it looks to build fine with = src@b8b33f3b3b=20 >>=20 >> = https://pkg.bofh.network/data/MAIN-default/2023-08-09_15h45m49s/logs/pytho= n27-2.7.18_2.log >>=20 >> 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: >>=20 >> = https://cgit.freebsd.org/ports/commit/?id=3Da5b3714057750ecbb8db8912edf5c4= 81ff46ef2b >>=20 >> = https://cgit.freebsd.org/ports/commit/?id=3D23105bfd5591bed1c24b6a8524a0f2= 74a5977a94 >=20 > I did a git pull and have these files only from your port: >=20 > 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 >=20 > More I can't do. >=20 > matthias >=20 >>> On Aug 9, 2023, at 2:30 PM, Moin Rahman > wrote: >>>=20 >>> Hi Matthias, >>>=20 >>> 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. >>>=20 >>> Kind regards, >>> Moin >>>=20 >>>=20 >>>> On Aug 9, 2023, at 1:30 PM, Matthias Apitz = wrote: >>>>=20 >>>>=20 >>>> Hello, >>>>=20 >>>> The port lang/python27 does not build in 14.0-CURRENT w/ poudriere. >>>>=20 >>>> =3D>> 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 >>>>=20 >>>> ... >>>>=20 >>>> 1 warning generated. >>>> warning: openssl 0x00000000 is too old for _hashlib >>>> building dbm using ndbm >>>>=20 >>>> 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. >>>>=20 >>>> ... >>>>=20 >>>> and at the end in stage package it is missing _hashlib.so: >>>>=20 >>>> =3D=3D=3D> 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-dy= nload/_hashlib.so:No such file or directory >>>> *** Error code 1 >>>>=20 >>>> Stop. >>>> make: stopped in /usr/ports/lang/python27 >>>>=20 >>>> The full log is at: http://www.unixarea.de/python27-2.7.18_2.log >>>>=20 >>>> Thanks >>>>=20 >>>> matthias >>>>=20 >>>>=20 >>>> --=20 >>>> Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ = +49-176-38902045 >>>> Public GnuPG key: http://www.unixarea.de/key.pub >>>=20 >>>=20 >>=20 >=20 > --=20 > Matthias Apitz, =E2=9C=89 guru@unixarea.de , = http://www.unixarea.de/ +49-176-38902045 > Public GnuPG key: http://www.unixarea.de/key.pub >=20 > NATO must not win the war against Russia. > Die NATO darf den Krieg gegen Russland nicht gewinnen! --Apple-Mail=_CF9973FB-D1F1-409B-A37C-B5976C87A0F8 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 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.

Kind = regards,
Moin

On = Aug 9, 2023, at 4:07 PM, Matthias Apitz <guru@unixarea.de> = wrote:

El d=C3=ADa mi=C3=A9rcoles= , agosto 09, 2023 a las 03:55:40 +0200, Moin Rahman escribi=C3=B3:<= br style=3D"caret-color: rgb(0, 0, 0); font-family: FiraCodeNFM-Reg; = font-size: 11px; font-style: normal; font-variant-caps: normal; = font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;">
I just ran a new testport and it looks to build = fine with src@b8b33f3b3b 

https://pkg.bofh.netw= ork/data/MAIN-default/2023-08-09_15h45m49s/logs/python27-2.7.18_2.log
<= br>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=3Da5b3714057750ecbb= 8db8912edf5c481ff46ef2b

https://cgit.freebsd.org/ports/commit/?id=3D= 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> = 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.

=3D>> 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 =             _h= ashlib =           _sqlite3
_t= kinter           dl =             &n= bsp;   gdbm
imageop =            linuxaud= iodev      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:

=3D=3D=3D>  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-dy= nload/_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, =E2=9C=89= guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public = GnuPG key: = http://www.unixarea.de/key.pub




-- 
Matthias Apitz, =E2=9C=89<= span class=3D"Apple-converted-space"> 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!

= --Apple-Mail=_CF9973FB-D1F1-409B-A37C-B5976C87A0F8--