Experimental Physics and Industrial Control System
Subject: |
Re: Still can not successful compile/run epicsV4CPP from github |
From: |
"Heinz P. Junkes" <[email protected]> |
To: |
[email protected] |
Date: |
Wed, 23 Aug 2017 22:33:51 +0200 |
works with
make
make runtests
ends up with see at the end of this mail.
Is this related to the build system? I am still fighting with similar
issues when I try to compile the stuff for RTEMS.
Heinz
output make runtests in exampleCPP:
...
make[2]: Leaving directory
`/home/etest/EPICS/exampleCPP/arrayPerformance/src'
make[1]: Leaving directory `/home/etest/EPICS/exampleCPP/arrayPerformance'
make -C ./test runtests
make[1]: Entering directory `/home/etest/EPICS/exampleCPP/test'
make -C O.linux-x86_64 -f ../Makefile TOP=../.. \
T_A=linux-x86_64 runtests
make[2]: Entering directory
`/home/etest/EPICS/exampleCPP/test/O.linux-x86_64'
perl -CSD -MTest::Harness -e 'runtests @ARGV if @ARGV;' pvaClientTest.t
pvaClientTestPutData.t pvaClientTestGetData.t pvaClientTestMonitorData.t
pvaClientTestPutGetMonitor.t pvaClientTestPutGet.t
pvaClientTest.t ............... Use of uninitialized value $arch in
concatenation (.) or string at ../exampleDb.pm line 15.
open3: exec of
/home/etest/EPICS/exampleCPP/database/bin//exampleDatabase st.cmd failed
at ../IOC.pm line 85.
pvaClientTest.t ............... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
pvaClientTestPutData.t ........ Use of uninitialized value $arch in
concatenation (.) or string at ../exampleDb.pm line 15.
open3: exec of
/home/etest/EPICS/exampleCPP/database/bin//exampleDatabase st.cmd failed
at ../IOC.pm line 85.
pvaClientTestPutData.t ........ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
pvaClientTestGetData.t ........ Use of uninitialized value $arch in
concatenation (.) or string at ../exampleDb.pm line 15.
open3: exec of
/home/etest/EPICS/exampleCPP/database/bin//exampleDatabase st.cmd failed
at ../IOC.pm line 85.
pvaClientTestGetData.t ........ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
pvaClientTestMonitorData.t .... Use of uninitialized value $arch in
concatenation (.) or string at ../exampleDb.pm line 15.
open3: exec of
/home/etest/EPICS/exampleCPP/database/bin//exampleDatabase st.cmd failed
at ../IOC.pm line 85.
pvaClientTestMonitorData.t .... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
pvaClientTestPutGetMonitor.t .. Use of uninitialized value $arch in
concatenation (.) or string at ../exampleDb.pm line 15.
open3: exec of
/home/etest/EPICS/exampleCPP/database/bin//exampleDatabase st.cmd failed
at ../IOC.pm line 85.
pvaClientTestPutGetMonitor.t .. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
pvaClientTestPutGet.t ......... Use of uninitialized value $arch in
concatenation (.) or string at ../exampleDb.pm line 15.
open3: exec of
/home/etest/EPICS/exampleCPP/database/bin//exampleDatabase st.cmd failed
at ../IOC.pm line 85.
pvaClientTestPutGet.t ......... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Test Summary Report
-------------------
pvaClientTest.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
pvaClientTestPutData.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
pvaClientTestGetData.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
pvaClientTestMonitorData.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
pvaClientTestPutGetMonitor.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
pvaClientTestPutGet.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=6, Tests=0, 1 wallclock secs ( 0.02 usr 0.00 sys + 0.08 cusr
0.01 csys = 0.11 CPU)
Result: FAIL
Failed 6/6 test programs. 0/0 subtests failed.
make[2]: [runtests] Error 2 (ignored)
make[2]: Leaving directory
`/home/etest/EPICS/exampleCPP/test/O.linux-x86_64'
make[1]: Leaving directory `/home/etest/EPICS/exampleCPP/test'
On 08/23/2017 08:05 PM, Michael Davidsaver wrote:
On 08/23/2017 12:23 PM, Marty Kraimer wrote:
On 08/23/2017 12:09 PM, Heinz P. Junkes wrote:
There are still some issues to compile/run the V4 stuff. Even on linux
only
Attached you can find my used script.
There seems to be introduced a new directory structure (.../pv/...)
but this leads to issues like this:
../../include/compiler/gcc -I../../include/os/Linux
-I../../include -I/home/etest/EPICS/pvDataCPP/include
-I/home/etest/EPICS/pvCommonCPP/include
-I/home/etest/EPICS/epics-base/include/compiler/gcc
-I/home/etest/EPICS/epics-base/include/os/Linux
-I/home/etest/EPICS/epics-base/include -c
../../testApp/utils/testAtomicBoolean.cpp
In file included from ../../testApp/utils/testAtomicBoolean.cpp:4:0:
../../src/remote/pv/remote.h:32:29: fatal error: pv/pvaConstants.h: No
such file or directory
#include <pv/pvaConstants.h>
^
compilation terminated.
make[2]: *** [testAtomicBoolean.o] Error
Do you see the same if you replace
make runtests
with
make
make runtests
Heinz
#!/bin/bash
# Dependencies between modules, also used for RELEASE files
# pvDataCPP_DEPENDS_ON = pvCommonCPP
#normativeTypesCPP_DEPENDS_ON = pvDataCPP
# pvAccessCPP_DEPENDS_ON = pvDataCPP
# pvaClientCPP_DEPENDS_ON = pvAccessCPP normativeTypesCPP
# pvaSrv_DEPENDS_ON = pvAccessCPP
# pvDatabaseCPP_DEPENDS_ON = pvAccessCPP
# exampleCPP_DEPENDS_ON = pvDatabaseCPP pvaSrv pvaClientCPP
cat << EOF > RELEASE.local
PVACCESS=$PWD/pvAccessCPP
NORMATIVETYPES=$PWD/normativeTypesCPP
PVDATA=$PWD/pvDataCPP
PVDATABASE=$PWD/pvDatabaseCPP
PVCOMMON=$PWD/pvCommonCPP
PVACLIENT=$PWD/pvaClientCPP
PVASRV=$PWD/pvaSrv
EPICS_BASE=$PWD/epics-base
TEMPLATE_TOP=$PWD/epics-base/templates/makeBaseApp/top
EOF
My RELEASE.local is:
mrk> cat RELEASE.local
EPICS4_DIR=/home/epicsv4/masterCPP
EXAMPLE=${EPICS4_DIR}/exampleCPP
PVDATABASE=${EPICS4_DIR}/pvDatabaseCPP
PVACLIENT=${EPICS4_DIR}/pvaClientCPP
PVASRV=${EPICS4_DIR}/pvaSrv
PVACCESS=${EPICS4_DIR}/pvAccessCPP
NORMATIVETYPES=${EPICS4_DIR}/normativeTypesCPP
PVDATA=${EPICS4_DIR}/pvDataCPP
#PVCOMMON=${EPICS4_DIR}/pvCommonCPP
#EPICS_BASE=/home/install/epics/base-3.14.12.5
#EPICS_BASE=/home/install/epics/base-3.15.5
EPICS_BASE=/home/install/epics/base-3.16.1
#EPICS_BASE=/home/install/epics/base
Thus all in reverse of dependencies.
My build is successful.
I am not sure what this means.
Marty
repos=(
"https://github.com/epics-base/epics-base.git"
"https://github.com/epics-base/pvCommonCPP.git"
"https://github.com/epics-base/pvDataCPP.git"
"https://github.com/epics-base/normativeTypesCPP.git"
"https://github.com/epics-base/pvAccessCPP.git"
"https://github.com/epics-base/pvaClientCPP.git"
"https://github.com/epics-base/pvaSrv.git"
"https://github.com/epics-base/pvDatabaseCPP.git"
"https://github.com/epics-base/exampleCPP.git"
)
echo "Cloning " ${#repos[@]} "repositories"
for repo in "${repos[@]}"
do
localRepoDir=$(echo ${repo}| cut -d'/' -f5 | cut -d'.' -f1)
if [ -d $localRepoDir ]; then
echo "Directory " $localRepoDir " already exists"
cd $localRepoDir
echo "will pull"
git pull
make runtests
cd ..
else
echo "clone" ${repo}
git clone ${repo}
cd $localRepoDir
make runtests
cd ..
fi
done
- Replies:
- Re: Still can not successful compile/run epicsV4CPP from github Andrew Johnson
- References:
- Still can not successful compile/run epicsV4CPP from github Heinz P. Junkes
- Re: Still can not successful compile/run epicsV4CPP from github Marty Kraimer
- Re: Still can not successful compile/run epicsV4CPP from github Michael Davidsaver
- Navigate by Date:
- Prev:
Re: RTEMS: rsrv: failed to set mcast loopback in src/ioc/rsrv/caservertask.c Andrew Johnson
- Next:
RE: RTEMS: rsrv: failed to set mcast loopback in src/ioc/rsrv/caservertask.c Williams Jr., Ernest L.
- Index:
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: Still can not successful compile/run epicsV4CPP from github Michael Davidsaver
- Next:
Re: Still can not successful compile/run epicsV4CPP from github Andrew Johnson
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
<2017>
2018
2019
2020
2021
2022
2023
2024