Re: macOS - Makefile generation error on master


Patrick Hodoul
 
Edited

Now I can compile and run the unit tests but four of them are failing. Any suggestions?


~/dev/osl_1/build_rls (master) $ ctest --rerun-failed --output-on-failure
Test project /Users/hodoulp/dev/osl_1/build_rls
    Start  68: example-deformer
1/4 Test  #68: example-deformer .................***Failed    0.33 sec
CMake Error at CMakeLists.txt:27 (find_package):
  By not providing "FindOSL.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "OSL", but
  CMake did not find one.
 
  Could not find a package configuration file provided by "OSL" with any of
  the following names:
 
    OSLConfig.cmake
    osl-config.cmake
 
  Add the installation prefix of "OSL" to CMAKE_PREFIX_PATH or set "OSL_DIR"
  to a directory containing one of the above files.  If "OSL" provides a
  separate development package or SDK, be sure it has been installed.
 
 
test source dir =  /Users/hodoulp/dev/osl_1/testsuite/example-deformer
command =  /Users/hodoulp/dev/osl_1/build_rls/bin/oslc -Wall getP.osl >> out.txt 2>>out.txt  ;
/Users/hodoulp/dev/osl_1/build_rls/bin/oslc -Wall vadd.osl >> out.txt 2>>out.txt  ;
/Users/hodoulp/dev/osl_1/build_rls/bin/oslc -Wall vfBm3d.osl >> out.txt 2>>out.txt  ;
cmake -DCMAKE_BUILD_TYPE=Release data >> build.txt ;
cmake --build . >> build.txt ;
bin/osldeformer >> out.txt >> out.txt 2>>out.txt  ;
 
#### Error: this command failed:  cmake -DCMAKE_BUILD_TYPE=Release data >> build.txt
FAIL
Output was:
--------
Compiled getP.osl -> getP.oso
Compiled vadd.osl -> vadd.oso
Compiled vfBm3d.osl -> vfBm3d.oso
 
--------
 
    Start 219: osl-imageio
2/4 Test #219: osl-imageio ......................***Failed    0.18 sec
test source dir =  /Users/hodoulp/dev/osl_1/testsuite/osl-imageio
command =  /Users/hodoulp/dev/osl_1/build_rls/bin/oslc -Wall ramp.osl >> out.txt 2>>out.txt  ;
oiiotool "ramp.oso?RES=64" -d uint8 -o ramp-oso-default.tif >> out.txt 2>>out.txt  ;
oiiotool "ramp.oso?RES=64&color topright=0,0,1" -d uint8 -o ramp-oso-blue.tif >> out.txt 2>>out.txt  ;
oiiotool "ramp.oso?RES=64&color bottomright=0,1,1&TILE=32x32" -d uint8 -o ramp-oso-tiles.tif >> out.txt 2>>out.txt  ;
oiiotool "result=sin(40*s)/2+0.5.oslbody?RES=256x256&MIP=1" -selectmip 2 -d uint8 -o wave-mip.tif >> out.txt 2>>out.txt  ;
 
#### Error: this command failed:  oiiotool "ramp.oso?RES=64" -d uint8 -o ramp-oso-default.tif >> out.txt 2>>out.txt
FAIL
Output was:
--------
Compiled ramp.osl -> ramp.oso
oiiotool ERROR: read : File does not exist: "ramp.oso?RES=64"
Full command line was:
> oiiotool ramp.oso?RES=64 -d uint8 -o ramp-oso-default.tif
 
--------
 
    Start 220: osl-imageio.opt
3/4 Test #220: osl-imageio.opt ..................***Failed    0.18 sec
test source dir =  /Users/hodoulp/dev/osl_1/testsuite/osl-imageio
command =  /Users/hodoulp/dev/osl_1/build_rls/bin/oslc -Wall ramp.osl >> out.txt 2>>out.txt  ;
oiiotool "ramp.oso?RES=64" -d uint8 -o ramp-oso-default.tif >> out.txt 2>>out.txt  ;
oiiotool "ramp.oso?RES=64&color topright=0,0,1" -d uint8 -o ramp-oso-blue.tif >> out.txt 2>>out.txt  ;
oiiotool "ramp.oso?RES=64&color bottomright=0,1,1&TILE=32x32" -d uint8 -o ramp-oso-tiles.tif >> out.txt 2>>out.txt  ;
oiiotool "result=sin(40*s)/2+0.5.oslbody?RES=256x256&MIP=1" -selectmip 2 -d uint8 -o wave-mip.tif >> out.txt 2>>out.txt  ;
 
#### Error: this command failed:  oiiotool "ramp.oso?RES=64" -d uint8 -o ramp-oso-default.tif >> out.txt 2>>out.txt
FAIL
Output was:
--------
Compiled ramp.osl -> ramp.oso
oiiotool ERROR: read : File does not exist: "ramp.oso?RES=64"
Full command line was:
> oiiotool ramp.oso?RES=64 -d uint8 -o ramp-oso-default.tif
 
--------
 
    Start 357: python-oslquery
4/4 Test #357: python-oslquery ..................***Failed    0.16 sec
Traceback (most recent call last):
  File "src/test_oslquery.py", line 11, in <module>
    import oslquery
ImportError: No module named oslquery
test source dir =  /Users/hodoulp/dev/osl_1/testsuite/python-oslquery
command =  /Users/hodoulp/dev/osl_1/build_rls/bin/oslc -Wall test.osl >> out.txt 2>>out.txt  ;
python src/test_oslquery.py >> out.txt
#### Error: this command failed:  python src/test_oslquery.py >> out.txt
FAIL
Output was:
--------
Compiled test.osl -> test.oso
 
--------
 
 
0% tests passed, 4 tests failed out of 4
 
Total Test time (real) =   0.89 sec
 
The following tests FAILED:
68 - example-deformer (Failed)
219 - osl-imageio (Failed)
220 - osl-imageio.opt (Failed)
357 - python-oslquery (Failed)
Errors while running CTest

Join osl-dev@lists.aswf.io to automatically receive all group messages.