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.
I see the following exception on the console: --> 6/13/12 2:34:00.108 PM installd: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “baseide-201205031832.pkg”." UserInfo=0x10bfb72d0 {NSFilePath=./postflight, NSURL=file://localhost/Volumes/NetBeans%207.2%20Beta/NetBeans%207.2%20Beta.mpkg/Contents/Packages/baseide-201205031832.pkg, PKInstallPackageIdentifier=org.netbeans.ide.baseide.201205031832, NSLocalizedDescription=An error occurred while running scripts from the package “baseide-201205031832.pkg”.} { NSFilePath = "./postflight"; NSLocalizedDescription = "An error occurred while running scripts from the package \U201cbaseide-201205031832.pkg\U201d."; NSURL = "file://localhost/Volumes/NetBeans%207.2%20Beta/NetBeans%207.2%20Beta.mpkg/Contents/Packages/baseide-201205031832.pkg"; PKInstallPackageIdentifier = "org.netbeans.ide.baseide.201205031832"; } 6/13/12 2:34:00.207 PM com.apple.launchd: (com.apple.launchd.peruser.4294967295[36437]) getpwuid("4294967295") failed 6/13/12 2:34:01.324 PM Installer: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. <-- I tried installing 7.1.1 and it fails too. pl take a look.
Attach log please. Location of log is <homedir>/.nbi/log/
Sorry, you cannot find .nbi folder on Mac. So I would ask you to attach full installation log. Do you have installed Java6?
The installer log on Mac you can find in /var/log/ and there is the file install.log So please run the installer and attach this log. Thank you
thank you ifischmeistr... It initially failed as 'sed' was not detected even though the binary was there as /usr/local/bin/sed.. ---> Jun 13 14:33:59 myHost installd[36356]: ./postflight: /Volumes/NetBeans 7.2 Beta/NetBeans 7.2 Beta.mpkg/Contents/Packages/baseide-201205031832.pkg/Contents/Resources/unpack200.sh: line 33: sed: command not found <--- I quickly made a sym link as /bin/ls and after that it failed again with this error: ---> Jun 13 19:44:33 myHost installd[57691]: ./postflight: + sed -E -i .orig -e 's|\$\{NETBEANS_HOME\}|/Applications/NetBeans/NetBeans 7.2 Beta.app/Contents/Resources/NetBeans|g' netbeans.conf Jun 13 19:44:33 myHost installd[57691]: ./postflight: sed: can't read .orig: No such file or directory <--- Clearly, there shouldn't be any space after '-i' and '.orig'.. I edited the postflight file (baseide) by mounting the dmg image as rw.. then the installation was successful. I request you to take up these action items: ------ 1. pl specify the install.log location in the error instead of just saying 'contact software owners' etc.. ; 2. check for all possible locations for the sed binary. what i kept it in a custom location? I naturally expect my $PATH to be considered. 3. pl remove the space between '-i' and '.orig' in the baseide's postflight file.. (line number 60) ------ thank you so much for the lightning fast response :)
(In reply to comment #4) > > I quickly made a sym link as /bin/ls and after... sorry typo.. its /bin/sed
hey marian, apologize my reopening this bug. This still needs few things to be changed in the packaging.. I didn't understand how it is closed 'invalid' when we have action items as in comment#4. Could you pl explain?
(In reply to comment #6) > hey marian, > > apologize my reopening this bug. This still needs few things to be changed in > the packaging.. I didn't understand how it is closed 'invalid' when we have > action items as in comment#4. > > Could you pl explain? The installer log on Mac you can find in /var/log/ and there is the file install.log So please run the installer and attach this log.
Created attachment 126097 [details] install.log hi, the 7.2 GA also failed today with the same error. am attaching the install.log for reference. I corrected the 'sed -i<space>.orig' issue as given in comment#4 and it went thru fine. please correct this script for all further release. tx.
(In reply to comment #8) > Created attachment 126097 [details] > install.log > > hi, > the 7.2 GA also failed today with the same error. am attaching the install.log > for reference. > > I corrected the 'sed -i<space>.orig' issue as given in comment#4 and it went > thru fine. > > please correct this script for all further release. > > tx. Thanks a lot for the log.
Fixed in http://hg.netbeans.org/core-main/rev/87c994b333ec The calling of sed is not necessary now, the whole if statement has been deleted.
Integrated into 'main-golden', will be available in build *201305212300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/87c994b333ec User: Libor Fischmeistr <lfischmeistr@netbeans.org> Log: #214118: 7.2 beta/GA fails to install on mac os x Lion