EPICS Home

Experimental Physics and Industrial Control System


 
2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: [Bug 1801145] Re: Improve place-holder record types
From: Andrew Johnson via Core-talk <[email protected]>
To: [email protected]
Date: Thu, 31 Oct 2019 19:50:54 -0000
** Changed in: epics-base/3.15
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of EPICS
Core Developers, which is subscribed to EPICS Base.
Matching subscriptions: epics-core-list-subscription
https://bugs.launchpad.net/bugs/1801145

Title:
  Improve place-holder record types

Status in EPICS Base:
  Fix Released
Status in EPICS Base 3.15 series:
  Fix Released
Status in EPICS Base 3.16 series:
  Fix Released
Status in EPICS Base 7.0 series:
  Fix Released

Bug description:
  Heinz Junkes reported this:

  make[1]: Entering directory '/home/epics/FHI/IOCVACUUM/IOCVACUUMApp/src/O.linux-x86_64'
  Creating dbd file IOCVACUUM.dbd
  perl -CSD /home/epics/BASE/epics-base/bin/linux-x86_64/dbdExpand.pl   -I. -I.. -I../O.Common -I/srv/iocs/sys/vacuum/dbd -I/home/epics/SUPPORT/seq-2.2.6/dbd -I/home/epics/SUPPORT/asyn/dbd -I/home/epics/SUPPORT/calc/dbd -I/home/epics/SUPPORT/busy/dbd -I/home/epics/SUPPORT/autosave/dbd -I/home/epics/SUPPORT/iocStats/dbd -I/home/epics/SUPPORT/stream/dbd -I/home/epics/BASE/epics-base/dbd -o IOCVACUUM.dbd base.dbd drvAsynIPPort.dbd asyn.dbd stream.dbd calc.dbd busySupport.dbd devIocStats.dbd  asSupport.dbd

  Device using undefined record type 'scalcout', place-holder created
  dbdExpand.pl: A different record type named 'scalcout' already exists
  Context: recordtype(scalcout) in file '/home/epics/SUPPORT/calc/dbd/sCalcoutRecord.dbd' in file '/home/epics/SUPPORT/calc/dbd/calc.dbd'
    while reading 'calc.dbd' to create ‘IOCVACUUM.dbd'

  dbdExpand.pl: Exiting due to errors

  Mark Rivers diagnosed this:

  I believe the problem is with the order of the dbd files.  calc.dbd
  must come before stream.dbd because stream.dbd tries to use scalcout
  record.

  It should be possible for a place-holder record type to be replaced
  with the full record type definition in this case, so this kind of
  mistake would still give the first "place-holder created" warning but
  add a note as to what the problem was and that it has been handled
  if/when the full record definition comes along later.

To manage notifications about this bug go to:
https://bugs.launchpad.net/epics-base/+bug/1801145/+subscriptions

Navigate by Date:
Prev: [Bug 1844537] Re: OMSL="closed_loop" doesn't work with constant DOL Andrew Johnson via Core-talk
Next: [Bug 1756015] Re: Wrong day light saving times in CONFIG_SITE_ENV? Andrew Johnson via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: [Bug 1797634] Re: Broken shebang line in tap-to-junit-xml.pl Andrew Johnson via Core-talk
Next: [Bug 1756015] Re: Wrong day light saving times in CONFIG_SITE_ENV? Andrew Johnson via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024