Loading

Paste #pphrf5bih

  1. ➜  gstreamer-sys git:(master) cargo test -p gstreamer-gl-sys
  2.     Finished dev [unoptimized + debuginfo] target(s) in 0.07s                                            
  3.      Running target/debug/deps/gstreamer_gl_sys-aeb5b79ba1f46775
  4.  
  5. running 0 tests
  6.  
  7. test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
  8.  
  9.      Running target/debug/deps/abi-faa3697187d6ca1b
  10.  
  11. running 2 tests
  12. test cross_validate_layout_with_c ... ok
  13. tests/constant.c: In function ‘main’:
  14. <command-line>: error: ‘GST_GL_DISPLAY_EGL_NAME’ undeclared (first use in this function); did you mean ‘GST_GL_DISPLAY_TYPE_NONE’?
  15. tests/constant.c:9:22: note: in expansion of macro ‘ABI_CONSTANT_NAME’
  16.      printf(_Generic((ABI_CONSTANT_NAME),
  17.                       ^~~~~~~~~~~~~~~~~
  18. <command-line>: note: each undeclared identifier is reported only once for each function it appears in
  19. tests/constant.c:9:22: note: in expansion of macro ‘ABI_CONSTANT_NAME’
  20.      printf(_Generic((ABI_CONSTANT_NAME),
  21.                       ^~~~~~~~~~~~~~~~~
  22. test cross_validate_constants_with_c ... FAILED
  23.  
  24. failures:
  25.  
  26. ---- cross_validate_constants_with_c stdout ----
  27. constants ... 25 passed; 0 failed (compilation errors: 0)
  28. constants ... 50 passed; 0 failed (compilation errors: 0)
  29. compilation command "cc" "-Wno-deprecated-declarations" "-D__USE_MINGW_ANSI_STDIO" "-I/usr/include/gstreamer-1.0" "-I/usr/lib64/gstreamer-1.0/include" "-I/usr/include/libdrm" "-I/usr/include/glib-2.0" "-I/usr/lib64/glib-2.0/include" "-I/usr/include/orc-0.4" "-pthread" "-DABI_CONSTANT_NAME=GST_GL_DISPLAY_EGL_NAME" "tests/constant.c" "-o" "/tmp/abi.ZiOovvEwTtUi/constant" failed, exit code: 1
  30. constants ... 73 passed; 2 failed (compilation errors: 1)
  31. constants ... 98 passed; 2 failed (compilation errors: 1)
  32. constants ... 123 passed; 2 failed (compilation errors: 1)
  33. thread 'cross_validate_constants_with_c' panicked at 'FAILED: 123 passed; 2 failed (compilation errors: 1)', gstreamer-gl-sys/tests/abi.rs:126:13
  34. note: Run with `RUST_BACKTRACE=1` for a backtrace.
  35.  
  36.  
  37. failures:
  38.     cross_validate_constants_with_c
  39.  
  40. test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out
  41.  
  42. error: test failed, to rerun pass '-p gstreamer-gl-sys --test abi'