Re: Python failure in poudriere on arm64 (via qemu-user-static cross compiling)

From: Guido Falsi <mad_at_madpilot.net>
Date: Thu, 25 Jan 2024 08:35:00 UTC
On 24/01/24 23:11, Mark Millard wrote:
> On Jan 24, 2024, at 13:10, Guido Falsi <mad@madpilot.net> wrote:
> 
>> I recently see a strange failure with python 3.9 in poudriere, it was not happening a few weeks ago.
>>
>> I'm building in poudriere on a head machine running amd64, with a poudriere jail for arm64, via qemu-user-static. The jail is running 14.0.
>>
>> I'm not sure what is going on.
>>
>> It fails in the packaging phase with a bunch of errors like:
>>
>> ===========================================================================
>> =======================<phase: package        >============================
>> ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-01-24T17:07:52+0000' 'PKG_NOTE_ports_top_git_hash=0816fdcb6ce8'
> 
> I tried looking for 0816fdcb6ce8 (see above):
> 
> https://cgit.freebsd.org/ports/log/?qt=range&q=0816fdcb6ce8
> 
> and no commits matched. >
> Can you replicate the problem at a commit that would be
> found? If yes, that could allow someone to take a look,
> such as on an aarch64 system.


Oops my mistake I took a log from a test I tried to make with a local 
commit. I can simply take the log from a previous run (done just a few 
minutes before) using an unmodified tree:


===========================================================================
=======================<phase: package        >============================
===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash 
ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 
'PKG_NOTE_build_timestamp=2024-01-24T16:58:09+0000' 
'PKG_NOTE_ports_top_git_hash=7f25075b0b0b' 
'PKG_NOTE_ports_top_checkout_unclean=no' 
'PKG_NOTE_port_git_hash=4022ad5dd096' 
'PKG_NOTE_port_checkout_unclean=no' 
'PKG_NOTE_built_by=poudriere-git-3.4.1' NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building packages for python39-3.9.18_1
===>   Building python39-3.9.18_1
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/__pycache__/tracemalloc.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/__pycache__/tty.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/__pycache__/turtle.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/__pycache__/uu.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/__pycache__/uuid.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/__pycache__/warnings.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/__pycache__/wave.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/__pycache__/webbrowser.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/__pycache__/xdrlib.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/__pycache__/zipapp.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/__pycache__/zipfile.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/__pycache__/zipimport.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/turtledemo/__pycache__/__init__.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/turtledemo/__pycache__/__main__.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/turtledemo/__pycache__/bytedesign.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/turtledemo/__pycache__/chaos.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/turtledemo/__pycache__/clock.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/turtledemo/__pycache__/colormixer.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/turtledemo/__pycache__/forest.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/turtledemo/__pycache__/fractalcurves.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/turtledemo/__pycache__/lindenmayer.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/turtledemo/__pycache__/minimal_hanoi.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/turtledemo/__pycache__/nim.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/turtledemo/__pycache__/paint.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/turtledemo/__pycache__/peace.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/turtledemo/__pycache__/penrose.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/turtledemo/__pycache__/planet_and_moon.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/turtledemo/__pycache__/rosette.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/turtledemo/__pycache__/round_dance.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/turtledemo/__pycache__/sorting_animate.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/turtledemo/__pycache__/tree.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/turtledemo/__pycache__/two_canvases.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/turtledemo/__pycache__/yinyang.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/unittest/__pycache__/__init__.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/unittest/__pycache__/__main__.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/unittest/__pycache__/_log.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/unittest/__pycache__/async_case.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/unittest/__pycache__/case.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/unittest/__pycache__/loader.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/unittest/__pycache__/main.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/unittest/__pycache__/mock.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/unittest/__pycache__/result.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/unittest/__pycache__/runner.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/unittest/__pycache__/signals.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/unittest/__pycache__/suite.cpython-39.opt-2.pyc:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/lang/python39/work/stage/usr/local/lib/python3.9/unittest/__pycache__/util.cpython-39.opt-2.pyc:No 
such file or directory



-- 
Guido Falsi <mad@madpilot.net>