pkgsrc-Bugs archive

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

Re: pkg/39738 (bootstrap fails under Solaris, libnbcompat broken)



Hi!

bootstrap still works, libnbcompat standalone is still broken:

gcc -D__DBINTERFACE_PRIVATE -I. -I. -O -DHAVE_CONFIG_H -c /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c: In function `dbm_open': /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c:62: error: `HASHINFO' undeclared (first use in this function)

adding

#include <nbcompat/db.h>

to db/hash/ndbm.c now yields

gcc -D__DBINTERFACE_PRIVATE -I. -I. -O -DHAVE_CONFIG_H -c /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c: In function `dbm_open': /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c:73: error: `DBM_SUFFIX' undeclared (first use in this function) /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c:73: error: (Each undeclared identifier is reported only once /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c:73: error: for each function it appears in.) /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c: In function `dbm_close': /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c:84: error: structure has no member named `close' /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c: At top level: /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c:88: error: syntax error before '*' token /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c:92: error: `db' undeclared here (not in a function) /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c:92: warning: data definition has no type or storage class /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c:93: error: syntax error before "return" /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c:97: error: syntax error before '*' token /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c:101: error: redefinition of 'hp' /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c:92: error: previous definition of 'hp' was here /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c:101: warning: data definition has no type or storage class /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c:102: error: syntax error before '->' token /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c:107: error: syntax error before '*' token /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c:111: error: redefinition of 'hp' /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c:101: error: previous definition of 'hp' was here /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c:111: error: redefinition of 'hp' /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c:101: error: previous definition of 'hp' was here /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c:111: warning: data definition has no type or storage class /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work.spare4200/libnbcompat-20081028/db/hash/ndbm.c:112: error: syntax error before "return"

I don't see DBM_SUFFIX defined anywhere in this package.

Jörn

--
 Jörn Clausen                             
joern.clausen%uni-bielefeld.de@localhost
 Hochschulrechenzentrum                 http://www.uni-bielefeld.de/hrz/
 Universität Bielefeld


Home | Main Index | Thread Index | Old Index