[MacPorts] #70314: mysql8 @8.4.0_4: ld: symbol(s) not found for architecture x86_64 (was: [mysql8] ld: symbol(s) not found for architecture x86_64)

MacPorts noreply at macports.org
Tue Jul 2 07:19:54 UTC 2024


#70314: mysql8 @8.4.0_4: ld: symbol(s) not found for architecture x86_64
-------------------------+-------------------------
  Reporter:  BjarneDMat  |      Owner:  herbygillot
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.9.3
Resolution:              |   Keywords:
      Port:  mysql8      |
-------------------------+-------------------------
Changes (by ryandesign):

 * status:  new => assigned
 * owner:  (none) => herbygillot


Old description:

> {{{
> $=> system_profiler -detailLevel mini SPHardwareDataType
> SPSoftwareDataType
> Hardware:
>     Hardware Overview:
>       Model Name: Mac Pro
>       Model Identifier: MacPro5,1
>       Hyper-Threading Technology: Enabled
>       Boot ROM Version: 9144.0.9.2.0
>       SMC Version (system): 1.39f11
> Software:
>     System Software Overview:
>       System Version: macOS 10.15.7 (19H1519)
>       Kernel Version: Darwin 19.6.0
> }}}
> {{{
> :debug:main Starting logging for mysql8 @8.4.0_4
> :debug:sysinfo macOS 10.15.7 (darwin/19.6.0) arch i386
> :debug:sysinfo MacPorts 2.9.3
> :debug:sysinfo Xcode 12.4, CLT 12.4.0.0.1.1610135815
> :debug:sysinfo SDK 10.15
> :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.15
> }}}
> {{{
> :info:build [ 22%] Built target ndbportlib
> :info:build Undefined symbols for architecture x86_64:
> :info:build   "_EVP_CIPHER_get_block_size", referenced from:
> :info:build       my_aes_get_size(unsigned int, my_aes_opmode) in
> libmysys.a(my_aes_openssl.cc.o)
> :info:build   "_EVP_CIPHER_get_iv_length", referenced from:
> :info:build       my_aes_encrypt(unsigned char const*, unsigned int,
> unsigned char*, unsigned char const*, unsigned int, my_aes_opmode,
> unsigned char const*, bool, std::__1::vector<std::__1::basic_string<char,
> std::__1::char_traits<char>, std::__1::allocator<char> >,
> std::__1::allocator<std::__1::basic_string<char,
> std::__1::char_traits<char>, std::__1::allocator<char> > > >*) in
> libmysys.a(my_aes_openssl.cc.o)
> :info:build       my_aes_decrypt(unsigned char const*, unsigned int,
> unsigned char*, unsigned char const*, unsigned int, my_aes_opmode,
> unsigned char const*, bool, std::__1::vector<std::__1::basic_string<char,
> std::__1::char_traits<char>, std::__1::allocator<char> >,
> std::__1::allocator<std::__1::basic_string<char,
> std::__1::char_traits<char>, std::__1::allocator<char> > > >*) in
> libmysys.a(my_aes_openssl.cc.o)
> :info:build       my_aes_needs_iv(my_aes_opmode) in
> libmysys.a(my_aes_openssl.cc.o)
> :info:build   "_EVP_PKEY_CTX_add1_hkdf_info", referenced from:
> :info:build       Key_hkdf_function::derive_key(unsigned char const*,
> unsigned int, unsigned char*, unsigned int) in libmysys.a(my_kdf.cc.o)
> :info:build   "_EVP_PKEY_CTX_set1_hkdf_key", referenced from:
> :info:build       Key_hkdf_function::derive_key(unsigned char const*,
> unsigned int, unsigned char*, unsigned int) in libmysys.a(my_kdf.cc.o)
> :info:build   "_EVP_PKEY_CTX_set1_hkdf_salt", referenced from:
> :info:build       Key_hkdf_function::derive_key(unsigned char const*,
> unsigned int, unsigned char*, unsigned int) in libmysys.a(my_kdf.cc.o)
> :info:build   "_EVP_PKEY_CTX_set_hkdf_md", referenced from:
> :info:build       Key_hkdf_function::derive_key(unsigned char const*,
> unsigned int, unsigned char*, unsigned int) in libmysys.a(my_kdf.cc.o)
> :info:build ld: symbol(s) not found for architecture x86_64
> }}}
> It looks as if the changes jhoyt4 made in https://github.com/macports
> /macports-ports/pull/24615 has introduced some new errors for
> architecture x86_64. \\
> mysql8 @8.4.0_3 does compile & install and works correctly w/ my PR
> https://github.com/macports/macports-ports/pull/24232\\
> I have de-activated boost178 as described in
> https://trac.macports.org/ticket/70061

New description:

 {{{
 $=> system_profiler -detailLevel mini SPHardwareDataType
 SPSoftwareDataType
 Hardware:
     Hardware Overview:
       Model Name: Mac Pro
       Model Identifier: MacPro5,1
       Hyper-Threading Technology: Enabled
       Boot ROM Version: 9144.0.9.2.0
       SMC Version (system): 1.39f11
 Software:
     System Software Overview:
       System Version: macOS 10.15.7 (19H1519)
       Kernel Version: Darwin 19.6.0
 }}}
 {{{
 :debug:main Starting logging for mysql8 @8.4.0_4
 :debug:sysinfo macOS 10.15.7 (darwin/19.6.0) arch i386
 :debug:sysinfo MacPorts 2.9.3
 :debug:sysinfo Xcode 12.4, CLT 12.4.0.0.1.1610135815
 :debug:sysinfo SDK 10.15
 :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.15
 }}}
 {{{
 :info:build [ 22%] Built target ndbportlib
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "_EVP_CIPHER_get_block_size", referenced from:
 :info:build       my_aes_get_size(unsigned int, my_aes_opmode) in
 libmysys.a(my_aes_openssl.cc.o)
 :info:build   "_EVP_CIPHER_get_iv_length", referenced from:
 :info:build       my_aes_encrypt(unsigned char const*, unsigned int,
 unsigned char*, unsigned char const*, unsigned int, my_aes_opmode,
 unsigned char const*, bool, std::__1::vector<std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> >,
 std::__1::allocator<std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> > > >*) in
 libmysys.a(my_aes_openssl.cc.o)
 :info:build       my_aes_decrypt(unsigned char const*, unsigned int,
 unsigned char*, unsigned char const*, unsigned int, my_aes_opmode,
 unsigned char const*, bool, std::__1::vector<std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> >,
 std::__1::allocator<std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> > > >*) in
 libmysys.a(my_aes_openssl.cc.o)
 :info:build       my_aes_needs_iv(my_aes_opmode) in
 libmysys.a(my_aes_openssl.cc.o)
 :info:build   "_EVP_PKEY_CTX_add1_hkdf_info", referenced from:
 :info:build       Key_hkdf_function::derive_key(unsigned char const*,
 unsigned int, unsigned char*, unsigned int) in libmysys.a(my_kdf.cc.o)
 :info:build   "_EVP_PKEY_CTX_set1_hkdf_key", referenced from:
 :info:build       Key_hkdf_function::derive_key(unsigned char const*,
 unsigned int, unsigned char*, unsigned int) in libmysys.a(my_kdf.cc.o)
 :info:build   "_EVP_PKEY_CTX_set1_hkdf_salt", referenced from:
 :info:build       Key_hkdf_function::derive_key(unsigned char const*,
 unsigned int, unsigned char*, unsigned int) in libmysys.a(my_kdf.cc.o)
 :info:build   "_EVP_PKEY_CTX_set_hkdf_md", referenced from:
 :info:build       Key_hkdf_function::derive_key(unsigned char const*,
 unsigned int, unsigned char*, unsigned int) in libmysys.a(my_kdf.cc.o)
 :info:build ld: symbol(s) not found for architecture x86_64
 }}}
 It looks as if the changes jhoyt4 made in https://github.com/macports
 /macports-ports/pull/24615 has introduced some new errors for architecture
 x86_64. \\
 mysql8 @8.4.0_3 does compile & install and works correctly w/ my PR
 https://github.com/macports/macports-ports/pull/24232\\
 I have de-activated boost178 as described in #70061

--

-- 
Ticket URL: <https://trac.macports.org/ticket/70314#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list