pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

failed bootstrap on os x



I'm getting this error from bootstrap --prefix=/usr/pkg -unprivileged
(adding --full also fails)

It looks like pkgdb is including an incorrect db.h or something like
that.  Any hints?

pkgdb.c: In function 'pkgdb_open':
pkgdb.c:105: error: 'BTREEINFO' undeclared (first use in this function)
pkgdb.c:105: error: (Each undeclared identifier is reported only once
pkgdb.c:105: error: for each function it appears in.)
pkgdb.c:105: error: parse error before 'info'
pkgdb.c:109: error: 'info' undeclared (first use in this function)
pkgdb.c: In function 'pkgdb_close':
pkgdb.c:130: error: too few arguments to function 'pkgdbp->close'
pkgdb.c: In function 'pkgdb_store':
pkgdb.c:158: error: 'R_NOOVERWRITE' undeclared (first use in this function)
pkgdb.c:158: warning: passing argument 2 of 'pkgdbp->put' from
incompatible pointer type
pkgdb.c:158: error: too few arguments to function 'pkgdbp->put'
pkgdb.c: In function 'pkgdb_retrieve':
pkgdb.c:182: warning: passing argument 2 of 'pkgdbp->get' from
incompatible pointer type
pkgdb.c:182: error: too few arguments to function 'pkgdbp->get'
pkgdb.c: In function 'pkgdb_dump':
pkgdb.c:200: error: 'R_FIRST' undeclared (first use in this function)
pkgdb.c:200: error: 'struct __db' has no member named 'seq'
pkgdb.c:200: error: 'R_NEXT' undeclared (first use in this function)
pkgdb.c: In function 'pkgdb_remove':
pkgdb.c:231: warning: passing argument 2 of 'pkgdbp->del' from
incompatible pointer type
pkgdb.c:231: error: too few arguments to function 'pkgdbp->del'
pkgdb.c: In function 'pkgdb_remove_pkg':
pkgdb.c:255: error: 'R_FIRST' undeclared (first use in this function)
pkgdb.c:255: error: 'struct __db' has no member named 'seq'
pkgdb.c:255: error: 'R_NEXT' undeclared (first use in this function)
pkgdb.c:260: warning: passing argument 2 of 'pkgdbp->del' from
incompatible pointer type
pkgdb.c:260: error: too few arguments to function 'pkgdbp->del'
*** Error code 1

Stop.
bmake: stopped in
/Users/msporleder/Documents/netbsd/pkgsrc/bootstrap/work/pkg_install/lib
*** Error code 1

Stop.
bmake: stopped in
/Users/msporleder/Documents/netbsd/pkgsrc/bootstrap/work/pkg_install
===> exited with status 1
aborted.



(please include me on replies)

Thanks,
_Matt



Home | Main Index | Thread Index | Old Index