Opened 3 years ago

Closed 3 years ago

#64770 closed defect (fixed)

rsync @3.2.3_1: clang: error: unable to execute command: Segmentation fault: 11

Reported by: chillin- Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: mojave catalina Cc:
Port: rsync

Description (last modified by ryandesign (Ryan Carsten Schmidt))

rsync building as dependency of aom
rsync builds without issue on my Mountain Lion box.

Mojave gives this message at failure (which appears simple enough, but I don't understand, e.g. Crash backtrace doesn't exist)

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_rsync/rsync/work/.tmp/simd-checksum-x86_64-fb1268.cpp
clang: note: diagnostic msg: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_rsync/rsync/work/.tmp/simd-checksum-x86_64-fb1268.sh
clang: note: diagnostic msg: Crash backtrace is located in
clang: note: diagnostic msg: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_rsync/rsync/work/.home/Library/Logs/DiagnosticReports/clang_<YYYY-MM-DD-HHMMSS>_<hostname>.crash
clang: note: diagnostic msg: (choose the .crash file that corresponds to your crash)
clang: note: diagnostic msg: 

Attachments (1)

main.log (71.1 KB) - added by chillin- 3 years ago.
main.log

Download all attachments as: .zip

Change History (7)

Changed 3 years ago by chillin-

Attachment: main.log added

main.log

comment:1 Changed 3 years ago by chillin-

Description: modified (diff)

comment:2 Changed 3 years ago by jmroot (Joshua Root)

Keywords: rsync removed
Milestone: MacPorts Future
Owner: set to ryandesign
Status: newassigned
Summary: Error: Failed to build rsync: command execution failed on Mojaversync @3.2.3_1 build failed on Mojave: clang: error: unable to execute command: Segmentation fault: 11

comment:3 Changed 3 years ago by kencu (Ken)

try cleaning and going again, but if it still fails force a macports clang of your choosing, whatever you have installed should be fine

comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

rsync builds fine on our buildbot on all macOS versions (10.6 through 12) however I see that you are using Xcode 11.3.1 whereas on macOS 10.14 we use Xcode 10.3. It is conceivable that there is simply a bug in the version of clang that is included with Xcode 11.3.1 that is triggered by building rsync. We can update the port to blacklist that specific version of clang so that MacPorts chooses another version.

comment:5 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: catalina added
Status: assignedaccepted
Summary: rsync @3.2.3_1 build failed on Mojave: clang: error: unable to execute command: Segmentation fault: 11rsync @3.2.3_1: clang: error: unable to execute command: Segmentation fault: 11

I tried building rsync with a few different versions of Command Line Tools:

  • macOS 10.14 CLT 10.3: no problem
  • macOS 10.14 CLT 11.0: segmentation fault
  • macOS 10.14 CLT 11.3: segmentation fault
  • macOS 10.14 CLT 11.3.1: segmentation fault
  • macOS 10.15 CLT 11.3.1: segmentation fault
  • macOS 10.15 CLT 11.4: no problem
  • macOS 10.15 CLT 12.2: no problem

comment:6 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In c692d2014b7b38c3e800867375c7614c26dc863f/macports-ports (master):

rsync: Blacklist bad Xcode 11-11.3.x clangs

Closes: #64770

Note: See TracTickets for help on using tickets.