Subject: pkg/25590: source-highlight breaks on compile
To: None <gnats-bugs@gnats.netbsd.org>
From: None <diro@nixsys.bz>
List: pkgsrc-bugs
Date: 05/16/2004 01:45:02
>Number:         25590
>Category:       pkg
>Synopsis:       source-highlight breaks on compile
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 16 05:47:00 UTC 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted: