#1110600 osm2pgrouting ftbfs with boost 1.88

Package:
src:osm2pgrouting
Source:
src:osm2pgrouting
Submitter:
Matthias Klose
Date:
2025-09-01 08:53:05 UTC
Severity:
normal
Tags:
#1110600#5
Date:
2025-08-09 09:06:11 UTC
From:
To:
osm2pgrouting ftbfs with boost 1.88 (note that GCC 15 was also used for
the build):

[...]
/<<PKGBUILDDIR>>/src/osm_elements/osm_tag.cpp: In constructor
‘osm2pgr::Tag::Tag(const char**)’:
/<<PKGBUILDDIR>>/src/osm_elements/osm_tag.cpp:34:18: error: ‘transform’
is not a member of ‘std’
    34 |             std::transform(value.begin(), value.end(),
value.begin(), [](char ch) {
       |                  ^~~~~~~~~
make[3]: *** [CMakeFiles/osm2pgrouting.dir/build.make:334:
CMakeFiles/osm2pgrouting.dir/src/osm_elements/osm_tag.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'

#1110600#10
Date:
2025-08-09 09:50:38 UTC
From:
To:
Control: tags -1 upstream pending
Control: forwarded -1 https://github.com/pgRouting/osm2pgrouting/pull/306

Unfortunately I cannot reproduce this with the gcc-15 & boost1.88 packages from experimental as the transition hasn't happened yet and the boost build dependencies cannot be installed.

But the fix is trivial for which I've added a patch, and while upstreaming it noticed they already fixed it too.

Kind Regards,

Bas

#1110600#19
Date:
2025-08-09 09:50:38 UTC
From:
To:
Control: tags -1 upstream pending
Control: forwarded -1 https://github.com/pgRouting/osm2pgrouting/pull/306

Unfortunately I cannot reproduce this with the gcc-15 & boost1.88 packages from experimental as the transition hasn't happened yet and the boost build dependencies cannot be installed.

But the fix is trivial for which I've added a patch, and while upstreaming it noticed they already fixed it too.

Kind Regards,

Bas

#1110600#26
Date:
2025-09-01 07:49:48 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
osm2pgrouting, 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 1110600@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bas Couwenberg <sebastic@debian.org> (supplier of updated osm2pgrouting 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 01 Sep 2025 09:30:22 +0200
Source: osm2pgrouting
Architecture: source
Version: 2.3.8-4
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
Changed-By: Bas Couwenberg <sebastic@debian.org>
Closes: 1110600 1113378
Changes:
 osm2pgrouting (2.3.8-4) unstable; urgency=medium
 .
   * Bump Standards-Version to 4.7.2, no changes.
   * Fix old FSF address in copyright file.
   * Add patch to fix FTFBS with GCC 15 & Boost 1.88.
     (closes: #1110600)
   * Add patch to fix FTBFS with CMake 4.x.
     (closes: #1113378)
Checksums-Sha1:
 456e0409a8253d57ab8fbda9675d9557caab702b 2240 osm2pgrouting_2.3.8-4.dsc
 0f69a29d939cdd445eca7a6159e833ed9b92a04c 16636 osm2pgrouting_2.3.8-4.debian.tar.xz
 1294df69c1c34b5e38739146061835e902e6bb06 11015 osm2pgrouting_2.3.8-4_amd64.buildinfo
Checksums-Sha256:
 4aa39d5115d12a9c11ac2210e195ac325c312941ddd007112d941a95333aff0e 2240 osm2pgrouting_2.3.8-4.dsc
 3ae0391c31c1d302f917600696a2e19bd641b4e00d6a9f7f7748c66004337aff 16636 osm2pgrouting_2.3.8-4.debian.tar.xz
 5ee99cbeed6742b62696e6c7163575bf8983efbe754faa61cb170603b4ae523e 11015 osm2pgrouting_2.3.8-4_amd64.buildinfo
Files:
 3f8d2464c0f573115bcd452e57631877 2240 utils optional osm2pgrouting_2.3.8-4.dsc
 d24c2c95b089d2f803dcde53dc8202a3 16636 utils optional osm2pgrouting_2.3.8-4.debian.tar.xz
 f5fa1195dff8d0537a034365067b31da 11015 utils optional osm2pgrouting_2.3.8-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEgYLeQXBWQI1hRlDRZ1DxCuiNSvEFAmi1S+sACgkQZ1DxCuiN
SvEBrg//R1SANbHvHDBiTjPOyCKM9s0AhRiRfZ9RApDMOHJLs/wfnGlSEHLElT31
T+iKl9rMJfrTwu/XqfoiG4Qs7Gmw4NGURcWWMURWMd6JYzbCsKP9Ggt7N9OF54cw
/uRLihUZSMhOPdR7caQrzA3gNzGzlDeZ8OprBquv7eH0X1bT+on0jt1QODvqLt4Y
SyYYBP0gKwjjJTBinDPkO1u1opke77pUY8KcXkrc3v5tVjhoyxEjQeiK8LVquPXI
ZfpF9qvjHN140giN0866o9tmmwZtFEDs60lssXCtTRSwO0s4jzhW+HWnGU9ycqtV
s8npNOgSB1LPdSSMitIBFfYmPXNNcwRwrjAaAJXS3cIZ2oiO+OBEkMlgY3smCAr+
rUeJGIQG1skbZtx1rf4Y2fS3KXW5nWh7zFvY2XJeGDnHjw/2qvBZq7SdjFYpG91p
wYJFIfBZQVSUfMh0cnOOJFTfGimjJCVoxmbZkpCLkpwjdE2mNszQu2gi/iPuwara
2wMUSO7pEi2Vp0F/rNW3IfgofZYfS7MsLiVsPQdnQHJMY/L6OEkjnUx5r5bbU3zF
yZx2tMfNxvf+n3ZGzsTR7FIRebxXE4WMFohdYBnCtTij5wWsUYiao1sGGZlWHQ63
wpcHlIv2Dxw2PgXFoVqOTNNFyyNWCweGWV9ISKTjP2BHedpTn6U=
=j2gS
-----END PGP SIGNATURE-----