Hi, I guess that ocaml generates C code that is not compliant with gcc6 : https://gcc.gnu.org/gcc-6/porting_to.html For the time being I propose the attached patch. Note that I included m68k arch for the workaround because buildd shows that it fails for this arch as the build was newer than for all other archs but, there may be other archs failing and needing to be taken into account) Another action would be to check if upstream could fix this (I didn't find any reference to that kind of improvement), so that a later version of ocaml will just make this workaround useless. F.
diff -Nru mldonkey-3.1.5/debian/rules mldonkey-3.1.5/debian/rules --- mldonkey-3.1.5/debian/rules 2015-10-14 08:04:20.000000000 +0000 +++ mldonkey-3.1.5/debian/rules 2015-10-14 08:05:31.000000000 +0000 @@ -10,6 +10,10 @@ confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) endif +ifneq (,$(filter $(DEB_HOST_ARCH),ppc64el m68k)) + export DEB_CXXFLAGS_MAINT_APPEND = -std=gnu++98 +endif + override_dh_auto_clean: # Update the PO, as suggested in "man 7 po-debconf" debconf-updatepo
Attachment:
pgpp2qvTWcr06.pgp
Description: PGP signature