Some of the examples included with dunai and bearriver use SDL-gfx. Specifically, the package classicfrp uses SDL-gfx < 0.7, which is not the latest version available.
For some reason, cabal is getting confused and not trying 0.6.2, which would be compatible with all packages to be installed/tested. I cannot see why this would happen.
Nevertheless, since the package installs with SDL-gfx-0.7.0.0, we can work around this issue by increasing the version bounds on SDL-gfx in classicfrp.cabal.