Skip to content

Comments

make: pass GDAL include dirs to proj#6631

Merged
nilason merged 1 commit intoOSGeo:mainfrom
parona-source:gdal-flags
Nov 17, 2025
Merged

make: pass GDAL include dirs to proj#6631
nilason merged 1 commit intoOSGeo:mainfrom
parona-source:gdal-flags

Conversation

@parona-source
Copy link
Contributor

@parona-source parona-source commented Nov 17, 2025

vector_inc and vedit_inc don't need this treatment as VECT_CFLAGS has it
added already. This would conform to how its done in the CMakeLists.txt
as well.

Oddly enough this isn't a fatal error though. So if anyone hit a build
failure and thought this was the issue should look further into their
builds logs for the actual cause.

Bug: #4258

Why did I look at this? Because r.geomorphon actually segfaulted and while trying to find the error I ended up spending some time at this red herring.
#3731 (comment)

vector_inc and vedit_inc don't need this treatment as VECT_CFLAGS has it
added already. This would conform to how its done in the CMakeLists.txt
as well.

Oddly enough this isn't a fatal error though. So if anyone hit a build
failure and thought this was the issue should look further into their
builds logs for the actual cause.

Bug: OSGeo#4258
Signed-off-by: Alfred Wingate <[email protected]>
Copy link
Contributor

@nilason nilason left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, nice catch!

Unfortunately, actual problems are easily hidden in ctypesgen's long list of mostly ignorable error messages (as seen in #4258).

@nilason nilason added this to the 8.4.2 milestone Nov 17, 2025
@nilason nilason added the backport to 8.4 PR needs to be backported to release branch 8.4 label Nov 17, 2025
@nilason nilason merged commit e8dd430 into OSGeo:main Nov 17, 2025
35 of 39 checks passed
nilason pushed a commit that referenced this pull request Nov 17, 2025
vector_inc and vedit_inc don't need this treatment as VECT_CFLAGS has it
added already. This would conform to how its done in the CMakeLists.txt
as well.

Oddly enough this isn't a fatal error though. So if anyone hit a build
failure and thought this was the issue should look further into their
builds logs for the actual cause.

Bug: #4258

Signed-off-by: Alfred Wingate <[email protected]>
@nilason nilason removed the backport to 8.4 PR needs to be backported to release branch 8.4 label Nov 17, 2025
@nilason
Copy link
Contributor

nilason commented Nov 17, 2025

Backported with 7f27442.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] build: "ogr_srs_api.h: No such file or directory" and "cdefs.h syntax error" errors

2 participants