Subject: pkgtools/pkg_install fails to build (revisited)
To: None <tech-pkg@netbsd.org>
From: Ja'far Railton <zen25058@zen.co.uk>
List: tech-pkg
Date: 03/29/2005 02:26:47
Hello
I am very sorry about my previous messages being
so badly formatted. I hope my question can still
be answered as the problem contines.
On a 2.0.2 kernel and userland, my pkgsrc (2005Q1 from
cvs) needs pkg_install updated before any builds can
be done. When I try to make in pkg_install I get the
following error. I would appreciate your help in
trying to get some packages built.
TIA
- J.
config.status: creating Makefile
config.status: creating nbcompat/config.h
cc -DDEF_UMASK=0022 -I/usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat -I. -I. -O2 -march=pentiumpro -DHAVE_CONFIG_H -c bits.c
cc -I. -I. -O2 -march=pentiumpro -L/usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o bits bits.o
/bits nbcompat/nbtypes.h
/usr/bin/awk -f nbcompat.awk nbcompat/config.h > nbcompat/nbconfig.h
cc -DDEF_UMASK=0022 -I/usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat -I. -I. -O2 -march=pentiumpro -DHAVE_CONFIG_H -c glob.c
In file included from /usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat/nbcompat/statvfs.h:43,
from /usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat/nbcompat.h:67,
from __glob13.c:35,
from glob.c:12:
/usr/include/sys/statvfs.h:53: error: parse error before "fsblkcnt_t"
/usr/include/sys/statvfs.h:58: error: parse error before "fsfilcnt_t"
/usr/include/sys/statvfs.h:79: error: parse error before "__fsblkcnt_t"
/usr/include/sys/statvfs.h:82: error: parse error before "f_bavail"
/usr/include/sys/statvfs.h:83: error: parse error before "f_bresvd"
/usr/include/sys/statvfs.h:85: error: parse error before "f_files"
/usr/include/sys/statvfs.h:86: error: parse error before "f_ffree"
/usr/include/sys/statvfs.h:87: error: parse error before "f_favail"
/usr/include/sys/statvfs.h:88: error: parse error before "f_fresvd"
/usr/include/sys/statvfs.h:107: error: parse error before '}' token
In file included from /usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat/nbcompat/statvfs.h:52,
from /usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat/nbcompat.h:67,
from __glob13.c:35,
from glob.c:12:
/usr/include/sys/mount.h:51: error: conflicting types for `fsid_t'
/usr/include/sys/fstypes.h:37: error: previous declaration of `fsid_t'
/usr/include/sys/mount.h:59: error: redefinition of `struct fid'
/usr/include/sys/mount.h:455: error: redefinition of `struct fhandle'
/usr/include/sys/mount.h:567: error: conflicting types for `getmntinfo'
/usr/include/sys/statvfs.h:156: error: previous declaration of `getmntinfo'
In file included from /usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat/nbcompat.h:67,
from __glob13.c:35,
from glob.c:12:
/usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat/nbcompat/statvfs.h:67:1: warning: "VFS_NAMELEN" redefined
In file included from /usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat/nbcompat/statvfs.h:43,
from /usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat/nbcompat.h:67,
from __glob13.c:35,
from glob.c:12:
/usr/include/sys/statvfs.h:111:1: warning: this is the location of the previous definition
In file included from /usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat/nbcompat.h:67,
from __glob13.c:35,
from glob.c:12:
/usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat/nbcompat/statvfs.h:68:1: warning: "VFS_MNAMELEN" redefined
In file included from /usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat/nbcompat/statvfs.h:43,
from /usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat/nbcompat.h:67,
from __glob13.c:35,
from glob.c:12:
/usr/include/sys/statvfs.h:112:1: warning: this is the location of the previous definition
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install
===>
===> There was an error during the ``configure'' phase.
===> Please investigate the following for more information:
===> * config.log
===> * /usr/pkgsrc/pkgtools/pkg_install/work/.work.log
===>
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install
--
Ja\'far