Control: severity -1 serious Control: tag -1 patch On Mon, Aug 21, 2017 at 09:43:25PM -0400, James McCoy wrote: > On Sat, Jul 01, 2017 at 03:14:05PM -0400, James McCoy wrote: > > While performing rebuilds of packages which Build-Depend on > > libmsgpack-dev with the 2.x version in experimental, I found that ring > > FTBFS: > > > > […] > > > > I haven't looked into ring's code, but there were some API breaking > > changes in 2.x. > > As a note, a quick fix until full support for the 2.x API is to build > with -DMSGPACK_DEFAULT_API_VERSION=1 in CXXFLAGS. This forces the use > of the older C++ API.
I've now uploaded msgpack-c to unstable, thus upgrading the severity since your package FTBFS now. Attached is a simple patch to force use of the v1 API until ring is compatible with the v2 API. Cheers, -- James GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB
diff --git c/debian/changelog w/debian/changelog index 2f799f1f..3de18172 100644 --- c/debian/changelog +++ w/debian/changelog @@ -1,3 +1,11 @@ +ring (20170803.2.5fcfe3f~dfsg1-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Force version 1 API for msgpack-c to fix FTBFS against msgpack-c 2.x. + (Closes: #866796) + + -- James McCoy <james...@debian.org> Sat, 16 Sep 2017 14:56:13 -0400 + ring (20170803.2.5fcfe3f~dfsg1-1) unstable; urgency=medium * New upstream release diff --git c/debian/rules w/debian/rules index 1e1a9b67..059a19b7 100755 --- c/debian/rules +++ w/debian/rules @@ -4,6 +4,7 @@ # Hardening export DEB_BUILD_MAINT_OPTIONS = hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 +DEB_CXXFLAGS_MAINT_APPEND = -DMSGPACK_DEFAULT_API_VERSION=1 include /usr/share/dpkg/buildflags.mk # Debian Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853642