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 186478 - Clean and Build hangs in some cases
Summary: Clean and Build hangs in some cases
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: execution (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 normal (vote)
Assignee: Andrew Krasny
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2010-05-21 08:30 UTC by soldatov
Modified: 2010-05-25 11:09 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2010-05-21 08:30:27 UTC
Scenario:
- Create HelloQtWorld project
- Build project
==> ok
- Clean project
- Clean again
===> Clean stops on "rm" command

/bin/make -f nbproject/qt-Debug.mk distclean
make[2]: Entering directory `/c/Documents and Settings/tester/My Documents/NetBeansProjects/HelloQtWorld_1'
rm moc_HelloForm.cpp
rm ui_HelloForm.h
rm build/Debug/MinGW-Windows/HelloForm.o build/Debug/MinGW-Windows/newmain.o build/Debug/MinGW-Windows/moc_HelloForm.o

Also build hangs in some cases (if project contains invalid code)
Comment 1 soldatov 2010-05-21 09:01:58 UTC
Of cause it is not a P3
Comment 2 Alexander Simon 2010-05-21 09:04:13 UTC
Same Bug 186289 'Build Package' breaks the project
It seems changes of May 13 corrupt native execution for windows
Comment 3 Alexander Simon 2010-05-21 09:09:57 UTC
the most suspicious change set is:
http://hg.netbeans.org/cnd-main?cmd=changeset;node=5f5dd8cb6b03
Comment 4 Alexander Pepin 2010-05-21 09:18:51 UTC
It seems to me like a showstopper.
Comment 5 Andrew Krasny 2010-05-21 09:59:32 UTC
This is a regression and please make it a showstopper. 
The fix for it is ready. Moreover the fix for 'build package' bug should be reverted as the root cause was in this bug.
Comment 6 Alexander Pepin 2010-05-21 10:05:09 UTC
Starting showstopper process.
Comment 7 Andrew Krasny 2010-05-21 13:25:48 UTC
fixed in trunk (cnd-main): 
http://hg.netbeans.org/cnd-main/rev/edb83dd7d75e

Alexey, Alex please review the fix.
Comment 8 Alexey Vladykin 2010-05-21 13:32:10 UTC
I agree with Andrew's fix.
Comment 9 Andrew Krasny 2010-05-21 15:14:41 UTC
small additional correction:
http://hg.netbeans.org/cnd-main/rev/f069af3522b7
Comment 10 soldatov 2010-05-21 19:30:20 UTC
I verified in RC1 with 2 replaced *.jar files. Clean and build works correctly.
Thanks
Comment 11 Andrew Krasny 2010-05-21 21:28:31 UTC
Great, thanks, Valera!
Comment 12 Alexey Vladykin 2010-05-24 13:05:51 UTC
Fix has been transplanted to release69 as
http://hg.netbeans.org/release69/rev/95fbb7ebaef3 and
http://hg.netbeans.org/release69/rev/84b0584dccf4
Comment 13 soldatov 2010-05-25 11:09:19 UTC
verified in RC1