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 251343 - Remote build cannot find GCC tools on remote host nor build
Summary: Remote build cannot find GCC tools on remote host nor build
Status: RESOLVED DUPLICATE of bug 245243
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.0.2
Hardware: Macintosh (x86) Mac OS X
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-21 11:30 UTC by mikejac
Modified: 2015-05-15 18:49 UTC (History)
0 users

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 mikejac 2015-03-21 11:30:44 UTC
Hi,

Cannot use remote build to device (an Odroid C1) with Ubuntu 14.04.2 LTS (GNU/Linux 3.10.70-74 armv7l) installed.

Also tried staring NB like this:
$ ./netbeans -J-Dcnd.remote.logger.level=0 -J-Dnativeexecution.support.logger.level=0 -J-Dremote.support.logger.level=0 -J-Dcnd.tmpbase=/home/odroid
Unable to find any JVMs matching version "1.7.0_10+".

Still failing :-(

Various information:

odroid@odroid:~$ ls -la
total 148
drwxr-xr-x 25 odroid odroid 4096 Mar 21 21:36 .
drwxr-xr-x  4 root   root   4096 Mar 12 03:21 ..
-rw-------  1 odroid odroid 1313 Mar 15 01:06 .bash_history
-rw-r--r--  1 odroid odroid  220 May 17  2014 .bash_logout
-rw-r--r--  1 odroid odroid 3636 May 18  2014 .bashrc
drwx------ 14 odroid odroid 4096 Jan  1  1980 .cache
drwx------ 22 odroid odroid 4096 Jan  2 16:08 .config
drwx------  3 root   root   4096 Jun 11  2014 .dbus
drwx------  2 odroid odroid 4096 Nov 25 05:55 Desktop
drwxrwxr-x  3 odroid odroid 4096 Mar 21 21:36 dlight_odroid
-rw-r--r--  1 odroid odroid   26 Jun 13  2014 .dmrc
drwxr-xr-x  2 odroid odroid 4096 Jun 11  2014 Documents
drwxr-xr-x  2 odroid odroid 4096 Jun 11  2014 Downloads
drwx------  3 odroid odroid 4096 Jan  1  1980 .gconf
-rw-r-----  1 odroid odroid    0 Aug  9  2014 .gksu.lock
drwx------  3 odroid odroid 4096 Mar 12 03:06 .gnome2
drwx------  2 odroid odroid 4096 Aug  9  2014 .gvfs
drwx------  3 odroid odroid 4096 Aug  9  2014 .icons
drwxr-xr-x  8 odroid odroid 4096 Jan  2 16:00 .kodi
drwx------  3 odroid odroid 4096 Jan  1  2000 .local
drwxrwxr-x  2 odroid odroid 4096 Jun 12  2014 .mplayer
drwxr-xr-x  2 odroid odroid 4096 Jun 11  2014 Music
-rw-r--r--  1 odroid odroid  265 Aug  9  2014 .pam_environment
drwxr-xr-x  2 odroid odroid 4096 Jun 11  2014 Pictures
drwx------  3 odroid odroid 4096 Jun 11  2014 .pki
-rw-r--r--  1 odroid odroid  675 May 17  2014 .profile
drwxr-xr-x  2 odroid odroid 4096 Jun 11  2014 Public
drwxr-xr-x  2 odroid odroid 4096 Jun 11  2014 .smb
drwx------  2 odroid odroid 4096 Aug  9  2014 .synaptic
drwxrwxr-x  2 odroid odroid 4096 May 17  2014 Templates
drwx------  4 odroid odroid 4096 Jun 11  2014 .thumbnails
drwxr-xr-x  2 odroid odroid 4096 Jun 11  2014 Videos
-rw-------  1 root   root    759 Mar 12 01:50 .viminfo
-rw-------  1 odroid odroid   95 Jan  1  1980 .Xauthority
-rw-rw-r--  1 odroid odroid  131 Aug  9  2014 .xinputrc
-rw-r--r--  1 odroid odroid   14 Nov  2  2013 .xscreensaver
-rw-------  1 odroid odroid  109 Jan  1  1980 .xsession-errors
-rw-------  1 odroid odroid  213 Mar 18 18:41 .xsession-errors.old

odroid@odroid:~$ ls -la dlight_odroid/
total 12
drwxrwxr-x  3 odroid odroid 4096 Mar 21 21:36 .
drwxr-xr-x 25 odroid odroid 4096 Mar 21 21:36 ..
drwxrwxr-x  3 odroid odroid 4096 Mar 21 21:36 56c84c19

odroid@odroid:~$ ls -la dlight_odroid/56c84c19/
total 12
drwxrwxr-x 3 odroid odroid 4096 Mar 21 21:36 .
drwxrwxr-x 3 odroid odroid 4096 Mar 21 21:36 ..
drwxrwxr-x 2 odroid odroid 4096 Mar 21 21:36 01161782828

odroid@odroid:~$ ls -la dlight_odroid/56c84c19/01161782828/
total 28
drwxrwxr-x 2 odroid odroid  4096 Mar 21 21:36 .
drwxrwxr-x 3 odroid odroid  4096 Mar 21 21:36 ..
-rwx------ 1 odroid odroid 17175 Mar 21 21:36 pty

odroid@odroid:~$ ls -la dlight_odroid/56c84c19/01161782828/pty
-rwx------ 1 odroid odroid 17175 Mar 21 21:36 dlight_odroid/56c84c19/01161782828/pty

odroid@odroid:~$ uname -a
Linux odroid 3.10.70-74 #1 SMP PREEMPT Wed Mar 4 04:13:57 BRT 2015 armv7l armv7l armv7l GNU/Linux


IDE Log:

FINEST [nativeexecution.support.logger]: [29184 ms.] JSCH: Connecting to broker port 22
FINEST [nativeexecution.support.logger]: [29186 ms.] JSCH: Connection established
FINEST [nativeexecution.support.logger]: [29218 ms.] JSCH: Remote version string: SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
FINEST [nativeexecution.support.logger]: [29218 ms.] JSCH: Local version string: SSH-2.0-JSCH-0.1.49
FINEST [nativeexecution.support.logger]: [29218 ms.] JSCH: CheckCiphers: aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256
FINEST [nativeexecution.support.logger]: [29819 ms.] JSCH: aes256-ctr is not available.
FINEST [nativeexecution.support.logger]: [29819 ms.] JSCH: aes192-ctr is not available.
FINEST [nativeexecution.support.logger]: [29819 ms.] JSCH: aes256-cbc is not available.
FINEST [nativeexecution.support.logger]: [29819 ms.] JSCH: aes192-cbc is not available.
FINEST [nativeexecution.support.logger]: [29819 ms.] JSCH: arcfour256 is not available.
FINEST [nativeexecution.support.logger]: [29819 ms.] JSCH: CheckKexes: diffie-hellman-group14-sha1
FINEST [nativeexecution.support.logger]: [29823 ms.] JSCH: diffie-hellman-group14-sha1 is not available.
FINEST [nativeexecution.support.logger]: [29823 ms.] JSCH: SSH_MSG_KEXINIT sent
FINEST [nativeexecution.support.logger]: [29823 ms.] JSCH: SSH_MSG_KEXINIT received
FINEST [nativeexecution.support.logger]: [29823 ms.] JSCH: kex: server: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
FINEST [nativeexecution.support.logger]: [29823 ms.] JSCH: kex: server: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ssh-ed25519
FINEST [nativeexecution.support.logger]: [29823 ms.] JSCH: kex: server: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
FINEST [nativeexecution.support.logger]: [29823 ms.] JSCH: kex: server: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
FINEST [nativeexecution.support.logger]: [29823 ms.] JSCH: kex: server: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
FINEST [nativeexecution.support.logger]: [29823 ms.] JSCH: kex: server: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
FINEST [nativeexecution.support.logger]: [29823 ms.] JSCH: kex: server: none,zlib@openssh.com
FINEST [nativeexecution.support.logger]: [29823 ms.] JSCH: kex: server: none,zlib@openssh.com
FINEST [nativeexecution.support.logger]: [29823 ms.] JSCH: kex: server: 
FINEST [nativeexecution.support.logger]: [29823 ms.] JSCH: kex: server: 
FINEST [nativeexecution.support.logger]: [29823 ms.] JSCH: kex: client: diffie-hellman-group1-sha1,diffie-hellman-group-exchange-sha1
FINEST [nativeexecution.support.logger]: [29823 ms.] JSCH: kex: client: ssh-rsa,ssh-dss
FINEST [nativeexecution.support.logger]: [29823 ms.] JSCH: kex: client: aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc
FINEST [nativeexecution.support.logger]: [29823 ms.] JSCH: kex: client: aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc
FINEST [nativeexecution.support.logger]: [29823 ms.] JSCH: kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
FINEST [nativeexecution.support.logger]: [29823 ms.] JSCH: kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
FINEST [nativeexecution.support.logger]: [29823 ms.] JSCH: kex: client: none
FINEST [nativeexecution.support.logger]: [29823 ms.] JSCH: kex: client: none
FINEST [nativeexecution.support.logger]: [29823 ms.] JSCH: kex: client: 
FINEST [nativeexecution.support.logger]: [29823 ms.] JSCH: kex: client: 
FINEST [nativeexecution.support.logger]: [29823 ms.] JSCH: kex: server->client aes128-ctr hmac-md5 none
FINEST [nativeexecution.support.logger]: [29823 ms.] JSCH: kex: client->server aes128-ctr hmac-md5 none
FINEST [nativeexecution.support.logger]: [29829 ms.] JSCH: SSH_MSG_KEXDH_INIT sent
FINEST [nativeexecution.support.logger]: [29829 ms.] JSCH: expecting SSH_MSG_KEXDH_REPLY
FINEST [nativeexecution.support.logger]: [29893 ms.] JSCH: ssh_rsa_verify: signature true
FINEST [nativeexecution.support.logger]: [29893 ms.] JSCH: Host 'broker' is known and mathces the RSA host key
FINEST [nativeexecution.support.logger]: [29893 ms.] JSCH: SSH_MSG_NEWKEYS sent
FINEST [nativeexecution.support.logger]: [29893 ms.] JSCH: SSH_MSG_NEWKEYS received
FINEST [nativeexecution.support.logger]: [29895 ms.] JSCH: SSH_MSG_SERVICE_REQUEST sent
FINEST [nativeexecution.support.logger]: [29896 ms.] JSCH: SSH_MSG_SERVICE_ACCEPT received
FINEST [nativeexecution.support.logger]: [29903 ms.] JSCH: Authentications that can continue: publickey,keyboard-interactive,password
FINEST [nativeexecution.support.logger]: [29903 ms.] JSCH: Next authentication method: publickey
FINEST [nativeexecution.support.logger]: [29904 ms.] JSCH: Authentications that can continue: password
FINEST [nativeexecution.support.logger]: [29904 ms.] JSCH: Next authentication method: password
FINEST [nativeexecution.support.logger]: [29904 ms.] PasswordManager.get(odroid@broker) failed to find password
FINEST [nativeexecution.support.logger]: [36580 ms.] PasswordManager.put(odroid@broker, non-null) stored password in keyring
FINEST [nativeexecution.support.logger]: [36676 ms.] PasswordManager.get(odroid@broker) found password in keyring
FINEST [nativeexecution.support.logger]: [36822 ms.] JSCH: Authentication succeeded (password).
FINE [nativeexecution.support.logger]: [36822 ms.] New session [170.315.679] started.
FINE [nativeexecution.support.logger]: [36824 ms.] availableChannels == 10
FINE [nativeexecution.support.logger]: [36824 ms.] Reuse session [170.315.679]. 9 channels remain...
FINE [nativeexecution.support.logger]: [36828 ms.] Acquired channel [1.318.114.818] from session [170.315.679].
FINE [nativeexecution.support.logger]: [37403 ms.] Releasing channel [1.318.114.818] for session [170.315.679].
FINE [nativeexecution.support.logger]: [37406 ms.] availableChannels == 10
FINE [nativeexecution.support.logger]: [37406 ms.] Reuse session [170.315.679]. 9 channels remain...
FINE [nativeexecution.support.logger]: [37411 ms.] Acquired channel [94.425.375] from session [170.315.679].
FINE [nativeexecution.support.logger]: [37435 ms.] Releasing channel [94.425.375] for session [170.315.679].
FINE [nativeexecution.support.logger]: [37435 ms.] availableChannels == 10
FINE [nativeexecution.support.logger]: [37435 ms.] Reuse session [170.315.679]. 9 channels remain...
FINE [nativeexecution.support.logger]: [37436 ms.] Acquired channel [844.487.692] from session [170.315.679].
FINE [nativeexecution.support.logger]: [37457 ms.] Releasing channel [844.487.692] for session [170.315.679].
FINE [nativeexecution.support.logger]: [37457 ms.] New connection established: odroid@broker - Linux-Ubuntu
FINE [cnd.remote.logger]: RSR.validate2: Validating odroid@broker
WARNING [cnd.remote.logger]: RFS not applicable for odroid@broker
FINEST [cnd.remote.logger]: RCS<Init>: Starting org.netbeans.modules.cnd.remote.support.RemoteCommandSupport on odroid@broker
FINE [cnd.remote.logger]: RemoteCommandSupport<Init>: Running [env] on odroid@broker
FINEST [nativeexecution.support.logger]: [37475 ms.] odroid@broker env [0]: State changed: INITIAL -> STARTING
FINE [nativeexecution.support.logger]: [37475 ms.] availableChannels == 10
FINE [nativeexecution.support.logger]: [37475 ms.] Reuse session [170.315.679]. 9 channels remain...
FINE [nativeexecution.support.logger]: [37475 ms.] Acquired channel [745.535.566] from session [170.315.679].
INFO [nativeexecution.support.logger]: [37487 ms.] bash: /home/odroid/dlight_odroid/56c84c19/01161782828/pty: No such file or directory
FINEST [nativeexecution.support.logger]: [37487 ms.] odroid@broker env [0]: State changed: STARTING -> ERROR
FINE [nativeexecution.support.logger]: [37488 ms.] Error occurred: Failed to get process PID
java.lang.InternalError: Failed to get process PID
	at org.netbeans.modules.nativeexecution.NbNativeProcess.readProcessInfo(NbNativeProcess.java:189)
	at org.netbeans.modules.nativeexecution.NbNativeProcess.create(NbNativeProcess.java:91)
[catch] at org.netbeans.modules.nativeexecution.AbstractNativeProcess.createAndStart(AbstractNativeProcess.java:154)
	at org.netbeans.modules.nativeexecution.api.NativeProcessBuilder.call(NativeProcessBuilder.java:272)
	at org.netbeans.modules.cnd.remote.support.RemoteCommandSupport.run(RemoteCommandSupport.java:134)
	at org.netbeans.modules.cnd.remote.mapper.RemoteHostInfoProviderFactory$RemoteHostInfo.getEnv(RemoteHostInfoProviderFactory.java:100)
	at org.netbeans.modules.cnd.api.remote.HostInfoProvider.getEnv(HostInfoProvider.java:69)
	at org.netbeans.modules.cnd.api.utils.PlatformInfo.getEnv(PlatformInfo.java:323)
	at org.netbeans.modules.cnd.api.utils.PlatformInfo.<init>(PlatformInfo.java:122)
	at org.netbeans.modules.cnd.api.utils.PlatformInfo.getDefault(PlatformInfo.java:392)
	at org.netbeans.modules.cnd.remote.mapper.HostMappingsAnalyzer.<init>(HostMappingsAnalyzer.java:69)
	at org.netbeans.modules.cnd.remote.mapper.HostMappingsAnalyzer.<init>(HostMappingsAnalyzer.java:65)
	at org.netbeans.modules.cnd.remote.mapper.RemotePathMap$CustomizableRemotePathMap.initIfNeeded(RemotePathMap.java:499)
	at org.netbeans.modules.cnd.remote.mapper.RemotePathMap.getPathMap(RemotePathMap.java:117)
	at org.netbeans.modules.cnd.remote.mapper.RemotePathMap.getPathMap(RemotePathMap.java:93)
	at org.netbeans.modules.cnd.remote.server.RemoteServerRecord.init(RemoteServerRecord.java:219)
	at org.netbeans.modules.cnd.remote.server.RemoteServerRecord.validate(RemoteServerRecord.java:148)
	at org.netbeans.modules.cnd.remote.server.RemoteServerList.checkSetup(RemoteServerList.java:166)
	at org.netbeans.modules.cnd.remote.server.RemoteServerList.access$000(RemoteServerList.java:86)
	at org.netbeans.modules.cnd.remote.server.RemoteServerList$1.run(RemoteServerList.java:147)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
FINE [cnd.remote.logger]: RemoteCommandSupport: env on odroid@broker finished; rc=-1
FINEST [cnd.remote.logger]: RemoteCommandSupport ERROR: Failed to get process PID
FINE [cnd.remote.logger]: Find Mappings for odroid@broker
FINEST [nativeexecution.support.logger]: [37490 ms.] odroid@broker cat\ /etc/exports [0]: State changed: INITIAL -> STARTING
FINE [nativeexecution.support.logger]: [37491 ms.] availableChannels == 9
FINE [nativeexecution.support.logger]: [37491 ms.] Reuse session [170.315.679]. 8 channels remain...
FINE [nativeexecution.support.logger]: [37491 ms.] Acquired channel [244.726.612] from session [170.315.679].
INFO [nativeexecution.support.logger]: [37502 ms.] bash: /home/odroid/dlight_odroid/56c84c19/01161782828/pty: No such file or directory
FINEST [nativeexecution.support.logger]: [37502 ms.] odroid@broker cat\ /etc/exports [0]: State changed: STARTING -> ERROR
FINE [nativeexecution.support.logger]: [37502 ms.] Error occurred: Failed to get process PID
java.lang.InternalError: Failed to get process PID
	at org.netbeans.modules.nativeexecution.NbNativeProcess.readProcessInfo(NbNativeProcess.java:189)
	at org.netbeans.modules.nativeexecution.NbNativeProcess.create(NbNativeProcess.java:91)
[catch] at org.netbeans.modules.nativeexecution.AbstractNativeProcess.createAndStart(AbstractNativeProcess.java:154)
	at org.netbeans.modules.nativeexecution.api.NativeProcessBuilder.call(NativeProcessBuilder.java:272)
	at org.netbeans.modules.nativeexecution.api.util.ProcessUtils.execute(ProcessUtils.java:391)
	at org.netbeans.modules.nativeexecution.api.util.ProcessUtils.execute(ProcessUtils.java:336)
	at org.netbeans.modules.cnd.remote.mapper.HostMappingProviderUnixAbstract.findMappings(HostMappingProviderUnixAbstract.java:85)
	at org.netbeans.modules.cnd.remote.mapper.HostMappingsAnalyzer.getMappingsImpl(HostMappingsAnalyzer.java:125)
	at org.netbeans.modules.cnd.remote.mapper.HostMappingsAnalyzer.getMappings(HostMappingsAnalyzer.java:89)
	at org.netbeans.modules.cnd.remote.mapper.RemotePathMap$CustomizableRemotePathMap.initIfNeeded(RemotePathMap.java:509)
	at org.netbeans.modules.cnd.remote.mapper.RemotePathMap.getPathMap(RemotePathMap.java:117)
	at org.netbeans.modules.cnd.remote.mapper.RemotePathMap.getPathMap(RemotePathMap.java:93)
	at org.netbeans.modules.cnd.remote.server.RemoteServerRecord.init(RemoteServerRecord.java:219)
	at org.netbeans.modules.cnd.remote.server.RemoteServerRecord.validate(RemoteServerRecord.java:148)
	at org.netbeans.modules.cnd.remote.server.RemoteServerList.checkSetup(RemoteServerList.java:166)
	at org.netbeans.modules.cnd.remote.server.RemoteServerList.access$000(RemoteServerList.java:86)
	at org.netbeans.modules.cnd.remote.server.RemoteServerList$1.run(RemoteServerList.java:147)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
WARNING [cnd.remote.logger]: RFS not applicable for odroid@broker
FINE [cnd.remote.logger]: CSM.Restore from disk odroid@broker size=-1
FINE [cnd.remote.logger]: CSM restoring from pref: Adding empty CS to host CSM for odroid@broker with toolchains:[None ] platform:Error in state STATE_UNINITIALIZED
FINE [cnd.remote.logger]: CSM.getDefault: Doing remote setup from EDT?false
FINE [cnd.remote.logger]: CSM.initRemoteCompilerSets for odroid@broker [STATE_UNINITIALIZED]
FINEST [cnd.remote.logger]: RCS<Init>: Starting org.netbeans.modules.cnd.remote.compilers.CompilerSetScriptManager on odroid@broker
FINEST [nativeexecution.support.logger]: [37520 ms.] odroid@broker /bin/sh "-s" [0]: State changed: INITIAL -> STARTING
FINE [nativeexecution.support.logger]: [37520 ms.] availableChannels == 8
FINE [nativeexecution.support.logger]: [37521 ms.] Reuse session [170.315.679]. 7 channels remain...
FINE [nativeexecution.support.logger]: [37521 ms.] Acquired channel [1.627.454.277] from session [170.315.679].
INFO [nativeexecution.support.logger]: [37532 ms.] bash: /home/odroid/dlight_odroid/56c84c19/01161782828/pty: No such file or directory
FINEST [nativeexecution.support.logger]: [37532 ms.] odroid@broker /bin/sh "-s" [0]: State changed: STARTING -> ERROR
FINE [nativeexecution.support.logger]: [37532 ms.] Error occurred: Failed to get process PID
java.lang.InternalError: Failed to get process PID
	at org.netbeans.modules.nativeexecution.NbNativeProcess.readProcessInfo(NbNativeProcess.java:189)
	at org.netbeans.modules.nativeexecution.NbNativeProcess.create(NbNativeProcess.java:91)
[catch] at org.netbeans.modules.nativeexecution.AbstractNativeProcess.createAndStart(AbstractNativeProcess.java:154)
	at org.netbeans.modules.nativeexecution.api.NativeProcessBuilder.call(NativeProcessBuilder.java:272)
	at org.netbeans.modules.cnd.remote.compilers.CompilerSetScriptManager.runScript(CompilerSetScriptManager.java:93)
	at org.netbeans.modules.cnd.remote.compilers.RemoteCompilerSetProvider.init(RemoteCompilerSetProvider.java:80)
	at org.netbeans.modules.cnd.toolchain.compilerset.CompilerSetManagerImpl$4.run(CompilerSetManagerImpl.java:662)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
WARNING [cnd.remote.logger]: CSSM.runScript: IOException [Channel is already closed]
WARNING [cnd.remote.logger]: RCSP.getPlatform: Got null response on platform
FINE [cnd.remote.logger]: CSM.initRemoteCompileSets: platform = 5
FINE [cnd.remote.logger]: CSM.initRemoteCompilerSets: Found 1 compiler sets
Comment 1 mikejac 2015-03-21 11:36:02 UTC
$ ssh odroid@broker env
odroid@broker's password:
LC_PAPER=es_US.UTF-8
LC_ADDRESS=es_US.UTF-8
XDG_SESSION_ID=c23
LC_MONETARY=es_US.UTF-8
SHELL=/bin/bash
SSH_CLIENT=192.168.1.50 51554 22
LC_NUMERIC=es_US.UTF-8
LC_ALL=en_US.UTF-8
USER=odroid
LC_TELEPHONE=es_US.UTF-8
MAIL=/var/mail/odroid
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
LC_MESSAGES=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LC_IDENTIFICATION=es_US.UTF-8
PWD=/home/odroid
LANG=en_US.UTF-8
LC_MEASUREMENT=es_US.UTF-8
PAPERSIZE=letter
SHLVL=1
HOME=/home/odroid
LANGUAGE=en_US:en
LOGNAME=odroid
LC_CTYPE=en_US.UTF-8
SSH_CONNECTION=192.168.1.50 51554 192.168.1.82 22
XDG_RUNTIME_DIR=/run/user/1001
LC_TIME=es_US.UTF-8
NO_AT_BRIDGE=1
CEC_HDMI_PORT=2
LC_NAME=es_US.UTF-8
_=/usr/bin/env
Comment 2 mikejac 2015-03-21 11:37:46 UTC
$ ssh odroid@broker /bin/sh "-s"
odroid@broker's password:
ls
Desktop
dlight_odroid
Documents
Downloads
Music
Pictures
Public
Templates
Videos
Comment 3 Alexander Simon 2015-03-21 18:34:21 UTC
Please provide output of script:
ide/bin/nativeexecution/hostinfo.sh
executed on remote.
Comment 4 mikejac 2015-03-21 20:10:37 UTC
From my iMac, where NetBeans is installed:

Michaels-iMac:nativeexecution michael$ ./hostinfo.sh
BITNESS=64
CPUFAMILY=x86
CPUNUM=8
CPUTYPE=i386
HOSTNAME=Michaels-iMac.local
OSNAME=MacOSX
OSBUILD=Darwin Kernel Version 14.1.0
OSFAMILY=MACOSX
USER=michael
SH=/bin/bash
USERDIRBASE=/Users/michael
TMPDIRBASE=/var/tmp/dlight_michael/
DATETIME=2015-03-21 20:08:56
ENVFILE=/var/tmp/dlight_michael//env
ID=uid=501(michael) gid=20(staff) groups=20(staff),501(access_bpf),12(everyone),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),33(_appstore),100(_lpoperator),204(_developer),398(com.apple.access_screensharing),399(com.apple.access_ssh)
Comment 5 mikejac 2015-03-21 20:12:15 UTC
Note: Remote build works fine to other targets, e.g. CentOS and Ubuntu (on i386/x86_64).
Comment 6 mikejac 2015-03-21 20:16:38 UTC
Copied the hostinfo.sh to remote and ran it (as user 'michael'):

michael@odroid:~$ ./hostinfo.sh
BITNESS=32
CPUFAMILY=armv7l
CPUNUM=4
CPUTYPE=armv7l
HOSTNAME=odroid
OSNAME=Linux-Ubuntu
OSBUILD=Ubuntu 14.04.2 LTS
OSFAMILY=LINUX
USER=michael
SH=/bin/bash
USERDIRBASE=/home/michael
TMPDIRBASE=/var/tmp/dlight_michael/
DATETIME=2015-03-21 20:14:54
ENVFILE=/var/tmp/dlight_michael//env
ID=uid=1000(michael) gid=1000(michael) groups=1000(michael),4(adm),20(dialout),21(fax),24(cdrom),25(floppy),26(tape),27(sudo),30(dip),44(video),46(plugdev),114(lpadmin),116(fuse)
Comment 7 Vladimir Kvashin 2015-05-15 18:49:50 UTC
This is a duplicate of the issue 245243 that has been fixed in development version.

*** This bug has been marked as a duplicate of bug 245243 ***