os icon indicating copy to clipboard operation
os copied to clipboard

gdal-py3.10/3.9.2 package update

Open octo-sts[bot] opened this issue 1 year ago • 1 comments

octo-sts[bot] avatar Aug 20 '24 16:08 octo-sts[bot]

Open AI suggestions to solve the build error:

The error message is: 

ERROR: failed to build package. the build environment has been preserved: INFO workspace dir: /temp/melange-workspace-1636347328 INFO guest dir: /temp/melange-guest-419026311 ERRO failed to build package: unable to run package gdal-py3.10 pipeline: unable to run pipeline: unable to run pipeline: exit status 1 make[1]: *** [Makefile:111: packages/aarch64/gdal-py3.10-3.9.2-r0.apk] Error 1 make[1]: Leaving directory '/github/home' make: *** [Makefile:101: package/gdal-py3.10] Error 2 ##[error]Process completed with exit code 2.


Suggestions:
1. Verify dependencies for gdal-py3.10 are installed.
2. Check the Makefile for correct paths and targets.
3. Ensure the build environment is correctly set up.
4. Review logs in `/temp/melange-workspace-1636347328` for more details.
5. Re-run the build process.

octo-sts[bot] avatar Aug 20 '24 16:08 octo-sts[bot]

Open AI suggestions to solve the build error:

The error message is: "CMake Error at /usr/lib64/cmake/zstd/zstdTargets.cmake:107 (message):
  The imported target "zstd::libzstd_static" references the file

      "/usr/lib/libzstd.a"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

      "/usr/lib64/cmake/zstd/zstdTargets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib64/cmake/zstd/zstdConfig.cmake:42 (include)
  cmake/helpers/CheckDependentLibraries.cmake:141 (find_package)
  cmake/helpers/CheckDependentLibraries.cmake:428 (gdal_check_package)
  gdal.cmake:266 (include)
  CMakeLists.txt:240 (include)


-- Configuring incomplete, errors occurred!
ERROR: failed to build package. the build environment has been preserved:
  workspace dir: /temp/melange-workspace-1735185962
  guest dir: /temp/melange-guest-3038754592
failed to build package: unable to run package gdal-py3.10 pipeline: unable to run pipeline: unable to run pipeline: exit status 1
make[1]: *** [Makefile:111: packages/aarch64/gdal-py3.10-3.9.2-r0.apk] Error 1
make[1]: Leaving directory '/github/home'
make: *** [Makefile:101: package/gdal-py3.10] Error 2
##[error]Process completed with exit code 2."

1. Verify if `/usr/lib/libzstd.a` exists.
2. If missing, reinstall the `zstd` library: `sudo apt-get install --reinstall libzstd-dev`.
3. Ensure CMake is pointing to the correct path: `cmake -DZSTD_LIBRARY=/usr/lib/libzstd.a`.
4. Clean and rebuild the project: `make clean && make`.

octo-sts[bot] avatar Aug 24 '24 20:08 octo-sts[bot]