<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>I am able to reproduce this problem in halld_sim. It does not
occur in sim-recon.</p>
<br>
<div class="moz-cite-prefix">On 07/31/2018 07:25 PM, Paul Eugenio
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:39DD4B15-0722-4ED2-A440-2E3C8F0A254E@fsu.edu">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
I am building an executable from a git branch of halld_sim. It
seems that scons has lost the dependency build. After modifying a
source file, scons will build an updated object file but does not
update the executable unless one removes both old executables in
the associated $BMS_OSNAME/bin and ./$BMS_OSNAME/bin
directories.
<div class=""><br class="">
</div>
<div class="">See the list of commands and the build times below.
I build genr8, then modify the source and rebuild. The object
file genr8.o gets updated but the executable does not. But when
I remove the development and the install genr8 executables,
scons builds the update executable.
<div class=""><br class="">
</div>
<div class="">I’m guessing scons has some $HALLD_HOME issues.</div>
<div class=""><br class="">
</div>
<div class="">Paul</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">hnpgrid5 460% pwd<br class="">
/d/home/eugenio/gluex/git-work/halld_sim/src/programs/Simulation/genr8</div>
<div class="">hnpgrid5 461% rm
../../../../Linux_CentOS7-x86_64-gcc4.8.5/bin/genr8</div>
<div class="">
<div class=""><br class="">
</div>
<div class="">hnpgrid5 462% scons -u install</div>
<div class="">hnpgrid5 463% ls -l `which genr8`<br class="">
-rwxr-xr-x. 1 eugenio fsu 72K Jul 31
17:58 /d/home/eugenio/gluex/git-work//halld_sim/Linux_CentOS7-x86_64-gcc4.8.5/bin/genr8</div>
<div class=""><br class="">
</div>
<div class="">hnpgrid5 464% emacs -nw genr8.c <br class="">
hnpgrid5 465% scons -u install</div>
<div class="">hnpgrid5 466% ls -l `which genr8`<br class="">
-rwxr-xr-x. 1 eugenio fsu 72K Jul 31
17:58 /d/home/eugenio/gluex/git-work//halld_sim/Linux_CentOS7-x86_64-gcc4.8.5/bin/genr8</div>
<div class=""><br class="">
</div>
<div class="">hnpgrid5 467% ls -l
../../../.Linux_CentOS7-x86_64-gcc4.8.5/programs/Simulation/genr8/*<br
class="">
-rwxr-xr-x. 1 eugenio fsu 73720 Jul 31 17:58 genr8<br
class="">
-rw-r--r--. 1 eugenio fsu 124576 Jul 31 18:01 genr8.o<br
class="">
<br class="">
</div>
<div class="">hnpgrid5 468% rm
../../../.Linux_CentOS7-x86_64-gcc4.8.5/programs/Simulation/genr8/genr8</div>
<div class="">hnpgrid5 469% scons -u install</div>
<div class=""><br class="">
</div>
<div class="">hnpgrid5 470% l `which genr8`<br class="">
-rwxr-xr-x. 1 eugenio fsu 72K Jul 31
17:58 /d/home/eugenio/gluex/git-work//halld_sim/Linux_CentOS7-x86_64-gcc4.8.5/bin/genr8</div>
<div class=""><br class="">
</div>
<div class="">hnpgrid5 471% ls -l
../../../.Linux_CentOS7-x86_64-gcc4.8.5/programs/Simulation/genr8/genr8*<br
class="">
-rwxr-xr-x. 1 eugenio fsu 73720 Jul 31 18:02 genr8<br
class="">
-rw-r--r--. 1 eugenio fsu 124576 Jul 31 18:01 genr8.o</div>
<div class=""><br class="">
</div>
<div class="">hnpgrid5 472% rm
/d/home/eugenio/gluex/git-work//halld_sim/Linux_CentOS7-x86_64-gcc4.8.5/bin/genr8<br
class="">
hnpgrid5 473% scons -u install</div>
<div class="">hnpgrid5 474% ls -l `which genr8`<br class="">
-rwxr-xr-x. 1 eugenio fsu 72K Jul 31
18:02 /d/home/eugenio/gluex/git-work/halld_sim/Linux_CentOS7-x86_64-gcc4.8.5/bin/genr8<br
class="">
<br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
text-align: start; text-indent: 0px; text-transform:
none; white-space: normal; word-spacing: 0px;
-webkit-text-stroke-width: 0px; word-wrap: break-word;
-webkit-nbsp-mode: space; -webkit-line-break:
after-white-space;" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;
font-style: normal; font-variant-ligatures: normal;
font-variant-position: normal; font-variant-caps:
normal; font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans:
2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">
--<br class="">
Prof. Paul Eugenio<br class="">
Florida State University<br class="">
Department of Physics<br class="">
Tallahassee, Florida, USA 32306<br class="">
<br class="">
(850) 644-2585<br class="">
<a href="mailto:peugenio@fsu.edu" class=""
moz-do-not-send="true">peugenio@fsu.edu</a><br
class="">
<br class="">
<br class="">
<br class="">
</div>
</div>
</div>
<br class="">
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Halld-offline mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Halld-offline@jlab.org">Halld-offline@jlab.org</a>
<a class="moz-txt-link-freetext" href="https://mailman.jlab.org/mailman/listinfo/halld-offline">https://mailman.jlab.org/mailman/listinfo/halld-offline</a></pre>
</blockquote>
<br>
</body>
</html>