Discussion:
Cannot build wireshark - fails to build usr/pkgsrc/lang/python27 dependency (8.0 NetBSD vax)
(too old to reply)
Supratim Sanyal
2019-04-03 03:35:19 UTC
Permalink
Hello,

How does one get wireshark (or any package that needs python) to build
on 8.0 vax port? It appears test_float.py is failing.

root [ /usr/pkgsrc/net/wireshark ]# uname -a
NetBSD netbsdvax.sanyalnet.lan 8.0 NetBSD 8.0 (GENERIC) #0: Tue Jul 17
14:59:51 UTC 2018
***@mkrepro.NetBSD.org:/usr/src/sys/arch/vax/compile/GENERIC vax
root [ /usr/pkgsrc/net/wireshark ]# machine
vax
root [ /usr/pkgsrc/net/wireshark ]# make
/usr/pkg/lib/perl5/5.28.0/vax-netbsd-thread-multi/CORE/libperl.so: text
relocations
/usr/pkg/lib/perl5/5.28.0/vax-netbsd-thread-multi/CORE/libperl.so: text
relocations

...
...
...

Compiling
/usr/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/test/test_fileinput.py
...
Compiling
/usr/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/test/test_fileio.py
...
Compiling
/usr/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/test/test_float.py
...
[1] Floating point exception (core dumped) PYTHONPATH=/usr/...
*** Error code 136

Stop.
make: stopped in /usr/pkgsrc/lang/python27/work/Python-2.7.15
*** Error code 1

Stop.
make[3]: stopped in /usr/pkgsrc/lang/python27
*** Error code 1

Stop.
make[2]: stopped in /usr/pkgsrc/lang/python27
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/devel/glib2-tools
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/wireshark













--
Supratim Sanyal
http://tuklusan.decsystem.org
jeff
2019-04-03 04:17:49 UTC
Permalink
Post by Supratim Sanyal
Compiling
/usr/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/test/test_fileinput.py
....
Compiling
/usr/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/test/test_fileio.py
....
Compiling
/usr/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/test/test_float.py
....
[1]   Floating point exception (core dumped) PYTHONPATH=/usr/...
*** Error code 136
Are you trying to build on an emmulator or actual Vax hardware? Some of
the MicroVax are missing certain floating instructions [1]. If you
can't use the emmulator maybe try pre-built python27 binary for netbsd
7.0 to get python support.

If you haven't already try re-posting on the netbsd/vax mlist (list your
actual hardware so people know what you're trying to build on).

--

[1]
http://www.netbsd.org/docs/Hardware/Machines/DEC/vax/full.html#microvaxes:microvax_i
Supratim Sanyal
2019-04-03 22:31:49 UTC
Permalink
Post by jeff
Are you trying to build on an emmulator or actual Vax hardware? Some of
the MicroVax are missing certain floating instructions [1]. If you
can't use the emmulator maybe try pre-built python27 binary for netbsd
7.0 to get python support.
Running on a recent simh build (MicroVAX 3900 simulator V4.0-0 Current
git commit id: aabb6897) on Windows. Thanks for the pointer to pre-built
stuff from 7.0, will give them a shot first.
Post by jeff
If you haven't already try re-posting on the netbsd/vax mlist (list your
actual hardware so people know what you're trying to build on).
OK, will post to the mailing list with simh ini file.

Thank you.
Post by jeff
--
[1]
http://www.netbsd.org/docs/Hardware/Machines/DEC/vax/full.html#microvaxes:microvax_i
Loading...