Created attachment 150014 [details] make test output from python27 The "make test" target in python27 fails for arm on emulated and real hardware. test scenario: Install emulators/qemu-user-static and ports-mgmt/poudriere-devel Use the binmisc activator to setup redirection to qemu-bsd-user: /usr/sbin/binmiscctl add armv6 --interpreter "/usr/local/bin/qemu-arm-static" \ --magic "\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00" \ --mask "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff" \ --size 20 --set-enabled use poudriere devel 3.1 to create a test jail and ports tree: poudriere jail -c -j 11-armv6 -m svn -v head -a arm.armv6 -x poudriere ports -c -p 11-armv6-test Mount devfs and the ports tree into the jail: mkdir -p /usr/local/poudriere/jails/11-armv6/usr/ports mount -t nullfs /usr/local/poudriere/ports/11-armv6-test /usr/local/poudriere/jails/11-armv6/usr/ports mount -t devfs devfs usr/local/poudriere/jails/11-armv6/dev Chroot into jail and start build of python27: chroot /usr/local/poudriere/jail/11-armv6/ cd /usr/ports/lang/python27 make -DBATCH This should take about 20 minutes with emulation. If the build fails or hangs, it can be cancelled. Run regression tests: cd work/Python-2.7.8 make test This should yield the same results as one would find on real hardware. I have attached the output of my test run for your examination.
Auto-assigned to maintainer python@FreeBSD.org
Might be first worth ping'ing upstream Python developers at #python-dev on freenode for initial clues and direction.
Except from other errors, I'm seeing things like "Qemu unsupported ioctl: cmd=0xffffffffc0046364 dir=INOUT 'c' 100 4 ..." Is it guaranteed that the qemu environment represents a full armv6 emulation? If not, what are its limitations and difference?
I don't know what we want to do with this issue any longer, and I'm not going to use bugzilla to track these types of emulation bugs in the future.
Assign to person that resolved