Bug#931940: sumo: FTBFS with PROJ 6

Bas Couwenberg sebastic at xs4all.nl
Fri Jul 12 18:20:46 BST 2019


Source: sumo
Version: 1.1.0+dfsg1-1
Severity: important
Tags: upstream patch
User: debian-gis at lists.debian.org
Usertags: proj-6

Dear Maintainer,

Your package FTBFS with PROJ 6 from experimental.

The attached patch fixes the issue by defining ACCEPT_USE_OF_DEPRECATED_PROJ_API_H.

Note that this is only a temporary workaround, proj_api.h will be
removed in PROJ 7 scheduled for March 2020.

Upstream is aware of the issue, see:

 https://github.com/eclipse/sumo/issues/5299

Kind Regards,

Bas
-------------- next part --------------
diff -Nru sumo-1.1.0+dfsg1/debian/changelog sumo-1.1.0+dfsg1/debian/changelog
--- sumo-1.1.0+dfsg1/debian/changelog	2019-02-03 10:17:52.000000000 +0100
+++ sumo-1.1.0+dfsg1/debian/changelog	2019-04-13 20:41:36.000000000 +0200
@@ -1,3 +1,10 @@
+sumo (1.1.0+dfsg1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H for PROJ 6.0.0 compatibility.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sat, 13 Apr 2019 20:41:36 +0200
+
 sumo (1.1.0+dfsg1-1) unstable; urgency=medium
 
   [ Michael Behrisch ]
diff -Nru sumo-1.1.0+dfsg1/debian/rules sumo-1.1.0+dfsg1/debian/rules
--- sumo-1.1.0+dfsg1/debian/rules	2019-02-03 10:05:51.000000000 +0100
+++ sumo-1.1.0+dfsg1/debian/rules	2019-04-13 20:41:34.000000000 +0200
@@ -1,5 +1,9 @@
 #!/usr/bin/make -f
 
+# Workaround for proj_api.h deprecation in PROJ 6.0.0
+export DEB_CFLAGS_MAINT_APPEND=-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H
+export DEB_CXXFLAGS_MAINT_APPEND=-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H
+
 %:
 	dh $@
 


More information about the debian-science-maintainers mailing list