Subject: pkg/22443: can't compile graphics/plotutils with gcc-3.3.1
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hira@po6.nsk.ne.jp>
List: netbsd-bugs
Date: 08/12/2003 10:31:48
>Number:         22443
>Category:       pkg
>Synopsis:       can't compile graphics/plotutils with gcc-3.3.1
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 12 01:32:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kouichirou Hiratsuka
>Release:        NetBSD 1.6W
>Organization:
>Environment:
System: NetBSD firefly.localdomain 1.6W NetBSD 1.6W (FIREFLY) #152: Tue Aug 12 07:59:47 JST 2003 root@firefly.localdomain:/usr/src/sys/arch/i386/compile/FIREFLY i386
Architecture: i386
Machine: i386
>Description:
	Can't compile graphics/plotutils with gcc-3.3.1.
	And can't compile graphics/plotutils-nox11 too.

# make
===> Checking for vulnerabilities in plotutils-2.4.1nb2
=> Checksum OK for plotutils-2.4.1.tar.gz.
work -> /tmp/pkgsrc/graphics/plotutils/work
===> Extracting for plotutils-2.4.1nb2
===> Required installed package png>=1.2.4: png-1.2.5nb2 found
===> Required installed package libtool-base>=1.4.20010614nb11: libtool-base-1.4.20010614nb14 found
===> Required installed package x11-links>=0.12: x11-links-0.12 found
===> Patching for plotutils-2.4.1nb2
===> Buildlinking for plotutils-2.4.1nb2

c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/tmp/pkgsrc/graphics/plotutils/work/.buildlink-x11/include -I./../include -DLIBPLOT -DLIBPLOTTER -I/tmp/pkgsrc/graphics/plotutils/work/.buildlink/include -I/tmp/pkgsrc/graphics/plotutils/work/.buildlink-x11/include -O2 -I/tmp/pkgsrc/graphics/plotutils/work/.buildlink/include -I/tmp/pkgsrc/graphics/plotutils/work/.buildlink-x11/include -c apioldcc.cc  -fPIC -DPIC-o .libs/apioldcc.o
In file included from extern.h:44,
                 from apioldcc.cc:19:
../include/plotter.h:61:22: iostream.h: No such file or directory
In file included from extern.h:44,
                 from apioldcc.cc:19:
../include/plotter.h:683: error: syntax error before `*' token
../include/plotter.h:684: error: syntax error before `*' token
../include/plotter.h:685: error: syntax error before `*' token
../include/plotter.h:901: error: parse error before `&' token
../include/plotter.h:902: error: parse error before `&' token
../include/plotter.h:907: error: parse error before `&' token
../include/plotter.h:908: error: parse error before `&' token
../include/plotter.h:1490: error: parse error before `&' token
../include/plotter.h:1491: error: parse error before `&' token
../include/plotter.h:1496: error: parse error before `&' token
../include/plotter.h:1497: error: parse error before `&' token
../include/plotter.h:1569: error: parse error before `&' token
../include/plotter.h:1570: error: parse error before `&' token
../include/plotter.h:1575: error: parse error before `&' token
../include/plotter.h:1576: error: parse error before `&' token
../include/plotter.h:1616: error: parse error before `&' token
../include/plotter.h:1617: error: parse error before `&' token
../include/plotter.h:1622: error: parse error before `&' token
../include/plotter.h:1623: error: parse error before `&' token
../include/plotter.h:1668: error: parse error before `&' token
../include/plotter.h:1669: error: parse error before `&' token
../include/plotter.h:1674: error: parse error before `&' token
../include/plotter.h:1675: error: parse error before `&' token
../include/plotter.h:1719: error: parse error before `&' token
../include/plotter.h:1720: error: parse error before `&' token
../include/plotter.h:1725: error: parse error before `&' token
../include/plotter.h:1726: error: parse error before `&' token
../include/plotter.h:1815: error: parse error before `&' token
../include/plotter.h:1816: error: parse error before `&' token
../include/plotter.h:1821: error: parse error before `&' token
../include/plotter.h:1822: error: parse error before `&' token
../include/plotter.h:1846: error: parse error before `&' token
../include/plotter.h:1847: error: parse error before `&' token
../include/plotter.h:1852: error: parse error before `&' token
../include/plotter.h:1853: error: parse error before `&' token
../include/plotter.h:1896: error: parse error before `&' token
../include/plotter.h:1897: error: parse error before `&' token
../include/plotter.h:1902: error: parse error before `&' token
../include/plotter.h:1903: error: parse error before `&' token
../include/plotter.h:1981: error: parse error before `&' token
../include/plotter.h:1982: error: parse error before `&' token
../include/plotter.h:1987: error: parse error before `&' token
../include/plotter.h:1988: error: parse error before `&' token
../include/plotter.h:2022: error: parse error before `&' token
../include/plotter.h:2023: error: parse error before `&' token
../include/plotter.h:2028: error: parse error before `&' token
../include/plotter.h:2029: error: parse error before `&' token
../include/plotter.h:2081: error: parse error before `&' token
../include/plotter.h:2082: error: parse error before `&' token
../include/plotter.h:2087: error: parse error before `&' token
../include/plotter.h:2088: error: parse error before `&' token
../include/plotter.h:2125: error: parse error before `&' token
../include/plotter.h:2126: error: parse error before `&' token
../include/plotter.h:2131: error: parse error before `&' token
../include/plotter.h:2132: error: parse error before `&' token
../include/plotter.h:2164: error: parse error before `&' token
../include/plotter.h:2165: error: parse error before `&' token
../include/plotter.h:2170: error: parse error before `&' token
../include/plotter.h:2171: error: parse error before `&' token
../include/plotter.h:2199: error: parse error before `&' token
../include/plotter.h:2200: error: parse error before `&' token
../include/plotter.h:2205: error: parse error before `&' token
../include/plotter.h:2206: error: parse error before `&' token
../include/plotter.h:2273: error: parse error before `&' token
../include/plotter.h:2274: error: parse error before `&' token
../include/plotter.h:2279: error: parse error before `&' token
../include/plotter.h:2280: error: parse error before `&' token
../include/plotter.h:2348: error: parse error before `&' token
../include/plotter.h:2349: error: parse error before `&' token
../include/plotter.h:2354: error: parse error before `&' token
../include/plotter.h:2355: error: parse error before `&' token
*** Error code 1

Stop.
make: stopped in /tmp/pkgsrc/graphics/plotutils/work/plotutils-2.4.1/libplotter
*** Error code 1

Stop.
make: stopped in /tmp/pkgsrc/graphics/plotutils/work/plotutils-2.4.1
*** Error code 1

Stop.
make: stopped in /tmp/pkgsrc/graphics/plotutils/work/plotutils-2.4.1
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/graphics/plotutils
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/graphics/plotutils
#

>How-To-Repeat:
	cd ${PKGSRCDIR}/graphics/plotutils
	make

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: