NetBSD Problem Report #22443

Received: (qmail 956 invoked by uid 605); 12 Aug 2003 01:31:51 -0000
Message-Id: <20030812013148.36B741CC73@firefly.localdomain>
Date: Tue, 12 Aug 2003 10:31:48 +0900 (JST)
From: hira@po6.nsk.ne.jp
Sender: gnats-bugs-owner@NetBSD.org
To: gnats-bugs@gnats.netbsd.org
Subject: can't compile graphics/plotutils with gcc-3.3.1
X-Send-Pr-Version: 3.95

>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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 12 01:32:00 +0000 2003
>Closed-Date:    Tue Sep 09 14:53:30 +0000 2003
>Last-Modified:  Thu Sep 11 10:03:00 +0000 2003
>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:

From: "Julio M. Merino Vidal" <jmmv@menta.net>
To: gnats-bugs@gnats.netbsd.org
Cc: hira@po6.nsk.ne.jp
Subject: Re: pkg/22443
Date: Mon, 8 Sep 2003 17:37:52 +0200

 Please report this problem to plotutils' authors, too, if you haven't done
 it yet.  They should fix this problem in their code.

 Thanks

 -- 
 Julio M. Merino Vidal <jmmv@menta.net>
 The NetBSD Project - http://www.NetBSD.org/
State-Changed-From-To: open->closed 
State-Changed-By: jmmv 
State-Changed-When: Tue Sep 9 14:53:12 UTC 2003 
State-Changed-Why:  
Patches applied, thanks. 

From: "Julio M. Merino Vidal" <jmmv@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/22443 CVS commit: pkgsrc/graphics/plotutils
Date: Tue,  9 Sep 2003 14:52:59 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	jmmv
 Date:		Tue Sep  9 14:52:57 UTC 2003

 Modified Files:
 	pkgsrc/graphics/plotutils: distinfo
 Added Files:
 	pkgsrc/graphics/plotutils/patches: patch-aa patch-ab patch-ac patch-ad
 	    patch-ae

 Log Message:
 Fix build with gcc3 using patches provided by Kouichirou Hiratsuka.
 Closes PR pkg/22443.


 To generate a diff of this commit:
 cvs rdiff -r1.2 -r1.3 pkgsrc/graphics/plotutils/distinfo
 cvs rdiff -r0 -r1.4 pkgsrc/graphics/plotutils/patches/patch-aa
 cvs rdiff -r0 -r1.1 pkgsrc/graphics/plotutils/patches/patch-ab \
     pkgsrc/graphics/plotutils/patches/patch-ac \
     pkgsrc/graphics/plotutils/patches/patch-ad \
     pkgsrc/graphics/plotutils/patches/patch-ae

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.


From: "Julio M. Merino Vidal" <jmmv@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/22443 CVS commit: pkgsrc/graphics/plotutils-nox11
Date: Thu, 11 Sep 2003 10:02:27 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	jmmv
 Date:		Thu Sep 11 10:02:27 UTC 2003

 Modified Files:
 	pkgsrc/graphics/plotutils-nox11: Makefile
 Removed Files:
 	pkgsrc/graphics/plotutils-nox11: distinfo

 Log Message:
 Share distinfo and patches directory with plotutils, to let this build
 with gcc3 too.

 Pointed out by Kouichirou Hiratsuka; this is related to PR pkg/22443.


 To generate a diff of this commit:
 cvs rdiff -r1.4 -r1.5 pkgsrc/graphics/plotutils-nox11/Makefile
 cvs rdiff -r1.1 -r0 pkgsrc/graphics/plotutils-nox11/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.