TritonDataCenter / pkgsrc

NetBSD/pkgsrc fork for our binary package repositories
https://pkgsrc.smartos.org/
132 stars 51 forks source link

Perl's GDBM_File module doesn't seem to work #317

Open drboone opened 2 years ago

drboone commented 2 years ago

I noticed this while installing MARC::Charset, which uses AnyDBM_File (with gdbm as first pref) to build a table of character mappings. It seems to be unable to extract values from its tied hash.

After a bit of digging, I realized that GDBM_File, which is included in base perl, doesn't pass its tests during the perl build:

ext/GDBM_File/t/gdbm ............................................. gdbm_firstkey: Item not found at ../../t/lib/dbmt_common.pl line 52.
Compilation failed in require at t/gdbm.t line 6.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 5.
FAILED--no leader found