Debian Patches
Status for sumo/1.27.1+dfsg-1
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| fix_guilane_ftbfs.patch | Fix FTBFS in GUILane::updateMesoGUISegments() origLength is only declared under #ifdef _DEBUG, but the following assert() used it unconditionally. Debian's build defines neither _DEBUG (that's only added for CMAKE_BUILD_TYPE=Debug) nor NDEBUG, so assert() stays compiled in and origLength is undeclared, breaking the build ("'origLength' was not declared in this scope"). Guard the assert() with the same #ifdef. =================================================================== |
Anton Gladky <gladk@debian.org> | not-needed | 2026-08-21 | ||
| 60_fix_tests.patch | Fix tests =================================================================== |
Anton Gladky <gladk@debian.org> | no | 2021-01-05 | ||
| fix_FTBFS.patch | Fix build failure due to missing assert definition =================================================================== |
Anton Gladky <gladk@debian.org> | no | 2025-10-13 | ||
| fix_gui_font.patch | Fix GUI font size for high-DPI displays =================================================================== |
Anton Gladky <gladk@debian.org> | no | 2025-10-14 | ||
| fix_privacy_breach.patch | Fix privacy breach in web wizard Point the bundled-library script/stylesheet tags at the system-installed libjs-jquery and libjs-leaflet packages instead of shipping (or fetching) private copies. Upstream switched from OpenLayers to Leaflet in 1.26.0. =================================================================== |
Anton Gladky <gladk@debian.org> | no | 2025-10-14 | ||
| use_system_stb.patch | Use packaged version of stb_trutype. =================================================================== |
Anton Gladky <gladk@debian.org> | no | debian | 2025-11-12 | |
| fix_pyint_python3.patch | Fix PyInt_* (Python 2) API usage in SWIG libsumo typemap libsumo_typemap.i still called PyInt_Check/PyInt_AsLong/PyInt_FromLong in the TraCIResults typemap, which were removed from the Python 3 C API. This broke the build of the generated libtraci/libsumo Python wrappers (libtraciPYTHON_wrap.cxx etc, which include this typemap). Replace them with the PyLong_* equivalents already used everywhere else in this file. =================================================================== |
Anton Gladky <gladk@debian.org> | not-needed | debian | 2026-08-21 | |
| fix_reproducible_isotime.patch | Respect SOURCE_DATE_EPOCH in StringUtils::isoTimeString() OptionsCont::--save-template embeds a "generated on <isoTimeString()>" comment using the real wall-clock time. tools/build_config/templates.py runs sumo/netconvert/netgenerate --save-template at build time to generate src/netedit/templates.h, so this timestamp gets baked into netedit, breaking bit-for-bit reproducibility between two otherwise identical builds (confirmed via Salsa CI's debrebuild job: the netedit binary differed only in this embedded "generated on" timestamp). . Fix isoTimeString() to use SOURCE_DATE_EPOCH when set, per https://reproducible-builds.org/specs/source-date-epoch/. dpkg- buildpackage exports it automatically (from the latest debian/ changelog entry), so this only changes behaviour during packaging builds; normal interactive use (e.g. a user running "sumo --save-template stdout" themselves) is unaffected. . The UTC-offset part of the timestamp had a second, related bug: it read a fresh time(nullptr) instead of reusing the already-computed now_c, so it stayed non-reproducible even with SOURCE_DATE_EPOCH honored above (confirmed by a second debrebuild run: the date/time digits matched, only the UTC offset still differed, e.g. "-21:12" vs. "-23:20" -- also not a plausible real-world UTC offset, since local_tm and utc_tm ended up derived from two unrelated moments in time, desyncing the mktime()-based DST handling). Reuse now_c for both, like for the timestamp itself. =================================================================== |
Anton Gladky <gladk@debian.org> | not-needed | 2026-08-23 |
All known versions for source package 'sumo'
- 1.27.1+dfsg-1 (sid)
- 1.25.0+dfsg1-1 (forky)
- 1.25.0+dfsg1-1~bpo13+1 (trixie-backports)
- 1.18.0+dfsg-4 (trixie)
- 1.15.0+dfsg-1+deb12u1 (bookworm)
