pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/54016: devel/py-curses build broken
>Number: 54016
>Category: pkg
>Synopsis: devel/py-curses build broken
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Feb 26 09:15:00 +0000 2019
>Originator: Hauke Fath
>Release: NetBSD 8.0_STABLE
>Organization:
Technische Universitaet Darmstadt
>Environment:
System: NetBSD Hochstuhl 8.0_STABLE NetBSD 8.0_STABLE (MONOLITHIC-$Revision$) #0: Fri Feb 22 14:01:09 CET 2019 hf@Hochstuhl:/var/obj/netbsd-builds/8/amd64/sys/arch/amd64/compile/MONOLITHIC amd64
Architecture: x86_64
Machine: amd64
>Description:
The build of devel/py-curses is broken for (at least)
python27:
[...]
running build
running build_ext
building '_curses' extension
creating build
creating build/temp.netbsd-8.0_STABLE-amd64-2.7
creating build/temp.netbsd-8.0_STABLE-amd64-2.7/Modules
gcc -DNDEBUG -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -fPIC -DHAVE_NCURSES_H -I/include -I/usr/pkg/include/python2.7 -c Modules/_cursesmodule.c -o build/temp.netbsd-8.0_STABLE-amd64-2.7/Modules/_cursesmodule.o
Modules/_cursesmodule.c: In function 'PyCursesWindow_EchoChar':
Modules/_cursesmodule.c:676:44: error: dereferencing pointer to incomplete type 'WINDOW {aka struct __window}'
#define py_is_pad(win) ((win) ? ((win)->_flags & _ISPAD) != 0 : FALSE)
^
Modules/_cursesmodule.c:821:9: note: in expansion of macro 'py_is_pad'
if (py_is_pad(self->win)) {
^
Modules/_cursesmodule.c:676:55: error: '_ISPAD' undeclared (first use in this function)
#define py_is_pad(win) ((win) ? ((win)->_flags & _ISPAD) != 0 : FALSE)
^
Modules/_cursesmodule.c:821:9: note: in expansion of macro 'py_is_pad'
if (py_is_pad(self->win)) {
^
Modules/_cursesmodule.c:676:55: note: each undeclared identifier is reported only once for each function it appears in
#define py_is_pad(win) ((win) ? ((win)->_flags & _ISPAD) != 0 : FALSE)
^
Modules/_cursesmodule.c:821:9: note: in expansion of macro 'py_is_pad'
if (py_is_pad(self->win)) {
^
Modules/_cursesmodule.c: In function 'PyCursesWindow_NoOutRefresh':
Modules/_cursesmodule.c:676:55: error: '_ISPAD' undeclared (first use in this function)
#define py_is_pad(win) ((win) ? ((win)->_flags & _ISPAD) != 0 : FALSE)
^
Modules/_cursesmodule.c:1263:13: note: in expansion of macro 'py_is_pad'
if (py_is_pad(self->win))
^
Modules/_cursesmodule.c: In function 'PyCursesWindow_Refresh':
Modules/_cursesmodule.c:676:55: error: '_ISPAD' undeclared (first use in this function)
#define py_is_pad(win) ((win) ? ((win)->_flags & _ISPAD) != 0 : FALSE)
^
Modules/_cursesmodule.c:1406:13: note: in expansion of macro 'py_is_pad'
if (py_is_pad(self->win))
^
Modules/_cursesmodule.c: In function 'PyCursesWindow_SubWin':
Modules/_cursesmodule.c:676:55: error: '_ISPAD' undeclared (first use in this function)
#define py_is_pad(win) ((win) ? ((win)->_flags & _ISPAD) != 0 : FALSE)
^
Modules/_cursesmodule.c:1473:9: note: in expansion of macro 'py_is_pad'
if (py_is_pad(self->win)) {
^
error: command 'gcc' failed with exit status 1
*** Error code 1
Stop.
make[1]: stopped in /u/sources/pkgsrc/devel/py-curses
*** Error code 1
I don't know what is up with the many patch failures, either.
>How-To-Repeat:
Attempt to build py27-curses.
>Fix:
Yes, please - this blocks building devel/mercurial.
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index