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 200390 - Can not build remote project from Windows using Automatic copying
Summary: Can not build remote project from Windows using Automatic copying
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 7.0.1
Hardware: PC Windows 7 x64
: P1 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2011-07-26 14:01 UTC by Alexander Pepin
Modified: 2012-02-23 16:12 UTC (History)
2 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 Alexander Pepin 2011-07-26 14:01:58 UTC
This has appeared in the latest NB 7.0.1 build (Build 201107211357).
Steps to reproduce:
- create Welcome sample
- add solaris remote build host with GNU tool collection using Automatic copying and set it as a build host for the project
- call Clean & Build
Result: Clean failed with the message:
Copying project files to /export/hudson/home/.netbeans/remote/nyx-intel2.russia.sun.com/asus_laptop-Windows-x86_64/ at hudson@nyx-intel2.russia.sun.com:22
Makefile:1: warning: NUL character seen; rest of line ignored
Makefile:2: warning: NUL character seen; rest of line ignored
Makefile:3: warning: NUL character seen; rest of line ignored
Makefile:4: warning: NUL character seen; rest of line ignored
Makefile:5: warning: NUL character seen; rest of line ignored
Makefile:6: warning: NUL character seen; rest of line ignored
Makefile:7: warning: NUL character seen; rest of line ignored
Makefile:8: warning: NUL character seen; rest of line ignored
Makefile:9: warning: NUL character seen; rest of line ignored
Makefile:10: warning: NUL character seen; rest of line ignored
Makefile:11: warning: NUL character seen; rest of line ignored
Makefile:12: warning: NUL character seen; rest of line ignored
Makefile:13: warning: NUL character seen; rest of line ignored
Makefile:14: warning: NUL character seen; rest of line ignored
Makefile:15: warning: NUL character seen; rest of line ignored
Makefile:16: warning: NUL character seen; rest of line ignored
Makefile:17: warning: NUL character seen; rest of line ignored
Makefile:18: warning: NUL character seen; rest of line ignored
Makefile:19: warning: NUL character seen; rest of line ignored
Makefile:20: warning: NUL character seen; rest of line ignored
Makefile:21: warning: NUL character seen; rest of line ignored
Makefile:22: warning: NUL character seen; rest of line ignored
Makefile:23: warning: NUL character seen; rest of line ignored
Makefile:24: warning: NUL character seen; rest of line ignored
make: *** No rule to make target `clean'.  Stop.

CLEAN FAILED (exit value 2, total time: 459ms)
Comment 1 Vladimir Kvashin 2011-07-27 08:21:30 UTC
Fixed in release701_dev:
http://hg.netbeans.org/releases/rev/cc3b4409fe68
Comment 2 Alexander Pepin 2011-07-27 10:13:21 UTC
The bug is reproducible on all Windows platforms.
The workaround is to use "System level file sharing (Samba)" synchronization option in remote host properties.
The fix should be done in 7.0.1 patch1.
Comment 3 Quality Engineering 2011-07-28 13:59:30 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/24996acaef5f
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: Fixed #200390 - Can not build remote project from windows
(transplanted from cc3b4409fe683029a980efdf59a1b7e19daa6c64)
Comment 4 Alexander Pepin 2011-07-28 15:18:38 UTC
verified in dev CND build #5677 using the following configurations:
Windows -> Solaris x86 - Automatic copying
Solaris x86 -> Solaris Sparc - File Sharing
Solaris x86 -> Solaris x86 - Automatic copying
Mac -> Solaris x86 - Automatic copying
Comment 5 Marian Mirilovic 2011-07-28 15:38:07 UTC
Please proceed with integration into release701 branch today by 8pm CEST. Thanks in advance.
Comment 6 Vladimir Kvashin 2011-07-28 16:30:06 UTC
Pushed into release701
http://hg.netbeans.org/releases/rev/370b28369872
Comment 7 Quality Engineering 2011-07-29 03:29:15 UTC
Integrated into 'releases'
Changeset: http://hg.netbeans.org/releases/rev/370b28369872
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: Fixed #200390 - Can not build remote project from windows
(transplanted from cc3b4409fe683029a980efdf59a1b7e19daa6c64)
Comment 8 Alexander Pepin 2011-07-29 11:13:41 UTC
Verified in 7.0.1 build 20110728
Comment 9 david.ojacirrca 2012-02-23 16:12:56 UTC
This bug is still in NB version 7.1, my setup is:

Product Version: NetBeans IDE 7.1 (Build 201112071828)
Java: 1.6.0_30; Java HotSpot(TM) 64-Bit Server VM 20.5-b03
System: Windows 7 version 6.1 running on amd64; Cp1252; es_ES (nb)

I build c++ projects in a remote system, the remote configuration is setup to 'Automatic copying', the behaviour is like this:

-If a file is referenced in the project yet isn't referenced in the Makefile, then the file is copied with no ASCII encoding, this is the case when a c++ header file isn't used in any cpp source file.

-If a file is referenced in the Makefile then it's copied with the correct encoding at the moment the c++ translation unit is built.

-The Makefiles files, both the one you can see at the project and the private Makefiles under the nbproject path are often trashed with no encoding. I couldn't determine under which circumstances this takes places but it happens often for large projects with many dependencies.

I think this bug renders Netbeans hardly usable for large c++ projects and remote build. My collegues and me are experiencing this bug on a daily basis. I can give further information don't hesitate to ask for it.

Sincerely,