pkgsrc-Users archive

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

Can somebody fix pr 26143, OSX pkgsrc/bootstrap problem please ...



ok. so we're talking OSX 10.5 Leopard. clean slate start.

make a case-sensitive dmg, mount the filesystem. Its /Volumes/OSX-pkg/

cvs fetch the pkgsrc. Its /Volumes/OSX-pkg/pkgsrc

cd pkgsrc/bootstrap

$ ./bootstrap --unprivileged --pkgdbdir /Volumes/OSX-pkg/pkgdb -- prefix /Volumes/OSX-pkg

dies. This is a very old pkgsrc send-pr which is mentioned in the mail archive, found via google:

http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=26143

thats a 2004 problem.

and it still bites.

-George

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: syntax 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 /Volumes/OSX-pkg/pkgsrc/bootstrap/work/pkg_install/lib
*** Error code 1

Stop.
bmake: stopped in /Volumes/OSX-pkg/pkgsrc/bootstrap/work/pkg_install
===> exited with status 1
aborted.
$





Home | Main Index | Thread Index | Old Index