Subject: pkg/23780: Can't compile gtexinfo under Solaris2.8
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <rquinn@sec.sprint.net>
List: netbsd-bugs
Date: 12/17/2003 14:30:00
>Number:         23780
>Category:       pkg
>Synopsis:       Can't compile gtexinfo under Solaris2.8
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 17 14:31:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Rob Quinn
>Release:        pkgsrc-current from 16 Dec, under Solaris2.8
>Organization:
>Environment:
SunOS crn-oss 5.8 Generic_108528-23 sun4u sparc SUNW,Netra-T4

>Description:
I can't compile gtexinfo (a requirement for CVS) under Solaris2.8.

>How-To-Repeat:
crn-oss:/usr/pkgsrc/devel/gtexinfo #bmake
===> Checking for vulnerabilities in gtexinfo-4.6nb1
=> Checksum OK for texinfo-4.6.tar.bz2.
work -> /usr/obj/pkg/devel/gtexinfo/work
===> 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
===> Required installed package gcc3>=3.3: gcc3-3.3nb5 found
===> Patching for gtexinfo-4.6nb1
===> Applying pkgsrc patches for gtexinfo-4.6nb1
/usr/bin/mv -f /usr/obj/pkg/devel/gtexinfo/work/texinfo-4.6/info/filesys.h /usr/obj/pkg/devel/gtexinfo/work/texinfo-4.6/info/filesys.h.orig
/usr/xpg4/bin/sed -e 's|@PREFIX@|/usr/pkg|g'             -e 's|@X11BASE@|/usr/openwin|g'                 -e 's|@LOCALBASE@|/usr/pkg|g'   < /usr/obj/pkg/devel/gtexinfo/work/texinfo-4.6/info/filesys.h.orig              > /usr/obj/pkg/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/ucb/install -c -o root -g root
checking whether build envir
[....]
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... 
[...]
if gcc -DHAVE_CONFIG_H -DINFODIR=\"/usr/pkg/info\" -DLOCALEDIR="\"/usr/pkg/lib/locale\"" -I. -I. -I.. -I. -I../lib -I../intl -I.. -I.   -I/usr/pkg/include  -O -g -I/usr/pkg/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
[...]
*** Error code 1

Stop.
bmake: stopped in /usr/obj/pkg/devel/gtexinfo/work/texinfo-4.6/info
*** Error code 1



crn-oss:/usr/pkgsrc/devel/gtexinfo #ls -l /usr/pkg/include/termcap.h 
-r--r--r--   1 bin      bin         3476 Aug 15 19:13 /usr/pkg/include/termcap.h

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: