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  2019  2020  2021  <20222023  2024  Index 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: Problem building asyn master on 3.16
From: Mark Rivers via Core-talk <core-talk at aps.anl.gov>
To: "core-talk at aps.anl.gov" <core-talk at aps.anl.gov>
Date: Sat, 15 Oct 2022 14:11:32 +0000
I have a GA CI job running in the labjack module:  https://github.com/epics-modules/LabJack/

It builds asyn as part of the CI.  Building the master branch of asyn succeeds on the following:

Linux base 3.15
Linux base 7.0.4.1
Windows base 7.0.4.1
MacOS base 7.0.4.1

However, it is failing on Linux with base 3.16 with the following errors: https://github.com/epics-modules/LabJack/actions/runs/3255871775/jobs/5345643050


Building dependency ASYN in /home/runner/.cache/asyn-master
  In file included from ../../asyn/devEpics/devAsynXXXArray.cpp:18:
  /home/runner/.cache/base-3.16/include/dbCommon.h:47:12: error: using typedef-name ‘dset’ after ‘struct’
     47 |     struct dset         *dset;      /* DSET address */
        |            ^~~~
  In file included from ../../asyn/devEpics/devAsynXXXArray.cpp:17:
  /home/runner/.cache/base-3.16/include/devSup.h:153:20: note: ‘dset’ has a previous declaration here
    153 | typedef typed_dset dset;
        |                    ^~~~
  In file included from /home/runner/.cache/base-3.16/include/dbAccess.h:19,
                   from ../../asyn/devEpics/devAsynXXXArray.cpp:19:
  /home/runner/.cache/base-3.16/include/dbBase.h:43:9: error: using typedef-name ‘dset’ after ‘struct’
     43 |  struct dset *pdset;
        |         ^~~~
  In file included from ../../asyn/devEpics/devAsynXXXArray.cpp:17:
  /home/runner/.cache/base-3.16/include/devSup.h:153:20: note: ‘dset’ has a previous declaration here
    153 | typedef typed_dset dset;
        |                    ^~~~
  In file included from /home/runner/.cache/base-3.16/include/dbAccess.h:23,
                   from ../../asyn/devEpics/devAsynXXXArray.cpp:19:
  /home/runner/.cache/base-3.16/include/dbAccessDefs.h:219:67: error: using typedef-name ‘dset’ after ‘struct’
    219 | epicsShareFunc devSup* dbDSETtoDevSup(dbRecordType *prdes, struct dset *pdset);
        |                                                                   ^~~~
  In file included from ../../asyn/devEpics/devAsynXXXArray.cpp:17:
  /home/runner/.cache/base-3.16/include/devSup.h:153:20: note: ‘dset’ has a previous declaration here
    153 | typedef typed_dset dset;
        |                    ^~~~
  In file included from ../../asyn/devEpics/devAsynXXXArray.cpp:27:
  /home/runner/.cache/base-3.16/include/waveformRecord.h:53:12: error: using typedef-name ‘dset’ after ‘struct’
     53 |     struct dset         *dset;      /* DSET address */
        |            ^~~~
  In file included from ../../asyn/devEpics/devAsynXXXArray.cpp:17:
  /home/runner/.cache/base-3.16/include/devSup.h:153:20: note: ‘dset’ has a previous declaration here
    153 | typedef typed_dset dset;
        |                    ^~~~
  In file included from ../../asyn/devEpics/devAsynXXXArray.cpp:28:
  /home/runner/.cache/base-3.16/include/aaoRecord.h:53:12: error: using typedef-name ‘dset’ after ‘struct’
     53 |     struct dset         *dset;      /* DSET address */
        |            ^~~~
  In file included from ../../asyn/devEpics/devAsynXXXArray.cpp:17:
  /home/runner/.cache/base-3.16/include/devSup.h:153:20: note: ‘dset’ has a previous declaration here
    153 | typedef typed_dset dset;
        |                    ^~~~
  In file included from ../../asyn/devEpics/devAsynXXXArray.cpp:29:
  /home/runner/.cache/base-3.16/include/aaiRecord.h:53:12: error: using typedef-name ‘dset’ after ‘struct’
     53 |     struct dset         *dset;      /* DSET address */
        |            ^~~~
  In file included from ../../asyn/devEpics/devAsynXXXArray.cpp:17:
  /home/runner/.cache/base-3.16/include/devSup.h:153:20: note: ‘dset’ has a previous declaration here
    153 | typedef typed_dset dset;
        |                    ^~~~
  make[2]: *** [/home/runner/.cache/base-3.16/configure/RULES_BUILD:243: devAsynXXXArray.o] Error 1
  make[2]: *** Waiting for unfinished jobs....
  make[1]: *** [/home/runner/.cache/base-3.16/configure/RULES_ARCHS:58: install.linux-x86_64] Error 2
  make: *** [/home/runner/.cache/base-3.16/configure/RULES_DIRS:84: asyn.install] Error 2
  Error: Process completed with exit code 2.

Do I need to do something differently for 3.16?

Thanks,
Mark


Navigate by Date:
Prev: epics-7.0 » linux32 - Build # 434 - Still unstable! APS Jenkins via Core-talk
Next: Build failed: pvAccessCPP 1.0.43 AppVeyor via Core-talk
Index: 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: epics-7.0 » linux32 - Build # 435 - Fixed! APS Jenkins via Core-talk
Next: Build failed: pvAccessCPP 1.0.43 AppVeyor via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024