Skip to content

Mendix Build Failed with Ubi9 #214

@nakulporwal

Description

@nakulporwal

After upgrading to Mendix 10.24 and Java 21 and following
Update images to ubi9 where possible,
Update to CF Buildpack v5.0.26

Getting following error, It seems UBI9 not supporting the libffi.so.6:

INFO: Executing export_industrial_edge_config_variable...
Traceback (most recent call last):
File "/opt/mendix/build/startup.py", line 127, in
call_buildpack_startup()
File "/opt/mendix/build/startup.py", line 89, in call_buildpack_startup
runpy.run_module("buildpack.start", run_name="main")
File "", line 229, in run_module
File "", line 88, in _run_code
File "/opt/mendix/build/buildpack/start.py", line 13, in
from buildpack.infrastructure import database, storage
File "/opt/mendix/build/buildpack/infrastructure/database.py", line 8, in
from cryptography.hazmat.primitives import serialization
File "/opt/mendix/buildpack/lib/python3.11/site-packages/cryptography/hazmat/primitives/serialization/init.py", line 7, in
from cryptography.hazmat.primitives._serialization import (
File "/opt/mendix/buildpack/lib/python3.11/site-packages/cryptography/hazmat/primitives/_serialization.py", line 10, in
from cryptography.hazmat.primitives.hashes import HashAlgorithm
File "/opt/mendix/buildpack/lib/python3.11/site-packages/cryptography/hazmat/primitives/hashes.py", line 9, in
from cryptography.hazmat.bindings._rust import openssl as rust_openssl
ImportError: libffi.so.6: cannot open shared object file: No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions