Subject: devel/libtecla does not compile with -current
To: None <current-users@netbsd.org>
From: Antoine Reilles <Antoine.Reilles@loria.fr>
List: current-users
Date: 02/21/2005 14:12:46
--jRHKVT23PllUwdXP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

I'm trying to install devel/libtecla, but this package does not compile
under -current (from yesterday).
However, it builds fine with 2.0 release.

The error message i get is :


=3D=3D=3D> Checking for vulnerabilities in libtecla-1.5.0
=3D=3D=3D> Building for libtecla-1.5.0
gmake[1]: Entering directory `/usr/pkgsrc/devel/libtecla/work/libtecla'
gmake[1]: Nothing to be done for `default'.
gmake[1]: Leaving directory `/usr/pkgsrc/devel/libtecla/work/libtecla'
gmake[1]: Entering directory `/usr/pkgsrc/devel/libtecla/work/libtecla'
cc -c -O  -DPACKAGE_NAME=3D"" -DPACKAGE_TARNAME=3D"" -DPACKAGE_VERSION=3D""=
 -DPACKAGE_STRING=3D"" -DPACKAGE_BUGREPORT=3D"" -DSTDC_HEADERS=3D1 -DHAVE_S=
YS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D=
1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STD=
INT_H=3D1 -DHAVE_UNISTD_H=3D1 -DUSE_TERMCAP=3D1 -DHAVE_TERMCAP_H=3D1 -DHAVE=
_CURSES_H=3D1 -DHAVE_SELECT=3D1  -O2  -D_POSIX_C_SOURCE=3D199506L -DPREFER_=
REENTRANT -o reentrant_obj/getline.o ./getline.c
getline.c:472: error: parse error before "fd_set"
getline.c:472: warning: no semicolon at end of struct or union
getline.c:473: warning: data definition has no type or storage class
getline.c:474: error: parse error before "ufds"
getline.c:474: warning: data definition has no type or storage class
getline.c:486: error: parse error before '}' token
getline.c: In function `new_GetLine':
getline.c:1646: error: invalid application of `sizeof' to an incomplete type
getline.c:1656: error: dereferencing pointer to incomplete type
getline.c:1657: error: dereferencing pointer to incomplete type
getline.c:1658: error: dereferencing pointer to incomplete type
getline.c:1659: error: dereferencing pointer to incomplete type
getline.c:1660: error: dereferencing pointer to incomplete type
getline.c:1661: error: dereferencing pointer to incomplete type
getline.c:1662: error: dereferencing pointer to incomplete type

[snip-- many many uses of this incomplete type]

getline.c:11790: error: dereferencing pointer to incomplete type
getline.c:11796: error: dereferencing pointer to incomplete type
getline.c: In function `gl_bind_keyseq':
getline.c:11824: error: dereferencing pointer to incomplete type
getline.c:11841: error: dereferencing pointer to incomplete type
getline.c:11842: error: dereferencing pointer to incomplete type
getline.c:11842: error: dereferencing pointer to incomplete type
getline.c: In function `gl_line_erased':
getline.c:11895: error: dereferencing pointer to incomplete type
getline.c:11896: error: dereferencing pointer to incomplete type
getline.c:11897: error: dereferencing pointer to incomplete type
gmake[1]: *** [reentrant_obj/getline.o] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/devel/libtecla/work/libtecla'
gmake: *** [reentrant] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/devel/libtecla
=3D=3D=3D>=20
=3D=3D=3D> There was an error during the ``build'' phase.
=3D=3D=3D> Please investigate the following for more information:
=3D=3D=3D>      * log of the build
=3D=3D=3D>      * /usr/pkgsrc/devel/libtecla/work/.work.log
=3D=3D=3D>=20
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/libtecla


I checked for fd_set, and it is defined in sys/types.h the same way as
in 2.0

regards,
antoine

--jRHKVT23PllUwdXP
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iD8DBQFCGd5O4VqmoGDE/mwRAvqCAJ9/ZRT4u7M39D3EeEr0VXx7dFVPmwCghqyr
mNBUGl4EbuoUsL0sYAMnmTI=
=TPgX
-----END PGP SIGNATURE-----

--jRHKVT23PllUwdXP--