pkgsrc-Bugs archive

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

pkg/49631: Building devel/ncurses fails on Solaris 10u7 sparc / Studio Pro 12u1



>Number:         49631
>Category:       pkg
>Synopsis:       Building devel/ncurses fails on Solaris 10u7 sparc / Studio Pro 12u1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 02 22:40:00 +0000 2015
>Originator:     Malte Dehling
>Release:        pkgsrc-2014Q4
>Organization:
>Environment:
SunOS U2 5.10 Generic_139555-08 sun4u sparc sun4u
cc: Sun C 5.10 SunOS_sparc 2009/06/03

>Description:
Build fails with:

[...]
libtool: compile:  cc -DHAVE_CONFIG_H -I../ncurses -I. -I../include -D__EXTENSIONS__ -D_XOPEN_SOURCE=500 -DSIGWINCH=20 -I/pkg/src/devel/ncurses/work/.buildlink/include/ncurses -fast -c ../ncurses/./tty/hardscroll.c  -KPIC -DPIC -o ../obj_lo/.libs/hardscroll.o
"/usr/include/sys/feature_tests.h", line 332: #error: "Compiler or options invalid for pre-UNIX 03 X/Open applications  and pre-2001 POSIX applications"
cc: acomp failed for ../ncurses/./tty/hashmap.c
Makefile:707: recipe for target '../obj_lo/hashmap.lo' failed
gmake[1]: *** [../obj_lo/hashmap.lo] Error 1
"/usr/include/sys/feature_tests.h", line 332: #error: "Compiler or options invalid for pre-UNIX 03 X/Open applications  and pre-2001 POSIX applications"
cc: acomp failed for ../ncurses/./tty/hardscroll.c
Makefile:703: recipe for target '../obj_lo/hardscroll.lo' failed
gmake[1]: *** [../obj_lo/hardscroll.lo] Error 1
gmake[1]: Leaving directory '/pkg/src/devel/ncurses/work/ncurses-5.9/ncurses'
Makefile:109: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2
>How-To-Repeat:

>Fix:
Workaround: Choose to use Solaris native version of curses if possible.

In my case I tried to compile cmus, which requires ncurses so I have no workaround.



Home | Main Index | Thread Index | Old Index