The best way to lessen the pain of building packages is probably to use a version of Ubuntu (currently 16.04) as the only supported build environment. For users of other Linux distributions and platforms Docker is the best solution.