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 - installation of daily builds fails(?) on OSX (again)
Summary: installation of daily builds fails(?) on OSX (again)
Status: VERIFIED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Mac Native (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P1 normal (vote)
Assignee: Yulia Novozhilova
URL:
Keywords:
: 179987 180260 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-28 10:04 UTC by athompson
Modified: 2010-02-05 09:36 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
fail dialog (146.84 KB, image/png)
2010-01-28 10:08 UTC, athompson
Details
install.log (82.86 KB, text/plain)
2010-01-29 04:54 UTC, Peter Pis
Details

Note You need to log in before you can comment on or make changes to this bug.
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