Subject: pkg/23720: gtexinfo from 2003Q4 unable to build asis under Solaris 8
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <tdamato@odu.edu>
List: netbsd-bugs
Date: 12/11/2003 19:01:58
>Number:         23720
>Category:       pkg
>Synopsis:       gtexinfo from 2003Q4 unable to build asis under Solaris 8
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 11 19:03:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Tony D'Amato
>Release:        Solaris 8
>Organization:
Old Dominion University
>Environment:
SunOS krypto 5.8 Generic_108528-23 sun4u sparc SUNW,Sun-Blade-100
>Description:
I've been using the pkgsrc for a while under Solaris, and I love it! However, I am unable to build devel/gtexinfo from the 2003Q4 pkgsrc on Solaris 8 as distributed. It was unable to locate termcap.h (Solaris does not distribute it in the base distribution.) The following is a 'bmake build' which shows what happens. (We put the pkgsrc sources into AFS, which is why the paths look a little funny). I was able to work around this, and I've documented it in the 'Fix' section.

Thanks!!

 [1:48pm]  krypto:/usr/pkgsrc/devel/gtexinfo] bmake clean
===> Cleaning for gtexinfo-4.6nb1
 [1:48pm]  krypto:/usr/pkgsrc/devel/gtexinfo] bmake build
===> Checking for vulnerabilities in gtexinfo-4.6nb1
=> Checksum OK for texinfo-4.6.tar.bz2.
===> Extracting for gtexinfo-4.6nb1
===> Required installed package pkg_install-info-[0-9]*: pkg_install-info-4.5nb2 found
===> Required installed package gettext-lib>=0.11.5nb1: gettext-lib-0.11.5nb2 found
===> Required installed package libiconv>=1.9.1: libiconv-1.9.1nb1 found
===> Patching for gtexinfo-4.6nb1
===> Applying pkgsrc patches for gtexinfo-4.6nb1
/usr/bin/mv -f /afs/lions.odu.edu/sun4x_58/pkgsrc-2003Q4/pkgsrc/devel/gtexinfo/work/texinfo-4.6/info/filesys.h /afs/lions.odu.edu/sun4x_58/pkgsrc-2003Q4/pkgsrc/devel/gtexinfo/work/texinfo-4.6/info/filesys.h.orig
/usr/pubsw/bin/sed -e 's|@PREFIX@|/usr/pubsw|g'          -e 's|@X11BASE@|/usr/openwin|g'                 -e 's|@LOCALBASE@|/usr/pubsw|g'         < /afs/lions.odu.edu/sun4x_58/pkgsrc-2003Q4/pkgsrc/devel/gtexinfo/work/texinfo-4.6/info/filesys.h.orig          > /afs/lions.odu.edu/sun4x_58/pkgsrc-2003Q4/pkgsrc/devel/gtexinfo/work/texinfo-4.6/info/filesys.h
===> Overriding tools for gtexinfo-4.6nb1
===> Buildlinking for gtexinfo-4.6nb1
===> Configuring for gtexinfo-4.6nb1
=> Fixing locale directory references.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/pubsw/bin/install-sh -c -o root -g root
checking whether build environment is sane... yes
checking for gawk... /usr/pubsw/bin/gawk
checking whether bmake sets $(MAKE)... yes
checking for sparc-sun-solaris2-strip... no
checking for strip... strip
checking for sparc-sun-solaris2-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by bmake... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /usr/pubsw/bin/install-sh -c -o root -g root
checking whether bmake sets $(MAKE)... (cached) yes
checking for sparc-sun-solaris2-ranlib... no
checking for ranlib... ranlib
checking for strerror in -lcposix... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for sigblock... no
checking for sigblock in -lbsd... no
checking whether stat file-mode macros are broken... no
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking termcap.h usability... no
checking termcap.h presence... no
checking for termcap.h... no
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/stream.h usability... yes
checking sys/stream.h presence... yes
checking for sys/stream.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/ttold.h usability... yes
checking sys/ttold.h presence... yes
checking for sys/ttold.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for sys/ptem.h... yes
checking POSIX termios... yes
checking whether termios.h defines TIOCGWINSZ... yes
checking for off_t... yes
checking return type of signal handlers... void
checking for an ANSI C-conforming const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether strerror is declared... yes
checking whether strcasecmp is declared... yes
checking whether strncasecmp is declared... yes
checking whether strcoll is declared... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for working strcoll... yes
checking for vprintf... yes
checking for _doprnt... yes
checking for bzero... yes
checking for getcwd... yes
checking for memset... yes
checking for setvbuf... yes
checking for sigaction... yes
checking for sigprocmask... yes
checking for sigsetmask... no
checking for strchr... yes
checking for memcpy... yes
checking for memmove... yes
checking for strdup... yes
checking for strcasecmp... yes
checking for strerror... yes
checking for strncasecmp... yes
checking build system type... sparc-sun-solaris2.8
checking for tgetent in -lcurses... yes
checking for library with termcap variables... curses
checking for fcntl.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether getenv is declared... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unsigned long long... yes
checking for mkstemp... yes
checking for mkstemp limitations... no
checking host system type... sparc-sun-solaris2
checking whether NLS is requested... yes
checking for msgfmt... /usr/pubsw/bin/msgfmt
checking for gmsgfmt... /usr/pubsw/bin/msgfmt
checking for xgettext... no
checking for msgmerge... /usr/pubsw/bin/msgmerge
checking for inline... inline
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... no
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... no
checking for shared library run path origin... done
checking argz.h usability... no
checking argz.h presence... no
checking for argz.h... no
checking for limits.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... no
checking for fgets_unlocked... no
checking for getc_unlocked... yes
checking for getcwd... (cached) yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... no
checking for munmap... yes
checking for putenv... yes
checking for setenv... no
checking for setlocale... yes
checking for stpcpy... no
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... no
checking for __argz_stringify... no
checking for __argz_next... no
checking for __fsetlocking... yes
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 1.875, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... no
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /usr/pubsw/lib/libintl.so /usr/pubsw/lib/libiconv.so -lc -R/usr/pubsw/lib
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating info/Makefile
config.status: creating intl/Makefile
config.status: creating lib/Makefile
config.status: creating m4/Makefile
config.status: creating makeinfo/Makefile
config.status: creating makeinfo/tests/Makefile
config.status: creating po/Makefile.in
config.status: creating util/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
===> Building for gtexinfo-4.6nb1
cd . && /bin/ksh /afs/lions.odu.edu/sun4x_58/pkgsrc-2003Q4/pkgsrc/devel/gtexinfo/work/texinfo-4.6/missing --run aclocal-1.7 -I m4
WARNING: `aclocal' is missing on your system.  You should only need it if
         you modified `acinclude.m4' or `configure.ac'.  You might want
         to install the `Automake' and `Perl' packages.  Grab them from
         any GNU archive site.
cd . && /bin/ksh /afs/lions.odu.edu/sun4x_58/pkgsrc-2003Q4/pkgsrc/devel/gtexinfo/work/texinfo-4.6/missing --run autoheader
WARNING: `autoheader' is missing on your system.  You should only need it if
         you modified `acconfig.h' or `configure.ac'.  You might want
         to install the `Autoconf' and `GNU m4' packages.  Grab them
         from any GNU archive site.
touch ./config.in
cd . && /bin/ksh /afs/lions.odu.edu/sun4x_58/pkgsrc-2003Q4/pkgsrc/devel/gtexinfo/work/texinfo-4.6/missing --run autoconf
WARNING: `autoconf' is missing on your system.  You should only need it if
         you modified `configure.ac'.  You might want to install the
         `Autoconf' and `GNU m4' packages.  Grab them from any GNU
         archive site.
/bin/ksh ./config.status --recheck
running /bin/ksh ./configure  --with-libiconv-prefix=/usr/pubsw --with-libintl-prefix=/usr/pubsw --host=sparc-sun-solaris2 --prefix=/usr/pubsw --x-includes=/usr/openwin/include --x-libraries=/usr/openwin/lib CC=gcc CFLAGS=-O -I/usr/pubsw/include CPPFLAGS=  -I/usr/pubsw/include LDFLAGS= -Wl,-R/usr/pubsw/lib -L/usr/pubsw/lib -liconv host_alias=sparc-sun-solaris2  --no-create --no-recursion
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for sparc-sun-solaris2-strip... no
checking for strip... strip
checking for sparc-sun-solaris2-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... /usr/pubsw/gcc-3.3/bin/cpp
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... ./install-sh -c
checking whether make sets $(MAKE)... (cached) yes
checking for sparc-sun-solaris2-ranlib... no
checking for ranlib... ranlib
checking for strerror in -lcposix... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for sigblock... no
checking for sigblock in -lbsd... no
checking whether stat file-mode macros are broken... no
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking termcap.h usability... no
checking termcap.h presence... yes
configure: WARNING: termcap.h: present but cannot be compiled
configure: WARNING: termcap.h: check for missing prerequisite headers?
configure: WARNING: termcap.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for termcap.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/stream.h usability... yes
checking sys/stream.h presence... yes
checking for sys/stream.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/ttold.h usability... yes
checking sys/ttold.h presence... yes
checking for sys/ttold.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for sys/ptem.h... yes
checking POSIX termios... yes
checking whether termios.h defines TIOCGWINSZ... yes
checking for off_t... yes
checking return type of signal handlers... void
checking for an ANSI C-conforming const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether strerror is declared... yes
checking whether strcasecmp is declared... yes
checking whether strncasecmp is declared... yes
checking whether strcoll is declared... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for working strcoll... yes
checking for vprintf... yes
checking for _doprnt... yes
checking for bzero... yes
checking for getcwd... yes
checking for memset... yes
checking for setvbuf... yes
checking for sigaction... yes
checking for sigprocmask... yes
checking for sigsetmask... no
checking for strchr... yes
checking for memcpy... yes
checking for memmove... yes
checking for strdup... yes
checking for strcasecmp... yes
checking for strerror... yes
checking for strncasecmp... yes
checking build system type... sparc-sun-solaris2.8
checking for tgetent in -lcurses... yes
checking for library with termcap variables...
checking for fcntl.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether getenv is declared... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unsigned long long... yes
checking for mkstemp... yes
checking for mkstemp limitations... no
checking host system type... sparc-sun-solaris2
checking whether NLS is requested... yes
checking for msgfmt... /usr/pubsw/bin/msgfmt
checking for gmsgfmt... /usr/pubsw/bin/msgfmt
checking for xgettext... no
checking for msgmerge... /usr/pubsw/bin/msgmerge
checking for inline... inline
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... no
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... no
checking for shared library run path origin... done
checking argz.h usability... no
checking argz.h presence... no
checking for argz.h... no
checking for limits.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... no
checking for fgets_unlocked... no
checking for getc_unlocked... yes
checking for getcwd... (cached) yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... no
checking for munmap... yes
checking for putenv... yes
checking for setenv... no
checking for setlocale... yes
checking for stpcpy... no
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... no
checking for __argz_stringify... no
checking for __argz_next... no
checking for __fsetlocking... yes
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 1.875, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... no
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /usr/pubsw/lib/libintl.so /usr/pubsw/lib/libiconv.so -lc -R/usr/pubsw/lib
configure: creating ./config.status
cd . && /bin/ksh ./config.status config.h
config.status: creating config.h
bmake  all-recursive
Making all in intl
Making all in m4
cd .. &&  /bin/ksh /afs/lions.odu.edu/sun4x_58/pkgsrc-2003Q4/pkgsrc/devel/gtexinfo/work/texinfo-4.6/missing --run automake-1.7 --gnu  m4/Makefile
WARNING: `automake' is missing on your system.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
cd .. && /bin/ksh ./config.status m4/Makefile
config.status: creating m4/Makefile
Making all in lib
cd .. && /bin/ksh ./config.status lib/Makefile depfiles
config.status: creating lib/Makefile
config.status: executing depfiles commands
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo"  -c -o getopt.o `test -f 'getopt.c' || echo './'`getopt.c;  then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po";  else rm -f ".deps/getopt.Tpo"; exit 1;  fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT getopt1.o -MD -MP -MF ".deps/getopt1.Tpo"  -c -o getopt1.o `test -f 'getopt1.c' || echo './'`getopt1.c;  then mv -f ".deps/getopt1.Tpo" ".deps/getopt1.Po";  else rm -f ".deps/getopt1.Tpo"; exit 1;  fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT substring.o -MD -MP -MF ".deps/substring.Tpo"  -c -o substring.o `test -f 'substring.c' || echo './'`substring.c;  then mv -f ".deps/substring.Tpo" ".deps/substring.Po";  else rm -f ".deps/substring.Tpo"; exit 1;  fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT xexit.o -MD -MP -MF ".deps/xexit.Tpo"  -c -o xexit.o `test -f 'xexit.c' || echo './'`xexit.c;  then mv -f ".deps/xexit.Tpo" ".deps/xexit.Po";  else rm -f ".deps/xexit.Tpo"; exit 1;  fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT xmalloc.o -MD -MP -MF ".deps/xmalloc.Tpo"  -c -o xmalloc.o `test -f 'xmalloc.c' || echo './'`xmalloc.c;  then mv -f ".deps/xmalloc.Tpo" ".deps/xmalloc.Po";  else rm -f ".deps/xmalloc.Tpo"; exit 1;  fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT xstrdup.o -MD -MP -MF ".deps/xstrdup.Tpo"  -c -o xstrdup.o `test -f 'xstrdup.c' || echo './'`xstrdup.c;  then mv -f ".deps/xstrdup.Tpo" ".deps/xstrdup.Po";  else rm -f ".deps/xstrdup.Tpo"; exit 1;  fi
rm -f libtxi.a
ar cru libtxi.a getopt.o getopt1.o  substring.o xexit.o xmalloc.o  xstrdup.o
ranlib libtxi.a
Making all in info
if gcc -DHAVE_CONFIG_H -DINFODIR=\"/usr/pubsw/info\" -DLOCALEDIR="\"/usr/pubsw/lib/locale\"" -I. -I. -I.. -I. -I../lib -I../intl -I.. -I.   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT makedoc.o -MD -MP -MF ".deps/makedoc.Tpo"  -c -o makedoc.o `test -f 'makedoc.c' || echo './'`makedoc.c;  then mv -f ".deps/makedoc.Tpo" ".deps/makedoc.Po";  else rm -f ".deps/makedoc.Tpo"; exit 1;  fi
gcc  -O -I/usr/pubsw/include  -Wl,-R/usr/pubsw/lib -L/usr/pubsw/lib -liconv -o makedoc  makedoc.o ../lib/libtxi.a -lcurses /usr/pubsw/lib/libintl.so /usr/pubsw/lib/libiconv.so -lc -R/usr/pubsw/lib -L/usr/pubsw/lib -Wl,-R/usr/pubsw/lib -lintl -Wl,-R/usr/pubsw/lib -L/usr/pubsw/lib -liconv
rm -f doc.c funs.h key.c
./makedoc ./session.c ./echo-area.c ./infodoc.c  ./m-x.c ./indices.c ./nodemenu.c  ./footnotes.c ./variables.c
bmake  all-am
cd .. && /bin/ksh ./config.status info/Makefile depfiles
config.status: creating info/Makefile
config.status: executing depfiles commands
if gcc -DHAVE_CONFIG_H -DINFODIR=\"/usr/pubsw/info\" -DLOCALEDIR="\"/usr/pubsw/lib/locale\"" -I. -I. -I.. -I. -I../lib -I../intl -I.. -I.   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT dir.o -MD -MP -MF ".deps/dir.Tpo"  -c -o dir.o `test -f 'dir.c' || echo './'`dir.c;  then mv -f ".deps/dir.Tpo" ".deps/dir.Po";  else rm -f ".deps/dir.Tpo"; exit 1;  fi
if gcc -DHAVE_CONFIG_H -DINFODIR=\"/usr/pubsw/info\" -DLOCALEDIR="\"/usr/pubsw/lib/locale\"" -I. -I. -I.. -I. -I../lib -I../intl -I.. -I.   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT display.o -MD -MP -MF ".deps/display.Tpo"  -c -o display.o `test -f 'display.c' || echo './'`display.c;  then mv -f ".deps/display.Tpo" ".deps/display.Po";  else rm -f ".deps/display.Tpo"; exit 1;  fi
if gcc -DHAVE_CONFIG_H -DINFODIR=\"/usr/pubsw/info\" -DLOCALEDIR="\"/usr/pubsw/lib/locale\"" -I. -I. -I.. -I. -I../lib -I../intl -I.. -I.   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT dribble.o -MD -MP -MF ".deps/dribble.Tpo"  -c -o dribble.o `test -f 'dribble.c' || echo './'`dribble.c;  then mv -f ".deps/dribble.Tpo" ".deps/dribble.Po";  else rm -f ".deps/dribble.Tpo"; exit 1;  fi
if gcc -DHAVE_CONFIG_H -DINFODIR=\"/usr/pubsw/info\" -DLOCALEDIR="\"/usr/pubsw/lib/locale\"" -I. -I. -I.. -I. -I../lib -I../intl -I.. -I.   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT echo-area.o -MD -MP -MF ".deps/echo-area.Tpo"  -c -o echo-area.o `test -f 'echo-area.c' || echo './'`echo-area.c;  then mv -f ".deps/echo-area.Tpo" ".deps/echo-area.Po";  else rm -f ".deps/echo-area.Tpo"; exit 1;  fi
if gcc -DHAVE_CONFIG_H -DINFODIR=\"/usr/pubsw/info\" -DLOCALEDIR="\"/usr/pubsw/lib/locale\"" -I. -I. -I.. -I. -I../lib -I../intl -I.. -I.   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT filesys.o -MD -MP -MF ".deps/filesys.Tpo"  -c -o filesys.o `test -f 'filesys.c' || echo './'`filesys.c;  then mv -f ".deps/filesys.Tpo" ".deps/filesys.Po";  else rm -f ".deps/filesys.Tpo"; exit 1;  fi
if gcc -DHAVE_CONFIG_H -DINFODIR=\"/usr/pubsw/info\" -DLOCALEDIR="\"/usr/pubsw/lib/locale\"" -I. -I. -I.. -I. -I../lib -I../intl -I.. -I.   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT footnotes.o -MD -MP -MF ".deps/footnotes.Tpo"  -c -o footnotes.o `test -f 'footnotes.c' || echo './'`footnotes.c;  then mv -f ".deps/footnotes.Tpo" ".deps/footnotes.Po";  else rm -f ".deps/footnotes.Tpo"; exit 1;  fi
if gcc -DHAVE_CONFIG_H -DINFODIR=\"/usr/pubsw/info\" -DLOCALEDIR="\"/usr/pubsw/lib/locale\"" -I. -I. -I.. -I. -I../lib -I../intl -I.. -I.   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT gc.o -MD -MP -MF ".deps/gc.Tpo"  -c -o gc.o `test -f 'gc.c' || echo './'`gc.c;  then mv -f ".deps/gc.Tpo" ".deps/gc.Po";  else rm -f ".deps/gc.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DINFODIR=\"/usr/pubsw/info\" -DLOCALEDIR="\"/usr/pubsw/lib/locale\"" -I. -I. -I.. -I. -I../lib -I../intl -I.. -I.   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT indices.o -MD -MP -MF ".deps/indices.Tpo"  -c -o indices.o `test -f 'indices.c' || echo './'`indices.c;  then mv -f ".deps/indices.Tpo" ".deps/indices.Po";  else rm -f ".deps/indices.Tpo"; exit 1;  fi
if gcc -DHAVE_CONFIG_H -DINFODIR=\"/usr/pubsw/info\" -DLOCALEDIR="\"/usr/pubsw/lib/locale\"" -I. -I. -I.. -I. -I../lib -I../intl -I.. -I.   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT info-utils.o -MD -MP -MF ".deps/info-utils.Tpo"  -c -o info-utils.o `test -f 'info-utils.c' || echo './'`info-utils.c;  then mv -f ".deps/info-utils.Tpo" ".deps/info-utils.Po";  else rm -f ".deps/info-utils.Tpo"; exit 1;  fi
if gcc -DHAVE_CONFIG_H -DINFODIR=\"/usr/pubsw/info\" -DLOCALEDIR="\"/usr/pubsw/lib/locale\"" -I. -I. -I.. -I. -I../lib -I../intl -I.. -I.   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT info.o -MD -MP -MF ".deps/info.Tpo"  -c -o info.o `test -f 'info.c' || echo './'`info.c;  then mv -f ".deps/info.Tpo" ".deps/info.Po";  else rm -f ".deps/info.Tpo"; exit 1;  fi
if gcc -DHAVE_CONFIG_H -DINFODIR=\"/usr/pubsw/info\" -DLOCALEDIR="\"/usr/pubsw/lib/locale\"" -I. -I. -I.. -I. -I../lib -I../intl -I.. -I.   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT infodoc.o -MD -MP -MF ".deps/infodoc.Tpo"  -c -o infodoc.o `test -f 'infodoc.c' || echo './'`infodoc.c;  then mv -f ".deps/infodoc.Tpo" ".deps/infodoc.Po";  else rm -f ".deps/infodoc.Tpo"; exit 1;  fi
if gcc -DHAVE_CONFIG_H -DINFODIR=\"/usr/pubsw/info\" -DLOCALEDIR="\"/usr/pubsw/lib/locale\"" -I. -I. -I.. -I. -I../lib -I../intl -I.. -I.   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT infomap.o -MD -MP -MF ".deps/infomap.Tpo"  -c -o infomap.o `test -f 'infomap.c' || echo './'`infomap.c;  then mv -f ".deps/infomap.Tpo" ".deps/infomap.Po";  else rm -f ".deps/infomap.Tpo"; exit 1;  fi
if gcc -DHAVE_CONFIG_H -DINFODIR=\"/usr/pubsw/info\" -DLOCALEDIR="\"/usr/pubsw/lib/locale\"" -I. -I. -I.. -I. -I../lib -I../intl -I.. -I.   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT m-x.o -MD -MP -MF ".deps/m-x.Tpo"  -c -o m-x.o `test -f 'm-x.c' || echo './'`m-x.c;  then mv -f ".deps/m-x.Tpo" ".deps/m-x.Po";  else rm -f ".deps/m-x.Tpo"; exit 1;  fi
if gcc -DHAVE_CONFIG_H -DINFODIR=\"/usr/pubsw/info\" -DLOCALEDIR="\"/usr/pubsw/lib/locale\"" -I. -I. -I.. -I. -I../lib -I../intl -I.. -I.   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT man.o -MD -MP -MF ".deps/man.Tpo"  -c -o man.o `test -f 'man.c' || echo './'`man.c;  then mv -f ".deps/man.Tpo" ".deps/man.Po";  else rm -f ".deps/man.Tpo"; exit 1;  fi
if gcc -DHAVE_CONFIG_H -DINFODIR=\"/usr/pubsw/info\" -DLOCALEDIR="\"/usr/pubsw/lib/locale\"" -I. -I. -I.. -I. -I../lib -I../intl -I.. -I.   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT nodemenu.o -MD -MP -MF ".deps/nodemenu.Tpo"  -c -o nodemenu.o `test -f 'nodemenu.c' || echo './'`nodemenu.c;  then mv -f ".deps/nodemenu.Tpo" ".deps/nodemenu.Po";  else rm -f ".deps/nodemenu.Tpo"; exit 1;  fi
if gcc -DHAVE_CONFIG_H -DINFODIR=\"/usr/pubsw/info\" -DLOCALEDIR="\"/usr/pubsw/lib/locale\"" -I. -I. -I.. -I. -I../lib -I../intl -I.. -I.   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT nodes.o -MD -MP -MF ".deps/nodes.Tpo"  -c -o nodes.o `test -f 'nodes.c' || echo './'`nodes.c;  then mv -f ".deps/nodes.Tpo" ".deps/nodes.Po";  else rm -f ".deps/nodes.Tpo"; exit 1;  fi
if gcc -DHAVE_CONFIG_H -DINFODIR=\"/usr/pubsw/info\" -DLOCALEDIR="\"/usr/pubsw/lib/locale\"" -I. -I. -I.. -I. -I../lib -I../intl -I.. -I.   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT search.o -MD -MP -MF ".deps/search.Tpo"  -c -o search.o `test -f 'search.c' || echo './'`search.c;  then mv -f ".deps/search.Tpo" ".deps/search.Po";  else rm -f ".deps/search.Tpo"; exit 1;  fi
if gcc -DHAVE_CONFIG_H -DINFODIR=\"/usr/pubsw/info\" -DLOCALEDIR="\"/usr/pubsw/lib/locale\"" -I. -I. -I.. -I. -I../lib -I../intl -I.. -I.   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT session.o -MD -MP -MF ".deps/session.Tpo"  -c -o session.o `test -f 'session.c' || echo './'`session.c;  then mv -f ".deps/session.Tpo" ".deps/session.Po";  else rm -f ".deps/session.Tpo"; exit 1;  fi
if gcc -DHAVE_CONFIG_H -DINFODIR=\"/usr/pubsw/info\" -DLOCALEDIR="\"/usr/pubsw/lib/locale\"" -I. -I. -I.. -I. -I../lib -I../intl -I.. -I.   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT signals.o -MD -MP -MF ".deps/signals.Tpo"  -c -o signals.o `test -f 'signals.c' || echo './'`signals.c;  then mv -f ".deps/signals.Tpo" ".deps/signals.Po";  else rm -f ".deps/signals.Tpo"; exit 1;  fi
if gcc -DHAVE_CONFIG_H -DINFODIR=\"/usr/pubsw/info\" -DLOCALEDIR="\"/usr/pubsw/lib/locale\"" -I. -I. -I.. -I. -I../lib -I../intl -I.. -I.   -I/usr/pubsw/include  -O -I/usr/pubsw/include -MT terminal.o -MD -MP -MF ".deps/terminal.Tpo"  -c -o terminal.o `test -f 'terminal.c' || echo './'`terminal.c;  then mv -f ".deps/terminal.Tpo" ".deps/terminal.Po";  else rm -f ".deps/terminal.Tpo"; exit 1;  fi
terminal.c:35:21: termcap.h: No such file or directory
terminal.c: In function `terminal_initialize_terminal':
terminal.c:577: error: `BC' undeclared (first use in this function)
terminal.c:577: error: (Each undeclared identifier is reported only once
terminal.c:577: error: for each function it appears in.)
terminal.c:578: error: `PC' undeclared (first use in this function)
terminal.c:584: error: `ospeed' undeclared (first use in this function)
terminal.c:603: warning: assignment makes pointer from integer without a cast
terminal.c:604: warning: assignment makes pointer from integer without a cast
terminal.c:605: warning: assignment makes pointer from integer without a cast
terminal.c:606: warning: assignment makes pointer from integer without a cast
terminal.c:609: warning: assignment makes pointer from integer without a cast
terminal.c:610: warning: assignment makes pointer from integer without a cast
terminal.c:611: warning: assignment makes pointer from integer without a cast
terminal.c:612: warning: assignment makes pointer from integer without a cast
terminal.c:616: warning: assignment makes pointer from integer without a cast
terminal.c:618: warning: assignment makes pointer from integer without a cast
terminal.c:627: warning: assignment makes pointer from integer without a cast
terminal.c:628: warning: assignment makes pointer from integer without a cast
terminal.c:629: warning: assignment makes pointer from integer without a cast
terminal.c:631: warning: assignment makes pointer from integer without a cast
terminal.c:634: warning: assignment makes pointer from integer without a cast
terminal.c:635: warning: assignment makes pointer from integer without a cast
terminal.c:637: warning: assignment makes pointer from integer without a cast
terminal.c:638: warning: assignment makes pointer from integer without a cast
terminal.c:644: warning: assignment makes pointer from integer without a cast
terminal.c:645: warning: assignment makes pointer from integer without a cast
terminal.c:654: warning: assignment makes pointer from integer without a cast
terminal.c:655: warning: assignment makes pointer from integer without a cast
terminal.c:656: warning: assignment makes pointer from integer without a cast
terminal.c:657: warning: assignment makes pointer from integer without a cast
terminal.c:659: warning: assignment makes pointer from integer without a cast
terminal.c:660: warning: assignment makes pointer from integer without a cast
terminal.c:663: warning: assignment makes pointer from integer without a cast
terminal.c:664: warning: assignment makes pointer from integer without a cast
terminal.c:665: warning: assignment makes pointer from integer without a cast
terminal.c:666: warning: assignment makes pointer from integer without a cast
terminal.c:670: warning: assignment makes pointer from integer without a cast
terminal.c:671: warning: assignment makes pointer from integer without a cast
terminal.c:673: warning: assignment makes pointer from integer without a cast
*** Error code 1
 
Stop.
bmake: stopped in /afs/lions.odu.edu/sun4x_58/pkgsrc-2003Q4/pkgsrc/devel/gtexinfo/work/texinfo-4.6/info
*** Error code 1
 
Stop.
bmake: stopped in /afs/lions.odu.edu/sun4x_58/pkgsrc-2003Q4/pkgsrc/devel/gtexinfo/work/texinfo-4.6/info
*** Error code 1
 
Stop.
bmake: stopped in /afs/lions.odu.edu/sun4x_58/pkgsrc-2003Q4/pkgsrc/devel/gtexinfo/work/texinfo-4.6
*** Error code 1
 
Stop.
bmake: stopped in /afs/lions.odu.edu/sun4x_58/pkgsrc-2003Q4/pkgsrc/devel/gtexinfo/work/texinfo-4.6
*** Error code 1
 
Stop.
bmake: stopped in /usr/pkgsrc/devel/gtexinfo
*** Error code 1
 
Stop.
bmake: stopped in /usr/pkgsrc/devel/gtexinfo

>How-To-Repeat:
cd into /usr/pkgsrc/devel/gtexinfo on Solaris 8.
bmake clean
bmake build
>Fix:
My workaround was to remove patch-aj (which moved ncurses at the end of the termcap search list) and to add devel/ncurses as a dependency.

---cut---

*** distinfo.orig       Wed Jul  9 09:11:01 2003
--- distinfo    Thu Dec 11 13:23:43 2003
***************
*** 5,9 ****
  SHA1 (patch-ac) = bf22fe2b8920c88a357ce9c1202690ed291c5b92
  SHA1 (patch-ad) = 1c998cdb8b0831e15eef7df6c4f8ef108455619e
  SHA1 (patch-ai) = 8a1e92497d3a6cd5dec50ec9e9cf35046d214c8c
- SHA1 (patch-aj) = ccd515134e442e2ed5354c8151ed3dc8a3efaecd
  SHA1 (patch-ak) = 54fceadde7649726f1595b2a9dda8225967c0a4a
--- 5,8 ----

*** Makefile.orig       Sat Aug  9 06:44:43 2003
--- Makefile    Thu Dec 11 13:22:44 2003
***************
*** 31,36 ****
--- 31,37 ----
                > ${WRKSRC}/info/filesys.h
   
  .include "../../devel/gettext-lib/buildlink2.mk"
+ .include "../../devel/ncurses/buildlink2.mk"
  .include "../../mk/bsd.pkg.mk"
   
  # This need to be defined here to override the setting in texinfo.mk

---end cut---

bmake was then able to compile/build gtexinfo.
>Release-Note:
>Audit-Trail:
>Unformatted: