pkgsrc-Bugs archive

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

pkg/38555: databases/rrdtool build failure with Sun Studio 11

>Number:         38555
>Category:       pkg
>Synopsis:       databases/rrdtool build failure with Sun Studio 11
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 01 11:50:00 +0000 2008
>Originator:     NAKAJI Hiroyuki
>Release:        Solaris 10
SunOS 5.10 Generic_127111-11 sun4u sparc SUNW,Ultra-2 
rrdtool-1.2.27 fails with Sun's cc.

cc -DHAVE_CONFIG_H -I. -I.. 
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/include/libart-2.0 
-I/usr/include/freetype2 -O -KPIC -DPIC -c rrd_getopt.c  -KPIC -DPIC 
"/usr/include/iso/stdio_iso.h", line 190: identifier redeclared: rename
        current : function(pointer to char, pointer to char) returning int
        previous: function(pointer to const char, pointer to const char) 
returning int : "/usr/include/unistd.h", line 449
cc: acomp failed for rrd_getopt.c
Set CC=/opt/SUNWspro/bin/cc and CFLAGS without -Xc.

cd /usr/pkgsrc/databases/rrdtool && bmake

rrdtool-1.2.27/src/rrd_getopt{,1}.c need change. This may be a bug of rrdtool 

I put the patch files in my website.

Home | Main Index | Thread Index | Old Index