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
[Bug] v.hull fails to compile in GRASS 7.8.5 #1563
Comments
The code in question is
Line 33 in 55ba329
but I don't see any connection to GDAL so far... |
I updated the title so it's not specific - cause I really don't know the cause of the underlying issue. |
|
Do we want this fixed in the upcoming 7.8.6 release or no hurry? |
If it matters too, in the PKGBUILD[1] there is a line that exports CPP as:
I'll get you the compiler version today when I get back home (out on the trapline right now with sketchy service). [1] https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=grass |
I have GCC 10.2.0 |
Thanks for the additional info @saultdon!
E.g. use of locally defined bool (as in chull.c): I would suggest that this is a downstream/packaging issue, nothing that should promptly be addressed in GRASS. |
Now I see where this conflict originates. It is indeed GDAL 3.3.0 related, as ogr_api.h now includes the This will indeed become a general problem the moment GDAL 3.3 will be more widely spread, which may be sooner than later, and should be addressed in GRASS. |
@saultdon If you can, please test the proposed fix #1567 against GDAL 3.3. It builds fine on GDAL 3.2, but I have no 3.3 around at the moment. |
Build works with patch against GDAL 3.3.0
|
Also confirmed hare on Mageia Cauldron #1567 fixes build with gdal 3.3.0. |
Enables globally the C99 'bool' type with its values 'true' and 'false'. The old boolean constants 'TRUE' and 'FALSE' are still valid but redefined to 'true' and 'false' to emphasize their equivalence. (Re-)definitions of TRUE/FALSE in modules are removed. This change was originally triggered by a conflict of v.hull -- defining a local bool type -- with GDAL 3.3 which introduced the inclusion of stdbool.h (#1563).
Enables globally the C99 'bool' type with its values 'true' and 'false'. The old boolean constants 'TRUE' and 'FALSE' are still valid but redefined to 'true' and 'false' to emphasize their equivalence. (Re-)definitions of TRUE/FALSE in modules are removed. This change was originally triggered by a conflict of v.hull -- defining a local bool type -- with GDAL 3.3 which introduced the inclusion of stdbool.h (#1563).
Enables globally the C99 'bool' type with its values 'true' and 'false'. The old boolean constants 'TRUE' and 'FALSE' are still valid but redefined to 'true' and 'false' to emphasize their equivalence. (Re-)definitions of TRUE/FALSE in modules are removed. This change was originally triggered by a conflict of v.hull -- defining a local bool type -- with GDAL 3.3 which introduced the inclusion of stdbool.h (OSGeo#1563).
Enables globally the C99 'bool' type with its values 'true' and 'false'. The old boolean constants 'TRUE' and 'FALSE' are still valid but redefined to 'true' and 'false' to emphasize their equivalence. (Re-)definitions of TRUE/FALSE in modules are removed. This change was originally triggered by a conflict of v.hull -- defining a local bool type -- with GDAL 3.3 which introduced the inclusion of stdbool.h (OSGeo#1563).
Enables globally the C99 'bool' type with its values 'true' and 'false'. The old boolean constants 'TRUE' and 'FALSE' are still valid but redefined to 'true' and 'false' to emphasize their equivalence. (Re-)definitions of TRUE/FALSE in modules are removed. This change was originally triggered by a conflict of v.hull -- defining a local bool type -- with GDAL 3.3 which introduced the inclusion of stdbool.h (OSGeo#1563).
Enables globally the C99 'bool' type with its values 'true' and 'false'. The old boolean constants 'TRUE' and 'FALSE' are still valid but redefined to 'true' and 'false' to emphasize their equivalence. (Re-)definitions of TRUE/FALSE in modules are removed. This change was originally triggered by a conflict of v.hull -- defining a local bool type -- with GDAL 3.3 which introduced the inclusion of stdbool.h (OSGeo#1563).
Describe the bug
When compiling GRASS 7.8.4 against GDAL 3.3.0 the v.hull module fails.
To Reproduce
and the error from the v.hull folder in the src package gives:
System description (please complete the following information):
Additional context
Downgrading GDAL to 3.2.2 lets GRASS 7.8.4 compile.
The text was updated successfully, but these errors were encountered: