pkgsrc-Users archive

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

python27 fails to install on aix 6.1 for 2015Q4

python27 built successfully on aix 6.1, but the installation failed
during package creation.  I've included the tail end of the output at
the bottom of this email, but the problem is that, for aix, only gets built, and not also  PLIST
is expecting both, even though some systems will only build the

I've attached a patch that fixes the problem by adding a PLIST_VAR to
cover the optional installation of the .so.1.0 file.

=> Automatic manual page handling
pkg_create: can't stat
=> Creating binary package
pkg_create: can't stat
pkg_create: lstat failed for file lib/ No such
file or directory
mv: cannot rename
to /home/pkgsrc/pkgsrc-2015Q4/lang/python27/work/.package
No such file or directory
*** Error code 1

bmake[1]: stopped in /home/pkgsrc/pkgsrc-2015Q4/lang/python27
*** Error code 1

Index: Makefile
RCS file: /cvsroot/pkgsrc/lang/python27/Makefile,v
retrieving revision 1.54
diff -u -r1.54 Makefile
--- Makefile	6 Dec 2015 18:22:35 -0000	1.54
+++ Makefile	17 Jan 2016 08:48:18 -0000
@@ -108,6 +108,11 @@
 CFLAGS+=		-I${OSX_SDK_PATH}/usr/include
+PLIST_VARS+=	sover
+.if ${OPSYS} != "AIX"
+PLIST.sover=	yes
 PLIST_VARS+=	dll nis no-nis
 .if ${OPSYS} == "IRIX"
 .  if ${ABI} == "64"
Index: PLIST.common
RCS file: /cvsroot/pkgsrc/lang/python27/PLIST.common,v
retrieving revision 1.14
diff -u -r1.14 PLIST.common
--- PLIST.common	6 Dec 2015 18:22:35 -0000	1.14
+++ PLIST.common	17 Jan 2016 08:48:18 -0000
@@ -97,7 +97,7 @@

Home | Main Index | Thread Index | Old Index