Subject: pkg/31489: fam-2.7.0 fails to compile on Tru64
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 10/06/2005 09:06:01
>Number:         31489
>Category:       pkg
>Synopsis:       fam-2.7.0 fails to compile on Tru64
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 06 09:06:00 +0000 2005
>Originator:     Rumi Szabolcs
>Release:        Tru64 5.1B-3 (PK5)
# uname -a
OSF1 obelix V5.1 2650 alpha
# sizer -v
Compaq Tru64 UNIX V5.1B (Rev. 2650); Sun Sep 25 20:31:58 CEST 2005

source='ClientInterest.c++' object='ClientInterest.o' libtool=no \
depfile='.deps/ClientInterest.Po' tmpdepfile='.deps/ClientInterest.TPo' \
depmode=tru64 /bin/ksh ../depcomp \
cxx -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DFAM_CONF=\"/usr/pkg/etc/fam.conf\"    -O2 -ieee -ieee -c -o ClientInterest.o `test -f 'ClientInterest.c++' || echo './'`ClientInterest.c++
cxx: Error: fam-mntent.h, line 57: expected a ";"
struct mntent *getmntent __P ((FILE *fp));
cxx: Error: fam-mntent.h, line 58: expected a ";"
char *hasmntopt __P ((const struct mntent *mnt, const char *option));
cxx: Info: 2 errors detected in the compilation of "ClientInterest.c++".
gmake[2]: *** [ClientInterest.o] Error 1
gmake[2]: Leaving directory `/home/admin/pkgsrc/work/sysutils/fam/work/fam-2.7.0/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/admin/pkgsrc/work/sysutils/fam/work/fam-2.7.0'
gmake: *** [all] Error 2
*** Error code 2


# grep MNT config.h
/* #undef HAVE_MNTENT_H */
/* #undef HAVE_SYS_MNTTAB_H */

./bootstrap on Tru64
cd /usr/pkgsrc/sysutils/fam