New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.5.0-rc1 fails to build on 32bit architectures (error: ‘numeric_limits’ is not a member of ‘std’) #5694
Comments
rouault
added a commit
that referenced
this issue
May 8, 2022
rouault
added a commit
that referenced
this issue
May 8, 2022
rouault
added a commit
that referenced
this issue
May 8, 2022
The changes from 145aa36 have been added as a patch to the Debian package, but it still fails to build on the 32 bit architectures: https://buildd.debian.org/status/package.php?p=gdal&suite=experimental
|
grepping through the sources reveals more files that need to be patched: Description: Include limits to fix FTBFS.
error: ‘numeric_limits’ is not a member of ‘std’
Author: Bas Couwenberg <sebastic@debian.org>
Bug: https://github.com/OSGeo/gdal/issues/5694
--- a/frmts/pcidsk/sdk/blockdir/asciitilelayer.cpp
+++ b/frmts/pcidsk/sdk/blockdir/asciitilelayer.cpp
@@ -34,6 +34,7 @@
#include <cstring>
#include <cstdio>
#include <algorithm>
+#include <limits>
using namespace PCIDSK;
--- a/frmts/pcidsk/sdk/blockdir/binarytiledir.cpp
+++ b/frmts/pcidsk/sdk/blockdir/binarytiledir.cpp
@@ -36,6 +36,7 @@
#include <cstring>
#include <cstdio>
#include <algorithm>
+#include <limits>
using namespace PCIDSK;
--- a/frmts/pcidsk/sdk/blockdir/binarytilelayer.cpp
+++ b/frmts/pcidsk/sdk/blockdir/binarytilelayer.cpp
@@ -30,6 +30,7 @@
#include "core/pcidsk_utils.h"
#include "pcidsk_exception.h"
#include <algorithm>
+#include <limits>
using namespace PCIDSK;
I see that this was fixed in the mean time: d778082 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior and actual behavior.
The Debian package for GDAL 3.5.0-rc1 (using CMake) fails to build on 32bit architectures:
https://buildd.debian.org/status/package.php?p=gdal&suite=experimental
Full buildlogs: i386, armhf, armel, mipsel, powerpc
Steps to reproduce the problem.
Build GDAL in a i386 environment (e.g. chroot/VM/container).
Operating system
Debian unstable/experimental
GDAL version and provenance
gdal (3.5.0~rc1+dfsg-1~exp1)
from Debian experimentalThe text was updated successfully, but these errors were encountered: