Created attachment 508638 [details] quick and dirty fix ebuild app-emulation/ganeti-2.16.0_rc1 (and probably the other available versions) depends on: >=dev-haskell/snap-core-0.8.1:0= <dev-haskell/snap-core-0.10:0= >=dev-haskell/snap-server-0.8.1:0= <dev-haskell/snap-server-0.10:0= But those versions do not build with dev-lang/ghc-8.0.2, which is now amd64 stable. This is extra annoying because it breaks world upgrades after those packages fail to build. =dev-haskell/snap-core-1.0.1.0 and =dev-haskell/snap-server-1.0.1.1 (also keyworded amd64) do build with ghc-8, but Ganeti is incompatible with them. Debian has patches for both ghc-8 compat in Ganeti itself and for snap-{server,core}-1.0 compat: https://anonscm.debian.org/git/pkg-ganeti/ganeti.git/tree/debian/patches Quick and dirty ebuild attached (needs ghc8-fixes, 0001-GHC-8-support.patch, snap-server-1.0-compat from the above repo in $FILESDIR). AIUI these patches do not handle backwards compatibility so the deps should probably be adjusted to hard depend on >=GHC-8, >=snap-server-1.0, and >=snap-core-1.0 (which are all stable so that should be safe). I tested that it builds and am testing if it works properly now.
Created attachment 508646 [details] ganeti-2.16.0_rc1-r1.ebuild (v2) Ebuild was also missing this dep: >=dev-haskell/monadcatchio-transformers-0.3:0= <dev-haskell/monadcatchio-transformers-0.4:0=
The Ganeti cluster seems to be working fine; I did some master failovers, restarted nodes and migrated VMs around. Looks like the patches work as intended.
The 2.16 ebuilds were added by robbat2, so I will reassign this to him.
removed.