[ 
https://issues.apache.org/jira/browse/DIRSERVER-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16510018#comment-16510018
 ] 

Matt edited comment on DIRSERVER-2154 at 6/12/18 7:03 PM:
----------------------------------------------------------

can confirm this is still an issue (DS 2.0.0-M24 on OSX 10.13.5). Trying the 
above workaround & will edit this comment with results

edit: the workaround was successful.


was (Author: mfb):
can confirm this is still an issue (DS 2.0.0-M24 on OSX 10.13.5). Trying the 
above workaround & will edit this comment with results

> ApacheDS install fails on Mac OS X El Capitan due to SIP
> --------------------------------------------------------
>
>                 Key: DIRSERVER-2154
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2154
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M19, 2.0.0-M20, 2.0.0-M21
>         Environment: OS X El Capitan 10.11.5 (15F34)
>            Reporter: Brad Curfman
>            Priority: Major
>
> I've tried to install the 64 bit version of ApacheDS on El Capitan and the 
> installation always fails. I've tried builds M19, M20, and M21 and get the 
> same result for each. 
> When I get to the installation step in the installer, I get the following 
> warning message 
> "This package is incompatible with this version of OS X and may fail to 
> install."
> If I continue, the installation does fail. The Apple install log suggests 
> that the issue is due to the installer attempting to write to 
> /usr/bin/apacheds which is not writeable due to SIP.
> {noformat}
> Jun 13 10:55:21 macbookpro Installer[35094]: Package Authoring Warning: 
> Package will fail to install with System Integrity Protection feature enabled.
> Jun 13 10:55:21 macbookpro Installer[35094]: Package Authoring Error: Package 
> contains system content, and installation is expected to fail: Error 
> Domain=IFInstallErrorDomain Code=-5000 "This package is incompatible with 
> this version of OS X and may fail to install." 
> UserInfo={NSLocalizedRecoveryOptions=(
>           "Cancel Installation",
>           "Install Anyway"
>       ), NSLocalizedRecoverySuggestion=Installing this package may damage 
> your system, and the installation may fail. To stop the program and the 
> installation, click “Cancel Installation”., IFSystemPathsKey=(
>           "usr/bin/apacheds"
>       ), NSLocalizedDescription=This package is incompatible with this 
> version of OS X and may fail to install.}
> Jun 13 10:55:23 macbookpro installd[339]: PackageKit: ----- Begin install 
> -----
> Jun 13 10:55:23 macbookpro shove[35103]: [source=file] failed 
> _RelinkFile(/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/D8AD5173-038A-453D-8F06-28DB6A549FAB.activeSandbox/Root/usr/bin/apacheds,
>  /usr/bin/apacheds): No such file or directory
> Jun 13 10:55:23 macbookpro shove[35103]: srcPath = 
> /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/D8AD5173-038A-453D-8F06-28DB6A549FAB.activeSandbox/Root/usr/bin/apacheds
>  NSFileOwnerAccountID=0 NSFileHFSTypeCode=0 NSFileSystemFileNumber=5657763 
> NSFileExtensionHidden=0 NSFileSystemNumber=16777220 NSFileSize=858 
> NSFileGroupOwnerAccountID=0 NSFileOwnerAccountName=root 
> NSFileCreationDate=2015-12-18 14:30:47 +0000 NSFilePosixPermissions=509 
> NSFileHFSCreatorCode=0 NSFileType=NSFileTypeRegular 
> NSFileGroupOwnerAccountName=wheel NSFileReferenceCount=1 
> NSFileModificationDate=2015-12-18 14:30:47 +0000
> Jun 13 10:55:23 macbookpro shove[35103]: dstPath = /usr/bin/apacheds does not 
> exist
> Jun 13 10:55:23 macbookpro shove[35103]: dstParentPath = /usr/bin 
> NSFileOwnerAccountID=0 NSFileSystemFileNumber=404726 NSFileExtensionHidden=0 
> NSFileSystemNumber=16777220 NSFileSize=35836 NSFileGroupOwnerAccountID=0 
> NSFileOwnerAccountName=root NSFileCreationDate=2015-10-17 23:47:11 +0000 
> NSFilePosixPermissions=493 NSFileType=NSFileTypeDirectory 
> NSFileGroupOwnerAccountName=wheel NSFileReferenceCount=1054 
> NSFileModificationDate=2016-05-19 13:59:37 +0000
> Jun 13 10:55:24 macbookpro installd[339]: PackageKit: Install Failed: Error 
> Domain=PKInstallErrorDomain Code=120 "An unexpected error occurred while 
> moving files to the final destination." 
> UserInfo={NSUnderlyingError=0x7ffc0fd15120 {Error Domain=NSPOSIXErrorDomain 
> Code=2 "No such file or directory"}, NSLocalizedDescription=An unexpected 
> error occurred while moving files to the final destination., arguments=(
>           "-f",
>           "-s",
>           
> "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/D8AD5173-038A-453D-8F06-28DB6A549FAB.activeSandbox/Root",
>           "/"
>       )} {
>           NSLocalizedDescription = "An unexpected error occurred while moving 
> files to the final destination.";
>           NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"No 
> such file or directory\"";
>           arguments =     (
>               "-f",
>               "-s",
>               
> "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/D8AD5173-038A-453D-8F06-28DB6A549FAB.activeSandbox/Root",
>               "/"
>           );
>       }
> Jun 13 10:55:24 macbookpro Installer[35094]: Install failed: The Installer 
> encountered an error that caused the installation to fail. Contact the 
> software manufacturer for assistance.
> Jun 13 10:55:24 macbookpro Installer[35094]: Displaying 'Install Failed' UI.
> Jun 13 10:55:24 macbookpro Installer[35094]: 'Install Failed' UI displayed 
> message:'The Installer encountered an error that caused the installation to 
> fail. Contact the software manufacturer for assistance.'.
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to