Unsatisfiable constraints when adding g++6
It seems, for me, that the recipe for g++6 is broken. Here is how I reproduced.
Starting from a clean docker environment, when I try to
apk add g++6 it throws me the following error:
ERROR: unsatisfiable constraints: libstdc++-9.3.0-r2: breaks: g++6-6.4.0-r11[libstdc++=6.4.0-r11] satisfies: gcc-9.3.0-r2[so:libstdc++.so.6] binutils-2.34-r1[so:libstdc++.so.6] gcc-9.3.0-r2: breaks: g++6-6.4.0-r11[gcc=6.4.0-r11]
The dependency line from
libstdc++-10 caught my attention. As we can see, g++6 depends on libstdc++6, but
binutils wants the latest version. Maybe
gcc6 should not depend on
Unfortunately I could not find the recipe of g++6, so I couldn't go any further. I'm still trying, if anyone wants to show me the right direction it would be very welcoming :)
Edit: I did find the recibe, it's the same of gcc6. But still, I could not find how to test it without a whole ready environment. Unfortunately I can't help much for now. I'll move on with another distro, but I'll keep an eye on this to try again later.