Experimental Physics and Industrial Control System
Hi Heinz,
I just tried building the latest version of ADCore with the latest version of EPICS base 3.15 (using bzr to update) and got the same error as you:
Creating dbd file simDetectorApp.dbd
perl -CSD /corvette/usr/local/epics/base-3.15.0/bin/linux-x86_64/dbdExpand.pl -I. -I.. -I../O.Common -I../../../dbd -I/corvette/usr/local/epics/base-3.15.0/dbd -I/corvette/home/epics/devel-3.15/asyn-4-25/dbd -I/corvette/home/epics/devel-3.15/areaDetector-2-1/ADCore/dbd -I/corvette/home/epics/devel-3.15/calc-3-4-1/dbd -I/corvette/home/epics/devel-3.15/busy-1-6/dbd -I/corvette/home/epics/devel-3.15/sscan-2-10/dbd -I/corvette/home/epics/devel-3.15/autosave-5-4-2/dbd -o simDetectorApp.dbd simDetectorSupport.dbd commonDriverSupport.dbd
dbdExpand.pl: Leaving context "file '/corvette/home/epics/devel-3.15/areaDetector-2-1/ADCore/dbd/commonDriverSupport.dbd'", found "file '/corvette/home/epics/devel-3.15/areaDetector-2-1/ADCore/dbd/NDPluginSupport.dbd'" instead.
Braces must be closed in the same file they open in.
Context: file '/corvette/home/epics/devel-3.15/areaDetector-2-1/ADCore/dbd/commonDriverSupport.dbd'
while reading 'commonDriverSupport.dbd' to create 'simDetectorApp.dbd'
dbdExpand.pl: Exiting due to errors
make[3]: *** [../O.Common/simDetectorApp.dbd] Error 255
Andrew, I don't see any braces in ADCore/ADApp/commonDriverMakefile. Can you tell me what is causing this error in 3.15, while it builds OK in 3.14.12.4?
Thanks,
Mark
-----Original Message-----
From: Heinz P. Junkes [mailto:[email protected]]
Sent: Friday, January 09, 2015 9:40 AM
To: Mark Rivers; [email protected] ([email protected])
Subject: Re: areadetector dbExpand.pl error: Braces must be closed in the same file they open in.
Marc,
thank you for your quick answer.
I am running base-3.15.1-rc1
areaDetector just downloaded today from the git-master, so I assume R2-1
with
ADCore also downloaded today is R2-2
h1@earth:~/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC$ pwd
/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC
h1@earth:~/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC$ make
clean uninstall
make -C ./configure clean
make[1]: Entering directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/configure'
rm -rf O.linux-x86_64 O.Common
make[1]: Leaving directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/configure'
make -C ./simDetectorApp clean
make[1]: Entering directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp'
make -C ./Db clean
make[2]: Entering directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp/Db'
rm -rf O.linux-x86_64 O.Common
make[2]: Leaving directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp/Db'
make -C ./src clean
make[2]: Entering directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp/src'
rm -rf O.linux-x86_64 O.Common
make[2]: Leaving directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp/src'
make[1]: Leaving directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp'
make -C ./iocBoot clean
make[1]: Entering directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/iocBoot'
make -C ./iocSimDetector clean
make[2]: Entering directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/iocBoot/iocSimDetector'
rm -f cdCommands envPaths dllPath.bat relPaths.sh
make[2]: Leaving directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/iocBoot/iocSimDetector'
make[1]: Leaving directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/iocBoot'
rm -rf ./bin/linux-x86_64
rm -rf ./lib/linux-x86_64
make[1]: Entering directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC'
rm -rf ./bin
rm -rf ./lib
make[1]: Leaving directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC'
rm -rf ./dbd ./include ./doc ./html ./templates ./db ./adl ./alh ./cfg
./edl ./lib/perl ./lib/pkgconfig
h1@earth:~/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC$ make
make -C ./configure install
make[1]: Entering directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/configure'
perl -CSD /home/h1/EPICS/base/bin/linux-x86_64/makeMakefile.pl
O.linux-x86_64 ../..
mkdir O.Common
make -C O.linux-x86_64 -f ../Makefile TOP=../.. T_A=linux-x86_64 install
make[2]: Entering directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/configure/O.linux-x86_64'
perl -CSD /home/h1/EPICS/base/bin/linux-x86_64/convertRelease.pl
checkRelease
make[2]: Leaving directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/configure/O.linux-x86_64'
make[1]: Leaving directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/configure'
make -C ./simDetectorApp install
make[1]: Entering directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp'
make -C ./Db install
make[2]: Entering directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp/Db'
perl -CSD /home/h1/EPICS/base/bin/linux-x86_64/makeMakefile.pl
O.linux-x86_64 ../../..
mkdir O.Common
make -C O.linux-x86_64 -f ../Makefile TOP=../../.. T_A=linux-x86_64 install
make[3]: Entering directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp/Db/O.linux-x86_64'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp/Db/O.linux-x86_64'
make[2]: Leaving directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp/Db'
make -C ./src install
make[2]: Entering directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp/src'
perl -CSD /home/h1/EPICS/base/bin/linux-x86_64/makeMakefile.pl
O.linux-x86_64 ../../..
mkdir O.Common
make -C O.linux-x86_64 -f ../Makefile TOP=../../.. T_A=linux-x86_64 install
make[3]: Entering directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp/src/O.linux-x86_64'
/usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_
-DUNIX -Dlinux -O3 -g -Wall -m64 -I. -I../O.Common -I.
-I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux
-I../../../include -I/home/h1/EPICS/base/include/compiler/gcc
-I/home/h1/EPICS/base/include/os/Linux -I/home/h1/EPICS/base/include
-I/home/h1/EPICS/support/asyn4-25/include
-I/home/h1/EPICS/support/areaDetector/ADCore/include
-I/home/h1/EPICS/support/calc-3-4/include
-I/home/h1/EPICS/support/busy-1-6-1/include
-I/home/h1/EPICS/support/sscan-2-10/include
-I/home/h1/EPICS/support/autosave-5-5/include/os/Linux
-I/home/h1/EPICS/support/autosave-5-5/include -MM -MF
simDetectorAppMain.d ../simDetectorAppMain.cpp
Creating dbd file simDetectorApp.dbd
perl -CSD /home/h1/EPICS/base/bin/linux-x86_64/dbdExpand.pl -I. -I..
-I../O.Common -I../../../dbd -I/home/h1/EPICS/base/dbd
-I/home/h1/EPICS/support/asyn4-25/dbd
-I/home/h1/EPICS/support/areaDetector/ADCore/dbd
-I/home/h1/EPICS/support/calc-3-4/dbd
-I/home/h1/EPICS/support/busy-1-6-1/dbd
-I/home/h1/EPICS/support/sscan-2-10/dbd
-I/home/h1/EPICS/support/autosave-5-5/dbd -o simDetectorApp.dbd
simDetectorSupport.dbd commonDriverSupport.dbd
dbdExpand.pl: Leaving context "file
'/home/h1/EPICS/support/areaDetector/ADCore/dbd/commonDriverSupport.dbd'",
found "file
'/home/h1/EPICS/support/areaDetector/ADCore/dbd/NDPluginSupport.dbd'"
instead.
Braces must be closed in the same file they open in.
Context: file
'/home/h1/EPICS/support/areaDetector/ADCore/dbd/commonDriverSupport.dbd'
while reading 'commonDriverSupport.dbd' to create 'simDetectorApp.dbd'
dbdExpand.pl: Exiting due to errors
dbdExpand.pl: Leaving context "file
'/home/h1/EPICS/support/areaDetector/ADCore/dbd/commonDriverSupport.dbd'",
found "file
'/home/h1/EPICS/support/areaDetector/ADCore/dbd/NDPluginSupport.dbd'"
instead.
Braces must be closed in the same file they open in.
Context: file
'/home/h1/EPICS/support/areaDetector/ADCore/dbd/commonDriverSupport.dbd'
while reading 'commonDriverSupport.dbd' to create
'../O.Common/simDetectorApp.dbd.d'
make[3]: Leaving directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp/src/O.linux-x86_64'
make[3]: Entering directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp/src/O.linux-x86_64'
Creating dbd file simDetectorApp.dbd
perl -CSD /home/h1/EPICS/base/bin/linux-x86_64/dbdExpand.pl -I. -I..
-I../O.Common -I../../../dbd -I/home/h1/EPICS/base/dbd
-I/home/h1/EPICS/support/asyn4-25/dbd
-I/home/h1/EPICS/support/areaDetector/ADCore/dbd
-I/home/h1/EPICS/support/calc-3-4/dbd
-I/home/h1/EPICS/support/busy-1-6-1/dbd
-I/home/h1/EPICS/support/sscan-2-10/dbd
-I/home/h1/EPICS/support/autosave-5-5/dbd -o simDetectorApp.dbd
simDetectorSupport.dbd commonDriverSupport.dbd
dbdExpand.pl: Leaving context "file
'/home/h1/EPICS/support/areaDetector/ADCore/dbd/commonDriverSupport.dbd'",
found "file
'/home/h1/EPICS/support/areaDetector/ADCore/dbd/NDPluginSupport.dbd'"
instead.
Braces must be closed in the same file they open in.
Context: file
'/home/h1/EPICS/support/areaDetector/ADCore/dbd/commonDriverSupport.dbd'
while reading 'commonDriverSupport.dbd' to create 'simDetectorApp.dbd'
dbdExpand.pl: Exiting due to errors
make[3]: *** [../O.Common/simDetectorApp.dbd] Error 255
make[3]: Leaving directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp/src/O.linux-x86_64'
make[2]: *** [install.linux-x86_64] Error 2
make[2]: Leaving directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp/src'
make[1]: *** [src.install] Error 2
make[1]: Leaving directory
`/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp'
make: *** [simDetectorApp.install] Error 2
h1@earth:~/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC$
On 09.01.2015 16:16, Mark Rivers wrote:
> I have never encountered this error. What version of areaDetector and what version of EPICS base are you using?
>
> This is the command that was executing for you when building for linux-x86_64 in that directory:
>
> make[6]: Entering directory `/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp/src/O.linux-x86_64'
> Creating dbd file simDetectorApp.dbd
> perl -CSD /home/h1/EPICS/base/bin/linux-x86_64/dbdExpand.pl -I. -I.. -I../O.Common -I../../../dbd -I/home/h1/EPICS/base/dbd -I/home/h1/EPICS/support/asyn4-25/dbd -I/home/h1/EPICS/support/areaDetector/ADCore/dbd -I/home/h1/EPICS/support/calc-3-4/dbd -I/home/h1/EPICS/support/busy-1-6-1/dbd -I/home/h1/EPICS/support/sscan-2-10/dbd -I/home/h1/EPICS/support/autosave-5-5/dbd -o simDetectorApp.dbd simDetectorSupport.dbd commonDriverSupport.dbd
>
>
> This is the command that was executing for me:
>
> make[3]: Entering directory `/home/epics/devel/areaDetector-2-1/ADCore/iocs/simDetectorIOC/simDetectorApp/src/O.linux-x86_64'
> perl /corvette/usr/local/epics/base-3.14.12.4/bin/linux-x86_64/makeIncludeDbd.pl simDetectorSupport.dbd commonDriverSupport.dbd simDetectorAppInclude.dbd
> echo "../O.Common/simDetectorAppInclude.dbd : ../Makefile" >> simDetectorApp.dbd.d
> Expanding dbd
> Installing created dbd file ../../../dbd/simDetectorApp.dbd
>
> Note that your perl command has a "-CSD" flag and yours is executing "dbdExpand.pl" while mine is executing "makeIncludeDbd.pl". I am running ADCore R2-2 pre-release (but basically the same as R2-1) and EPICS base 3.14.12.4. Just before I ran "make" I ran "make clean uninstall" in the simDetectorIOC directory.
>
> Mark
>
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Heinz Junkes
> Sent: Friday, January 09, 2015 8:58 AM
> To: [email protected] ([email protected])
> Subject: areadetector dbExpand.pl error: Braces must be closed in the same file they open in.
>
> running into following trouble:
>
> ...
> make[5]: Entering directory `/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp/src'
> make -C O.linux-x86_64 -f ../Makefile TOP=../../.. T_A=linux-x86_64 install
> make[6]: Entering directory `/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp/src/O.linux-x86_64'
> Creating dbd file simDetectorApp.dbd
> perl -CSD /home/h1/EPICS/base/bin/linux-x86_64/dbdExpand.pl -I. -I.. -I../O.Common -I../../../dbd -I/home/h1/EPICS/base/dbd -I/home/h1/EPICS/support/asyn4-25/dbd -I/home/h1/EPICS/support/areaDetector/ADCore/dbd -I/home/h1/EPICS/support/calc-3-4/dbd -I/home/h1/EPICS/support/busy-1-6-1/dbd -I/home/h1/EPICS/support/sscan-2-10/dbd -I/home/h1/EPICS/support/autosave-5-5/dbd -o simDetectorApp.dbd simDetectorSupport.dbd commonDriverSupport.dbd
> dbdExpand.pl: Leaving context "file '/home/h1/EPICS/support/areaDetector/ADCore/dbd/commonDriverSupport.dbd'", found "file '/home/h1/EPICS/support/areaDetector/ADCore/dbd/NDPluginSupport.dbd'" instead.
> Braces must be closed in the same file they open in.
> Context: file '/home/h1/EPICS/support/areaDetector/ADCore/dbd/commonDriverSupport.dbd'
> while reading 'commonDriverSupport.dbd' to create 'simDetectorApp.dbd'
> dbdExpand.pl: Exiting due to errors
> make[6]: *** [../O.Common/simDetectorApp.dbd] Error 255
> make[6]: Leaving directory `/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp/src/O.linux-x86_64'
> make[5]: *** [install.linux-x86_64] Error 2
> make[5]: Leaving directory `/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp/src'
> make[4]: *** [src.install] Error 2
> ...
>
> and don't know how to fix it ;-)
>
> Where should I look? Which file may really cause the error?
>
> Cheers,
> Heinz
>
>
- Replies:
- Re: areadetector dbExpand.pl error: Braces must be closed in the same file they open in. Andrew Johnson
- References:
- areadetector dbExpand.pl error: Braces must be closed in the same file they open in. Heinz Junkes
- RE: areadetector dbExpand.pl error: Braces must be closed in the same file they open in. Mark Rivers
- Re: areadetector dbExpand.pl error: Braces must be closed in the same file they open in. Heinz P. Junkes
- Navigate by Date:
- Prev:
Re: areadetector dbExpand.pl error: Braces must be closed in the same file they open in. Heinz P. Junkes
- Next:
sequencer release 2.1.8 Benjamin Franksen
- 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:
Re: areadetector dbExpand.pl error: Braces must be closed in the same file they open in. Heinz P. Junkes
- Next:
Re: areadetector dbExpand.pl error: Braces must be closed in the same file they open in. Andrew Johnson
- 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