But fails self-tests (10.6/i386):

* * * * LOG ENTRY 2 * * * *
cd /sw/build.build/autogen-5.10-2/autogen-5.10/build/agen5/test/testdir
gperf --version > /dev/null 2>&1 || die "no gperf program"
test -z ${gpdir} && {
  gpdir=`mktemp -d ./.gperf.XXXXXX` 2>/dev/null
  test -z "${gpdir}" && gpdir=.gperf.$$
  test -d ${gpdir} || mkdir ${gpdir} || die "cannot mkdir ${gpdir}"
}
cd ${gpdir} || die cannot cd into ${gpdir}
gpdir=`pwd`
gperf_gperf=${gpdir}/gperf

( cat <<- '_EOF_'
        %{
        #include <stdio.h>
        %}
        struct gperf_index { char const * name; int const idx; };
        %%
        _EOF_

  idx=1
  while read f
  do echo "${f}, ${idx}"
     idx=`expr ${idx} + 1`
  done <<- _EOLIST_
[...]
exec 2> gperf.log
gperf --language=ANSI-C -H gperf_hash -N gperf_find --null-strings \
      -C -E -I -t gperf.gperf > gperf-temp.c || \
   die "gperf failed on ${gpdir}/gperf.gperf
      `cat gperf.log`"
egrep -v '^_*inline$' gperf-temp.c > gperf.c
export CFLAGS=-g
${MAKE-make} gperf 1>&2
test $? -eq 0 -a -x ${gperf_gperf} || \
  die "could not build gperf program
      `cat gperf.log`"
exec 2>&8
echo
echo ShElL-OuTpUt-HaS-bEeN-cOmPlEtEd - 2
Killing AutoGen:  gperf failed on 
/sw/build.build/autogen-5.10-2/autogen-5.10/build/agen5/test/testdir/.gperf.lrb2PE/gperf.gperf
      gperf: unrecognized option `--null-strings'
Usage: gperf 
[-cCdDef[num]F<initializers>GhH<hashname>i<init>Ijk<keys>K<keyname>lL<language>nN<function
 name>ors<size>S<switches>tTvW<wordlistname>Z<class name>7] [input-file]
Try `gperf --help' for more information.
AutoGen aborting on signal 15 (Terminated) in state EMITTING
processing template gperf.tpl
            on line 4
       for function EXPR (12)
../../../agen5/test/gperf.test: line 81: 56368 Abort trap              ${AGexe} 
--trace=server-shell ${testname}.def
+ failure AutoGen failed
+ local 'PS4=>fail>'
>fail>:
>fail>cd /sw/build.build/autogen-5.10-2/autogen-5.10/build/agen5/test/testdir
>fail>test -d ../FAILURES
>fail>mkdir ../FAILURES
>fail>set +x
FAILURE: AutoGen failed
FAIL: gperf.test


I have fink's gperf-2.7.2-1012 installed, which does not seem to know
the --null-strings option. Apple's 10.6 gperf ("GNU gperf 3.0."3) does
and removing fink's allows self-test to succeed. So the self-test
suite needs to be patched to use /usr/bin/gperf instead of relying on
PATH.

dan
-- 
Daniel Macks
dma...@netspace.org


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to