Opened 3 years ago
Last modified 3 years ago
#63641 closed defect
mysql8 @8.0.26: install_name_tool: can't create output file: /opt/local/libexec/openssl11/lib/libssl.dylib.XXXXXX (Operation not permitted) — at Version 6
Reported by: | j-mac344 | Owned by: | herbygillot (Herby Gillot) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | Cc: | chrstphrchvz (Christopher Chavez) | |
Port: | mysql8 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
---> Configuring mysql8 Warning: Configuration logfiles contain indications of -Wimplicit-function-declaration; check that features were not accidentally disabled: setns: found in build/CMakeFiles/CMakeError.log exit: found in build/CMakeFiles/CMakeError.log memset: found in build/CMakeFiles/CMakeError.log ---> Building mysql8 Error: Failed to build mysql8: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port mysql8-server failed
Change History (9)
Changed 3 years ago by j-mac344
Attachment: | MySQL8 Build Fail.txt added |
---|
Changed 3 years ago by j-mac344
Attachment: | CMakeError.log added |
---|
comment:1 Changed 3 years ago by chrstphrchvz (Christopher Chavez)
comment:2 Changed 3 years ago by chrstphrchvz (Christopher Chavez)
Cc: | chrstphrchvz added |
---|
Changed 3 years ago by j-mac344
comment:3 Changed 3 years ago by chrstphrchvz (Christopher Chavez)
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
?
comment:4 Changed 3 years ago by chrstphrchvz (Christopher Chavez)
Can someone please assign this ticket to the maintainer (herbygillot) so that they are notified?
comment:5 Changed 3 years ago by neverpanic (Clemens Lang)
Owner: | set to herbygillot |
---|---|
Status: | new → assigned |
comment:6 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | mysql8 removed |
Summary: | mysql8 8.0.26: Build Fails - command execution failed → mysql8 @8.0.26: install_name_tool: can't create output file: /opt/local/libexec/openssl11/lib/libssl.dylib.XXXXXX (Operation not permitted) |
Note: See
TracTickets for help on using
tickets.
Could the reporter please attach main.log instead? The provided attachments do not indicate the error that occurred during the build phase.