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 22:52:04 +0200
Hello Hamza,
Hamza Sheikh writes:
> On Wed, Oct 17, 2018 at 1:05 AM Leonardo Taccari <leot%netbsd.org@localhost> wrote=
:
> >
> > 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?
> >
>
> I found the following in Alpine Linux 3.8*:
>
> - /usr/include/rpc/rpc.h is provided by package portablexdr-dev
> - /usr/include/rpcsvc/yp_prot.h is provided by package libnsl-dev
> - /usr/include/rpcsvc/ypclnt.h is provided by package libnsl-dev
> - /usr/share/bash-completion/completions/ypcat is provided by package
> bash-completion
>
> I installed packages bash-completion, libnsl-dev, and portablexdr-dev
> and tried again but the build failed with the same error message.
>
> The new build2.log** and the updated Dockerfile (Dockerfile2)*** are
> available from their respective locations.
>
> Thanks for your help.
>
> * https://pkgs.alpinelinux.org/contents
> ** https://mushtarka.codeghar.com/netbsd/2018/gnats/python37/build2.log
> *** https://mushtarka.codeghar.com/netbsd/2018/gnats/python37/Dockerfile=
2
Thank you for the quick feedback and for investigating it!
I think these are just the important lines of build2.log:
| building 'nis' extension
| cc -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/db4 -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/db4 -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/db4 -std=gnu99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -I./Include -I. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/db4 -I/root/pkg/work/lang/python37/work/Python-3.7.0/Include -I/root/pkg/work/lang/python37/work/Python-3.7.0 -c /root/pkg/work/lang/python37/work/Python-3.7.0/Modules/nismodule.c -o build/temp.linux-x86_64-3.7/root/pkg/work/lang/python37/work/Python-3.7.0/Modules/nismodule.o
| In file included from /usr/include/rpcsvc/yp_prot.h:11:0,
| from /root/pkg/work/lang/python37/work/Python-3.7.0/Modules/nismodule.c:18:
| /usr/include/rpcsvc/ypclnt.h:23:23: fatal error: sys/cdefs.h: No such file or directory
| #include <sys/cdefs.h>
| ^
| compilation terminated.
If I understand the error correctly I think that now the problem
is in libnsl-dev that could tries to include <sys/cdefs.h>.
Can you please try to share that with the Alpine community and keep us
updated?
Thank you again!
Home |
Main Index |
Thread Index |
Old Index