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: Leonardo Taccari <leot%NetBSD.org@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: Wed, 17 Oct 2018 10:01:23 +0200

 Hello Hamza,
 
 aikchar%codeghar.com@localhost writes:
 > >Number:         53673
 > >Category:       pkg
 > >Synopsis:       Building Python 3.7 on Linux fails with error "pkg_create: can't stat" at stage "Generating post-install file lists"
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    pkg-manager
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Wed Oct 17 01:50:00 +0000 2018
 > >Originator:     Hamza Sheikh
 > >Release:        trunk - git commit c18957a255f58b90000cad752b5c9a2764faf62d
 > >Organization:
 > >Environment:
 > Linux ec41ea7b3621 4.9.93-linuxkit-aufs #1 SMP Wed Jun 6 16:55:56 UTC 2018 x86_64 Linux
 > >Description:
 > I am building Python 3.7 on Alpine Linux 3.8 within ``docker build``. The build fails with the following messages. The full build log is available from https://mushtarka.codeghar.com/netbsd/2018/gnats/python37/build.log.
 >
 >
 > [...]
 >         => Generating post-install file lists
 >         pkg_create: can't stat `/root/pkg/work/lang/python37/work/.destdir/usr/pkg/lib/python3.7/lib-dynload/nis.so'
 >         => Checking file-check results for python37-3.7.0
 >         ERROR: ************************************************************
 >         ERROR: The following files are in the PLIST but not in /root/pkg/work/lang/python37/work/.destdir/usr/pkg:
 >         ERROR:         /root/pkg/work/lang/python37/work/.destdir/usr/pkg/lib/python3.7/lib-dynload/nis.so
 >         *** Error code 1
 > [...]
 
 Any idea regarding which Alpine Linux package provides the
 `<rpc/rpc.h>', `<rpcsvc/yp_prot.h>', `<rpcsvc/ypclnt.h>' header
 files and possible related libraries?
 
 In pkgsrc/lang/python37 the relevant part that handles that are:
 
  | .  if ${OPSYS} != "NetBSD" || exists(/usr/bin/ypcat)
  | .    if "${OS_VARIANT}" != "chromeos"
  | PLIST.nis=      yes
  | .    endif
  | .  else
  | PLIST.no-nis=   yes
  | .  endif
  | .endif
 


Home | Main Index | Thread Index | Old Index