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

Build Failure on METv12.0.0-rc1 at proj Section on Ubuntu 24 with GNU Compilers and Python 3.12 #3019

Open
HathewayWill opened this issue Nov 14, 2024 · 0 comments
Labels
alert: NEED ACCOUNT KEY Need to assign an account key to this issue alert: NEED CYCLE ASSIGNMENT Need to assign to a release development cycle alert: NEED MORE DEFINITION Not yet actionable, additional definition required type: bug Fix something that is not working

Comments

@HathewayWill
Copy link


Title

Build Failure on METv12.0.0-rc1 at proj Section on Ubuntu 24 with GNU Compilers and Python 3.12

Issue Description

The METv12.0.0-rc1 release candidate fails to build on a non-HPC system during the proj library compilation phase. This issue occurs on Ubuntu 24 using modern GNU compilers and Python 3.12. The installation process does not progress past the library compilation stage, which deviates from the behavior observed in the stable version v11.1.0, where the installation completes successfully.

Expected Behavior

MET should compile and install all libraries successfully, similar to its behavior in version v11.1.0.

Environment

  • Machine: Linux Workstation
  • Operating System: Ubuntu 24.4.1
  • Python Version: 3.12.3
  • Compiler: GNU 13.2.0

Steps to Reproduce

The issue can be observed by following the steps outlined in the provided log files. Unfortunately, I cannot attach files directly here, but I am happy to provide them upon request or share through an alternative method.

UBUNTU_24.zip

Current Workaround

I attempted a possible solution by modifying the compile script at line 532. The modification included adjusting the cmake flags to ensure compatibility with the current setup:

cmd="cmake -DCMAKE_INSTALL_PREFIX=${LIB_DIR} -DCMAKE_CXX_STANDARD=17 -DCMAKE_CXX_FLAGS='-include cstdint' -DINCLUDE_CSTDINT=ON -DSQLITE3_INCLUDE_DIR=${SQLITE_INCLUDE_DIR} -DSQLITE3_LIBRARY=${SQLITE_LIB_DIR}/libsqlite3.${dynamic_lib_ext} ${tiff_arg} .. > $(pwd)/proj.cmake.log 2>&1"
run_cmd ${cmd}
run_cmd "cmake --build . > $(pwd)/proj.cmake_build.log 2>&1"
run_cmd "cmake --build . --target install > $(pwd)/proj.cmake_install.log 2>&1"

Despite these changes, I am uncertain of the installation's success since the output differs from what was seen in version v11.1.0.

Request

I would appreciate guidance on whether there are known issues with MET version 12.0.0-rc1 and this specific environment, or suggestions on further modifications to the compile script that could resolve the problem.


@HathewayWill HathewayWill added alert: NEED ACCOUNT KEY Need to assign an account key to this issue alert: NEED CYCLE ASSIGNMENT Need to assign to a release development cycle alert: NEED MORE DEFINITION Not yet actionable, additional definition required type: bug Fix something that is not working labels Nov 14, 2024
@jprestop jprestop changed the title Discussion: Build Failure on METv12.0.0-rc1 at proj Section on Ubuntu 24 with GNU Compilers and Python 3.12 Build Failure on METv12.0.0-rc1 at proj Section on Ubuntu 24 with GNU Compilers and Python 3.12 Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alert: NEED ACCOUNT KEY Need to assign an account key to this issue alert: NEED CYCLE ASSIGNMENT Need to assign to a release development cycle alert: NEED MORE DEFINITION Not yet actionable, additional definition required type: bug Fix something that is not working
Projects
None yet
Development

No branches or pull requests

1 participant