zfsonlinux/dkms — pull request #1 by behlendorf (2013-03-20 21:52:15+00:00)
Title: Reset build dependencies

For each iteration we need to rebuild ithe list of uninstalled
build dependencies. To do this next_depends must be reset for
each pass so it can be recalculated. Otherwise, we can hit the
install_count early return and not install all the requested
packages.

The code should also use 'continue 2' instead of 'break 2' to
ensure the full list of build_depends is checked.

I noticed this while trying to setup dkms packages for Fedora.
I was seeing a 100% failure rate where the spl would get built
and installed but never zfs. With the patch applies it works as
expected.