[MacPorts] #63641: mysql8 8.0.26: Build Fails - command execution failed

MacPorts noreply at macports.org
Mon Oct 18 17:57:51 UTC 2021


#63641: mysql8  8.0.26: Build Fails - command execution failed
-----------------------+--------------------
  Reporter:  j-mac344  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.7.1
Resolution:            |   Keywords:  mysql8
      Port:  mysql8    |
-----------------------+--------------------

Comment (by chrstphrchvz):

 The build ultimately fails with:

 {{{
 :info:build error:
 /Library/Developer/CommandLineTools/usr/bin/install_name_tool: can't
 create output file: /opt/local/libexec/openssl11/lib/libssl.dylib.XXXXXX
 (Operation not permitted)
 :info:build fatal error:
 /Library/Developer/CommandLineTools/usr/bin/install_name_tool: cannot
 rename /opt/local/libexec/openssl11/lib/libssl.1.1.dylib to
 /opt/local/libexec/openssl11/lib/libssl.dylib.XXXXXX (No such file or
 directory)
 }}}

 But I notice something strange is happening to the paths to libssl.dylib
 and libcrypto.dylib, where a bogus path is being used. Examples:

 {{{
 _opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/build/plugin_output_directory
 && /opt/local/bin/cmake -E create_symlink
 ../lib//opt/local/libexec/openssl11/lib/libcrypto.dylib
 /opt/local/libexec/openssl11/lib/libcrypto.dylib
 }}}

 {{{
 :info:build Error copying file
 "/opt/local/lib//opt/local/libexec/openssl11/lib/libssl.dylib" to
 ".//opt/local/libexec/openssl11/lib/libssl.dylib".
 :info:build Error copying file
 "/opt/local/lib//opt/local/libexec/openssl11/lib/libcrypto.dylib" to
 ".//opt/local/libexec/openssl11/lib/libcrypto.dylib".
 }}}

 I don’t know what is causing these errors; I have not tried to reproduce
 them. Could these errors have something to do with the `openssl` port
 recently being made a shim for `openssl11`?

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


More information about the macports-tickets mailing list