This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 179970

Summary: installation of daily builds fails(?) on OSX (again)
Product: installer Reporter: athompson <athompson>
Component: Mac NativeAssignee: Yulia Novozhilova <ynov>
Status: VERIFIED FIXED    
Severity: normal CC: michaelnazarov, mschovanek, musilt2, ppis
Priority: P1    
Version: 6.x   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: fail dialog
install.log

Description athompson 2010-01-28 10:04:41 UTC
The installer isn't working again on OSX.  This time, it doesn't look like any files are written.
Comment 1 athompson 2010-01-28 10:08:02 UTC
Created attachment 93634 [details]
fail dialog
Comment 2 Alexei Mokeev 2010-01-29 03:15:45 UTC
*** Bug 179987 has been marked as a duplicate of this bug. ***
Comment 3 dlipin 2010-01-29 03:39:50 UTC
Please attach /var/log/install.log.
Comment 4 Peter Pis 2010-01-29 04:54:19 UTC
Created attachment 93653 [details]
install.log
Comment 5 Yulia Novozhilova 2010-02-01 02:57:29 UTC
The problem is in build procedure. The PackageMaker in Leopard differs form the one on Tiger so installer is built incorrectly (we have recently switched Mac native installer build from Tiger to Leopard). Installer team is working on this.
Comment 6 Adam Sotona 2010-02-01 07:35:02 UTC
All the installer scripts (including preflight) do not have execution rights.

chmod +x *   inside Contents/Resources before packaging the installer fixed it for me
Comment 8 Yulia Novozhilova 2010-02-01 08:07:32 UTC
Thanks Adam, I'm aware of that. I'm also going to adjust Info.plist file a bit. Will be fixed today.
Comment 9 Yulia Novozhilova 2010-02-02 04:00:42 UTC
The fix is integrated: http://hg.netbeans.org/main?cmd=changeset;node=aa0fb5786bce
As soon as new build is ready I'll verify the fix and close the bug if everything is ok.
Comment 10 Quality Engineering 2010-02-03 21:50:53 UTC
Integrated into 'main-golden', will be available in build *201002040200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/aa0fb5786bce
User: Yulia Novozhilova <ynov@netbeans.org>
Log: Fix #179970:  installation of daily builds fails(?) on OSX (again)
Comment 11 Yulia Novozhilova 2010-02-04 03:35:57 UTC
*** Bug 180260 has been marked as a duplicate of this bug. ***
Comment 12 Martin Schovanek 2010-02-04 04:09:13 UTC
The fix does not help. By the ant documentation:

Note: for backwards compatibility reasons <chmod dir="some-dir"/> will only change the permissions on "some-dir" but not recurse into it, unless you also specify any patterns.

So the chmod should look like:

<chmod dir="${scriptsdir}" perm="ugo+rx" includes="**/*.sh"/>
Comment 13 Yulia Novozhilova 2010-02-04 05:49:43 UTC
Thanks for noticing. I've corrected the fix:

http://hg.netbeans.org/main/rev/af1efa4ca8ef
Comment 14 Quality Engineering 2010-02-04 22:33:08 UTC
Integrated into 'main-golden', will be available in build *201002050200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/af1efa4ca8ef
User: Yulia Novozhilova <ynov@netbeans.org>
Log: Corrected fix for #179970:  installation of daily builds fails(?) on OSX
Comment 15 Yulia Novozhilova 2010-02-05 04:18:28 UTC
The latest build is ok.
Comment 16 athompson 2010-02-05 09:36:12 UTC
yup