[MacPorts] #70599: clang-17 @17.0.6_3 Build failure on external hard disk

MacPorts noreply at macports.org
Tue Aug 20 19:51:17 UTC 2024


#70599: clang-17 @17.0.6_3 Build failure on external hard disk
----------------------+--------------------
 Reporter:  attikkos  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.10.1
 Keywords:            |       Port:
----------------------+--------------------
 Build fails with error message:  %zsh: bus error  sudo port install
 clang-17

 My machine
     -  Mac Studio
     -  Apple M1 Max chip, 32G RAM
     -  Sonoma 14.6.1
     -  LACIE external drive (with hardly any data on it - 3% capacity);
 AppleAPFSMedia
     -  Xcode 15.4 (15F31d)

 Downloaded the MacPorts code from GitHub, and built it on my external
 drive.  I have configured it so that MacPorts is stored on the external
 drive, and the port prefix points to the external drive.

 I installed gmake, and cmake successfully.
 Then, I tried to install the latest gcc (gcc14 @14.2.0_1).  The build was
 going well until clang-17 failed to build with the above error message,
 and a popup message stating: "Disk Not Ejected Properly".  (See
 attachment.). Note that, I can subsequently issue any other port command,
 such as 'port installed' or install another port without a problem.

 - I issued a 'clean' and tried again with the same result.
 - I installed gcc13 successfully, which installed clang-16
 - I installed clang-18 successfully.
 - Still, clang-17 fails to install.
 - I did a full uninstall, except for port code, and tried again; no cigar.

-- 
Ticket URL: <https://trac.macports.org/ticket/70599>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list