It's been a struggle for Debian users, but at last we are able to compile OpenCPN without important issues, since 3.x.
There are a couple of remaining glitches, and one of them is important: relates to sound. As it builds, the OpenCpn sound system works erratically. For example, the anchor alarm
bells sound only once. This issue relates to the sound support on the wxwidget package. The answer from the development team is to put in place some external libraries instead of the ones provided by Debian. Even though that works, is not very easy (need to recompile, know about package management) and it would be complicated to people that are simple users.
At some point I remember reading adding points of configuration to use /usr/bin/play
(or something equivalent) instead of the wxwidgets built-in sound support. That would greatly simplify solving this endemic issue to regular users of Debian.
Internally, it might not be the most elegant solution (ugly fork/exec or system() calls), yet at the user level is far more elegant than struggling with package sources and synaptic.