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

MacPorts noreply at macports.org
Wed Sep 25 06:18:56 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?

 The cp command indeed seems to crash or stall but there is no crash
 report. (checked all crash reports locations). Looks rather a runtime
 issue here cp then chmod then something with perl back to cp for next file
 and so on.

 Makefile code : used when crash or stall occurs in this last case


 {{{
         @$(ECHO) "*** Installing development files"
         @$(PERL) $(SRCDIR)/util/mkdir-p.pl
 "$(DESTDIR)$(INSTALLTOP)/include/openssl"
         @ :
         @set -e; for i in $(SRCDIR)/include/openssl/*.h \
                           $(BLDDIR)/include/openssl/*.h; do \
                 fn=`basename $$i`; \
                 $(ECHO) "install $$i ->
 $(DESTDIR)$(INSTALLTOP)/include/openssl/$$fn"; \
                 cp $$i "$(DESTDIR)$(INSTALLTOP)/include/openssl/$$fn"; \
                 chmod 644 "$(DESTDIR)$(INSTALLTOP)/include/openssl/$$fn";
 \
         done
 }}}


 How to do : Is that reproducible by running the wrapper yourself?

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


More information about the macports-tickets mailing list