Subject: pkg/23024: xosview not compiling under 1.6ZC
To: None <gnats-bugs@gnats.netbsd.org>
From: None <perry@piermont.com>
List: netbsd-bugs
Date: 09/30/2003 17:41:35
>Number:         23024
>Category:       pkg
>Synopsis:       xosview not compiling under 1.6ZC
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 30 21:42:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Perry E. Metzger
>Release:        NetBSD 1.6ZC
>Organization:
Perry E. Metzger		perry@piermont.com
--
"Ask not what your country can force other people to do for you..."
>Environment:
	
	
System: NetBSD alchemist 1.6ZC NetBSD 1.6ZC (ALCHEMIST) #0: Mon Sep 22 14:13:46 EDT 2003 perry@alchemist:/usr/src/sys/arch/i386/compile/ALCHEMIST i386
Architecture: i386
Machine: i386
>Description:
	xosview won't build under 1.6ZC (i.e. -current as of this writing).
>How-To-Repeat:

	Transcript of building in the xosview directory:

	Script started on Tue Sep 30 17:38:20 2003
alchemist# make
===> *** No /usr/pkgsrc/distfiles/pkg-vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
=> Checksum OK for xosview-1.7.0.b.tar.gz.
===> Extracting for xosview-1.7.0b
===> Required installed package xpkgwedge>=1.5: xpkgwedge-1.7 found
===> Required installed package x11-links>=0.12: x11-links-0.12 found
==========================================================================
The following variables will affect the build process of this package,
xosview-1.7.0b.  Their current value is shown below:

        * UVM (defined)

You may want to abort the process now with CTRL+C and change their value
before continuing.  Be sure to run `make clean' after the changes.
==========================================================================
===> Patching for xosview-1.7.0b
===> Applying pkgsrc patches for xosview-1.7.0b
===> Overriding tools for xosview-1.7.0b
===> Buildlinking for xosview-1.7.0b
===> Configuring for xosview-1.7.0b
creating cache ./config.cache
checking host system type... i386-unknown-netbsd1.6ZC
checking for c++... c++
checking whether the C++ compiler (c++ -O2 -DUVM -I/usr/pkg/include -I/usr/X11R6/include  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib) works... yes
checking whether the C++ compiler (c++ -O2 -DUVM -I/usr/pkg/include -I/usr/X11R6/include  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking whether c++ supports bool types... yes
checking whether c++ supports long long types... yes
checking how to run the C preprocessor... cc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking for mawk... /usr/bin/awk
checking for ranlib... ranlib
disabled automatic dependencies by default
checking for snprintf... yes
checking for X11/xpm.h... yes
checking for XpmCreateImageFromData in -lXpm... yes
configure: warning: 
***************  Warning  *****************
  xosview has not been tested on netbsd1.6ZC.
  So far, it is known to work on the following NetBSD versions:
    netbsd1.0
    netbsd1.1
    netbsd1.2
    netbsd1.2.1
    netbsd1.3 through 1.3I
  If it works for version netbsd1.6ZC, please send mail to:
	bgrayson@ece.utexas.edu.
  If this message is in error, also notify bgrayson -- we're new
to autoconf!
  Thanks!
*******************************************

host_dir is bsd
checking for swapctl... yes
configure: warning: /dev/apm detected -- enabling the battery meter!
checking for usleep... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating bsd/Makefile
creating Makefile.config
creating Makefile.GNU.autodep
===> Building for xosview-1.7.0b
cd ./bsd && make
c++ -O2 -DUVM -I/usr/pkg/include -I/usr/X11R6/include -O2 -DUVM -I/usr/pkg/include -I/usr/X11R6/include -Wall -O4 -pipe -I/usr/X11R6/include  -I/usr/pkgsrc/sysutils/xosview/work.alchemist/xosview-1.7.0.b -I/usr/pkgsrc/sysutils/xosview/work.alchemist/xosview-1.7.0.b/bsd -I/usr/pkgsrc/sysutils/xosview/work.alchemist/xosview-1.7.0.b/include  -DHAVE_BOOL=1 -DLONG_LONG=long\ long -DHAVE_SNPRINTF=1 -DHAVE_XPM=1 -DXOSVIEW_NETBSD=1 -DHAVE_SWAPCTL=1 -DHAVE_BATTERY_METER=1 -DHAVE_USLEEP=1 -I.. -c MeterMaker.cc -o MeterMaker.o
In file included from MeterMaker.cc:16:
/usr/pkgsrc/sysutils/xosview/work.alchemist/xosview-1.7.0.b/general.h:23:23: _G_config.h: No such file or directory
In file included from MeterMaker.cc:16:
/usr/pkgsrc/sysutils/xosview/work.alchemist/xosview-1.7.0.b/general.h:36: error: parse
   error before `bool'
In file included from /usr/include/g++/backward/iostream.h:31,
                 from /usr/pkgsrc/sysutils/xosview/work.alchemist/xosview-1.7.0.b/xwin.h:12,
                 from /usr/pkgsrc/sysutils/xosview/work.alchemist/xosview-1.7.0.b/xosview.h:14,
                 from MeterMaker.cc:18:
/usr/include/g++/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
In file included from /usr/pkgsrc/sysutils/xosview/work.alchemist/xosview-1.7.0.b/xosview.h:14,
                 from MeterMaker.cc:18:
/usr/pkgsrc/sysutils/xosview/work.alchemist/xosview-1.7.0.b/xwin.h:108: error: friend
   declaration requires class-key, i.e. `friend class XWin'
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/xosview/work.alchemist/xosview-1.7.0.b/bsd
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/xosview/work.alchemist/xosview-1.7.0.b
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/xosview
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/xosview
alchemist# 
Script done on Tue Sep 30 17:38:41 2003

>Fix:
	No clue.
>Release-Note:
>Audit-Trail:
>Unformatted: