Subject: pkg/15022: pkgsrc/devel/netcdf broken ("/usr/bin/m4 -B10000" fails)
To: None <gnats-bugs@gnats.netbsd.org>
From: Chuck Cranor <chuck@xxx.research.att.com>
List: netbsd-bugs
Date: 12/21/2001 14:09:37
>Number: 15022
>Category: pkg
>Synopsis: pkgsrc/devel/netcdf broken ("/usr/bin/m4 -B10000" fails)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 21 11:10:04 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Chuck Cranor
>Release: NetBSD-current
>Organization:
att
>Environment:
NetBSD/i386 current
>Description:
try building pkgsrc/devel/netcdf broken. compile fails
with m4 error.
>How-To-Repeat:
===> Validating dependencies for netcdf-3.4
=> Checksum OK for netcdf-3.4.tar.Z.
===> Extracting for netcdf-3.4
===> Required installed package f2c>=20001205nb3: f2c-20001205nb4 found
===> Required installed package libtool-base>=1.4.20010614nb4: libtool-base-1.4.20010614nb4 found
===> Patching for netcdf-3.4
===> Applying NetBSD patches for netcdf-3.4
===> Configuring for netcdf-3.4
creating cache ./config.cache
checking for m4... /usr/bin/m4
checking user-defined C compiler "cc"
checking C compiler... works
checking how to make dependencies... false
checking for c++... c++
checking C++ compiler "c++"... works
checking how to run the C preprocessor... cc -E
checking for xlf... no
checking for fort77... fort77
checking for Fortran .F compiler...
checking if Fortran compiler handles *.F files... yes
checking for C-equivalent to Fortran routine "SUB"... sub_
checking for Fortran "byte"... yes
checking for Fortran "integer*2"... yes
checking if Fortran "byte" is C "signed char"... yes
checking if Fortran "byte" is C "short"... no
checking if Fortran "byte" is C "int"... no
checking if Fortran "byte" is C "long"... no
checking if Fortran "integer*2" is C "short"... yes
checking if Fortran "integer*2" is C "int"... no
checking if Fortran "integer*2" is C "long"... no
checking if Fortran "integer" is C "int"... yes
checking if Fortran "real" is C "float"... yes
checking if Fortran "doubleprecision" is C "double"... yes
checking for Fortran-equivalent to netCDF "byte"... byte
checking for Fortran-equivalent to netCDF "short"... integer*2
checking for math library
checking for -lc... no
checking for -lm... yes
checking for ar... ar
checking for ranlib... ranlib
checking for stdlib.h... yes
checking for sys/types.h... yes
checking for strerror... yes
checking whether cross-compiling... no
checking for working ftruncate()... yes
checking for working alloca.h... no
checking for alloca... yes
checking for st_blksize in struct stat... yes
checking for IEEE floating point format... yes
checking for ANSI C header files... yes
checking for size_t... yes
checking for off_t... yes
checking for ssize_t... yes
checking for ptrdiff_t... yes
checking for uchar... no
checking whether char is unsigned... no
checking whether byte ordering is bigendian... no
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of float... 4
checking size of double... 8
checking size of off_t... 8
checking size of size_t... 4
checking for catman... catman
checking for manual-page index command... catman -w -M $(MANDIR)
checking binary distribution directory... /home/ftp/pub/binary/dummy_system
updating cache ./config.cache
creating ./config.status
creating macros.make
udcreating fortran/nfconfig.inc
creating libsrc/ncconfig.h
===> Building for netcdf-3.4
Making `all' in directory /usr/users/chuck/src/netbsd/cur/pkgsrc/devel/netcdf/work/netcdf-3.4/src/fortran
/usr/pkg/bin/libtool --mode=compile cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-attio.c
mkdir .libs
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-attio.c -fPIC -DPIC -o .libs/fort-attio.o
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-attio.c -o fort-attio.o >/dev/null 2>&1
/usr/pkg/bin/libtool --mode=compile cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-control.c
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-control.c -fPIC -DPIC -o .libs/fort-control.o
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-control.c -o fort-control.o >/dev/null 2>&1
/usr/pkg/bin/libtool --mode=compile cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-dim.c
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-dim.c -fPIC -DPIC -o .libs/fort-dim.o
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-dim.c -o fort-dim.o >/dev/null 2>&1
/usr/pkg/bin/libtool --mode=compile cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-genatt.c
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-genatt.c -fPIC -DPIC -o .libs/fort-genatt.o
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-genatt.c -o fort-genatt.o >/dev/null 2>&1
/usr/pkg/bin/libtool --mode=compile cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-geninq.c
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-geninq.c -fPIC -DPIC -o .libs/fort-geninq.o
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-geninq.c -o fort-geninq.o >/dev/null 2>&1
/usr/pkg/bin/libtool --mode=compile cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-genvar.c
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-genvar.c -fPIC -DPIC -o .libs/fort-genvar.o
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-genvar.c -o fort-genvar.o >/dev/null 2>&1
/usr/pkg/bin/libtool --mode=compile cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-lib.c
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-lib.c -fPIC -DPIC -o .libs/fort-lib.o
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-lib.c -o fort-lib.o >/dev/null 2>&1
/usr/pkg/bin/libtool --mode=compile cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-misc.c
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-misc.c -fPIC -DPIC -o .libs/fort-misc.o
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-misc.c -o fort-misc.o >/dev/null 2>&1
/usr/pkg/bin/libtool --mode=compile cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-v2compat.c
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-v2compat.c -fPIC -DPIC -o .libs/fort-v2compat.o
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-v2compat.c -o fort-v2compat.o >/dev/null 2>&1
/usr/pkg/bin/libtool --mode=compile cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-vario.c
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-vario.c -fPIC -DPIC -o .libs/fort-vario.o
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-vario.c -o fort-vario.o >/dev/null 2>&1
/usr/pkg/bin/libtool --mode=compile cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-var1io.c
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-var1io.c -fPIC -DPIC -o .libs/fort-var1io.o
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-var1io.c -o fort-var1io.o >/dev/null 2>&1
/usr/pkg/bin/libtool --mode=compile cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-varaio.c
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-varaio.c -fPIC -DPIC -o .libs/fort-varaio.o
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-varaio.c -o fort-varaio.o >/dev/null 2>&1
/usr/pkg/bin/libtool --mode=compile cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-varmio.c
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-varmio.c -fPIC -DPIC -o .libs/fort-varmio.o
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-varmio.c -o fort-varmio.o >/dev/null 2>&1
/usr/pkg/bin/libtool --mode=compile cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-varsio.c
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-varsio.c -fPIC -DPIC -o .libs/fort-varsio.o
cc -c -I/usr/pkg/include -O2 -I../libsrc -I/usr/pkg/include -Df2cFortran -Dunix fort-varsio.c -o fort-varsio.o >/dev/null 2>&1
/usr/bin/m4 -B10000 -DAPI=FORTRAN /usr/users/chuck/src/netbsd/cur/pkgsrc/devel/netcdf/work/netcdf-3.4/src/fortran/../man/netcdf.m4 >netcdf.3f || rm netcdf.3f
m4: unknown option -- B
m4: unknown option -- 1
m4: unknown option -- 0
m4: unknown option -- 0
m4: unknown option -- 0
m4: unknown option -- 0
m4: unknown option -- B
usage: /usr/bin/m4 [-Pg] [-Dname[=val]] [-I dirname] [-Uname]
[-d flags] [-o trfile] [-t macro]
Returning to directory /usr/users/chuck/src/netbsd/cur/pkgsrc/devel/netcdf/work/netcdf-3.4/src
Making `all' in directory /usr/users/chuck/src/netbsd/cur/pkgsrc/devel/netcdf/work/netcdf-3.4/src/libsrc
/usr/bin/m4 -B10000 attr.m4 >attr.c
m4: unknown option -- B
m4: unknown option -- 1
m4: unknown option -- 0
m4: unknown option -- 0
m4: unknown option -- 0
m4: unknown option -- 0
m4: unknown option -- B
usage: /usr/bin/m4 [-Pg] [-Dname[=val]] [-I dirname] [-Uname]
[-d flags] [-o trfile] [-t macro]
*** Error code 1
Stop.
make: stopped in /usr/users/chuck/src/netbsd/cur/pkgsrc/devel/netcdf/work/netcdf-3.4/src/libsrc
*** Error code 1
Stop.
make: stopped in /usr/users/chuck/src/netbsd/cur/pkgsrc/devel/netcdf/work/netcdf-3.4/src
*** Error code 1
Stop.
make: stopped in /usr/users/chuck/src/netbsd/cur/pkgsrc/devel/netcdf/work/netcdf-3.4/src
*** Error code 1
Stop.
make: stopped in /usr/users/chuck/src/netbsd/cur/pkgsrc/devel/netcdf
*** Error code 1
Stop.
make: stopped in /usr/users/chuck/src/netbsd/cur/pkgsrc/devel/netcdf
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: