Recent

Author Topic: Lazarus 2.2.0 on MacOS trouble missing permissions when rebuilding  (Read 487 times)

Nimral

  • Sr. Member
  • ****
  • Posts: 253
  • Keep it simple.
Rebuild of any project fails due to "Unable to delete file /Applications/Lazarus/components/freetype/lib/x86_64-darwin/easylazfreetype.o"

I can skip the message, whereafter x more messages like that are thrown by .o and .ppu files. I can skip all, and my project seems to build correctly.

Version: latest Lazarus 2.2.0/FPC3.3.0 fresh install in BigSur & Mojave, both have same problem.

Cause: obviously missing permissions to folder when a rebuild all attempts to recompile the LCL components.

The whole tree starting with /Applications has permissions _messagebus:RW, admin:R, everyone: R. Sure, I can change this, but should I? I did a clean install, why are those permissions mangled? Probably the components should be located somewhere else, where the user has R/W access?  Probably the components should never be recompiled at all?

A Known issue? Anything I missed?

Armin



« Last Edit: March 24, 2022, 09:35:48 am by Nimral »
Lazarus 2.2.0 on Windows 7,10,11, Debian 10.8 "Buster", macOS Catalina, macOS BigSur, VMWare Workstation 15, Raspberry Pi

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1988
  • Former Delphi 1-7, 10.2 user
Lazarus 2.3, FPC 3.3.1 macOS 12.3.1 x86_64 Xcode 13.4
Lazarus 2.3, FPC 3.3.1 macOS 12.3.1 aarch64 Xcode 13.4

 

TinyPortal © 2005-2018