Your message dated Tue, 12 Jan 2016 22:22:06 +0000
with message-id <e1aj7ki-0007q4...@franck.debian.org>
and subject line Bug#802470: fixed in sumo 0.25.0+dfsg1-1
has caused the Debian Bug report #802470,
regarding sumo: Fails to build with GDAL 2.0
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
802470: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802470
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: sumo
Version: 0.23.0+dfsg1-2
Severity: important
Tags: patch upstream
User: debian-...@lists.debian.org
Usertags: gdal-2.0

Dear Maintainer,

sumo (0.23.0+dfsg1-2) FTBFS due to missing compatibility with
GDAL/OGR 2.0:

 error: 'Open' is not a member of 'OGRSFDriverRegistrar'

This issue has been fixed upstream via #1868 with r18752:

 http://sumo.dlr.de/trac.wsgi/ticket/1868
 http://sumo.dlr.de/trac.wsgi/changeset/18752

The attached debdiff includes the changes from SVN r18752 in
50_gdal-2.0.patch, please consider including these changes in the next
sumo upload.

The severity of this issue will be increased to serious when the GDAL
2.0 transition starts.

There are no GDAL 2.0.1 packages available in experimental yet, because
the transition to GDAL 1.11.3 (#802222) needs to start first. This issue
was triaged using locally built GDAL 2.0.1 packages from the
experimental-2.0 branch in git [1].

[0] https://lists.debian.org/debian-gis/2015/10/msg00022.html
[1]
http://anonscm.debian.org/cgit/pkg-grass/gdal.git/log/?h=experimental-2.0

Kind Regards,

Bas
diff -Nru sumo-0.23.0+dfsg1/debian/changelog sumo-0.23.0+dfsg1/debian/changelog
--- sumo-0.23.0+dfsg1/debian/changelog	2015-05-04 21:26:49.000000000 +0200
+++ sumo-0.23.0+dfsg1/debian/changelog	2015-10-20 12:53:22.000000000 +0200
@@ -1,3 +1,10 @@
+sumo (0.23.0+dfsg1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add patch for GDAL 2.0 support.
+
+ -- Bas Couwenberg <sebas...@debian.org>  Tue, 20 Oct 2015 12:51:15 +0200
+
 sumo (0.23.0+dfsg1-2) unstable; urgency=medium
 
   * Move package from experimental to unstable
diff -Nru sumo-0.23.0+dfsg1/debian/patches/50_gdal-2.0.patch sumo-0.23.0+dfsg1/debian/patches/50_gdal-2.0.patch
--- sumo-0.23.0+dfsg1/debian/patches/50_gdal-2.0.patch	1970-01-01 01:00:00.000000000 +0100
+++ sumo-0.23.0+dfsg1/debian/patches/50_gdal-2.0.patch	2015-10-20 12:51:09.000000000 +0200
@@ -0,0 +1,65 @@
+Description: now supporting GDAL 2.0 (as well as 1.x).
+Author: Thomas Lockhart
+Bug: http://sumo.dlr.de/trac.wsgi/ticket/1868
+Origin: http://sumo.dlr.de/trac.wsgi/changeset/18752
+
+--- a/src/netbuild/NBHeightMapper.cpp
++++ b/src/netbuild/NBHeightMapper.cpp
+@@ -166,8 +166,13 @@ NBHeightMapper::loadIfSet(OptionsCont& o
+ int
+ NBHeightMapper::loadShapeFile(const std::string& file) {
+ #ifdef HAVE_GDAL
++#if GDAL_VERSION_MAJOR < 2
+     OGRRegisterAll();
+     OGRDataSource* ds = OGRSFDriverRegistrar::Open(file.c_str(), FALSE);
++#else
++    GDALAllRegister();
++    GDALDataset* ds = (GDALDataset*) GDALOpen(file.c_str(), GA_ReadOnly);
++#endif
+     if (ds == NULL) {
+         throw ProcessError("Could not open shape file '" + file + "'.");
+     }
+@@ -242,7 +247,11 @@ NBHeightMapper::loadShapeFile(const std:
+         */
+         OGRFeature::DestroyFeature(feature);
+     }
++#if GDAL_VERSION_MAJOR < 2
+     OGRDataSource::DestroyDataSource(ds);
++#else
++    GDALClose(ds);
++#endif
+     OCTDestroyCoordinateTransformation(toWGS84);
+     OGRCleanupAll();
+     return numFeatures;
+--- a/src/netimport/NIImporter_ArcView.cpp
++++ b/src/netimport/NIImporter_ArcView.cpp
+@@ -125,8 +125,13 @@ void
+ NIImporter_ArcView::load() {
+ #ifdef HAVE_GDAL
+     PROGRESS_BEGIN_MESSAGE("Loading data from '" + mySHPName + "'");
++#if GDAL_VERSION_MAJOR < 2
+     OGRRegisterAll();
+     OGRDataSource* poDS = OGRSFDriverRegistrar::Open(mySHPName.c_str(), FALSE);
++#else
++    GDALAllRegister();
++    GDALDataset* poDS = (GDALDataset*) GDALOpen(mySHPName.c_str(), GA_ReadOnly);
++#endif
+     if (poDS == NULL) {
+         WRITE_ERROR("Could not open shape description '" + mySHPName + "'.");
+         return;
+--- a/src/polyconvert/PCLoaderArcView.cpp
++++ b/src/polyconvert/PCLoaderArcView.cpp
+@@ -84,8 +84,13 @@ PCLoaderArcView::load(const std::string&
+     bool useRunningID = oc.getBool("shapefile.use-running-id");
+     // start parsing
+     std::string shpName = file + ".shp";
++#if GDAL_VERSION_MAJOR < 2
+     OGRRegisterAll();
+     OGRDataSource* poDS = OGRSFDriverRegistrar::Open(shpName.c_str(), FALSE);
++#else
++    GDALAllRegister();
++    GDALDataset* poDS = (GDALDataset*) GDALOpen(shpName.c_str(), GA_ReadOnly);
++#endif
+     if (poDS == NULL) {
+         throw ProcessError("Could not open shape description '" + shpName + "'.");
+     }
diff -Nru sumo-0.23.0+dfsg1/debian/patches/series sumo-0.23.0+dfsg1/debian/patches/series
--- sumo-0.23.0+dfsg1/debian/patches/series	2015-05-04 21:24:34.000000000 +0200
+++ sumo-0.23.0+dfsg1/debian/patches/series	2015-10-20 12:53:14.000000000 +0200
@@ -2,3 +2,4 @@
 20_fix_scripts_headers.patch
 30_add_missing_link.patch
 40_drop_some_buildflags.patch
+50_gdal-2.0.patch

--- End Message ---
--- Begin Message ---
Source: sumo
Source-Version: 0.25.0+dfsg1-1

We believe that the bug you reported is fixed in the latest version of
sumo, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 802...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Anton Gladky <gl...@debian.org> (supplier of updated sumo package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 12 Jan 2016 22:29:34 +0100
Source: sumo
Binary: sumo sumo-doc sumo-tools
Architecture: source
Version: 0.25.0+dfsg1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Anton Gladky <gl...@debian.org>
Description:
 sumo       - Simulation of Urban MObility (SUMO)
 sumo-doc   - Simulation of Urban MObility (SUMO), documentation and examples
 sumo-tools - Simulation of Urban MObility (SUMO), tools and scripts
Closes: 802470
Changes:
 sumo (0.25.0+dfsg1-1) unstable; urgency=medium
 .
   * [c4a28a0] Imported Upstream version 0.25.0+dfsg1. (Closes: #802470)
   * [cf1cc2a] Refresh patches.
   * [f37c4fd] Refresh d/rules.
   * [566cd3b] Apply cme fix dpkg.
   * [8c9ea7f] Drop menu-file.
   * [05ad9d7] Add proper python-dependencies.
   * [21a0ed4] Update d/copyright.
   * [5e839de] Use system packaged OpenLayers.js.
Checksums-Sha1:
 8ea64a647b1f3f5a4c01faae42e6a3540934e104 2287 sumo_0.25.0+dfsg1-1.dsc
 fc63c49544bfca43cd00a96f14731b4a0635abda 6530556 sumo_0.25.0+dfsg1.orig.tar.xz
 c5e0f9cddee2cf0d17c4678525e803eef7371213 16032 
sumo_0.25.0+dfsg1-1.debian.tar.xz
Checksums-Sha256:
 b66e033e6770119323b44ff94e1ef2b8c8668cb9d2f1dd11a2c2c4bf18f13ece 2287 
sumo_0.25.0+dfsg1-1.dsc
 0de9cadb6f82b48b0da71269b151854b7adb2ae6e8950abb51243e4ce48abcc1 6530556 
sumo_0.25.0+dfsg1.orig.tar.xz
 c46a0678eb77a8aceb2690764140d99e69a2b5bb541a0d99aedcf131a537d5bc 16032 
sumo_0.25.0+dfsg1-1.debian.tar.xz
Files:
 fd0b61891610eeb25891e507d648b577 2287 science optional sumo_0.25.0+dfsg1-1.dsc
 e6fe56321170e63b921de41671745bb6 6530556 science optional 
sumo_0.25.0+dfsg1.orig.tar.xz
 b7f91fe11a3e77dcf08d0c6c618962f4 16032 science optional 
sumo_0.25.0+dfsg1-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJWlXFYAAoJENPhc4PPp/8GoboP/3x+2jfZGQuwgikzbrY807RO
MYUuy9Mne0oJ3x2BUom4WrFz5wfS/EsxTLcKWQ3qdtHi3RV8xzgyhHP289N0xKKL
4XdSoyCLz1Muchf9+MsbZkB2YomuZh2F2Rmjd1MTUSxy1dNaGh0R4NtNXcrXJDJz
IfNTCwvzQLf2Wv89CakaU9YQV1hd6aQVk+8ZjNn9G5An6QkRHPloiT4C/5tPZW7y
Mt+8WqX1OBtFdOad52jMf8zME6yY4krt6oHdyRFpRL7b/g6/ah++xWFS03SQMwUB
aCRphF390qNoteKHRSneuxHdYofW9tuE3Cg4kuY+qTKsoTlFNGbfV46SEkQw43TN
DVuYPLGu0cuGyarWi46r2/0FU+peT59TAGCB0Z1wjk3QjAyIpeXpuPCVBpgK93kX
4jn1MIL88ei0LxlkKtKYO9BMCFNpd0tJqnrxyUJ0cv8wX14CQFgmu5orkWpF1E70
Rt4ulOv3dRYqMsgkla6vqoSNM5yhWMUQl/42P6+zPmla1UKR4BN92opW8U3DWKvH
t9l+fgeDnKc9dUE5gYWsn4TVXq8VMxgzMLaSkUxpjZLo+9g+hQVxQ9ag8A0SvFKt
aqz5YINpYsMgATLoIMv2IR/oKLccJXo400dwf6Ne08/irqTYgKWpez5EqZwGStmW
SvbMvd2Jyqdqx3CUvSLm
=SH2C
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to