[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PULL 00/44] Python patches
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PULL 00/44] Python patches |
Date: |
Mon, 31 May 2021 10:10:07 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 |
On 5/30/21 9:22 PM, John Snow wrote:
> On 5/30/21 3:09 PM, Peter Maydell wrote:
>> Fails to build on my machine that runs the BSD VMs, apparently
>> before it gets to the point of launching the VM:
>>
>> make: Entering directory '/home/peter.maydell/qemu-freebsd/build'
>> /usr/bin/python3 -B /home/peter.maydell/qemu-freebsd/meson/meson.py
>> introspect --targets --tests --benchmarks | /usr/bin/python3 -B
>> scripts/mtest2make.py > Makefile.mtest
>> { \
>> echo 'ninja-targets = \'; \
>> /usr/bin/ninja -t targets all | sed 's/:.*//; $!s/$/ \\/'; \
>> echo 'build-files = \'; \
>> /usr/bin/ninja -t query build.ninja | sed -n '1,/^ input:/d; /^
>> outputs:/q; s/$/ \\/p'; \
>> } > Makefile.ninja.tmp && mv Makefile.ninja.tmp Makefile.ninja
>> (GIT="git" "/home/peter.maydell/qemu-freebsd/scripts/git-submodule.sh"
>> update ui/keycodemapdb meson tests/fp/berkeley-testfloat-3
>> tests/fp/berkeley-softfloat-3 dtc capstone slirp)
>> (GIT="git" "/home/peter.maydell/qemu-freebsd/scripts/git-submodule.sh"
>> update ui/keycodemapdb meson tests/fp/berkeley-testfloat-3
>> tests/fp/berkeley-softfloat-3 dtc capstone slirp)
>> /usr/bin/python3 -B /home/peter.maydell/qemu-freebsd/tests/vm/freebsd
>> --debug --genisoimage /usr/bin/genisoimage --image
>> "/home/peter.maydell/.cache/qemu-vm/images/freebsd.img" --force
>> --build-image /home/peter.maydell/.cache/qemu-vm/images/freebsd.img
>> Traceback (most recent call last):
>> File "/home/peter.maydell/qemu-freebsd/tests/vm/freebsd", line 21,
>> in <module>
>> import basevm
>> File "/home/peter.maydell/qemu-freebsd/tests/vm/basevm.py", line 22,
>> in <module>
>> from qemu.machine import QEMUMachine
>> ImportError: bad magic number in 'qemu': b'\x03\xf3\r\n'
>> /home/peter.maydell/qemu-freebsd/tests/vm/Makefile.include:79: recipe
>> for target '/home/peter.maydell/.cache/qemu-vm/images/freebsd.img'
>> failed
>> make: *** [/home/peter.maydell/.cache/qemu-vm/images/freebsd.img] Error 1
>> make: Leaving directory '/home/peter.maydell/qemu-freebsd/build'
> In case that doesn't fix it, can you tell me what version of Python your
> BSD setup uses? (And what version of FreeBSD you use?) -- I'll try to
> set up a VM and see if I can reproduce the problem.
IIUC correctly this is on the host (likely Linux); no BSD VM could be
launched yet.
- [PULL 37/44] python/qemu: add isort to pipenv, (continued)
- [PULL 37/44] python/qemu: add isort to pipenv, John Snow, 2021/05/27
- [PULL 38/44] python/qemu: add qemu package itself to pipenv, John Snow, 2021/05/27
- [PULL 39/44] python: add devel package requirements to setuptools, John Snow, 2021/05/27
- [PULL 40/44] python: add avocado-framework and tests, John Snow, 2021/05/27
- [PULL 42/44] python: add .gitignore, John Snow, 2021/05/27
- [PULL 41/44] python: add Makefile for some common tasks, John Snow, 2021/05/27
- [PULL 43/44] python: add tox support, John Snow, 2021/05/27
- [PULL 44/44] gitlab: add python linters to CI, John Snow, 2021/05/27
- Re: [PULL 00/44] Python patches, Peter Maydell, 2021/05/30