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 249059 - Remote build broken in latest update
Summary: Remote build broken in latest update
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P1 normal with 1 vote (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
: 249785 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-12-02 10:18 UTC by julianAtEg
Modified: 2015-01-30 10:51 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (44.22 KB, text/plain)
2014-12-02 10:18 UTC, julianAtEg
Details
Here is a .jar that is built for trunk (development version) (1.23 MB, application/octet-stream)
2014-12-04 23:57 UTC, Vladimir Kvashin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description julianAtEg 2014-12-02 10:18:32 UTC
Product Version = NetBeans IDE Dev (Build nbms-and-javadoc-2405-on-20141202)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_45
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.45-b08

I have just updated Netbeans (developing using remote build, C++ toolset for Beaglebone Black debian) via "Help/Check for Updates", and now cannot build the project:

Uploading 2 changed files...
Checking exec permissions...
chmod: cannot access `/home/debian/.netbeans/remote/192.168.7.2/eg039-Windows-x86_64/C/prj/linux/CBC-IFP-Slide/trunk/SlideApp/nbproject/private/launcher.properties': No such file or directory
chmod: cannot access `/home/debian/.netbeans/remote/192.168.7.2/eg039-Windows-x86_64/C/prj/linux/CBC-IFP-Slide/trunk/SlideApp/nbproject/private/downloads-192.168.7.2-root-22': No such file or directory
chmod: cannot access `/home/debian/.netbeans/remote/192.168.7.2/eg039-Windows-x86_64/C/prj/linux/CBC-IFP-Slide/trunk/TinyXML/nbproject/private/launcher.properties': No such file or directory
chmod: cannot access `/home/debian/.netbeans/remote/192.168.7.2/eg039-Windows-x86_64/C/prj/linux/CBC-IFP-Slide/trunk/TinyXML/nbproject/private/timestamps-192.168.7.2-root-22': No such file or directory
chmod: cannot access `/home/debian/.netbeans/remote/192.168.7.2/eg039-Windows-x86_64/C/prj/linux/CBC-IFP-Slide/trunk/Maths/nbproject/private/launcher.properties': No such file or directory
chmod: cannot access `/home/debian/.netbeans/remote/192.168.7.2/eg039-Windows-x86_64/C/prj/linux/CBC-IFP-Slide/trunk/Maths/nbproject/private/timestamps-192.168.7.2-root-22': No such file or directory
chmod: cannot access `/home/debian/.netbeans/remote/192.168.7.2/eg039-Windows-x86_64/C/prj/linux/CBC-IFP-Slide/trunk/ThreadPool/nbproject/private/launcher.properties': No such file or directory
chmod: cannot access `/home/debian/.netbeans/remote/192.168.7.2/eg039-Windows-x86_64/C/prj/linux/CBC-IFP-Slide/trunk/ThreadPool/nbproject/private/private.xml': No such file or directory
chmod: cannot access `/home/debian/.netbeans/remote/192.168.7.2/eg039-Windows-x86_64/C/prj/linux/CBC-IFP-Slide/trunk/TinyXML/nbproject/private/private.xml': No such file or directory
chmod: cannot access `/home/debian/.netbeans/remote/192.168.7.2/eg039-Windows-x86_64/C/prj/linux/CBC-IFP-Slide/trunk/Maths/nbproject/private/private.xml': No such file or directory
chmod: cannot access `/home/debian/.netbeans/remote/192.168.7.2/eg039-Windows-x86_64/C/prj/linux/CBC-IFP-Slide/trunk/SlideApp/nbproject/private/timestamps-192.168.7.2-root-22': No such file or directory
chmod: cannot access `/home/debian/.netbeans/remote/192.168.7.2/eg039-Windows-x86_64/C/prj/linux/CBC-IFP-Slide/trunk/SlideApp/nbproject/private/downloads-192.168.7.2-debian-22': No such file or directory
chmod: cannot access `/home/debian/.netbeans/remote/192.168.7.2/eg039-Windows-x86_64/C/prj/linux/CBC-IFP-Slide/trunk/Maths/nbproject/configurations.xml': No such file or directory
chmod: cannot access `/home/debian/.netbeans/remote/192.168.7.2/eg039-Windows-x86_64/C/prj/linux/CBC-IFP-Slide/trunk/Maths/nbproject/private/configurations.xml': No such file or directory
chmod: cannot access `/home/debian/.netbeans/remote/192.168.7.2/eg039-Windows-x86_64/C/prj/linux/CBC-IFP-Slide/trunk/ThreadPool/nbproject/configurations.xml': No such file or directory
chmod: cannot access `/home/debian/.netbeans/remote/192.168.7.2/eg039-Windows-x86_64/C/prj/linux/CBC-IFP-Slide/trunk/ThreadPool/nbproject/private/configurations.xml': No such file or directory
chmod: cannot access `/home/debian/.netbeans/remote/192.168.7.2/eg039-Windows-x86_64/C/prj/linux/CBC-IFP-Slide/trunk/TinyXML/nbproject/configurations.xml': No such file or directory
chmod: cannot access `/home/debian/.netbeans/remote/192.168.7.2/eg039-Windows-x86_64/C/prj/linux/CBC-IFP-Slide/trunk/TinyXML/nbproject/private/configurations.xml': No such file or directory
chmod: cannot access `/home/debian/.netbeans/remote/192.168.7.2/eg039-Windows-x86_64/C/prj/linux/CBC-IFP-Slide/trunk/SlideApp/nbproject/private/timestamps-192.168.7.2-debian-22': No such file or directory
chmod: cannot access `/home/debian/.netbeans/remote/192.168.7.2/eg039-Windows-x86_64/C/prj/linux/CBC-IFP-Slide/trunk/SlideApp/nbproject/configurations.xml': No such file or directory
chmod: cannot access `/home/debian/.netbeans/remote/192.168.7.2/eg039-Windows-x86_64/C/prj/linux/CBC-IFP-Slide/trunk/SlideApp/nbproject/private/private.xml': No such file or directory
chmod: cannot access `/home/debian/.netbeans/remote/192.168.7.2/eg039-Windows-x86_64/C/prj/linux/CBC-IFP-Slide/trunk/SlideApp/nbproject/private/configurations.xml': No such file or directory
Error copying project files to /home/debian/.netbeans/remote/192.168.7.2/eg039-Windows-x86_64 at debian@192.168.7.2: 
Can not check remote directories. xargs exited with error code 123
BUILD FAILED

--------------

I have deleted the .netbeans/ file tree on the remote device - same result.
Comment 1 julianAtEg 2014-12-02 10:18:35 UTC
Created attachment 150834 [details]
IDE log
Comment 2 julianAtEg 2014-12-04 11:13:06 UTC
It appears the files launcher.properties, timestamps-*, configurations.xml and so on in the private folder are no longer being copied to the remote device, hence the failure.
Comment 3 mikejac 2014-12-04 12:52:12 UTC
I have experienced the same issue (NetBeans 8.0.2 on OS X). Tried to 'remote build' to a CentOS server as well as a Ubuntu Desktop. Discovered that if I copied all my source files to a directory structure _without_ spaces, it works again.

Snippet:
Copying project files to /root/.netbeans/remote/netesxcph96/michaels-imac-2.local-MacOSX-x86_64 at root@xxxxxx
Building project files list...
Checking directory structure...
Checking previously uploaded files...
Checking links...
Uploading changed files:
Checking exec permissions...
chmod: cannot access `Drev/NetBeansProjects/tbase/fastdelegate/FastDelegateBind.h': No such file or directory
chmod: cannot access `Drev/NetBeansProjects/tbase/fastdelegate/FastDelegate.h': No such file or directory
chmod: cannot access `Drev/NetBeansProjects/tbase/jsoncpp/json_internalarray.inl': No such file or directory
chmod: cannot access `Drev/NetBeansProjects/tbase/jsoncpp/config.h': No such file or directory

The 'Drev/....' should actually be 'Google Drev/....'

/michael
Comment 4 Vladimir Kvashin 2014-12-04 15:06:33 UTC
(In reply to mikejac from comment #3)
What you describe differs has a different reason, see issue 249074. The issue 249074 is in fact already fixed, the .jar built for 8.0.2 is attached to the issue, so you can try it.
Comment 6 Vladimir Kvashin 2014-12-04 23:57:17 UTC
Created attachment 150899 [details]
Here is a .jar that is built for trunk (development version)

I'm attaching jar that is built for trunk (development version)

If you replace the cnd/modules/org-netbeans-modules-cnd-remote.jar from your NetBeans daily build installation with the attached one, this should solve the issue.

I attached jar for 8.0.2 to issue 249074
Comment 7 Quality Engineering 2014-12-06 05:36:02 UTC
Integrated into 'main-silver', will be available in build *201412060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/9cecbda46158
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fix for #249059 (Remote build broken in latest update) + additional fix for #249074 (Remote builds using SFTP broke with 8.0.2 update)
Comment 8 Vladimir Kvashin 2015-01-23 11:57:39 UTC
*** Bug 249785 has been marked as a duplicate of this bug. ***