You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Pierre-Arnaud Marcelot (Commented) (JIRA)" <ji...@apache.org> on 2012/01/24 08:52:39 UTC
[jira] [Commented] (DIRSERVER-1660) DMG based installer generation
fails on Mac OSX Lion
[ https://issues.apache.org/jira/browse/DIRSERVER-1660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13191993#comment-13191993 ]
Pierre-Arnaud Marcelot commented on DIRSERVER-1660:
---------------------------------------------------
Alex, any news on that issue?
Can I close it?
Thanks
> DMG based installer generation fails on Mac OSX Lion
> -----------------------------------------------------
>
> Key: DIRSERVER-1660
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1660
> Project: Directory ApacheDS
> Issue Type: Bug
> Components: installer-plugin, ldap
> Affects Versions: 2.0.0-M3
> Environment: Apache Maven 3.0.1 (r1038046; 2010-11-23 12:58:32+0200)
> Java version: 1.6.0_26
> Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
> Default locale: en_US, platform encoding: MacRoman
> OS name: "mac os x" version: "10.7.1" arch: "x86_64" Family: "mac"
> Reporter: Alex Karasulu
> Assignee: Pierre-Arnaud Marcelot
> Fix For: 2.0.0-M5
>
> Attachments: Screen Shot 2011-09-19 at 8.04.34 PM.png
>
>
> PAM I hope you don't mind my assigning this to you. I thought if anyone can fix this issue as our resident mac and installer guru it was you. Here's the damage report I got from Maven:
> mbp:installers akarasulu$ mvn -Pinstallers install
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building ApacheDS Installers 2.0.0-M3
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.2:process (default) @ apacheds-installers ---
> [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO]
> [INFO] --- apacheds-installers-maven-plugin:2.0.0-M3:generate (default) @ apacheds-installers ---
> [INFO] -------------------------------------------------------
> [INFO] Executing target 'apacheds-win32'
> [INFO] --------------------
> [INFO] OS Name: Windows
> [INFO] OS Arch: x86
> [INFO] --------------------
> [WARNING] Cannot find NSIS compiler at this location: /usr/bin/makensis
> [WARNING] The build will continue, but please check the location of your makensis executable.
> [INFO] -------------------------------------------------------
> [INFO] Executing target 'apacheds-rpm-i386'
> [INFO] --------------------
> [INFO] OS Name: Linux
> [INFO] OS Arch: i386
> [INFO] --------------------
> [WARNING] Cannot find rpmbuild utility at this location: /usr/bin/rpmbuild
> [WARNING] The build will continue, but please check the location of your rpmbuild utility.
> [INFO] -------------------------------------------------------
> [INFO] Executing target 'apacheds-rpm-x86_64'
> [INFO] --------------------
> [INFO] OS Name: Linux
> [INFO] OS Arch: x86_64
> [INFO] --------------------
> [WARNING] Cannot find rpmbuild utility at this location: /usr/bin/rpmbuild
> [WARNING] The build will continue, but please check the location of your rpmbuild utility.
> [INFO] -------------------------------------------------------
> [INFO] Executing target 'apacheds-debian-i386'
> [INFO] --------------------
> [INFO] OS Name: Linux
> [INFO] OS Arch: i386
> [INFO] --------------------
> [WARNING] Cannot find dpkg utility at this location: /usr/bin/dpkg
> [WARNING] The build will continue, but please check the location of your dpkg utility.
> [INFO] -------------------------------------------------------
> [INFO] Executing target 'apacheds-debian-amd64'
> [INFO] --------------------
> [INFO] OS Name: Linux
> [INFO] OS Arch: amd64
> [INFO] --------------------
> [WARNING] Cannot find dpkg utility at this location: /usr/bin/dpkg
> [WARNING] The build will continue, but please check the location of your dpkg utility.
> [INFO] -------------------------------------------------------
> [INFO] Executing target 'apacheds-macosx-32bit'
> [INFO] --------------------
> [INFO] OS Name: Mac OS X
> [INFO] OS Arch: x86
> [INFO] --------------------
> [INFO] Creating Mac OS X PKG installer...
> [INFO] Copying PKG installer files
> [INFO] Generating Mac OS X PKG Installer
> 2011-09-11 13:48:01.870 PackageMaker[52460:107] Setting to : 0 (null)
> 2011-09-11 13:48:01.871 PackageMaker[52460:107] Setting to : 0 (null)
> 2011-09-11 13:48:01.875 PackageMaker[52460:107] relocate: (null) 0
> 2011-09-11 13:48:02.748 PackageMaker[52460:107] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'launch path not accessible'
> *** Call stack at first throw:
> (
> 0 CoreFoundation 0x92b34e77 __raiseError + 231
> 1 libobjc.A.dylib 0x92527149 objc_exception_throw + 155
> 2 CoreFoundation 0x92a9ce89 +[NSException raise:format:arguments:] + 137
> 3 CoreFoundation 0x92a9cdf9 +[NSException raise:format:] + 57
> 4 Foundation 0x94a6cda1 -[NSConcreteTask launchWithDictionary:] + 506
> 5 Foundation 0x94a6cba2 -[NSConcreteTask launch] + 40
> 6 PackageMaker 0x00077bdf PackageMaker + 486367
> 7 PackageMaker 0x00032cf2 PackageMaker + 204018
> 8 PackageMaker 0x000322e0 PackageMaker + 201440
> 9 PackageMaker 0x000333ae PackageMaker + 205742
> 10 PackageMaker 0x00031095 PackageMaker + 196757
> 11 PackageMaker 0x0003e9ea PackageMaker + 252394
> 12 PackageMaker 0x0003016e PackageMaker + 192878
> 13 PackageMaker 0x0006a864 PackageMaker + 432228
> 14 PackageMaker 0x0006a536 PackageMaker + 431414
> 15 PackageMaker 0x00002702 PackageMaker + 5890
> 16 PackageMaker 0x000026be PackageMaker + 5822
> )
> [INFO] Creating Mac OS X DMG...
> [INFO] Copying DMG files
> [ERROR] File /Users/akarasulu/Projects/directory/2.0.0-M3/installers/target/installers/apacheds-macosx-32bit/Apache Directory Server Installer.pkg does not exist
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 4.458s
> [INFO] Finished at: Sun Sep 11 13:48:03 EEST 2011
> [INFO] Final Memory: 7M/81M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.directory.server:apacheds-installers-maven-plugin:2.0.0-M3:generate (default) on project apacheds-installers: Failed to copy DMG resources files. -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira