[MacPorts] #70897: openssl3: fails to destroot due to cp errors when installing man docs.

MacPorts noreply at macports.org
Wed Sep 25 05:43:13 UTC 2024


#70897: openssl3: fails to destroot due to cp errors when installing man docs.
----------------------------+---------------------
  Reporter:  christophecvr  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.10.99
Resolution:                 |   Keywords:
      Port:  openssl3       |
----------------------------+---------------------

Comment (by christophecvr):

 Replying to [comment:4 jmroot]:
 > You're running master, so cp will be the thin wrapper in clonebin. Is it
 actually crashing, and if so can you attach the crash report? Is it always
 failing on a specific file, and if so which one? Is that reproducible by
 running the wrapper yourself?

 First no it happens more a bit at wild. But always during destroot phase.
 Sometimes it even happens earlier before the man docs install execution.
 example here extract of one case where it happens a bit earlier.


 {{{
 Executing:  cd "/opt/local/var/macports/build/_opt_mports_macports-
 ports_devel_openssl3/openssl3/work/openssl-3.3.2" && /usr/bin/make -w
 install MANDIR=/opt/local/share/man MANSUFFIX=ssl
 DESTDIR=/opt/local/var/macports/build/_opt_mports_macports-
 ports_devel_openssl3/openssl3/work/destroot
 make: Entering directory `/opt/local/var/macports/build
 /_opt_mports_macports-ports_devel_openssl3/openssl3/work/openssl-3.3.2'
 "/Library/Developer/CommandLineTools/usr/bin/make" depend &&
 "/Library/Developer/CommandLineTools/usr/bin/make" _build_libs
 make[1]: Entering directory `/opt/local/var/macports/build
 /_opt_mports_macports-ports_devel_openssl3/openssl3/work/openssl-3.3.2'
 make[1]: Leaving directory `/opt/local/var/macports/build
 /_opt_mports_macports-ports_devel_openssl3/openssl3/work/openssl-3.3.2'
 make[1]: Entering directory `/opt/local/var/macports/build
 /_opt_mports_macports-ports_devel_openssl3/openssl3/work/openssl-3.3.2'
 make[1]: Nothing to be done for `_build_libs'.
 make[1]: Leaving directory `/opt/local/var/macports/build
 /_opt_mports_macports-ports_devel_openssl3/openssl3/work/openssl-3.3.2'
 created directory `/opt/local/var/macports/build/_opt_mports_macports-
 ports_devel_openssl3/openssl3/work/destroot/opt/local/libexec/openssl3'
 created directory `/opt/local/var/macports/build/_opt_mports_macports-
 ports_devel_openssl3/openssl3/work/destroot/opt/local/libexec/openssl3/lib'
 *** Installing runtime libraries
 install libcrypto.3.dylib -> /opt/local/var/macports/build
 /_opt_mports_macports-
 ports_devel_openssl3/openssl3/work/destroot/opt/local/libexec/openssl3/lib/libcrypto.3.dylib
 install libssl.3.dylib -> /opt/local/var/macports/build
 /_opt_mports_macports-
 ports_devel_openssl3/openssl3/work/destroot/opt/local/libexec/openssl3/lib/libssl.3.dylib
 *** Installing development files
 created directory `/opt/local/var/macports/build/_opt_mports_macports-
 ports_devel_openssl3/openssl3/work/destroot/opt/local/libexec/openssl3/include'
 created directory `/opt/local/var/macports/build/_opt_mports_macports-
 ports_devel_openssl3/openssl3/work/destroot/opt/local/libexec/openssl3/include/openssl'
 install ./include/openssl/aes.h -> /opt/local/var/macports/build
 /_opt_mports_macports-
 ports_devel_openssl3/openssl3/work/destroot/opt/local/libexec/openssl3/include/openssl/aes.h
 install ./include/openssl/asn1.h -> /opt/local/var/macports/build
 /_opt_mports_macports-
 ports_devel_openssl3/openssl3/work/destroot/opt/local/libexec/openssl3/include/openssl/asn1.h

 # then a lot off install lines till
 install ./include/openssl/rsaerr.h -> /opt/local/var/macports/build
 /_opt_mports_macports-
 ports_devel_openssl3/openssl3/work/destroot/opt/local/libexec/openssl3/include/openssl/rsaerr.h
 cp: Bad address
 make: *** [install_dev] Error 14
 make: Leaving directory `/opt/local/var/macports/build
 /_opt_mports_macports-ports_devel_openssl3/openssl3/work/openssl-3.3.2'
 Command failed:  cd "/opt/local/var/macports/build/_opt_mports_macports-
 ports_devel_openssl3/openssl3/work/openssl-3.3.2" && /usr/bin/make -w
 install MANDIR=/opt/local/share/man MANSUFFIX=ssl
 DESTDIR=/opt/local/var/macports/build/_opt_mports_macports-
 ports_devel_openssl3/openssl3/work/destroot
 Exit code: 2
 Error: Failed to destroot openssl3: command execution failed
 Error: See /opt/local/var/macports/logs/_opt_mports_macports-
 ports_devel_openssl3/openssl3/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port openssl3 failed

 }}}

 Command used to trigger this error

 {{{
 sudo port -s -v destroot openssl3
 }}}

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


More information about the macports-tickets mailing list