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-py3.10/3.9.2 package update #26727

Merged
merged 3 commits into from
Sep 9, 2024

Conversation

octo-sts[bot]
Copy link
Contributor

@octo-sts octo-sts bot commented Aug 20, 2024

Signed-off-by: wolfi-bot <121097084+wolfi-bot@users.noreply.github.com>
@octo-sts octo-sts bot added request-version-update request for a newer version of a package automated pr labels Aug 20, 2024
Copy link
Contributor Author

octo-sts bot commented Aug 20, 2024

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.

Copy link
Contributor Author

octo-sts bot commented Aug 24, 2024

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`.

@mamccorm mamccorm requested review from debasishbsws and removed request for debasishbsws September 6, 2024 10:11
@mamccorm mamccorm assigned mamccorm and debasishbsws and unassigned mamccorm Sep 6, 2024
Signed-off-by: RJ Trujillo <rj.sampson@chainguard.dev>
@octo-sts octo-sts bot added the bincapz/pass label Sep 8, 2024
@mamccorm mamccorm merged commit cf40272 into main Sep 9, 2024
12 checks passed
@mamccorm mamccorm deleted the wolfictl-72487afb-cae5-41c2-b11f-ed2dc2ee10e3 branch September 9, 2024 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated pr bincapz/pass request-version-update request for a newer version of a package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants