pkgsrc-Bugs archive

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

Re: pkg/53673: Building Python 3.7 on Linux fails with error "pkg_create: can't stat" at stage "Generating post-install file lists"



The following reply was made to PR pkg/53673; it has been noted by GNATS.

From: "Dr. Thomas Orgis" <thomas.orgis%uni-hamburg.de@localhost>
To: <gnats-bugs%netbsd.org@localhost>
Cc: 
Subject: Re: pkg/53673: Building Python 3.7 on Linux fails with error
 "pkg_create: can't stat" at stage "Generating post-install file lists"
Date: Tue, 2 Apr 2019 17:12:57 +0200

 I just noticed that my libnsl installation was broken. There was no
 libnsl.so, only libnsl.so.2. After fixing that, I was able to build
 python27 and python37. Still, the test in the Makefile needs to look
 for the correct headers to fix the decision for installations without
 libnsl or libtirpc. What python27 looks for (if I read it correctly):
 
 $PREFIX/include/rpcsvc/yp_prot.h
 $PREFIX/include/nsl/rpcsvc/yp_prot.h
 $PREFIX/include/rpc/rpc.h
 $PREFIX/include/tirpc/rpc/rpc.h
 
 I assume $PREFIX is /usr for our case. So â?¦ if we check for presence of
 
 	/usr/include/rpcsvc/yp_prot.h || /usr/include/nsl/rpcsvc/yp_prot.h
 
 AND
 
 	/usr/include/rpc/rpc.h || /usr/include/tirpc/rpc/rpc.h
 
 and set nis and no-nis accordingly, we should be safe, right?
 
 
 -- 
 Dr. Thomas Orgis
 HPC @ Universität Hamburg
 


Home | Main Index | Thread Index | Old Index