pkgsrc-Users archive

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

Re: editors/nano failed to compile on SunOS



Meanwhile, editors/joe compiled just fine.

The issue is SunOS specific, as editors/nano also compiled fine on Debian 10.


---- On Tue, 19 Jan 2021 10:48:00 +0700 Hung Nguyen Gia <gh_origin%zohomail.com@localhost> wrote ----

 > In file included from definitions.h:82, 
 >  from prototypes.h:21, 
 >  from color.c:22: 
 > /export/home/hung/pkgsrc/editors/nano/work/.buildlink/include/ncurses/unctrl.h:61:54: error: conflicting types for 'unctrl' 
 >  61 | NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(unctrl) (SCREEN*, chtype); 
 >  |                                                      ^~~~~~ 
 > /usr/include/ncurses/ncurses.h:1100:31: note: in definition of macro 'NCURSES_SP_NAME' 
 >  1100 | #define NCURSES_SP_NAME(name) name 
 >  |                               ^~~~ 
 > In file included from definitions.h:82, 
 >  from prototypes.h:21, 
 >  from browser.c:22: 
 > /export/home/hung/pkgsrc/editors/nano/work/.buildlink/include/ncurses/unctrl.h:61:54: error: conflicting types for 'unctrl' 
 >  61 | NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(unctrl) (SCREEN*, chtype); 
 >  |                                                      ^~~~~~ 
 > /usr/include/ncurses/ncurses.h:1100:31: note: in definition of macro 'NCURSES_SP_NAME' 
 >  1100 | #define NCURSES_SP_NAME(name) name 
 >  |                               ^~~~ 
 > In file included from definitions.h:82, 
 >  from prototypes.h:21, 
 >  from cut.c:23: 
 > /export/home/hung/pkgsrc/editors/nano/work/.buildlink/include/ncurses/unctrl.h:61:54: error: conflicting types for 'unctrl' 
 >  61 | NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(unctrl) (SCREEN*, chtype); 
 >  |                                                      ^~~~~~ 
 > /usr/include/ncurses/ncurses.h:1100:31: note: in definition of macro 'NCURSES_SP_NAME' 
 >  1100 | #define NCURSES_SP_NAME(name) name 
 >  |                               ^~~~ 
 > In file included from definitions.h:82, 
 >  from prototypes.h:21, 
 >  from chars.c:22: 
 > /export/home/hung/pkgsrc/editors/nano/work/.buildlink/include/ncurses/unctrl.h:61:54: error: conflicting types for 'unctrl' 
 >  61 | NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(unctrl) (SCREEN*, chtype); 
 >  |                                                      ^~~~~~ 
 > /usr/include/ncurses/ncurses.h:1100:31: note: in definition of macro 'NCURSES_SP_NAME' 
 >  1100 | #define NCURSES_SP_NAME(name) name 
 >  |                               ^~~~ 
 > In file included from /usr/include/ncurses/ncurses.h:2095, 
 >  from definitions.h:82, 
 >  from prototypes.h:21, 
 >  from browser.c:22: 
 > /export/home/hung/pkgsrc/editors/nano/work/.buildlink/include/ncurses/unctrl.h:58:38: note: previous declaration of 'unctrl' was here 
 >  58 | NCURSES_EXPORT(NCURSES_CONST char *) unctrl (chtype); 
 >  |                                      ^~~~~~ 
 > In file included from /usr/include/ncurses/ncurses.h:2095, 
 >  from definitions.h:82, 
 >  from prototypes.h:21, 
 >  from cut.c:23: 
 > /export/home/hung/pkgsrc/editors/nano/work/.buildlink/include/ncurses/unctrl.h:58:38: note: previous declaration of 'unctrl' was here 
 >  58 | NCURSES_EXPORT(NCURSES_CONST char *) unctrl (chtype); 
 >  |                                      ^~~~~~ 
 > In file included from /usr/include/ncurses/ncurses.h:2095, 
 >  from definitions.h:82, 
 >  from prototypes.h:21, 
 >  from color.c:22: 
 > /export/home/hung/pkgsrc/editors/nano/work/.buildlink/include/ncurses/unctrl.h:58:38: note: previous declaration of 'unctrl' was here 
 >  58 | NCURSES_EXPORT(NCURSES_CONST char *) unctrl (chtype); 
 >  |                                      ^~~~~~ 
 > In file included from /usr/include/ncurses/ncurses.h:2095, 
 >  from definitions.h:82, 
 >  from prototypes.h:21, 
 >  from chars.c:22: 
 > /export/home/hung/pkgsrc/editors/nano/work/.buildlink/include/ncurses/unctrl.h:58:38: note: previous declaration of 'unctrl' was here 
 >  58 | NCURSES_EXPORT(NCURSES_CONST char *) unctrl (chtype); 
 >  |                                      ^~~~~~ 
 > gmake[2]: *** [Makefile:1667: color.o] Error 1 
 > gmake[2]: *** Waiting for unfinished jobs.... 
 > gmake[2]: *** [Makefile:1667: chars.o] Error 1 
 > gmake[2]: *** [Makefile:1667: cut.o] Error 1 
 > gmake[2]: *** [Makefile:1667: browser.o] Error 1 
 > gmake[2]: Leaving directory '/export/home/hung/pkgsrc/editors/nano/work/nano-5.4/src' 
 > gmake[1]: *** [Makefile:1625: all-recursive] Error 1 
 > gmake[1]: Leaving directory '/export/home/hung/pkgsrc/editors/nano/work/nano-5.4' 
 > gmake: *** [Makefile:1566: all] Error 2 
 > *** Error code 2 
 >  
 > Stop. 
 > bmake[1]: stopped in /export/home/hung/pkgsrc/editors/nano 
 > *** Error code 1 
 >  
 > Stop. 
 > bmake: stopped in /export/home/hung/pkgsrc/editors/nano 
 >  
 > 


Home | Main Index | Thread Index | Old Index