pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Recent update of python36 breaks build



On Wed, May 31, 2017 at 06:32:48AM +0800, Paul Goyette wrote:
> With up-to-date pkgsrc, I'm seeing the following errors while trying to
> build a new python36.  Did some man pages get removed?
> 
> ...
> Creating directory /usr/pkg/man
> Creating directory /usr/pkg/man/man1
> /usr/bin/install -c -o root -g wheel -m 644 ./Misc/python.man  /tmp/pkgs/lang/python36/work.x86_64/.destdir/usr/pkg/man/man1/python3.6.1
> if test "xno" != "xno"  ; then  case no in  upgrade) ensurepip="--altinstall --upgrade" ;;  install|*) ensurepip="--altinstall" ;;  esac;  LD_LIBRARY_PATH=/tmp/pkgs/lang/python36/work.x86_64/Python-3.6.1 ./python -E -m ensurepip  $ensurepip --root=/tmp/pkgs/lang/python36/work.x86_64/.destdir/ ;  fi
> => Automatic manual page handling
> pkg_create: can't stat `/tmp/pkgs/lang/python36/work.x86_64/.destdir/usr/pkg/lib/python3.6/lib-dynload/_asyncio.so'
> pkg_create: can't stat `/tmp/pkgs/lang/python36/work.x86_64/.destdir/usr/pkg/lib/python3.6/lib-dynload/_socket.so'
> pkg_create: can't stat `/tmp/pkgs/lang/python36/work.x86_64/.destdir/usr/pkg/lib/python3.6/lib-dynload/_ssl.so'
> => Creating binary package /tmp/pkgs/lang/python36/work.x86_64/.packages/python36-3.6.1nb2.tgz
> pkg_create: can't stat `/tmp/pkgs/lang/python36/work.x86_64/.destdir/usr/pkg/lib/python3.6/lib-dynload/_asyncio.so'
> pkg_create: can't stat `/tmp/pkgs/lang/python36/work.x86_64/.destdir/usr/pkg/lib/python3.6/lib-dynload/_socket.so'
> pkg_create: can't stat `/tmp/pkgs/lang/python36/work.x86_64/.destdir/usr/pkg/lib/python3.6/lib-dynload/_ssl.so'
> pkg_create: lstat failed for file lib/python3.6/lib-dynload/_asyncio.so: No such file or directory
> mv: rename /tmp/pkgs/lang/python36/work.x86_64/.packages/python36-3.6.1nb2.tmp.tgz to /tmp/pkgs/lang/python36/work.x86_64/.packages/python36-3.6.1nb2.tgz: No such file or directory
> *** Error code 1

I think this is because some file didn't get build. An error in a module
doesn't cause make to stop, but the module ends up not being installed.

Do you have AF_CAN in <sys/socket.h> and if so, do you have
<netcan/can.h> 1.3 or newer ?

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index