pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: python3.6 on ubuntu
On Tue, Jul 31, 2018 at 04:18:19PM +0100, Patrick Welche wrote:
> After a make clean in lang/python3.6 which is at version 3.6.6, on ubuntu 16.04:
>
> Listing '/home/prlw1/pkgsrc/lang/python36/work/.destdir/home/prlw1/pkg/lib/python3.6/site-packages'...
> PYTHONPATH=/home/prlw1/pkgsrc/lang/python36/work/.destdir/home/prlw1/pkg/lib/python3.6 LD_LIBRARY_PATH=/home/prlw1/pkgsrc/lang/python36/work/Python-3.6.6 ./py
> thon -E -m lib2to3.pgen2.driver /home/prlw1/pkgsrc/lang/python36/work/.destdir/home/prlw1/pkg/lib/python3.6/lib2to3/Grammar.txt
> Generating grammar tables from /home/prlw1/pkgsrc/lang/python36/work/.destdir/home/prlw1/pkg/lib/python3.6/lib2to3/Grammar.txt
> Writing grammar tables to /home/prlw1/pkgsrc/lang/python36/work/.destdir/home/prlw1/pkg/lib/python3.6/lib2to3/Grammar3.6.5.final.0.pickle
> ^^^^^
>
> $ bmake show-var VARNAME=PKGVERSION
> 3.6.6
> $ work/Python-3.6.6/python --version
> Python 3.6.5 <--------------!!!!!!
> $ ls -l work/Python-3.6.6/python
> -rwxrwxr-x 1 prlw1 prlw1 13144 Jul 31 15:10 work/Python-3.6.6/python
>
> which is different to the currently installed pkg/bin/python3.6 which is
> indeed 3.6.5, so can't be a copy.
>
> Puzzled...
Only succeeded to avoid the installed 3.6.5 affecting the build after
pkg_delete -r python36. Then Grammar3.6.6 was created rather than
Grammar3.6.5. At least there is workaround, and it would explain why
pbulk builders are not seeing this.
Cheers,
Patrick
Home |
Main Index |
Thread Index |
Old Index