[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 980326: HELP: fan 2.0.2 testing fails



>To: address@hidden
>cc: address@hidden,
>cc: address@hidden
>From: address@hidden (Max Monahan)
>Subject: HELP: fan 2.0.2 testing fails
>Organization: Bureau of Meteorology, Melbourne,Australia
>Keywords: 199803260049.RAA10673

Hi Max,

> I'm installing fan 2.0.2 and having trouble. It seems to compile okay
> but the make test fails. I know nothing at all about this package as I am
> installing it for someone else.
> 
> Can you tell me if the package is okay or not and if not please advise
> me where I'm going wrong. Below is the info you require.
> 
> If any further info or testing is required please don't hesitate to
> contact me.

From the output you sent (appended), it appears that the package is OK
and the "make test" is only failing for unimportant reasons, such as a
slight change in the format of one of the netCDF programs it uses in
testing (ncdump no longer includes an extra blank line before the
"data:" section).  I'm partly responsible for the "make test" failing,
because I made this change in ncdump output after FAN 2.0.2 was
released, thinking it was only cosmetic and forgetting that other
programs might be relying on it.

--Russ

_____________________________________________________________________

Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu


> ========================================================================
> If you still can't build this package, then please send a description of
> the problem together with the following to <address@hidden>:
> 
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 1.  The standard output of the command "uname -a".
> 
>    cascade{root}#uname -a
>    HP-UX cascade B.10.20 A 9000/813 2009652606 two-user license
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 2.  The contents of the file VERSION, which is in the top-level
>     source directory.
>  
>    cascade{root}#cat VERSION
>    2.0.2
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    
> 3.  The standard output and error output of the configure script (step 4 
> above).
> 
> ./configure > log 2>&1 &
> 
> cascade{root}#cat log
> creating cache ./config.cache
> checking for catman... catman
> checking the installation prefix... /sware/fan-2.0.2
> checking the installation exec-prefix... /sware/fan-2.0.2
> checking for C compiler... /usr/bin/cc
> checking for standard C string generation... yes
> checking for C function prototypes... yes
> checking how to run the C preprocessor... /usr/bin/cc -E
> checking the C preprocessor... works
> checking type of operating system... hpux10
> checking for dependency generation mechanism... /usr/bin/cc -M
> checking for ar... ar
> checking for ranlib... ranlib
> checking for tar flags... -chof
> checking for ncdump... ncdump
> checking for ncgen... ncgen
> checking for ksh... ksh
> checking for C function prototypes... yes
> checking for standard C string generation... yes
> checking for netCDF header-file... -I/sware/netcdf-3.4/include
> checking for netCDF library... -L/sware/netcdf-3.4/lib/ -lnetcdf
> checking for XDR library... 
> checking for xdr_long in default library... yes
> checking for udunits header-file... -I/sware/udunits-1.11.6/include
> checking for udunits library... -L/sware/udunits-1.11.6/lib -ludunits -ludport
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> creating fanlib/Makefile
> creating idl/Makefile
> creating nc2text/Makefile
> creating ncrob/Makefile
> creating ncmeta/Makefile
> creating port/Makefile
> creating text2nc/Makefile
> creating doc/Makefile
> creating doc/fan_utils/Makefile
> creating port/master.mk
> creating port/Makefile
> creating config.h
> config.h is unchanged
> expanding `include's in file `Makefile'
> expanding `include's in file `fanlib/Makefile'
> expanding `include's in file `idl/Makefile'
> expanding `include's in file `nc2text/Makefile'
> expanding `include's in file `ncrob/Makefile'
> expanding `include's in file `ncmeta/Makefile'
> expanding `include's in file `port/Makefile'
> expanding `include's in file `text2nc/Makefile'
> expanding `include's in file `doc/Makefile'
> expanding `include's in file `doc/fan_utils/Makefile'
> expanding `include's in file `port/master.mk'
> expanding `include's in file `port/Makefile'
> cascade{root}#
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
> 4.  The absolute pathname of the C compiler used in the build
>     process (use the type(1) or which(1) utility to determine this).
> 
> cascade{root}#which cc
> /usr/bin/cc
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 5.  The contents of the file "config.log", which is in the top-level
>     source directory.
>     
> cascade{root}#cat config.log
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
> configure:991: /usr/bin/cc -c -Aa -D_POSIX_SOURCE conftest.c 1>&5
> configure:1028: /usr/bin/cc -c -Aa -D_POSIX_SOURCE conftest.c 1>&5
> configure:1077: /usr/bin/cc -E -D_POSIX_SOURCE conftest.c >/dev/null 
> 2>conftest.out
> configure:1118: /usr/bin/cc -E -D_POSIX_SOURCE conftest.c >/dev/null 
> 2>conftest.out
> configure:1452: /usr/bin/cc -c -Aa -D_POSIX_SOURCE conftest.c 1>&5
> configure:1480: /usr/bin/cc -c -Aa -D_POSIX_SOURCE conftest.c 1>&5
> configure:1571: /usr/bin/cc -o conftest -Aa -D_POSIX_SOURCE  conftest.c  1>&5
> cascade{root}#
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 6.  The standard output and error output of the command "make".
> 
> ./make  > makelog 2>&1 &
> 
> cascade{root}#cat makelog
> 
> making `all' in directory /sware/fan-2.0.2/src/port
> 
> 
> returning to directory /sware/fan-2.0.2/src
> 
> 
> making `all' in directory /sware/fan-2.0.2/src/fanlib
> 
>         /usr/bin/cc -c -Aa -I.. -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE Calloc.c
>         /usr/bin/cc -c -Aa -I.. -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE argSplit.c
>         /usr/bin/cc -c -Aa -I.. -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE d2nc.c
>         /usr/bin/cc -c -Aa -I.. -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE get_missing_value.c
>         /usr/bin/cc -c -Aa -I.. -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE get_scalar_att.c
>         /usr/bin/cc -c -Aa -I.. -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE get_str_att.c
>         /usr/bin/cc -c -Aa -I.. -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE get_valid_range.c
>         /usr/bin/cc -c -Aa -I.. -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE get_var.c
>         /usr/bin/cc -c -Aa -I.. -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE nasParse.c
>         /usr/bin/cc -c -Aa -I.. -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE nasScan.c
>         /usr/bin/cc -c -Aa -I.. -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE nc2d.c
>         /usr/bin/cc -c -Aa -I.. -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE nca_io.c
>         /usr/bin/cc -c -Aa -I.. -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE ncattnum.c
>         /usr/bin/cc -c -Aa -I.. -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE mystrdup.c
>         /usr/bin/cc -c -Aa -I.. -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE print_var.c
>         /usr/bin/cc -c -Aa -I.. -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE put_history.c
>         /usr/bin/cc -c -Aa -I.. -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE put_str_att.c
>         /usr/bin/cc -c -Aa -I.. -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE put_var.c
>         /usr/bin/cc -c -Aa -I.. -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE put_var_stdout.c
>         /usr/bin/cc -c -Aa -I.. -I/sware/netcdf-3.4/include 
> -I/sware/udunits-1.1
> 1.6/include -D_POSIX_SOURCE str2vec.c
>         /usr/bin/cc -c -Aa -I.. -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE str_cat.c
>         /usr/bin/cc -c -Aa -I.. -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE str_cmp.c
>         /usr/bin/cc -c -Aa -I.. -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE str_trim.c
>         /usr/bin/cc -c -Aa -I.. -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE unitLib.c
>         ar rcuv libfan.a Calloc.o  argSplit.o  d2nc.o  get_missing_value.o  
> get_scalar_att.o  get_str_att.o  get_valid_range.o  get_var.o  nasParse.o  
> nasScan.o  nc2d.o  nca_io.o  ncattnum.o
> a - Calloc.o
> a - argSplit.o
> a - d2nc.o
> a - get_missing_value.o
> a - get_scalar_att.o
> a - get_str_att.o
> a - get_valid_range.o
> a - get_var.o
> a - nasParse.o
> a - nasScan.o
> a - nc2d.o
> a - nca_io.o
> a - ncattnum.o
>         case "mystrdup.o  print_var.o  put_history.o  put_str_att.o  
> put_var.o  
> put_var_stdout.o  str2vec.o  str_cat.o  str_cmp.o  str_trim.o  unitLib.o" in \
>         '') ;; \
>         *)  ar rucv libfan.a mystrdup.o  print_var.o  put_history.o  
> put_str_att.o  put_var.o  put_var_stdout.o  str2vec.o  str_cat.o  str_cmp.o  
> str_trim.o  unitLib.o;; \
>         esac
> a - mystrdup.o
> a - print_var.o
> a - put_history.o
> a - put_str_att.o
> a - put_var.o
> a - put_var_stdout.o
> a - str2vec.o
> a - str_cat.o
> a - str_cmp.o
> a - str_trim.o
> a - unitLib.o
>         ranlib libfan.a
> 
> returning to directory /sware/fan-2.0.2/src
> 
> 
> making `all' in directory /sware/fan-2.0.2/src/nc2text
> 
>         /usr/bin/cc -c -Aa -I.. -I../fanlib -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE nc2text.c
> /usr/bin/cc -o nc2text -Aa nc2text.o -L../fanlib -lfan 
> -L/sware/netcdf-3.4/lib/ 
> - -lnetcdf -L/sware/udunits-1.11.6/lib -ludunits -ludport -lm -lm
> 
> returning to directory /sware/fan-2.0.2/src
> 
> 
> making `all' in directory /sware/fan-2.0.2/src/ncmeta
> 
>         /usr/bin/cc -c -Aa -I.. -I../fanlib -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE ncmeta.c
> /usr/bin/cc -o ncmeta -Aa ncmeta.o -L../fanlib -lfan -L/sware/netcdf-3.4/lib/ 
> - -lnetcdf -L/sware/udunits-1.11.6/lib -ludunits -ludport -lm -lm
> 
> returning to directory /sware/fan-2.0.2/src
> 
> 
> making `all' in directory /sware/fan-2.0.2/src/ncrob
> 
>         /usr/bin/cc -c -Aa -I.. -I../fanlib -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE ncrob.c
> /usr/bin/cc -o ncrob -Aa ncrob.o -L../fanlib -lfan -L/sware/netcdf-3.4/lib/ 
> - -lnetcdf -L/sware/udunits-1.11.6/lib -ludunits -ludport -lm -lm
> 
> returning to directory /sware/fan-2.0.2/src
> 
> 
> making `all' in directory /sware/fan-2.0.2/src/text2nc
> 
>         /usr/bin/cc -c -Aa -I.. -I../fanlib -I/sware/netcdf-3.4/include 
> - -I/sware/udunits-1.11.6/include -D_POSIX_SOURCE text2nc.c
> /usr/bin/cc -o text2nc -Aa text2nc.o -L../fanlib -lfan 
> -L/sware/netcdf-3.4/lib/ 
> - -lnetcdf -L/sware/udunits-1.11.6/lib -ludunits -ludport -lm -lm
> 
> returning to directory /sware/fan-2.0.2/src
> 
> 
> making `all' in directory /sware/fan-2.0.2/src/doc
> 
> 
> making `all' in directory /sware/fan-2.0.2/src/doc/fan_utils
> 
> 
> returning to directory /sware/fan-2.0.2/src/doc
> 
> 
> returning to directory /sware/fan-2.0.2/src
> 
> cascade{root}#
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 7.  The standard output and error output of the command "make test".
>       
> make test > maketestlog 2>&1 &
> cascade{root}#cat maketestlog
> 
> making `test' in directory /sware/fan-2.0.2/src/nc2text
> 
> /usr/bin/cc -o nc2text -Aa nc2text.o -L../fanlib -lfan 
> -L/sware/netcdf-3.4/lib/ 
> - -lnetcdf -L/sware/udunits-1.11.6/lib -ludunits -ludport -lm -lm
>         PATH=.:$PATH ksh Test.sh >test.out 2>&1
> 26d25
> < 
> ### Failure ###
> 
> returning to directory /sware/fan-2.0.2/src
> 
> 
> making `test' in directory /sware/fan-2.0.2/src/ncmeta
> 
>         PATH=.:$PATH ksh Test.sh >test.out 2>&1
> 17c17
> <       long year(year) ;
> - ---
> >       int year(year) ;
> ### Failure ###
> 
> returning to directory /sware/fan-2.0.2/src
> 
> 
> making `test' in directory /sware/fan-2.0.2/src/ncrob
> 
> /usr/bin/cc -o ncrob -Aa ncrob.o -L../fanlib -lfan -L/sware/netcdf-3.4/lib/ 
> - -lnetcdf -L/sware/udunits-1.11.6/lib -ludunits -ludport -lm -lm
>         PATH=.:$PATH ksh Test.sh >test.out 2>&1
> 24d23
> < 
> 59d57
> < 
> 86d83
> < 
> 113d109
> < 
> 140d135
> < 
> 167d161
> < 
> 194d187
> < 
> 221d213
> < 
> 248d239
> < 
> 275d265
> < 
> 302d291
> < 
> 329d317
> < 
> 361d348
> < 
> 391d377
> < 
> 424d409
> < 
> 447d431
> < 
> 470d453
> < 
> 493d475
> < 
> 516d497
> < 
> 539d519
> < 
> 562d541
> < 
> 585d563
> < 
> 608d585
> < 
> 631d607
> < 
> 654d629
> < 
> 677d651
> < 
> 700d673
> < 
> 723d695
> < 
> 746d717
> < 
> 769d739
> < 
> 814d783
> < 
> 859d827
> < 
> 883d850
> < 
> 907d873
> < 
> 932d897
> < 
> 957d921
> < 
> 981d944
> < 
> 1005d967
> < 
> 1029d990
> < 
> 1053d1013
> < 
> 1077d1036
> < 
> 1101d1059
> < 
> 1141d1098
> < 
> 1178c1135
> <       long year(year) ;
> - ---
> >       int year(year) ;
> 1251d1207
> < 
> 1378d1333
> < 
> ### Failure ###
> The above failure may be ignored, however,
> if the numerical difference is small
> 
> returning to directory /sware/fan-2.0.2/src
> 
> 
> making `test' in directory /sware/fan-2.0.2/src/text2nc
> 
>         PATH=.:$PATH ksh Test.sh >test.out 2>&1
> 21d20
> < 
> 39d37
> < 
> 73c71
> <       long year(year) ;
> - ---
> >       int year(year) ;
> 88d85
> < 
> 138d134
> < 
> ### Failure ###
> 
> returning to directory /sware/fan-2.0.2/src
> 
> cascade{root}#
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~