tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Python version misselected and Python 3.5 install failure
On Wed, Jun 15, 2016 at 09:07:25AM +0200, Martin Husemann wrote:
> What did I do wrong?
>
> ===> Installing dependencies for iso-codes-3.68
> ==========================================================================
> The following variables will affect the build process of this package,
> iso-codes-3.68. Their current value is shown below:
>
> * PYTHON_VERSION_DEFAULT = 27
>
> Based on these variables, the following variables have been set:
>
> * PYPACKAGE = python35
>
> You may want to abort the process now with CTRL-C and change their value
> before continuing. Be sure to run `/usr/bin/make clean' after
> the changes.
> ==========================================================================
>
> why 3.5?
Because that package does not support python-2.7.
> and then building that python version fails:
>
> INFO: [subst.mk:unwrap] Nothing changed in ./Misc/python.pc.
> ===> Installing for python35-3.5.1nb2
> => Generating pre-install file lists
> python: not-found! cannot run Tools/scripts/generate_opcode_h.py ./Tools/scripts/generate_opcode_h.py ./Lib/opc
> ode.py ./Include/opcode.h
> Creating directory /usr/pkg/bin
> Creating directory /usr/pkg/lib
> if test "no-framework" = "no-framework" ; then /usr/bin/install -c -s -o root -g wheel -m 755 python /ssd/pkgo
> bj/lang/python35/work/.destdir/usr/pkg/bin/python3.5; else /usr/bin/install -c -s -o root -g wheel -m 755 -s
> Mac/pythonw /ssd/pkgobj/lang/python35/work/.destdir/usr/pkg/bin/python3.5; fi
> if test "3.5" != "3.5"; then if test -f /ssd/pkgobj/lang/python35/work/.destdir/usr/pkg/bin/python3.5 -o -h /s
> sd/pkgobj/lang/python35/work/.destdir/usr/pkg/bin/python3.5; then rm -f /ssd/pkgobj/lang/python35/work/.destdi
> r/usr/pkg/bin/python3.5; fi; (cd /ssd/pkgobj/lang/python35/work/.destdir/usr/pkg/bin; /bin/ln python3.5 pytho
> n3.5); fi
> if test -f libpython3.5.so && test "no-framework" = "no-framework" ; then if test -n "" ; then /usr/bin/insta
> ll -c -o root -g wheel -m 555 /ssd/pkgobj/lang/python35/work/.destdir/usr/pkg/bin; else /usr/bin/install -c
> -o root -g wheel -m 555 libpython3.5.so /ssd/pkgobj/lang/python35/work/.destdir/usr/pkg/lib/libpython3.5.so.1.0
> ; if test libpython3.5.so != libpython3.5.so.1.0; then (cd /ssd/pkgobj/lang/python35/work/.destdir/usr/pkg/li
> b; /bin/ln -sf libpython3.5.so.1.0 libpython3.5.so) fi fi; if test -n "libpython3.so"; then /usr/bin/instal
> l -c -o root -g wheel -m 555 libpython3.so /ssd/pkgobj/lang/python35/work/.destdir/usr/pkg/lib/libpython3.so;
> fi; elif test -f libpython3.5.so.1.0; then /usr/bin/install -c -o root -g wheel -m 555 libpython3.5.so.1.0 /s
> sd/pkgobj/lang/python35/work/.destdir/usr/pkg/lib; fi
> if test "x" != "x" ; then rm -f /ssd/pkgobj/lang/python35/work/.destdir/usr/pkg/binpython3.5-32; lipo -outp
> ut /ssd/pkgobj/lang/python35/work/.destdir/usr/pkg/bin/python3.5-32 /ssd/pkgobj/lang/python35/work/.destdir/usr/pkg/bin/python3.5; fi
> Fatal Python error: Py_Initialize: can't initialize sys standard streams
> OSError: [Errno 9] Bad file descriptor
>
> Current thread 0x00007bf0b64cb800 (most recent call first):
> [1] Abort trap (core dumped) LD_LIBRARY_PATH=...
> *** Error code 134
>
>
> This is on NetBSD amd64 -current, pkgsrc current as of yesterday.
> No relevant /etc/mk.conf settings (a few liceneses, and PKG_OPTIONS for
> other pkgs); PKG_DEVELOPER=yes
NetBSD-current as of yesterday is quite unstable for me with lots of
random core dumps.
A bulk build try today gave me:
make[2]: "../../archivers/bzip2/../../archivers/bzip2/builtin.mk" line 42: warning: "/usr/bin/awk '/Copyright[ ]+\(C\).*rights[ ]+reserved/ { years=$3; } /bzip2\/libbzip2[ ]+version[ ]+/ { vers=$3; if ( vers == "1.0" ) { vers="1.0.1"; if ( years == "1996-2002" ) vers="1.0.2"; if ( years == "1996-2005" ) vers="1.0.3"; }; print vers; }; ' /usr/include/bzlib.h" exited on a signal
.make[3]: "../../mk/buildlink3/../../mk/buildlink3/find-headers.mk" line 99: warning: "if /usr/bin/grep -q BZ2_ /usr/include/bzlib.h; then echo /usr/include/bzlib.h; else echo __nonexistent__; fi" exited on a signal
make[1]: "if [ -x /usr/pkg/sbin/pkg_info ]; then echo /usr/pkg/sbin; else echo /usr/sbin; fi" exited on a signal
sh: /pkg_admin: not found
make[4]: "../../archivers/bzip2/../../archivers/bzip2/builtin.mk" line 67: warning: "if /usr/sbin/pkg_admin -K /var/db/pkg pmatch bzip2\>=1.0.1 bzip2-1.0.6; then echo yes; else echo no; fi" exited on a signal
make[2]: "../../mk/compiler/../../mk/compiler/gcc.mk" line 694: warning: "if /usr/sbin/pkg_admin -K /var/db/pkg pmatch 'gcc3-c>=3.0' gcc3-c-5.3.0 2>/dev/null; then echo "NO";
else echo "YES"; fi" exited on a signal
make[5]: "../../mk/compiler/../../mk/compiler/gcc.mk" line 218: warning: "if /usr/sbin/pkg_admin -K /var/db/pkg pmatch 'gcc>=3.0' gcc-2.8.0 2>/dev/null; then echo "YES"; else echo "NO"; fi" exited on a signal
. 50/350
....[1] Segmentation fault (core dumped) /usr/bin/grep -q...
..................make: "/usr/share/mk/bsd.host.mk" line 43: warning: "uname -r" exited on a signal
..make[4]: "" exited on a signal
...[1] Segmentation fault (core dumped) /usr/sbin/pkg_ad...
...............make[1]: "../../mk/compiler/../../mk/compiler/gcc.mk" line 218: warning: "if /usr/sbin/pkg_admin -K /var/db/pkg pmatch 'gcc>=4.2' gcc-4.2 2>/dev/null; then echo "YES"; else echo "NO"; fi" exited on a signal
make[1]: "../../mk/buildlink3/../../mk/buildlink3/find-headers.mk" line 99: warning: "if /usr/bin/grep -q GNU\ LIBICONV\ Library /usr/include/iconv.h; then echo /usr/include/iconv.h; else echo __nonexistent__; fi" exited on a signal
[1] Segmentation fault (core dumped) /usr/sbin/pkg_ad...
make[3]: "../../lang/perl5/../../lang/perl5/version.mk" line 24: warning: "if /usr/sbin/pkg_admin -K /var/db/pkg pmatch perl\>=5.0 perl-5.0 2>/dev/null; then echo yes; else echo no; fi" exited on a signal
make[4]: "../../mk/compiler/../../mk/compiler/gcc.mk" line 218: warning: "if /usr/sbin/pkg_admin -K /var/db/pkg pmatch 'gcc>=2.8.0' gcc-3.0 2>/dev/null; then echo "YES"; else echo "NO"; fi" exited on a signal
make[1]: "../../mk/buildlink3/../../mk/buildlink3/find-headers.mk" line 99: warning: "if /usr/bin/grep -q LZMA_ /usr/include/lzma.h; then echo /usr/include/lzma.h; else echo __nonexistent__; fi" exited on a signal
make[4]: "if [ -x /usr/pkg/sbin/pkg_info ]; then echo /usr/pkg/sbin; else echo /usr/sbin; fi" exited on a signal
env: /pkg_admin: No such file or directory
make[4]: "if [ -x /usr/pkg/sbin/pkg_info ]; then echo /usr/pkg/sbin; else echo /usr/sbin; fi" exited on a signal
make[2]: "../../mk/buildlink3/../../mk/buildlink3/find-headers.mk" line 99: warning: "if /usr/bin/grep -q GNU\ LIBICONV\ Library /usr/include/iconv.h; then echo /usr/include/iconv.h; else echo __nonexistent__; fi" exited on a signal
[1] Segmentation fault (core dumped) /usr/sbin/pkg_ad...
..make[2]: "../../mk/buildlink3/../../mk/buildlink3/find-headers.mk" line 99: warning: "if /usr/bin/grep -q gentoo-multilib/.\*/libintl.h /usr/include/libintl.h; then echo /usr/include/libintl.h; else echo __nonexistent__; fi" exited on a signal
...... 100/350
make[3]: "../../mk/../../mk/pkg-build-options.mk" line 48: warning: "echo ""; /usr/sbin/pkg_info -K /var/db/pkg -Q PKG_OPTIONS cairo 2>/dev/null || { cd ../../graphics/cairo && /usr/bin/make LOWER_OPSYS=netbsd PKG_BUILD_OPTIONS.gtk2=\ x11 PKG_BUILD_OPTIONS.pango=\ x11 PKG_BUILD_OPTIONS.freetype2=\ show-var VARNAME=PKG_OPTIONS; }" returned non-zero status
make[5]: "../../mk/../../mk/unprivileged.mk" line 132: warning: "/usr/bin/id -n -g" exited on a signal
Thomas
Home |
Main Index |
Thread Index |
Old Index