Skip to content
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

gdal v3.9.3 #991

Merged
merged 5 commits into from
Oct 24, 2024
Merged

Conversation

regro-cf-autotick-bot
Copy link
Contributor

It is very likely that the current package version for this feedstock is out of date.

Checklist before merging this PR:

  • Dependencies have been updated if changed: see upstream
  • Tests have passed
  • Updated license if changed and license_file is packaged

Information about this PR:

  1. Feel free to push to the bot's branch to update this PR if needed.
  2. The bot will almost always only open one PR per version.
  3. The bot will stop issuing PRs if more than 3 version bump PRs generated by the bot are open. If you don't want to package a particular version please close the PR.
  4. If you want these PRs to be merged automatically, make an issue with @conda-forge-admin,please add bot automerge in the title and merge the resulting PR. This command will add our bot automerge feature to your feedstock.
  5. If this PR was opened in error or needs to be updated please add the bot-rerun label to this PR. The bot will close this PR and schedule another one. If you do not have permissions to add this label, you can use the phrase @conda-forge-admin, please rerun bot in a PR comment to have the conda-forge-admin add it for you.

Pending Dependency Version Updates

Here is a list of all the pending dependency version updates for this repo. Please double check all dependencies before merging.

Name Upstream Version Current Version
gdal 3.9.3 Anaconda-Server Badge
lerc 4.0.4 Anaconda-Server Badge
libjpeg-turbo 9e Anaconda-Server Badge

This PR was created by the regro-cf-autotick-bot. The regro-cf-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. Feel free to drop us a line if there are any issues! This PR was generated by https://github.com/regro/cf-scripts/actions/runs/11335175790 - please use this URL for debugging.

@conda-forge-admin
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

@akrherz
Copy link
Contributor

akrherz commented Oct 14, 2024

Mac Error is

2024-10-14T21:58:00.9931020Z CMake Error at /Users/runner/miniforge3/conda-bld/libgdal-core_1728942137776/_build_env/share/cmake-3.30/Modules/FindBISON.cmake:113 (message):
2024-10-14T21:58:00.9988620Z   Command "/usr/bin/bison --version" failed with output:
2024-10-14T21:58:01.0041820Z 
2024-10-14T21:58:01.0084110Z   2024-10-14 21:57:54.354 xcodebuild[21900:83352] [MT] DVTSDK: Skipped SDK
2024-10-14T21:58:01.0140910Z   /Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk;
2024-10-14T21:58:01.0178380Z   its version (11.0) is below required minimum (13.0) for the macosx
2024-10-14T21:58:01.0244500Z   platform.
2024-10-14T21:58:01.0298760Z 
2024-10-14T21:58:01.0348200Z   2024-10-14 21:57:55.366 xcodebuild[21900:83352] Writing error result bundle
2024-10-14T21:58:01.0393930Z   to
2024-10-14T21:58:01.0427800Z   /var/folders/4b/7k50gk0j4f5bjk3799wdt8nw0000gn/T/ResultBundle_2024-14-10_21-57-0055.xcresult
2024-10-14T21:58:01.0469930Z 
2024-10-14T21:58:01.0500530Z 
2024-10-14T21:58:01.0541100Z   xcodebuild: error: SDK
2024-10-14T21:58:01.0596970Z   "/Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk"
2024-10-14T21:58:01.0638150Z   cannot be located.
2024-10-14T21:58:01.0670520Z 
2024-10-14T21:58:01.0691590Z   bison: error: sh -c
2024-10-14T21:58:01.0722530Z   '/Applications/Xcode_15.2.app/Contents/Developer/usr/bin/xcodebuild -sdk
2024-10-14T21:58:01.0756880Z   /Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk
2024-10-14T21:58:01.0791450Z   -find bison 2> /dev/null' failed with exit code 16384: (null) (errno=No
2024-10-14T21:58:01.0811750Z   such file or directory)
2024-10-14T21:58:01.0845290Z 
2024-10-14T21:58:01.0884220Z   xcode-select: Failed to locate 'bison', requesting installation of command
2024-10-14T21:58:01.0902350Z   line developer tools.
2024-10-14T21:58:01.0925090Z 
2024-10-14T21:58:01.1043670Z Call Stack (most recent call first):
2024-10-14T21:58:01.1086210Z   ogr/ogrsf_frmts/ods/CMakeLists.txt:45 (find_package)

@rouault
Copy link
Contributor

rouault commented Oct 14, 2024

Mac Error is

looks like an issue with the arm64 cross compiling environment

That said this is only used for developers refreshing .cpp files from .y, and is not needed for regular builds. So the following patch should workaround the issue:

diff --git a/ogr/CMakeLists.txt b/ogr/CMakeLists.txt
index ce665225df..b3e07b34bf 100644
--- a/ogr/CMakeLists.txt
+++ b/ogr/CMakeLists.txt
@@ -194,6 +194,7 @@ add_custom_target(check_swq_parser_md5 ALL
                   DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/swq_parser.y"
                   VERBATIM)
 
+if(OFF)
 find_package(BISON)
 add_custom_target(generate_swq_parser
                   COMMAND ${CMAKE_COMMAND}
@@ -202,3 +203,4 @@ add_custom_target(generate_swq_parser
                       -P "${CMAKE_CURRENT_SOURCE_DIR}/generate_swq_parser.cmake"
                   WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
                   VERBATIM)
+endif()
diff --git a/ogr/ogrsf_frmts/ods/CMakeLists.txt b/ogr/ogrsf_frmts/ods/CMakeLists.txt
index f2090be63a..1643d1fa3e 100644
--- a/ogr/ogrsf_frmts/ods/CMakeLists.txt
+++ b/ogr/ogrsf_frmts/ods/CMakeLists.txt
@@ -42,6 +42,7 @@ add_custom_target(check_ods_formula_parser_md5 ALL
                   DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/ods_formula_parser.y"
                   VERBATIM)
 
+if(OFF)
 find_package(BISON)
 add_custom_target(generate_ods_formula_parser
                   COMMAND ${CMAKE_COMMAND}
@@ -50,3 +51,4 @@ add_custom_target(generate_ods_formula_parser
                       -P "${CMAKE_CURRENT_SOURCE_DIR}/generate_ods_formula_parser.cmake"
                   WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
                   VERBATIM)
+endif()

@conda-forge-admin
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found some lint.

Here's what I've got...

For recipe/meta.yaml:

  • The build section contained an unexpected subsection name. patches is not a valid subsection name.

@conda-forge-admin
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

@akrherz
Copy link
Contributor

akrherz commented Oct 15, 2024

error now is

++ tr '[:lower:]' '[:upper:]'
+ GDAL_PLUGIN_NAME=KEA
+ CMAKE_ARGS='-DCMAKE_AR=/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/_build_env/bin/arm64-apple-darwin20.0.0-ar -DCMAKE_CXX_COMPILER_AR=/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/_build_env/bin/arm64-apple-darwin20.0.0-ar -DCMAKE_C_COMPILER_AR=/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/_build_env/bin/arm64-apple-darwin20.0.0-ar -DCMAKE_RANLIB=/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/_build_env/bin/arm64-apple-darwin20.0.0-ranlib -DCMAKE_CXX_COMPILER_RANLIB=/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/_build_env/bin/arm64-apple-darwin20.0.0-ranlib -DCMAKE_C_COMPILER_RANLIB=/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/_build_env/bin/arm64-apple-darwin20.0.0-ranlib -DCMAKE_LINKER=/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/_build_env/bin/arm64-apple-darwin20.0.0-ld -DCMAKE_STRIP=/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/_build_env/bin/arm64-apple-darwin20.0.0-strip -DCMAKE_INSTALL_NAME_TOOL=/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/_build_env/bin/arm64-apple-darwin20.0.0-install_name_tool -DCMAKE_LIBTOOL=/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/_build_env/bin/arm64-apple-darwin20.0.0-libtool -DCMAKE_OSX_DEPLOYMENT_TARGET=11.0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_SYSROOT=/Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_FIND_APPBUNDLE=LAST -DCMAKE_INSTALL_PREFIX=/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_PROGRAM_PATH=/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/_build_env/bin;/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/bin -DCMAKE_SYSTEM_NAME=Darwin -DCMAKE_SYSTEM_PROCESSOR=arm64 -DCMAKE_SYSTEM_VERSION=20.0.0 -DCMAKE_OSX_DEPLOYMENT_TARGET=11.0 -DGDAL_USE_KEA=ON -DGDAL_USE_HDF5=ON
      -DGDAL_ENABLE_DRIVER_KEA=ON       -DGDAL_ENABLE_DRIVER_KEA_PLUGIN=ON'
+ cmake '-U*LATER_PLUGIN' -DBUILD_PYTHON_BINDINGS:BOOL=OFF -DCMAKE_AR=/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/_build_env/bin/arm64-apple-darwin20.0.0-ar -DCMAKE_CXX_COMPILER_AR=/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/_build_env/bin/arm64-apple-darwin20.0.0-ar -DCMAKE_C_COMPILER_AR=/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/_build_env/bin/arm64-apple-darwin20.0.0-ar -DCMAKE_RANLIB=/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/_build_env/bin/arm64-apple-darwin20.0.0-ranlib -DCMAKE_CXX_COMPILER_RANLIB=/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/_build_env/bin/arm64-apple-darwin20.0.0-ranlib -DCMAKE_C_COMPILER_RANLIB=/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/_build_env/bin/arm64-apple-darwin20.0.0-ranlib -DCMAKE_LINKER=/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/_build_env/bin/arm64-apple-darwin20.0.0-ld -DCMAKE_STRIP=/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/_build_env/bin/arm64-apple-darwin20.0.0-strip -DCMAKE_INSTALL_NAME_TOOL=/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/_build_env/bin/arm64-apple-darwin20.0.0-install_name_tool -DCMAKE_LIBTOOL=/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/_build_env/bin/arm64-apple-darwin20.0.0-libtool -DCMAKE_OSX_DEPLOYMENT_TARGET=11.0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_SYSROOT=/Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_FIND_APPBUNDLE=LAST -DCMAKE_INSTALL_PREFIX=/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh -DCMAKE_INSTALL_LIBDIR=lib '-DCMAKE_PROGRAM_PATH=/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/_build_env/bin;/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/bin' -DCMAKE_SYSTEM_NAME=Darwin -DCMAKE_SYSTEM_PROCESSOR=arm64 -DCMAKE_SYSTEM_VERSION=20.0.0 -DCMAKE_OSX_DEPLOYMENT_TARGET=11.0 -DGDAL_USE_KEA=ON -DGDAL_USE_HDF5=ON -DGDAL_ENABLE_DRIVER_KEA=ON -DGDAL_ENABLE_DRIVER_KEA_PLUGIN=ON /Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/work
dyld[13704]: Library not loaded: @rpath/libzstd.1.dylib
  Referenced from: <A0C6CBC7-8F86-39B9-8CDA-35B5CC4AAEA2> /Users/runner/miniforge3/pkgs/cmake-3.30.5-h7243fc2_0/bin/cmake
  Reason: tried: '/Users/runner/miniforge3/pkgs/cmake-3.30.5-h7243fc2_0/bin/../lib/libzstd.1.dylib' (no such file), '/Users/runner/miniforge3/pkgs/cmake-3.30.5-h7243fc2_0/bin/../lib/libzstd.1.dylib' (no such file), '/usr/local/lib/libzstd.1.dylib' (no such file), '/usr/lib/libzstd.1.dylib' (no such file, not in dyld cache)
/Users/runner/miniforge3/conda-bld/libgdal-core_1728950622717/work/build_plugin.sh: line 37: 13704 Abort trap: 6           cmake "-U*LATER_PLUGIN" -DBUILD_PYTHON_BINDINGS:BOOL=OFF ${CMAKE_ARGS} ${SRC_DIR}

@akrherz
Copy link
Contributor

akrherz commented Oct 23, 2024

Might as well try a rerender first and see if osx arm64 has any better luck
@conda-forge-admin please rerender

@akrherz
Copy link
Contributor

akrherz commented Oct 23, 2024

A new error on windows this time

ERROR:conda.core.link:An error occurred while installing package 'conda-forge::vc14_runtime-14.40.33810-hcc2c482_22'.
Rolling back transaction: ...working... done
conda.CondaMultiError: [Errno 13] Permission denied: 'D:\bld\libgdal-core_1729689602044\_h_env\vcruntime140.dll'

@akrherz
Copy link
Contributor

akrherz commented Oct 23, 2024

Whelp, it appears we traded one transient build failure for another. @xylar you have thoughts on how to proceed? try again tomorrow? I'd volunteer to babysit the main branch builds and restart tomorrow in case of another failure. Shrug.

@xylar
Copy link
Contributor

xylar commented Oct 23, 2024

@akrherz, I appreciate you asking me but I don't have any insight or particularly relevant expertise here, I'm afraid.

@ocefpaf
Copy link
Member

ocefpaf commented Oct 24, 2024

@isuruf is that related to the drive change where miniforge is installed?

@akrherz
Copy link
Contributor

akrherz commented Oct 24, 2024

Looks like I got the same azure image sources, so likely going to fail, shrug. Trying this:
@conda-forge-admin please rerender

@akrherz
Copy link
Contributor

akrherz commented Oct 24, 2024

rerendering locally chewed CPU for about 6 minutes with no changes, so alas. Googling' around some more on this

@conda-forge-admin
Copy link
Contributor

Hi! This is the friendly automated conda-forge-webservice.

I tried to rerender for you, but it looks like there was nothing to do.

This message was generated by GitHub actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/11506496849.

@akrherz
Copy link
Contributor

akrherz commented Oct 24, 2024

Thanks @isuruf ! c/f conda-forge/conda-smithy#2076 , so perhaps the error above is the D:\ drive being full.

@akrherz akrherz added the automerge Merge the PR when CI passes label Oct 24, 2024
@@ -14,31 +14,16 @@ jobs:
timeoutInMinutes: 360
variables:
CONDA_BLD_PATH: D:\\bld\\
MINIFORGE_HOME: C:\Miniforge
Copy link
Member

Choose a reason for hiding this comment

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

You should set this in conda-forge.yml as well to make this permanant. See conda-smithy docs on how to do that.

@github-actions github-actions bot merged commit 602c442 into conda-forge:main Oct 24, 2024
9 checks passed
Copy link
Contributor

Hi! This is the friendly conda-forge automerge bot!

I considered the following status checks when analyzing this PR:

  • linter: passed
  • azure: passed

Thus the PR was passing and merged! Have a great day!

@ocefpaf
Copy link
Member

ocefpaf commented Oct 25, 2024

As usual... Thanks @isuruf for the save. (Although I confess I was lazy on this one. I suspected that and I should've tried it before pinging you.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Merge the PR when CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants