EPICS Home

Experimental Physics and Industrial Control System


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

Subject: Re: Build failed in Jenkins: epics-base-3.15-cyg64 #177
From: Andrew Johnson <[email protected]>
To: <[email protected]>
Date: Mon, 19 Jan 2015 16:15:26 -0600
I just turned the Cygwin builds back on; they got broken back in
November by some Windows or Java update, but the Jenkins build slave is
now working again.

The build log from the start of the src/ioc/db/test/O.cygwin-x86_64
directory looks like this:

> make[3]: Entering directory '/cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64/src/ioc/db/test/O.cygwin-x86_64'
> gcc  -D_POSIX_THREADS -D_POSIX_TIMERS            -DUNIX  -DCYGWIN32     -O3   -Wall     -m64   -DEPICS_BUILD_DLL -DEPICS_CALL_DLL   -I. -I../O.Common -I. -I. -I.. -I../../../../../include/compiler/gcc -I../../../../../include/os/cygwin32 -I../../../../../include         -MM -MF dbLinkdset.d -MT dbLinkdset.obj ../dbLinkdset.c
> perl -CSD /cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64/bin/cygwin-x86_64/dbdToRecordtypeH.pl  -I. -I.. -I../O.Common -I../../../../../dbd -o xRecord.h ../xRecord.dbd
> gcc  -D_POSIX_THREADS -D_POSIX_TIMERS            -DUNIX  -DCYGWIN32     -O3   -Wall     -m64   -DEPICS_BUILD_DLL -DEPICS_CALL_DLL   -I. -I../O.Common -I. -I. -I.. -I../../../../../include/compiler/gcc -I../../../../../include/os/cygwin32 -I../../../../../include         -MM -MF xRecord.d -MT xRecord.obj ../xRecord.c
> Creating dbd file dbTestIoc.dbd
> perl -CSD /cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64/bin/cygwin-x86_64/dbdExpand.pl  -I. -I.. -I../O.Common -I../../../../../dbd -o dbTestIoc.dbd menuGlobal.dbd menuConvert.dbd menuScan.dbd xRecord.dbd dbLinkdset.dbd
> perl -CSD /cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64/bin/cygwin-x86_64/registerRecordDeviceDriver.pl  -I. -I.. -I../O.Common -I../../../../../dbd   -o dbTestIoc_registerRecordDeviceDriver.cpp ../O.Common/dbTestIoc.dbd dbTestIoc_registerRecordDeviceDriver /cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64
> g++  -D_POSIX_THREADS -D_POSIX_TIMERS            -DUNIX  -DCYGWIN32     -O3   -Wall     -m64   -DEPICS_BUILD_DLL -DEPICS_CALL_DLL   -I. -I../O.Common -I. -I. -I.. -I../../../../../include/compiler/gcc -I../../../../../include/os/cygwin32 -I../../../../../include         -MM -MF dbTestIoc_registerRecordDeviceDriver.d -MT dbTestIoc_registerRecordDeviceDriver.obj dbTestIoc_registerRecordDeviceDriver.cpp
> gcc  -D_POSIX_THREADS -D_POSIX_TIMERS            -DUNIX  -DCYGWIN32     -O3   -Wall     -m64   -DEPICS_BUILD_DLL -DEPICS_CALL_DLL   -I. -I../O.Common -I. -I. -I.. -I../../../../../include/compiler/gcc -I../../../../../include/os/cygwin32 -I../../../../../include         -MM -MF recGblCheckDeadbandTest.d -MT recGblCheckDeadbandTest.obj ../recGblCheckDeadbandTest.c
> gcc  -D_POSIX_THREADS -D_POSIX_TIMERS            -DUNIX  -DCYGWIN32     -O3   -Wall     -m64   -DEPICS_BUILD_DLL -DEPICS_CALL_DLL   -I. -I../O.Common -I. -I. -I.. -I../../../../../include/compiler/gcc -I../../../../../include/os/cygwin32 -I../../../../../include         -MM -MF benchdbConvert.d -MT benchdbConvert.obj ../benchdbConvert.c
> gcc  -D_POSIX_THREADS -D_POSIX_TIMERS            -DUNIX  -DCYGWIN32     -O3   -Wall     -m64   -DEPICS_BUILD_DLL -DEPICS_CALL_DLL   -I. -I../O.Common -I. -I. -I.. -I../../../../../include/compiler/gcc -I../../../../../include/os/cygwin32 -I../../../../../include         -MM -MF arrShorthandTest.d -MT arrShorthandTest.obj ../arrShorthandTest.c
> gcc  -D_POSIX_THREADS -D_POSIX_TIMERS            -DUNIX  -DCYGWIN32     -O3   -Wall     -m64   -DEPICS_BUILD_DLL -DEPICS_CALL_DLL   -I. -I../O.Common -I. -I. -I.. -I../../../../../include/compiler/gcc -I../../../../../include/os/cygwin32 -I../../../../../include         -MM -MF chfPluginTest.d -MT chfPluginTest.obj ../chfPluginTest.c
> gcc  -D_POSIX_THREADS -D_POSIX_TIMERS            -DUNIX  -DCYGWIN32     -O3   -Wall     -m64   -DEPICS_BUILD_DLL -DEPICS_CALL_DLL   -I. -I../O.Common -I. -I. -I.. -I../../../../../include/compiler/gcc -I../../../../../include/os/cygwin32 -I../../../../../include         -MM -MF dbChannelTest.d -MT dbChannelTest.obj ../dbChannelTest.c
> Creating dbd file scanIoTest.dbd
> perl -CSD /cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64/bin/cygwin-x86_64/dbdExpand.pl  -I. -I.. -I../O.Common -I../../../../../dbd -o scanIoTest.dbd menuGlobal.dbd menuConvert.dbd menuScan.dbd yRecord.dbd
> perl -CSD /cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64/bin/cygwin-x86_64/registerRecordDeviceDriver.pl  -I. -I.. -I../O.Common -I../../../../../dbd -l  -o scanIoTest_registerRecordDeviceDriver.cpp ../O.Common/scanIoTest.dbd scanIoTest_registerRecordDeviceDriver /cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64
> g++  -D_POSIX_THREADS -D_POSIX_TIMERS            -DUNIX  -DCYGWIN32     -O3   -Wall     -m64   -DEPICS_BUILD_DLL -DEPICS_CALL_DLL   -I. -I../O.Common -I. -I. -I.. -I../../../../../include/compiler/gcc -I../../../../../include/os/cygwin32 -I../../../../../include         -MM -MF scanIoTest_registerRecordDeviceDriver.d -MT scanIoTest_registerRecordDeviceDriver.obj scanIoTest_registerRecordDeviceDriver.cpp
> perl -CSD /cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64/bin/cygwin-x86_64/dbdToRecordtypeH.pl  -I. -I.. -I../O.Common -I../../../../../dbd -o yRecord.h ../yRecord.dbd
> gcc  -D_POSIX_THREADS -D_POSIX_TIMERS            -DUNIX  -DCYGWIN32     -O3   -Wall     -m64   -DEPICS_BUILD_DLL -DEPICS_CALL_DLL   -I. -I../O.Common -I. -I. -I.. -I../../../../../include/compiler/gcc -I../../../../../include/os/cygwin32 -I../../../../../include         -MM -MF scanIoTest.d -MT scanIoTest.obj ../scanIoTest.c
> gcc  -D_POSIX_THREADS -D_POSIX_TIMERS            -DUNIX  -DCYGWIN32     -O3   -Wall     -m64   -DEPICS_BUILD_DLL -DEPICS_CALL_DLL   -I. -I../O.Common -I. -I. -I.. -I../../../../../include/compiler/gcc -I../../../../../include/os/cygwin32 -I../../../../../include         -MM -MF dbCaStatsTest.d -MT dbCaStatsTest.obj ../dbCaStatsTest.c
> gcc  -D_POSIX_THREADS -D_POSIX_TIMERS            -DUNIX  -DCYGWIN32     -O3   -Wall     -m64   -DEPICS_BUILD_DLL -DEPICS_CALL_DLL   -I. -I../O.Common -I. -I. -I.. -I../../../../../include/compiler/gcc -I../../../../../include/os/cygwin32 -I../../../../../include         -MM -MF dbStateTest.d -MT dbStateTest.obj ../dbStateTest.c
> gcc  -D_POSIX_THREADS -D_POSIX_TIMERS            -DUNIX  -DCYGWIN32     -O3   -Wall     -m64   -DEPICS_BUILD_DLL -DEPICS_CALL_DLL   -I. -I../O.Common -I. -I. -I.. -I../../../../../include/compiler/gcc -I../../../../../include/os/cygwin32 -I../../../../../include         -MM -MF callbackParallelTest.d -MT callbackParallelTest.obj ../callbackParallelTest.c
> gcc  -D_POSIX_THREADS -D_POSIX_TIMERS            -DUNIX  -DCYGWIN32     -O3   -Wall     -m64   -DEPICS_BUILD_DLL -DEPICS_CALL_DLL   -I. -I../O.Common -I. -I. -I.. -I../../../../../include/compiler/gcc -I../../../../../include/os/cygwin32 -I../../../../../include         -MM -MF callbackTest.d -MT callbackTest.obj ../callbackTest.c
> gcc  -D_POSIX_THREADS -D_POSIX_TIMERS            -DUNIX  -DCYGWIN32     -O3   -Wall     -m64   -DEPICS_BUILD_DLL -DEPICS_CALL_DLL   -I. -I../O.Common -I. -I. -I.. -I../../../../../include/compiler/gcc -I../../../../../include/os/cygwin32 -I../../../../../include         -MM -MF testdbConvert.d -MT testdbConvert.obj ../testdbConvert.c
> gcc  -D_POSIX_THREADS -D_POSIX_TIMERS            -DUNIX  -DCYGWIN32     -O3   -Wall     -m64   -DEPICS_BUILD_DLL -DEPICS_CALL_DLL   -I. -I../O.Common -I. -I. -I.. -I../../../../../include/compiler/gcc -I../../../../../include/os/cygwin32 -I../../../../../include         -MM -MF dbLockTest.d -MT dbLockTest.obj ../dbLockTest.c
> gcc  -D_POSIX_THREADS -D_POSIX_TIMERS            -DUNIX  -DCYGWIN32     -O3   -Wall     -m64   -DEPICS_BUILD_DLL -DEPICS_CALL_DLL   -I. -I../O.Common -I. -I. -I.. -I../../../../../include/compiler/gcc -I../../../../../include/os/cygwin32 -I../../../../../include         -MM -MF dbPutLinkTest.d -MT dbPutLinkTest.obj ../dbPutLinkTest.c
> gcc  -D_POSIX_THREADS -D_POSIX_TIMERS            -DUNIX  -DCYGWIN32     -O3   -Wall     -m64   -DEPICS_BUILD_DLL -DEPICS_CALL_DLL   -I. -I../O.Common -I. -I. -I.. -I../../../../../include/compiler/gcc -I../../../../../include/os/cygwin32 -I../../../../../include         -MM -MF dbShutdownTest.d -MT dbShutdownTest.obj ../dbShutdownTest.c
> gcc  -D_POSIX_THREADS -D_POSIX_TIMERS            -DUNIX  -DCYGWIN32     -O3   -Wall     -m64   -DEPICS_BUILD_DLL -DEPICS_CALL_DLL   -I. -I../O.Common -I. -I. -I.. -I../../../../../include/compiler/gcc -I../../../../../include/os/cygwin32 -I../../../../../include        -o xRecord.obj -c ../xRecord.c
> gcc  -D_POSIX_THREADS -D_POSIX_TIMERS            -DUNIX  -DCYGWIN32     -O3   -Wall     -m64   -DEPICS_BUILD_DLL -DEPICS_CALL_DLL   -I. -I../O.Common -I. -I. -I.. -I../../../../../include/compiler/gcc -I../../../../../include/os/cygwin32 -I../../../../../include        -o dbLinkdset.obj -c ../dbLinkdset.c
> g++ -o dbTestIoc.dll -shared -Wl,--out-implib,libdbTestIoc.dll.a -L/cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64/lib/cygwin-x86_64      -m64               xRecord.obj dbLinkdset.obj    -ldbCore   -lpthread    -lm 
> /cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64/lib/cygwin-x86_64/libdbCore.dll.a(recGbl.obj):recGbl.c:(.text+0x58): undefined reference to `errPrintf'
> /cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64/lib/cygwin-x86_64/libdbCore.dll.a(recGbl.obj):recGbl.c:(.text+0x58): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `errPrintf'
> /cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64/lib/cygwin-x86_64/libdbCore.dll.a(recGbl.obj):recGbl.c:(.text+0xa7): undefined reference to `errPrintf'
> /cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64/lib/cygwin-x86_64/libdbCore.dll.a(recGbl.obj):recGbl.c:(.text+0xa7): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `errPrintf'
> /cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64/lib/cygwin-x86_64/libdbCore.dll.a(recGbl.obj):recGbl.c:(.text+0x147): undefined reference to `errPrintf'
> /cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64/lib/cygwin-x86_64/libdbCore.dll.a(recGbl.obj):recGbl.c:(.text+0x147): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `errPrintf'
> /cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64/lib/cygwin-x86_64/libdbCore.dll.a(recGbl.obj):recGbl.c:(.text+0x5d2): undefined reference to `epicsTimeGetEvent'
> /cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64/lib/cygwin-x86_64/libdbCore.dll.a(recGbl.obj):recGbl.c:(.text+0x5d2): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `epicsTimeGetEvent'
> /cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64/lib/cygwin-x86_64/libdbCore.dll.a(recGbl.obj):recGbl.c:(.text+0x5f2): undefined reference to `errlogPrintf'
> /cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64/lib/cygwin-x86_64/libdbCore.dll.a(recGbl.obj):recGbl.c:(.text+0x5f2): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `errlogPrintf'
> /cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64/lib/cygwin-x86_64/libdbCore.dll.a(recGbl.obj):recGbl.c:(.text+0x617): undefined reference to `errlogPrintf'
> /cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64/lib/cygwin-x86_64/libdbCore.dll.a(recGbl.obj):recGbl.c:(.text+0x617): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `errlogPrintf'
> /cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64/lib/cygwin-x86_64/libdbCore.dll.a(recGbl.obj):recGbl.c:(.text+0x65f): undefined reference to `errlogPrintf'
> /cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64/lib/cygwin-x86_64/libdbCore.dll.a(recGbl.obj):recGbl.c:(.text+0x65f): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `errlogPrintf'
> /cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64/lib/cygwin-x86_64/libdbCore.dll.a(recGbl.obj):recGbl.c:(.rdata$.refptr.epicsINF[.refptr.epicsINF]+0x0): undefined reference to `epicsINF'
> /cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64/lib/cygwin-x86_64/libdbCore.dll.a(recGbl.obj):recGbl.c:(.rdata$.refptr.epicsNAN[.refptr.epicsNAN]+0x0): undefined reference to `epicsNAN'
> /cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64/lib/cygwin-x86_64/libdbCore.dll.a(dbStaticRun.obj):dbStaticRun.c:(.text+0x154): undefined reference to `cvtLongToString'
> /cygdrive/c/home/jenkins/cyg64-1/workspace/epics-base-3.15-cyg64/lib/cygwin-x86_64/libdbCore.dll.a(dbStaticRun.obj):dbStaticRun.c:(.text+0x154): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `cvtLongToString'

... and many many more errors. My Cygwin build dies the same way as the
Jenkins one.

I tried adding adding ca and Com to the libraries that dbTestIoc.dll is
linked against, but I got a different (and much shorter) set of errors
when linking the first executable, implying that's not the right answer:

> g++ -o dbShutdownTest.exe  -L/cygdrive/d/epics/mirror-3.15/lib/cygwin-x86_64 -L/cygdrive/d/epics/mirror-3.15/src/ioc/db/test/O.cygwin-x86_64      -m64               dbShutdownTest.obj dbTestIoc_registerRecordDeviceDriver.obj    -ldbTestIoc -ldbCore -lca -lCom   
> /cygdrive/d/epics/mirror-3.15/lib/cygwin-x86_64/libCom.dll.a(iocsh.obj):iocsh.cpp:(.text+0x17f0): multiple definition of `iocshRegister'
> /cygdrive/d/epics/mirror-3.15/src/ioc/db/test/O.cygwin-x86_64/libdbTestIoc.dll.a(d002558.o):(.text+0x0): first defined here
> /cygdrive/d/epics/mirror-3.15/lib/cygwin-x86_64/libCom.dll.a(errlog.obj):errlog.c:(.text+0x1430): multiple definition of `eltc'
> /cygdrive/d/epics/mirror-3.15/src/ioc/db/test/O.cygwin-x86_64/libdbTestIoc.dll.a(d002266.o):(.text+0x0): first defined here
> /cygdrive/d/epics/mirror-3.15/lib/cygwin-x86_64/libCom.dll.a(osdThread.obj):osdThread.c:(.text+0x17d0): multiple definition of `epicsThreadGetName'
> /cygdrive/d/epics/mirror-3.15/src/ioc/db/test/O.cygwin-x86_64/libdbTestIoc.dll.a(d002419.o):(.text+0x0): first defined here
> /cygdrive/d/epics/mirror-3.15/lib/cygwin-x86_64/libCom.dll.a(osdThread.obj):osdThread.c:(.text+0x1830): multiple definition of `epicsThreadMap'
> /cygdrive/d/epics/mirror-3.15/src/ioc/db/test/O.cygwin-x86_64/libdbTestIoc.dll.a(d002437.o):(.text+0x0): first defined here
> /cygdrive/d/epics/mirror-3.15/lib/cygwin-x86_64/libCom.dll.a(epicsString.obj):epicsString.c:(.text+0x7e0): multiple definition of `epicsStrCaseCmp'
> /cygdrive/d/epics/mirror-3.15/src/ioc/db/test/O.cygwin-x86_64/libdbTestIoc.dll.a(d002402.o):(.text+0x0): first defined here
> collect2: error: ld returned 1 exit status
> ../../../../../configure/RULES_BUILD:192: recipe for target 'dbShutdownTest.exe' failed
> make[1]: *** [dbShutdownTest.exe] Error 1


Anybody got any more ideas?

- Andrew
-- 
People everywhere confuse what they read in newspapers with news.
-- A. J. Liebling

References:
Build failed in Jenkins: epics-base-3.15-cyg64 #177 APS Jenkins

Navigate by Date:
Prev: Build failed in Jenkins: epics-base-3.15-cyg64 #177 APS Jenkins
Next: Generated documentation inside Base Ralph Lange
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Build failed in Jenkins: epics-base-3.15-cyg64 #177 APS Jenkins
Next: Build failed in Jenkins: epics-base-3.15-cyg64 #178 APS Jenkins
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024