Opened 2 years ago

Closed 21 months ago

#65654 closed defect (fixed)

gitui @0.20.1_0: builds fail across-the-board, with undefined symbols; OpenSSL issue?

Reported by: cooljeanius (Eric Gallager) Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: mascguy (Christopher Nielsen), martinr448, rbultje (Ronald S. Bultje), 0x1DA117 (Daniel of Service)
Port: gitui

Description (last modified by mascguy (Christopher Nielsen))

Looks like an openssl issue:

   Compiling gitui v0.20.1 (gitui/work/gitui-0.20.1)
error: linking with `/usr/bin/clang` failed: exit status: 1
  = note: Undefined symbols for architecture x86_64:
            "_COMP_get_type", referenced from:
                _do_load_builtin_compressions_ossl_ in libopenssl_sys-2d4acd9a2f3e5e01.rlib(ssl_ciph.o)
            "_SEED_ecb_encrypt", referenced from:
                _seed_ecb_cipher in libopenssl_sys-2d4acd9a2f3e5e01.rlib(e_seed.o)
            "_SEED_cfb128_encrypt", referenced from:
                _seed_cfb128_cipher in libopenssl_sys-2d4acd9a2f3e5e01.rlib(e_seed.o)
            "_SEED_ofb128_encrypt", referenced from:
                _seed_ofb_cipher in libopenssl_sys-2d4acd9a2f3e5e01.rlib(e_seed.o)
            "_Camellia_encrypt", referenced from:
                _camellia_init_key in libopenssl_sys-2d4acd9a2f3e5e01.rlib(e_camellia.o)
            "_IDEA_set_encrypt_key", referenced from:
                _idea_init_key in libopenssl_sys-2d4acd9a2f3e5e01.rlib(e_idea.o)
            "_SEED_set_key", referenced from:
                _seed_init_key in libopenssl_sys-2d4acd9a2f3e5e01.rlib(e_seed.o)
            "_comp_zlib_cleanup_int", referenced from:
                _OPENSSL_cleanup in libopenssl_sys-2d4acd9a2f3e5e01.rlib(init.o)
            "_Camellia_cbc_encrypt", referenced from:
                _camellia_init_key in libopenssl_sys-2d4acd9a2f3e5e01.rlib(e_camellia.o)
            "_IDEA_ecb_encrypt", referenced from:
                _idea_ecb_cipher in libopenssl_sys-2d4acd9a2f3e5e01.rlib(e_idea.o)
            "_COMP_zlib", referenced from:
                _do_load_builtin_compressions_ossl_ in libopenssl_sys-2d4acd9a2f3e5e01.rlib(ssl_ciph.o)
            "_IDEA_cfb64_encrypt", referenced from:
                _idea_cfb64_cipher in libopenssl_sys-2d4acd9a2f3e5e01.rlib(e_idea.o)
            "_COMP_get_name", referenced from:
                _do_load_builtin_compressions_ossl_ in libopenssl_sys-2d4acd9a2f3e5e01.rlib(ssl_ciph.o)
               (maybe you meant: _SSL_COMP_get_name)
            "_SEED_cbc_encrypt", referenced from:
                _seed_cbc_cipher in libopenssl_sys-2d4acd9a2f3e5e01.rlib(e_seed.o)
            "_IDEA_ofb64_encrypt", referenced from:
                _idea_ofb_cipher in libopenssl_sys-2d4acd9a2f3e5e01.rlib(e_idea.o)
            "_ERR_load_COMP_strings", referenced from:
                _err_load_crypto_strings_int in libopenssl_sys-2d4acd9a2f3e5e01.rlib(err_all.o)
            "_IDEA_set_decrypt_key", referenced from:
                _idea_init_key in libopenssl_sys-2d4acd9a2f3e5e01.rlib(e_idea.o)
            "_Camellia_set_key", referenced from:
                _camellia_init_key in libopenssl_sys-2d4acd9a2f3e5e01.rlib(e_camellia.o)
            "_IDEA_cbc_encrypt", referenced from:
                _idea_cbc_cipher in libopenssl_sys-2d4acd9a2f3e5e01.rlib(e_idea.o)
            "_Camellia_decrypt", referenced from:
                _camellia_init_key in libopenssl_sys-2d4acd9a2f3e5e01.rlib(e_camellia.o)
          ld: symbol(s) not found for architecture x86_64
          clang: error: linker command failed with exit code 1 (use -v to see invocation)

This is occurring across-the-board, for both Intel and ARM.

Attachments (1)

gitui-main.log (400.0 KB) - added by cooljeanius (Eric Gallager) 2 years ago.
main.log for gitui

Download all attachments as: .zip

Change History (7)

Changed 2 years ago by cooljeanius (Eric Gallager)

Attachment: gitui-main.log added

main.log for gitui

comment:1 Changed 2 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added; herbygillot removed
Description: modified (diff)
Owner: set to herbygillot
Status: newassigned
Summary: gitui @0.20.1_0: rev-upgrade fails with undefined symbols for architecture x86_64gitui @0.20.1_0: builds fail across-the-board, with undefined symbols; OpenSSL issue?

Herby, this port is failing to build everywhere. Can you please look into it?

comment:2 Changed 2 years ago by martinr448

Cc: martinr448 added

comment:3 Changed 2 years ago by rbultje (Ronald S. Bultje)

Cc: rbultje added

comment:4 Changed 21 months ago by 0x1DA117 (Daniel of Service)

Cc: 0x1DA117 added

comment:5 Changed 21 months ago by 0x1DA117 (Daniel of Service)

I opened a PR, which doesn't fix the issue yet. Maybe someone has an idea. I'll try to figure it out.

comment:6 Changed 21 months ago by 0x1DA117 (Daniel of Service)

Resolution: fixed
Status: assignedclosed

In 414ad0f1c2da28d70b907572b763ca7b250396ef/macports-ports (master):

gitui: Update to version 0.22.1

This commit updates gitui to version 0.22.1 and switches to the vendored
OpenSSL provided as Cargo crate (optional dependency of gitui).

Closes: #65654

Note: See TracTickets for help on using tickets.