NetBSD Problem Report #25590

Received: (qmail 5815 invoked by uid 605); 16 May 2004 05:46:04 -0000
Message-Id: <20040516054502.D64D2A61EC@mail.nixsys.bz>
Date: Sun, 16 May 2004 01:45:02 -0400 (EDT)
From: diro@nixsys.bz
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: diro@nixsys.bz
To: gnats-bugs@gnats.netbsd.org
Subject: source-highlight breaks on compile
X-Send-Pr-Version: 3.95

>Number:         25590
>Category:       pkg
>Synopsis:       source-highlight breaks on compile
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 16 05:47:00 +0000 2004
>Closed-Date:    Sun May 16 12:23:29 +0000 2004
>Last-Modified:  Sun May 16 12:24:00 +0000 2004
>Originator:     
>Release:        NetBSD 1.6.2
>Organization:
>Environment:
System: NetBSD nixsys 1.6.2 NetBSD 1.6.2 (NIXSYS) #10: Thu Mar 4 22:20:38 EST 2004 root@nixsys:/usr/src/sys/arch/alpha/compile/NIXSYS alpha
Architecture: alpha
Machine: alpha
>Description:

/bin/sh ../../txtc.sh reportbugs.text
source='cmdline.c' object='cmdline.o' libtool=no  depfile='.deps/cmdline.Po' tmpdepfile='.deps/cmdline.TPo'  depmode=gcc /bin/sh ../../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src     -O2 -mieee -c `test -f 'cmdline.c' || echo './'`cmdline.c
source='generators.cc' object='generators.o' libtool=no  depfile='.deps/generators.Po' tmpdepfile='.deps/generators.TPo'  depmode=gcc /bin/sh ../../depcomp  g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src     -DSOURCE_HIGHLIGHT_DATA_DIR=\"/usr/pkg/share/source-highlight\" -O2 -mieee -c -o generators.o `test -f 'generators.cc' || echo './'`generators.cc
source='tags.cc' object='tags.o' libtool=no  depfile='.deps/tags.Po' tmpdepfile='.deps/tags.TPo'  depmode=gcc /bin/sh ../../depcomp  g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src     -DSOURCE_HIGHLIGHT_DATA_DIR=\"/usr/pkg/share/source-highlight\" -O2 -mieee -c -o tags.o `test -f 'tags.cc' || echo './'`tags.cc
source='messages.cc' object='messages.o' libtool=no  depfile='.deps/messages.Po' tmpdepfile='.deps/messages.TPo'  depmode=gcc /bin/sh ../../depcomp  g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src     -DSOURCE_HIGHLIGHT_DATA_DIR=\"/usr/pkg/share/source-highlight\" -O2 -mieee -c -o messages.o `test -f 'messages.cc' || echo './'`messages.cc
source='genfun.cc' object='genfun.o' libtool=no  depfile='.deps/genfun.Po' tmpdepfile='.deps/genfun.TPo'  depmode=gcc /bin/sh ../../depcomp  g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src     -DSOURCE_HIGHLIGHT_DATA_DIR=\"/usr/pkg/share/source-highlight\" -O2 -mieee -c -o genfun.o `test -f 'genfun.cc' || echo './'`genfun.cc
source='fileutil.cc' object='fileutil.o' libtool=no  depfile='.deps/fileutil.Po' tmpdepfile='.deps/fileutil.TPo'  depmode=gcc /bin/sh ../../depcomp  g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src     -DSOURCE_HIGHLIGHT_DATA_DIR=\"/usr/pkg/share/source-highlight\" -O2 -mieee -c -o fileutil.o `test -f 'fileutil.cc' || echo './'`fileutil.cc
fileutil.cc: In function `char * read_file(const string &)':
fileutil.cc:44: `ios_base' undeclared (first use this function)
fileutil.cc:44: (Each undeclared identifier is reported only once
fileutil.cc:44: for each function it appears in.)
fileutil.cc:44: parse error before `::'
fileutil.cc:45: request for member `is_open' in `file', which is of non-aggregate type `ifstream ()(...)'
fileutil.cc:50: request for member `seekg' in `file', which is of non-aggregate type `ifstream ()(...)'
fileutil.cc:51: warning: the address of `file(...)', will always be `true'
fileutil.cc:55: request for member `tellg' in `file', which is of non-aggregate type `ifstream ()(...)'
fileutil.cc:56: warning: the address of `file(...)', will always be `true'
fileutil.cc:63: request for member `seekg' in `file', which is of non-aggregate type `ifstream ()(...)'
fileutil.cc:64: warning: the address of `file(...)', will always be `true'
fileutil.cc:68: request for member `read' in `file', which is of non-aggregate type `ifstream ()(...)'
fileutil.cc:71: request for member `close' in `file', which is of non-aggregate type `ifstream ()(...)'
*** Error code 1

Stop.
make: stopped in /usr/src/sys/pkgsrc/textproc/source-highlight/work/source-highlight-1.9/src/lib
*** Error code 1

Stop.
make: stopped in /usr/src/sys/pkgsrc/textproc/source-highlight/work/source-highlight-1.9/src/lib
*** Error code 1

Stop.
make: stopped in /usr/src/sys/pkgsrc/textproc/source-highlight/work/source-highlight-1.9/src
*** Error code 1

Stop.
make: stopped in /usr/src/sys/pkgsrc/textproc/source-highlight/work/source-highlight-1.9/src
*** Error code 1

Stop.
make: stopped in /usr/src/sys/pkgsrc/textproc/source-highlight/work/source-highlight-1.9
*** Error code 1

Stop.
make: stopped in /usr/src/sys/pkgsrc/textproc/source-highlight/work/source-highlight-1.9
*** Error code 1

Stop.
make: stopped in /usr/src/sys/pkgsrc/textproc/source-highlight
*** Error code 1

Stop.
make: stopped in /sys/pkgsrc/textproc/source-highlight

>How-To-Repeat:
	make source-highlight in pkgsrc-current
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: seb 
State-Changed-When: Sun May 16 12:22:51 UTC 2004 
State-Changed-Why:  
Fix committed. Thanks for the report. 

From: Stoned Elipot <seb@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/25590 CVS commit: pkgsrc/textproc/source-highlight
Date: Sun, 16 May 2004 12:22:40 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	seb
 Date:		Sun May 16 12:22:40 UTC 2004

 Modified Files:
 	pkgsrc/textproc/source-highlight: Makefile distinfo
 Added Files:
 	pkgsrc/textproc/source-highlight/patches: patch-ae

 Log Message:
 Fix build with older GNU libstdc++ (mentioned in PR pkg/25590).
 While here add support for test target.


 To generate a diff of this commit:
 cvs rdiff -r1.12 -r1.13 pkgsrc/textproc/source-highlight/Makefile
 cvs rdiff -r1.7 -r1.8 pkgsrc/textproc/source-highlight/distinfo
 cvs rdiff -r0 -r1.3 pkgsrc/textproc/source-highlight/patches/patch-ae

 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.