pkgsrc-Users archive

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

Re: Creating Proper PLIST.unixware7 Resolved some what.



On Sunday 2022-01-09 00:28, Thomas Klausner wrote:

On Sat, Jan 08, 2022 at 04:17:57PM -0700, Boyd Lynn Gerber wrote:
Hello,

I know that python27 is no longer supported, but I would still like to get
it to build and install.

I added this to the Makefile

.elif ${OPSYS} == "UnixWare"
PY_PLATNAME=    unixware7


I have in my PLIST.unixware7

I think the PLIST name should be PLIST.${OPSYS}, i.e. "PLIST.UnixWare".

With it I get

=> Automatic manual page handling
=> Generating post-install file lists
pkg_create: can't stat `/home/build/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/plat-UnixWare/IN.py' pkg_create: can't stat `/home/build/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/plat-UnixWare/IN.pyc' pkg_create: can't stat `/home/build/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/plat-UnixWare/IN.pyo' pkg_create: can't stat `/home/build/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/plat-UnixWare/regen'
=> Checking file-check results for python27-2.7.18nb6
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /home/build/pkgsrc/lang/python27/work/.destdir/usr/pkg: ERROR: /home/build/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/plat-UnixWare/IN.py ERROR: /home/build/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/plat-UnixWare/IN.pyc ERROR: /home/build/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/plat-UnixWare/IN.pyo ERROR: /home/build/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/plat-UnixWare/regen
*** Error code 1

Stop.
bmake[1]: stopped in /home/build/pkgsrc/lang/python27
*** Error code 1

doing this

# cd work/.destdir/usr/pkg/lib/python2.7/
# ln -s plat-unixware7 plat-UnixWare
# cd /home/build/pkgsrc/lang/python27/
# bmake install

Does produce python27-2.7.18nb6.tgz

Regards,

--
Boyd Gerber <gerberb%zenez.com@localhost> 801 849-0213
ZENEZ   1042 East Fort Union #135, Midvale Utah  84047



Home | Main Index | Thread Index | Old Index