EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20222023  2024  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  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Issue with RULES_BUILD of seq 2.2.9
From: Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Thu, 11 Aug 2022 15:39:09 +0200
On Thu, 11 Aug 2022 at 15:24, NICOLE Remi via Tech-talk <tech-talk at aps.anl.gov> wrote:
I recently tried to upgrade our seq package in our internal build tool
from seq 2.2.6 to seq 2.2.9, and came across an issue.

If I understood correctly, the 2.2.9 version introduces a more modern
RULES_SNCSEQ, which gets installed through CFG, and the old RULES_BUILD
sources the new RULES_SNCSEQ for backwards compatibility.

Hm, I see your point.

In principle, the seq architecture looks correct. It has a rules file for the seq build in configure and one for the downstream modules that gets installed in INSTALL_LOCATION/cfg. (And will be automagically sourced by all modules that declare SNCSEQ in one of their RELEASE files.)
But these two are not independent if one includes the other, which they should be. In a similar situation, I have just copied the rules block to be in both files, with comments explaining the situation. Not perfect, but it removes the dependency and will probably also avoid your issue.

Well, /cfg is an install directory. Putting sources there moves things towards ugly and obfuscated. (We still have that - traditional - situation in iocBoot, which is bad enough and we haven't resolved it cleanly yet.)

Cheers,
~Ralph


References:
Issue with RULES_BUILD of seq 2.2.9 NICOLE Remi via Tech-talk

Navigate by Date:
Prev: Rocky Linux 8 RPMs Abdalla Ahmad via Tech-talk
Next: Scan overflow issue Zhang, Tong 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  <20222023  2024 
Navigate by Thread:
Prev: Issue with RULES_BUILD of seq 2.2.9 NICOLE Remi via Tech-talk
Next: Re: Issue with RULES_BUILD of seq 2.2.9 Han Lee 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  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·