Well, the PUMPIN MUD just means enum-extract.pl didn't do the right thing. config.log.gz says:
configure:26532: ./scripts/enum-extract.pl zone_stat_item /lib/modules/4.18.0-3-amd64/source/include/linux/mmzone.h | egrep -qx NR_SLAB_RECLAIMABLE Can't locate Getopt/Std.pm in @INC (you may need to install the Getopt::Std module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/ share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at ./scripts/enum-extract.pl line 13. BEGIN failed--compilation aborted at ./scripts/enum-extract.pl line 13. So that is claiming it doesn't think you have Getopt/Std.pm, which should be provided by perl-modules-$(PERL_MAJOR_MINOR_VERSION) (e.g. in your case, 5.28). What do dpkg -l | egrep '^ii perl-' and ls -l /usr/share/perl/5.28*/Getopt/Std.pm have to say? (Regardless of what they have to say, there should definitely be an explicit perl dep in zfs-dkms now, since that definitely won't work without it.) - Rich