pkgsrc-Users archive

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

Re: python27 on linux



On Mon, Jan 30, 2017 at 01:14:13PM +0100, Adam wrote:
> > Puzzled. Unpriviledged pkgsrc on Ubuntu 16.04.1 LTS:
... can't build python27
> > 
> > Yet, it works for me on NetBSD/amd64, having successfully built 2.7.13 on
> > 2.7.12, and the files mentioned above have nothing to do with PLIST.Linux.
> > 
> > $ bmake show-var VARNAME=PKGVERSION
> > 2.7.13nb1
> > 
> > The only place I can find is 2.7.12 is that that is what installed python2.7
> > currently is.
> > 
> > Cheers,
> > 
> > Patrick
> 
> Looks like the WRKDIR has not been cleaned.
> 
> Do:
> 
> rm -rf /home/prlw1/pkgsrc/lang/python27/work
> 
> and try again, please. :)

I should have said that that is what I started with...
(I had done a pkgclean work just in case)

===> Cleaning for python27-2.7.13nb1
prlw1@quartz:~/pkgsrc/lang/python27$ bmake show-var VARNAME=WRKDIR
/home/prlw1/pkgsrc/lang/python27/work
prlw1@quartz:~/pkgsrc/lang/python27$ ls
ALTERNATIVES   DESCR     Makefile    PLIST.common      PLIST.IRIX
buildlink3.mk  distinfo  options.mk  PLIST.common_end  PLIST.Linux
CVS            dist.mk   patches     PLIST.Darwin      PLIST.SunOS

bmake
bmake replace
...
=> Checking file-check results for python27-2.7.13nb1
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /home/prlw1/pkgsrc/lang/python27/work/.destdir/home/prlw1/pkg:
ERROR:         /home/prlw1/pkgsrc/lang/python27/work/.destdir/home/prlw1/pkg/lib/python2.7/lib2to3/Grammar2.7.13.final.0.pickle
ERROR:         /home/prlw1/pkgsrc/lang/python27/work/.destdir/home/prlw1/pkg/lib/python2.7/lib2to3/PatternGrammar2.7.13.final.0.pickle
ERROR:         /home/prlw1/pkgsrc/lang/python27/work/.destdir/home/prlw1/pkg/lib/python2.7/lib-dynload/dbm.so
ERROR:         /home/prlw1/pkgsrc/lang/python27/work/.destdir/home/prlw1/pkg/lib/python2.7/lib-dynload/Python-2.7.13-py2.7.egg-info
ERROR: ************************************************************
ERROR: The following files are in /home/prlw1/pkgsrc/lang/python27/work/.destdir/home/prlw1/pkg but not in the PLIST:
ERROR:         /home/prlw1/pkgsrc/lang/python27/work/.destdir/home/prlw1/pkg/lib/python2.7/lib2to3/Grammar2.7.12.final.0.pickle
ERROR:         /home/prlw1/pkgsrc/lang/python27/work/.destdir/home/prlw1/pkg/lib/python2.7/lib2to3/PatternGrammar2.7.12.final.0.pickle
ERROR:         /home/prlw1/pkgsrc/lang/python27/work/.destdir/home/prlw1/pkg/lib/python2.7/lib-dynload/Python-2.7.12-py2.7.egg-info
*** Error code 1

bmake: stopped in /home/prlw1/pkgsrc/lang/python27
prlw1@quartz:~/pkgsrc/lang/python27$ ls
ALTERNATIVES   DESCR     Makefile    PLIST.common      PLIST.IRIX   work
buildlink3.mk  distinfo  options.mk  PLIST.common_end  PLIST.Linux
CVS            dist.mk   patches     PLIST.Darwin      PLIST.SunOS

work is there now...


Cheers,

Patrick


Home | Main Index | Thread Index | Old Index