pkgsrc-Bugs archive

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

pkg/53445: devel/py-curses compilation error



>Number:         53445
>Category:       pkg
>Synopsis:       devel/py-curses compilation error
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 12 17:05:00 +0000 2018
>Originator:     Mayuresh
>Release:        pkgsrc current last upd Thu Jul 12 14:10:34 2018 +0000
>Organization:
>Environment:
NetBSD localhost 8.0_RC1 NetBSD 8.0_RC1 (GENERIC.201804191727Z) amd64

>Description:
py-curses has many dependent packages which makes this issue rather critical. py-curses compilation is drawing this error:

building '_curses' extension
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_RC1-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)->_fla                                   

>How-To-Repeat:
Compile devel/py-curses
>Fix:
Not known



Home | Main Index | Thread Index | Old Index