Experimental Physics and Industrial Control System
|
Hi Matt,
On Oct 26, 2021, at 9:26 AM, Pearson, Matthew R. via Tech-talk < tech-talk at aps.anl.gov> wrote:
undefine SNCSEQ
EPICS_BASE=/home/controls/common/base/main
Although this causes errors like these when building asyn:
make[2]: Entering directory '/home/controls/common/asyn/main/iocBoot/ioctest'
perl -CSD /home/controls/common/base/main/bin/linux-x86_64/convertRelease.pl -t /home/controls/common/asyn/main envPaths
Use of uninitialized value $iocpath in substitution (s///) at /home/controls/common/base/main/bin/linux-x86_64/convertRelease.pl line 220.
Use of uninitialized value $path in -d at /home/controls/common/base/main/bin/linux-x86_64/convertRelease.pl line 221.
Oops! This patch to Base should fix the problem, please try it:
diff --git a/src/tools/EPICS/Release.pm b/src/tools/EPICS/Release.pm
index 7caa6f4c6..e6aaf1e0c 100644
--- a/src/tools/EPICS/Release.pm
+++ b/src/tools/EPICS/Release.pm
@@ -67,6 +67,7 @@ sub readRelease {
my ($uvar) = m/^ undefine \s+ ($MVAR)/x;
if ($uvar ne '') {
delete $Rmacros->{$uvar};
+ @$Rapps = grep($_ ne $uvar, @$Rapps);
next;
}
Do you know what's causing these errors? I suppose the script just isn't silently dealing with the 'undefine' syntax?
Yup, and I evidently didn’t test the code properly when I added support for
undefine (in Base 7.0.5 I believe).
Thanks,
- Andrew
--
Complexity comes for free, simplicity you have to work for.
|
- Replies:
- RE: undefine variable in RELEASE.local Pearson, Matthew R. via Tech-talk
- References:
- undefine variable in RELEASE.local Pearson, Matthew R. via Tech-talk
- Navigate by Date:
- Prev:
Control System Engineer position at ALS in LBNL Miroslaw Dach via Tech-talk
- Next:
RE: undefine variable in RELEASE.local Pearson, Matthew R. via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
<2021>
2022
2023
2024
- Navigate by Thread:
- Prev:
undefine variable in RELEASE.local Pearson, Matthew R. via Tech-talk
- Next:
RE: undefine variable in RELEASE.local Pearson, Matthew R. via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
<2021>
2022
2023
2024
|
ANJ, 26 Oct 2021 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|