Julia 0.6: test fails with "UndefVarError: CSize_t not defined"
colbec opened this issue · comments
Colin Beckingham commented
Using Version 0.6.0-dev.2673 (2017-02-08 21:01 UTC) Commit e24faa5*
on openSUSE Leap 42.2:
julia> Pkg.test("OpenCL")
INFO: Testing OpenCL
ERROR: LoadError: LoadError: LoadError: LoadError: UndefVarError: CSize_t not defined
Stacktrace:
[1] include_from_node1(::String) at ./loading.jl:539
[2] include(::String) at ./sysimg.jl:14
[3] include_from_node1(::String) at ./loading.jl:539
[4] include(::String) at ./sysimg.jl:14
[5] include_from_node1(::String) at ./loading.jl:539
while loading /home/colin/.julia/v0.6/OpenCL/src/api/opencl_1.0.0.jl, in expression starting on line 14
while loading /home/colin/.julia/v0.6/OpenCL/src/api.jl, in expression starting on line 30
while loading /home/colin/.julia/v0.6/OpenCL/src/OpenCL.jl, in expression starting on line 25
while loading /home/colin/.julia/v0.6/OpenCL/test/runtests.jl, in expression starting on line 4
===============================[ ERROR: OpenCL ]================================
failed process: Process(`/home/colin/Downloads/julia6/usr/bin/julia -Cnative -J/home/colin/Downloads/julia6/usr/lib/julia/sys.so --compile=yes --depwarn=yes --check-bounds=yes --code-coverage=none --color=yes --compilecache=yes /home/colin/.julia/v0.6/OpenCL/test/runtests.jl`, ProcessExited(1)) [1]
================================================================================
INFO: No packages to install, update or remove
ERROR: OpenCL had test errors
Valentin Churavy commented
Well this is embarrassing. Apparently the macro changes in 0.6 has uncovered a few typos that have slipped through so far.
OpenCL is not yet compatible with Julia 0.6 and it will require some work to get it there. My current plan was to wait on feature freeze, before I update OpenCL.
If you want to have a go at it, feel free to do so, #128 fixes the oversights and typos.
Colin Beckingham commented
Not a problem, Sir. I will hold off on testing on 0.6 and recommence when it might be helpful. I can be experimenting with the v 0.5 version which seems to be fine.