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 190000 - remote build and run are not consistent
Summary: remote build and run are not consistent
Status: CLOSED DUPLICATE of bug 189616
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.0
Hardware: Sun Solaris
: P1 normal (vote)
Assignee: Thomas Preisler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-30 21:53 UTC by Chihin Ko
Modified: 2010-09-29 03:02 UTC (History)
1 user (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 Chihin Ko 2010-08-30 21:53:10 UTC
From build log, executable is put in one place, but when running command try to get it from another place :


gmake[1]: Entering directory `/home/jeanko/NetBeansProjects/Quote_3'
"/usr/sfw/bin/gmake"  -f nbproject/Makefile-S11_GNU_Debug.mk dist/S11_GNU_Debug/GNU-None/quote_3
gmake[2]: Entering directory `/home/jeanko/NetBeansProjects/Quote_3'

Error pop up of run command :

/home/jeanko/NetBeansProjects/Quote_3/dist/S11_GNU_Debug/GNU-Solaris-x86/quote_3 does not exist or is not and executable

The "output" property of Linker is
${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/quote_3
Comment 1 Leonid Lenyashin 2010-08-31 10:06:06 UTC
Oh, I've seen it several times. It usually happens when project is moved to another system or something like that. Very very annoying.
Comment 2 Chihin Ko 2010-08-31 16:24:43 UTC
I did not move the project. I think it happened when IDE sit for overnight.
Comment 3 Alexander Pepin 2010-09-08 14:35:55 UTC
As I can see CND_PLATFORM was changed from "GNU-None" to "GNU-Solaris-x86". How it could be?
Comment 4 Chihin Ko 2010-09-15 22:34:59 UTC
This is a showstopper for push new IDE into Solstudio trunk build.


And the way it happened is more general, this time, for example, 
bring down IDE and bring it up again.
Comment 5 Alexander Pepin 2010-09-16 14:09:55 UTC
Jean,
 I can not reproduce and confirm the problem. Could you please provide exact steps to reproduce it.
BTW do you use a fresh userdir to test new builds?
Comment 6 Chihin Ko 2010-09-22 21:53:09 UTC
Bring up IDE which had Welcome project that had several configurations for several platforms. (project location: /home/jeanko/nb/Welcome_8)

Created another configuration (marquez_Debug) for sparc-S2 platform, start to build and debug for marquez_Debug configuration, then the following happened:

1. A Question pop-up :


error pop-up when start to debug or run :

/home/jeanko/.netbeans/remote/benjamin2-SunOS-x86_64/home/jeanko/nb/Welcome_8/dist/marquez_Debug/OracleSolarisStudio-Solaris-Sparc/welcome_8 does not exist or is not an executable.

-------------------------------------------------------------------------------
This is the output in build window :

Copying project files to /home/jeanko/.netbeans/remote/benjamin2-SunOS-x86_64/ at jeanko@marquez:22
dmake: defaulting to parallel mode.
See the man page dmake(1) for more information on setting up the .dmakerc file.
marquez --> 1 job
marquez --> 2 jobs
"/shared/dp/sstrunk/latest/inst/sparc-S2/bin/dmake" -f nbproject/Makefile-marquez_Debug.mk QMAKE= SUBPROJECTS= .build-conf
"/shared/dp/sstrunk/latest/inst/sparc-S2/bin/dmake"  -f nbproject/Makefile-marquez_Debug.mk dist/marquez_Debug/OracleSolarisStudio-None/welcome_8
marquez --> 1 job
mkdir -p build/marquez_Debug/OracleSolarisStudio-None
CC    -c -g -o build/marquez_Debug/OracleSolarisStudio-None/welcome.o welcome.cc
marquez --> 1 job
mkdir -p dist/marquez_Debug/OracleSolarisStudio-None
CC    -o dist/marquez_Debug/OracleSolarisStudio-None/welcome_8 build/marquez_Debug/OracleSolarisStudio-None/welcome.o
Comment 7 Chihin Ko 2010-09-23 00:36:13 UTC
Bring up IDE which had Welcome project that had several configurations for several platforms. (project location: /home/jeanko/nb/Welcome_8)

Added another remote host (marquez) via "Host Configuration Check" dialog.

Created another configuration (marquez_Debug) for sparc-S2 platform, start to build and debug for marquez_Debug configuration, then the following happened:

1. A Question pop-up with following msg:
   "Warning : this project was created for Unknown OS but the development host OS is Solaris Sparc, you may need to make changes to the properties of the project and reconfigure it for the Solaris Sparc platform.

   The project may not build or run correctly on this host. To use the project, you can close the project and reopen it on a host running Unknown. If you must run the project on Solaris Sparc, you may need to make changes to the properties of the project and reconfigure it for the Solaris Sparc."

2. Click "OK" button of above pop-up.

3. error pop-up when start to debug or run :

/home/jeanko/.netbeans/remote/benjamin2-SunOS-x86_64/home/jeanko/nb/Welcome_8/dist/marquez_Debug/OracleSolarisStudio-Solaris-Sparc/welcome_8 does not exist or is not an executable.

-------------------------------------------------------------------------------
This is the output in build window :

Copying project files to /home/jeanko/.netbeans/remote/benjamin2-SunOS-x86_64/ at jeanko@marquez:22
dmake: defaulting to parallel mode.
See the man page dmake(1) for more information on setting up the .dmakerc file.
marquez --> 1 job
marquez --> 2 jobs
"/shared/dp/sstrunk/latest/inst/sparc-S2/bin/dmake" -f nbproject/Makefile-marquez_Debug.mk QMAKE= SUBPROJECTS= .build-conf
"/shared/dp/sstrunk/latest/inst/sparc-S2/bin/dmake"  -f nbproject/Makefile-marquez_Debug.mk dist/marquez_Debug/OracleSolarisStudio-None/welcome_8
marquez --> 1 job
mkdir -p build/marquez_Debug/OracleSolarisStudio-None
CC    -c -g -o build/marquez_Debug/OracleSolarisStudio-None/welcome.o welcome.cc
marquez --> 1 job
mkdir -p dist/marquez_Debug/OracleSolarisStudio-None
CC    -o dist/marquez_Debug/OracleSolarisStudio-None/welcome_8 build/marquez_Debug/OracleSolarisStudio-None/welcome.o
Comment 8 Chihin Ko 2010-09-23 00:38:30 UTC
Please ignore this Comments, it is incomplete.

(In reply to comment #6)
> Bring up IDE which had Welcome project that had several configurations for
> several platforms. (project location: /home/jeanko/nb/Welcome_8)
> 
> Created another configuration (marquez_Debug) for sparc-S2 platform, start to
> build and debug for marquez_Debug configuration, then the following happened:
> 
> 1. A Question pop-up :
> 
> 
> error pop-up when start to debug or run :
> 
> /home/jeanko/.netbeans/remote/benjamin2-SunOS-x86_64/home/jeanko/nb/Welcome_8/dist/marquez_Debug/OracleSolarisStudio-Solaris-Sparc/welcome_8
> does not exist or is not an executable.
> 
> -------------------------------------------------------------------------------
> This is the output in build window :
> 
> Copying project files to /home/jeanko/.netbeans/remote/benjamin2-SunOS-x86_64/
> at jeanko@marquez:22
> dmake: defaulting to parallel mode.
> See the man page dmake(1) for more information on setting up the .dmakerc file.
> marquez --> 1 job
> marquez --> 2 jobs
> "/shared/dp/sstrunk/latest/inst/sparc-S2/bin/dmake" -f
> nbproject/Makefile-marquez_Debug.mk QMAKE= SUBPROJECTS= .build-conf
> "/shared/dp/sstrunk/latest/inst/sparc-S2/bin/dmake"  -f
> nbproject/Makefile-marquez_Debug.mk
> dist/marquez_Debug/OracleSolarisStudio-None/welcome_8
> marquez --> 1 job
> mkdir -p build/marquez_Debug/OracleSolarisStudio-None
> CC    -c -g -o build/marquez_Debug/OracleSolarisStudio-None/welcome.o
> welcome.cc
> marquez --> 1 job
> mkdir -p dist/marquez_Debug/OracleSolarisStudio-None
> CC    -o dist/marquez_Debug/OracleSolarisStudio-None/welcome_8
> build/marquez_Debug/OracleSolarisStudio-None/welcome.o
Comment 9 Thomas Preisler 2010-09-27 19:04:05 UTC
OK, I cannot reproduce any of the problems described here. And it is not 100% clear exactly what issues are left to investigate, so I will close as Incomplete for now and work with Jean to resolve this issue.

Jean, please see me and let's look at this together before reopening this bug. It is very hard to deal with when it is not clear what the issue is and there is no exact steps to reproduce.
Comment 10 Chihin Ko 2010-09-29 03:02:35 UTC

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