Improve place-holder record types
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
EPICS Base | Status tracked in 7.0 | |||||
3.15 |
Fix Released
|
Low
|
Andrew Johnson | |||
3.16 |
Fix Released
|
Undecided
|
Andrew Johnson | |||
7.0 |
Fix Released
|
Low
|
Andrew Johnson |
Bug Description
Heinz Junkes reported this:
make[1]: Entering directory '/home/
Creating dbd file IOCVACUUM.dbd
perl -CSD /home/epics/
Device using undefined record type 'scalcout', place-holder created
dbdExpand.pl: A different record type named 'scalcout' already exists
Context: recordtype(
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.