EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: EPICS 7.0.1-pre1
From: "Hartman, Steven M." <[email protected]>
To: Heinz Junkes <[email protected]>
Cc: EPICS core-talk <[email protected]>
Date: Mon, 27 Nov 2017 22:04:28 +0000
> On Nov 26, 2017, at 10:19 AM, Heinz Junkes <[email protected]> wrote:
> 
> make runtests on OS-X (10.13.1 High Sierra) works well except at the very end:


I tried on Mac 10.11.6 and saw related (?) errors in the pva2pva tests . . .


testweak.t .. ok     
testtest.t .. dyld: Library not loaded: /Users/sh3/epics7/base-7.0.1-pre1/lib/darwin-x86/libtestutils.dylib
  Referenced from: /Users/sh3/epics7/base-7.0.1-pre1/modules/pva2pva/testApp/O.darwin-x86/./testtest
  Reason: image not found
testtest.t .. No subtests run 
testmon.t ... dyld: Library not loaded: /Users/sh3/epics7/base-7.0.1-pre1/lib/darwin-x86/libtestutils.dylib
  Referenced from: /Users/sh3/epics7/base-7.0.1-pre1/modules/pva2pva/testApp/O.darwin-x86/./testmon
  Reason: image not found
testmon.t ... No subtests run 
testpvif.t .. dyld: Library not loaded: /Users/sh3/epics7/base-7.0.1-pre1/lib/darwin-x86/libtestutils.dylib
  Referenced from: /Users/sh3/epics7/base-7.0.1-pre1/modules/pva2pva/testApp/O.darwin-x86/./testpvif
  Reason: image not found
testpvif.t .. No subtests run 
testpdb.t ... dyld: Library not loaded: /Users/sh3/epics7/base-7.0.1-pre1/lib/darwin-x86/libtestutils.dylib
  Referenced from: /Users/sh3/epics7/base-7.0.1-pre1/modules/pva2pva/testApp/O.darwin-x86/./testpdb
  Reason: image not found
testpdb.t ... No subtests run 

Test Summary Report
-------------------
testtest.t (Wstat: 5 Tests: 0 Failed: 0)
  Non-zero wait status: 5
  Parse errors: No plan found in TAP output
testmon.t (Wstat: 5 Tests: 0 Failed: 0)
  Non-zero wait status: 5
  Parse errors: No plan found in TAP output
testpvif.t (Wstat: 5 Tests: 0 Failed: 0)
  Non-zero wait status: 5
  Parse errors: No plan found in TAP output
testpdb.t (Wstat: 5 Tests: 0 Failed: 0)
  Non-zero wait status: 5
  Parse errors: No plan found in TAP output
Files=5, Tests=37,  2 wallclock secs ( 0.03 usr  0.01 sys +  0.04 cusr  0.02 csys =  0.10 CPU)
Result: FAIL
Failed 4/5 test programs. 0/37 subtests failed.



This seems to be a build system problem. After that test failure, I can . . .

 cd modules/pva2pva/testApp ; make clean ; make

And then 

 make runtests

And the tests will pass. 

In the original build, modules/pva2pva/testApp/O.darwin-x86/testtest is trying to link to the nonexistent lib/darwin-x86/libtestutils.dylib, while in the re-build it is using the library found in modules/pva2pva/testApp/O.darwin-x86

From the make output . . .

c++ -o testtest  -L/Users/sh3/epics7/base-7.0.1-pre1/lib/darwin-x86        -arch x86_64               testtest.o    -ltestutils -lp2pcore -lpvAccess -lpvData -ldbRecStd -ldbCore -lca -lCom   

 . . . vs . . .

c++ -o testtest  -L/Users/sh3/epics7/base-7.0.1-pre1/modules/pva2pva/testApp/O.darwin-x86 -L/Users/sh3/epics7/base-7.0.1-pre1/lib/darwin-x86        -arch x86_64               testtest.o    -ltestutils -lp2pcore -lpvAccess -lpvData -ldbRecStd -ldbCore -lca -lCom


Should libtestutils.dylib be getting installed?


$ find . -name libtestutils.\*
./lib/darwin-x86/libtestutils.a
./modules/pva2pva/testApp/O.darwin-x86/libtestutils.a
./modules/pva2pva/testApp/O.darwin-x86/libtestutils.dylib


Looking at Heinz’s output again, his error is different. He has an installed /usr/local/lib/libtestutils.dylib which is referencing a nonexistent /usr/local/opt/jsoncpp/lib/libjsoncpp.11.dylib. 

Heinz— Can you confirm that /usr/local/lib/libtestutils.dylib was installed from the current release and not left over from a prior build? (I don’t have a libjsoncpp on my system.)


-- 
Steven Hartman
[email protected]






Replies:
Re: EPICS 7.0.1-pre1 Andrew Johnson
References:
EPICS 7.0.1-pre1 Andrew Johnson
Re: EPICS 7.0.1-pre1 Heinz Junkes

Navigate by Date:
Prev: Re: EPICS 7.0.1-pre1 (spinlock.hpp) Andrew Johnson
Next: Re: EPICS 7.0.1-pre1 Michael Davidsaver
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: EPICS 7.0.1-pre1 Heinz Junkes
Next: Re: EPICS 7.0.1-pre1 Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·