Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 847929E3B for ; Mon, 19 Sep 2011 18:05:34 +0000 (UTC) Received: (qmail 29001 invoked by uid 500); 19 Sep 2011 18:05:34 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 28947 invoked by uid 500); 19 Sep 2011 18:05:34 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 28940 invoked by uid 99); 19 Sep 2011 18:05:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2011 18:05:34 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2011 18:05:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5308BA21DB for ; Mon, 19 Sep 2011 18:05:09 +0000 (UTC) Date: Mon, 19 Sep 2011 18:05:09 +0000 (UTC) From: "Pierre-Arnaud Marcelot (JIRA)" To: dev@directory.apache.org Message-ID: <1322971744.43145.1316455509336.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <206647067.14623.1315738748843.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (DIRSERVER-1660) DMG based installer generation fails on Mac OSX Lion MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSERVER-1660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108033#comment-13108033 ] Pierre-Arnaud Marcelot commented on DIRSERVER-1660: --------------------------------------------------- Alex, I was not able to reproduce the issue on my Lion instance. The Mac OS X installers have been generated successfully: -------------------------------------------------------------------------------------------------------------- [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 [INFO] Creating Mac OS X DMG... [INFO] Copying DMG files [INFO] Generating Mac OS X DMG Installer [INFO] => Mac OS X DMG generated at /Users/pajbam/Development/Apache/apacheds-2.0.0-M3/installers/target/installers/apacheds-2.0.0-M3-32bit.dmg [INFO] ------------------------------------------------------- [INFO] Executing target 'apacheds-macosx-64bit' [INFO] -------------------- [INFO] OS Name: Mac OS X [INFO] OS Arch: x86_64 [INFO] -------------------- [INFO] Creating Mac OS X PKG installer... [INFO] Copying PKG installer files [INFO] Generating Mac OS X PKG Installer [INFO] Creating Mac OS X DMG... [INFO] Copying DMG files [INFO] Generating Mac OS X DMG Installer [INFO] => Mac OS X DMG generated at /Users/pajbam/Development/Apache/apacheds-2.0.0-M3/installers/target/installers/apacheds-2.0.0-M3-64bit.dmg -------------------------------------------------------------------------------------------------------------- > 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-M4 > > > 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. For more information on JIRA, see: http://www.atlassian.com/software/jira