microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.26k stars 6.41k forks source link

[cairo] Build error #35958

Closed nocanstillbb closed 4 months ago

nocanstillbb commented 10 months ago

Package: cairo[core,fontconfig,freetype,gobject,x11]:arm64-linux -> 1.17.8#4

Host Environment

To Reproduce

vcpkg install Failure logs

-- Using cached cairo-cairo-1.17.8.tar.gz.
-- Cleaning sources at /repos/vcpkg/buildtrees/cairo/src/1.17.8-b6ef588821.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /repos/vcpkg/downloads/cairo-cairo-1.17.8.tar.gz
-- Applying patch cairo_static_fix.patch
-- Applying patch disable-atomic-ops-check.patch
-- Applying patch mingw-dllexport.patch
-- Applying patch fix-static-missing-lib-msimg32.patch
-- Using source at /repos/vcpkg/buildtrees/cairo/src/1.17.8-b6ef588821.clean
CMake Warning at buildtrees/versioning_/versions/cairo/127eefeeba4725293adb6ea574b7bad98c845298/portfile.cmake:32 (message):
  You will need to install Xorg dependencies to use feature x11:

  sudo apt install libx11-dev libxft-dev libxext-dev

Call Stack (most recent call first):
  scripts/ports.cmake:168 (include)

-- Found external ninja('1.11.1').
-- Getting CMake variables for arm64-linux-rel
-- Configuring arm64-linux-rel
-- Configuring arm64-linux-rel done
-- Package arm64-linux-rel
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: /usr/bin/ninja install -v
    Working Directory: /repos/vcpkg/buildtrees/cairo/arm64-linux-rel
    Error code: 1
    See logs for more information:
      /repos/vcpkg/buildtrees/cairo/package-arm64-linux-rel-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_install_meson.cmake:33 (vcpkg_execute_required_process)
  buildtrees/versioning_/versions/cairo/127eefeeba4725293adb6ea574b7bad98c845298/portfile.cmake:61 (vcpkg_install_meson)
  scripts/ports.cmake:168 (include)
/repos/vcpkg/buildtrees/cairo/package-arm64-linux-rel-out.log ``` [1/160] /usr/bin/sh /repos/vcpkg/buildtrees/cairo/src/1.17.8-b6ef588821.clean/src/make-cairo-def.sh src/cairo.def src/cairo-features.h ../src/1.17.8-b6ef588821.clean/src/cairo.h ../src/1.17.8-b6ef588821.clean/src/cairo-version.h ../src/1.17.8-b6ef588821.clean/src/cairo-deprecated.h ../src/1.17.8-b6ef588821.clean/src/cairo-svg.h ../src/1.17.8-b6ef588821.clean/src/cairo-ft.h ../src/1.17.8-b6ef588821.clean/src/cairo-xlib.h ../src/1.17.8-b6ef588821.clean/src/cairo-xlib-xrender.h ../src/1.17.8-b6ef588821.clean/src/cairo-script.h ../src/1.17.8-b6ef588821.clean/src/cairo-ps.h ../src/1.17.8-b6ef588821.clean/src/cairo-pdf.h src/cairo-features.h [2/160] /usr/bin/aarch64-linux-gnu-gcc -Isrc/libcairo.a.p -Isrc -I../src/1.17.8-b6ef588821.clean/src -I. -I../src/1.17.8-b6ef588821.clean -I/repos/dv_app_solution/vcpkg_installed/arm64-linux/lib/pkgconfig/../../include -I/repos/dv_app_solution/vcpkg_installed/arm64-linux/lib/pkgconfig/../../include/libpng16 -I/repos/dv_app_solution/vcpkg_installed/arm64-linux/lib/pkgconfig/../../include/pixman-1 -I/repos/dv_app_solution/vcpkg_installed/arm64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O0 -Wmissing-declarations -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wsign-compare -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wvolatile-register-var -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wno-unused-but-set-variable -Wno-enum-conversion -fno-strict-aliasing -fno-common -D_GNU_SOURCE -fPIC -O3 -DNDEBUG -fPIC -pthread -Wno-attributes -Wno-unused-but-set-variable -Wno-missing-field-initializers -Wno-unused-parameter -Wno-long-long -D_REENTRANT -MD -MQ src/libcairo.a.p/cairo-slope.c.o -MF src/libcairo.a.p/cairo-slope.c.o.d -o src/libcairo.a.p/cairo-slope.c.o -c ../src/1.17.8-b6ef588821.clean/src/cairo-slope.c [3/160] /usr/bin/aarch64-linux-gnu-gcc -Iutil/cairo-script/csi-exec.p -Iutil/cairo-script -I../src/1.17.8-b6ef588821.clean/util/cairo-script -I. -I../src/1.17.8-b6ef588821.clean -Isrc -I../src/1.17.8-b6ef588821.clean/src -I/repos/dv_app_solution/vcpkg_installed/arm64-linux/lib/pkgconfig/../../include -I/repos/dv_app_solution/vcpkg_installed/arm64-linux/lib/pkgconfig/../../include/libpng16 -I/repos/dv_app_solution/vcpkg_installed/arm64-linux/lib/pkgconfig/../../include/pixman-1 -I/repos/dv_app_solution/vcpkg_installed/arm64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O0 -Wmissing-declarations -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wsign-compare -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wvolatile-register-var -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wno-unused-but-set-variable -Wno-enum-conversion -fno-strict-aliasing -fno-common -D_GNU_SOURCE -fPIC -O3 -DNDEBUG -pthread -MD -MQ util/cairo-script/csi-exec.p/csi-exec.c.o -MF util/cairo-script/csi-exec.p/csi-exec.c.o.d -o util/cairo-script/csi-exec.p/csi-exec.c.o -c ../src/1.17.8-b6ef588821.clean/util/cairo-script/csi-exec.c ... Skipped 1863 lines ... ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4398:25: warning: 鈥榖鈥?may be used uninitialized [-Wmaybe-uninitialized] 4398 | obj.datum.pattern = cairo_pattern_create_rgb (r, g, b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4383:16: note: 鈥榖鈥?was declared here 4383 | double r,g,b; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c: In function 鈥榑mesh_set_control_point鈥? ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:3897:5: warning: 鈥榩oint鈥?may be used uninitialized [-Wmaybe-uninitialized] 3897 | cairo_mesh_pattern_set_control_point (pattern, point, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:3879:19: note: 鈥榩oint鈥?was declared here 3879 | csi_integer_t point; | ^~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:3897:5: warning: 鈥榵鈥?may be used uninitialized [-Wmaybe-uninitialized] 3897 | cairo_mesh_pattern_set_control_point (pattern, point, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:3878:12: note: 鈥榵鈥?was declared here 3878 | double x, y; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:3897:5: warning: 鈥榶鈥?may be used uninitialized [-Wmaybe-uninitialized] 3897 | cairo_mesh_pattern_set_control_point (pattern, point, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:3878:15: note: 鈥榶鈥?was declared here 3878 | double x, y; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c: In function 鈥榑set_source_rgb鈥? ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5480:5: warning: 鈥榗r鈥?may be used uninitialized [-Wmaybe-uninitialized] 5480 | cairo_set_source_rgb (cr, r, g, b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5463:14: note: 鈥榗r鈥?was declared here 5463 | cairo_t *cr; | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5480:5: warning: 鈥榬鈥?may be used uninitialized [-Wmaybe-uninitialized] 5480 | cairo_set_source_rgb (cr, r, g, b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5462:12: note: 鈥榬鈥?was declared here 5462 | double r,g,b; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5480:5: warning: 鈥榞鈥?may be used uninitialized [-Wmaybe-uninitialized] 5480 | cairo_set_source_rgb (cr, r, g, b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5462:14: note: 鈥榞鈥?was declared here 5462 | double r,g,b; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5480:5: warning: 鈥榖鈥?may be used uninitialized [-Wmaybe-uninitialized] 5480 | cairo_set_source_rgb (cr, r, g, b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5462:16: note: 鈥榖鈥?was declared here 5462 | double r,g,b; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c: In function 鈥榑context鈥? ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:1038:14: warning: 鈥榮urface鈥?may be used uninitialized [-Wmaybe-uninitialized] 1038 | cr = cairo_create (surface); | ^~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:1023:22: note: 鈥榮urface鈥?was declared here 1023 | cairo_surface_t *surface; | ^~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c: In function 鈥榑similar_image鈥? ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5733:25: warning: 鈥榦ther鈥?may be used uninitialized [-Wmaybe-uninitialized] 5733 | obj.datum.surface = cairo_surface_create_similar_image (other, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5734 | format, | ~~~~~~~ 5735 | width, height); | ~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5714:22: note: 鈥榦ther鈥?was declared here 5714 | cairo_surface_t *other; | ^~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5733:25: warning: 鈥榝ormat鈥?may be used uninitialized [-Wmaybe-uninitialized] 5733 | obj.datum.surface = cairo_surface_create_similar_image (other, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5734 | format, | ~~~~~~~ 5735 | width, height); | ~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5712:10: note: 鈥榝ormat鈥?was declared here 5712 | long format; | ^~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5733:25: warning: 鈥榳idth鈥?may be used uninitialized [-Wmaybe-uninitialized] 5733 | obj.datum.surface = cairo_surface_create_similar_image (other, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5734 | format, | ~~~~~~~ 5735 | width, height); | ~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5713:12: note: 鈥榳idth鈥?was declared here 5713 | double width, height; | ^~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5733:25: warning: 鈥榟eight鈥?may be used uninitialized [-Wmaybe-uninitialized] 5733 | obj.datum.surface = cairo_surface_create_similar_image (other, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5734 | format, | ~~~~~~~ 5735 | width, height); | ~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5713:19: note: 鈥榟eight鈥?was declared here 5713 | double width, height; | ^~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c: In function 鈥榑record鈥? ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:6249:25: warning: 鈥榗ontent鈥?may be used uninitialized [-Wmaybe-uninitialized] 6249 | obj.datum.surface = cairo_recording_surface_create (content, r); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:6211:10: note: 鈥榗ontent鈥?was declared here 6211 | long content; | ^~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:6241:60: warning: 鈥榓rray鈥?may be used uninitialized [-Wmaybe-uninitialized] 6241 | extents.height = _csi_object_as_real (&array->stack.objects[3]); | ~~~~~~~~~~~~^~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:6212:18: note: 鈥榓rray鈥?was declared here 6212 | csi_array_t *array; | ^~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c: In function 鈥榑for鈥? ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:2345:26: warning: 鈥榠鈥?may be used uninitialized [-Wmaybe-uninitialized] 2345 | for (; i <= limit; i += inc) { | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:2325:10: note: 鈥榠鈥?was declared here 2325 | long i, inc, limit; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:2345:26: warning: 鈥榠nc鈥?may be used uninitialized [-Wmaybe-uninitialized] 2345 | for (; i <= limit; i += inc) { | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:2325:13: note: 鈥榠nc鈥?was declared here 2325 | long i, inc, limit; | ^~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:2345:14: warning: 鈥榣imit鈥?may be used uninitialized [-Wmaybe-uninitialized] 2345 | for (; i <= limit; i += inc) { | ~~^~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:2325:18: note: 鈥榣imit鈥?was declared here 2325 | long i, inc, limit; | ^~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:2355:21: warning: 鈥榩roc鈥?may be used uninitialized [-Wmaybe-uninitialized] 2355 | if (--proc->base.ref == 0) | ~~~~~~~~~~^~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:2323:18: note: 鈥榩roc鈥?was declared here 2323 | csi_array_t *proc; | ^~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c: In function 鈥榑linear鈥? ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:3554:25: warning: 鈥榵1鈥?may be used uninitialized [-Wmaybe-uninitialized] 3554 | obj.datum.pattern = cairo_pattern_create_linear (x1, y1, x2, y2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:3534:12: note: 鈥榵1鈥?was declared here 3534 | double x1, y1, x2, y2; | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:3554:25: warning: 鈥榶1鈥?may be used uninitialized [-Wmaybe-uninitialized] 3554 | obj.datum.pattern = cairo_pattern_create_linear (x1, y1, x2, y2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:3534:16: note: 鈥榶1鈥?was declared here 3534 | double x1, y1, x2, y2; | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:3554:25: warning: 鈥榵2鈥?may be used uninitialized [-Wmaybe-uninitialized] 3554 | obj.datum.pattern = cairo_pattern_create_linear (x1, y1, x2, y2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:3534:20: note: 鈥榵2鈥?was declared here 3534 | double x1, y1, x2, y2; | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:3554:25: warning: 鈥榶2鈥?may be used uninitialized [-Wmaybe-uninitialized] 3554 | obj.datum.pattern = cairo_pattern_create_linear (x1, y1, x2, y2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:3534:24: note: 鈥榶2鈥?was declared here 3534 | double x1, y1, x2, y2; | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c: In function 鈥榑rgba鈥? ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4426:25: warning: 鈥榬鈥?may be used uninitialized [-Wmaybe-uninitialized] 4426 | obj.datum.pattern = cairo_pattern_create_rgba (r, g, b, a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4408:12: note: 鈥榬鈥?was declared here 4408 | double r,g,b,a; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4426:25: warning: 鈥榞鈥?may be used uninitialized [-Wmaybe-uninitialized] 4426 | obj.datum.pattern = cairo_pattern_create_rgba (r, g, b, a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4408:14: note: 鈥榞鈥?was declared here 4408 | double r,g,b,a; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4426:25: warning: 鈥榖鈥?may be used uninitialized [-Wmaybe-uninitialized] 4426 | obj.datum.pattern = cairo_pattern_create_rgba (r, g, b, a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4408:16: note: 鈥榖鈥?was declared here 4408 | double r,g,b,a; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4426:25: warning: 鈥榓鈥?may be used uninitialized [-Wmaybe-uninitialized] 4426 | obj.datum.pattern = cairo_pattern_create_rgba (r, g, b, a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4408:18: note: 鈥榓鈥?was declared here 4408 | double r,g,b,a; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c: In function 鈥榑similar鈥? ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5702:25: warning: 鈥榦ther鈥?may be used uninitialized [-Wmaybe-uninitialized] 5702 | obj.datum.surface = cairo_surface_create_similar (other, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5703 | content, width, height); | ~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5662:22: note: 鈥榦ther鈥?was declared here 5662 | cairo_surface_t *other; | ^~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5702:25: warning: 鈥榳idth鈥?may be used uninitialized [-Wmaybe-uninitialized] 5702 | obj.datum.surface = cairo_surface_create_similar (other, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5703 | content, width, height); | ~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5661:12: note: 鈥榳idth鈥?was declared here 5661 | double width, height; | ^~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5702:25: warning: 鈥榟eight鈥?may be used uninitialized [-Wmaybe-uninitialized] 5702 | obj.datum.surface = cairo_surface_create_similar (other, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5703 | content, width, height); | ~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5661:19: note: 鈥榟eight鈥?was declared here 5661 | double width, height; | ^~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5702:25: warning: 鈥榗ontent鈥?may be used uninitialized [-Wmaybe-uninitialized] 5702 | obj.datum.surface = cairo_surface_create_similar (other, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5703 | content, width, height); | ~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5660:10: note: 鈥榗ontent鈥?was declared here 5660 | long content; | ^~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c: In function 鈥榑set_source_rgba鈥? ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5510:5: warning: 鈥榗r鈥?may be used uninitialized [-Wmaybe-uninitialized] 5510 | cairo_set_source_rgba (cr, r, g, b, a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5490:14: note: 鈥榗r鈥?was declared here 5490 | cairo_t *cr; | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5510:5: warning: 鈥榬鈥?may be used uninitialized [-Wmaybe-uninitialized] 5510 | cairo_set_source_rgba (cr, r, g, b, a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5489:12: note: 鈥榬鈥?was declared here 5489 | double r,g,b,a; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5510:5: warning: 鈥榞鈥?may be used uninitialized [-Wmaybe-uninitialized] 5510 | cairo_set_source_rgba (cr, r, g, b, a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5489:14: note: 鈥榞鈥?was declared here 5489 | double r,g,b,a; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5510:5: warning: 鈥榖鈥?may be used uninitialized [-Wmaybe-uninitialized] 5510 | cairo_set_source_rgba (cr, r, g, b, a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5489:16: note: 鈥榖鈥?was declared here 5489 | double r,g,b,a; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5510:5: warning: 鈥榓鈥?may be used uninitialized [-Wmaybe-uninitialized] 5510 | cairo_set_source_rgba (cr, r, g, b, a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5489:18: note: 鈥榓鈥?was declared here 5489 | double r,g,b,a; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c: In function 鈥榑rectangle鈥? ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4235:5: warning: 鈥榗r鈥?may be used uninitialized [-Wmaybe-uninitialized] 4235 | cairo_rectangle (cr, x, y, w, h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4213:14: note: 鈥榗r鈥?was declared here 4213 | cairo_t *cr; | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4235:5: warning: 鈥榵鈥?may be used uninitialized [-Wmaybe-uninitialized] 4235 | cairo_rectangle (cr, x, y, w, h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4211:12: note: 鈥榵鈥?was declared here 4211 | double x, y; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4235:5: warning: 鈥榶鈥?may be used uninitialized [-Wmaybe-uninitialized] 4235 | cairo_rectangle (cr, x, y, w, h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4211:15: note: 鈥榶鈥?was declared here 4211 | double x, y; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4235:5: warning: 鈥榳鈥?may be used uninitialized [-Wmaybe-uninitialized] 4235 | cairo_rectangle (cr, x, y, w, h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4212:12: note: 鈥榳鈥?was declared here 4212 | double w, h; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4235:5: warning: 鈥榟鈥?may be used uninitialized [-Wmaybe-uninitialized] 4235 | cairo_rectangle (cr, x, y, w, h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4212:15: note: 鈥榟鈥?was declared here 4212 | double w, h; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c: In function 鈥榑subsurface鈥? ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5767:25: warning: 鈥榯arget鈥?may be used uninitialized [-Wmaybe-uninitialized] 5767 | obj.datum.surface = cairo_surface_create_for_rectangle (target, x, y, width, height); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5745:22: note: 鈥榯arget鈥?was declared here 5745 | cairo_surface_t *target; | ^~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5767:25: warning: 鈥榵鈥?may be used uninitialized [-Wmaybe-uninitialized] 5767 | obj.datum.surface = cairo_surface_create_for_rectangle (target, x, y, width, height); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5744:12: note: 鈥榵鈥?was declared here 5744 | double x, y, width, height; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5767:25: warning: 鈥榶鈥?may be used uninitialized [-Wmaybe-uninitialized] 5767 | obj.datum.surface = cairo_surface_create_for_rectangle (target, x, y, width, height); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5744:15: note: 鈥榶鈥?was declared here 5744 | double x, y, width, height; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5767:25: warning: 鈥榳idth鈥?may be used uninitialized [-Wmaybe-uninitialized] 5767 | obj.datum.surface = cairo_surface_create_for_rectangle (target, x, y, width, height); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5744:18: note: 鈥榳idth鈥?was declared here 5744 | double x, y, width, height; | ^~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5767:25: warning: 鈥榟eight鈥?may be used uninitialized [-Wmaybe-uninitialized] 5767 | obj.datum.surface = cairo_surface_create_for_rectangle (target, x, y, width, height); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:5744:25: note: 鈥榟eight鈥?was declared here 5744 | double x, y, width, height; | ^~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c: In function 鈥榑mesh_set_corner_color鈥? ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:3932:5: warning: 鈥榗orner鈥?may be used uninitialized [-Wmaybe-uninitialized] 3932 | cairo_mesh_pattern_set_corner_color_rgba (pattern, corner, r, g, b, a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:3908:19: note: 鈥榗orner鈥?was declared here 3908 | csi_integer_t corner; | ^~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:3932:5: warning: 鈥榬鈥?may be used uninitialized [-Wmaybe-uninitialized] 3932 | cairo_mesh_pattern_set_corner_color_rgba (pattern, corner, r, g, b, a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:3907:12: note: 鈥榬鈥?was declared here 3907 | double r, g, b, a; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:3932:5: warning: 鈥榞鈥?may be used uninitialized [-Wmaybe-uninitialized] 3932 | cairo_mesh_pattern_set_corner_color_rgba (pattern, corner, r, g, b, a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:3907:15: note: 鈥榞鈥?was declared here 3907 | double r, g, b, a; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:3932:5: warning: 鈥榖鈥?may be used uninitialized [-Wmaybe-uninitialized] 3932 | cairo_mesh_pattern_set_corner_color_rgba (pattern, corner, r, g, b, a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:3907:18: note: 鈥榖鈥?was declared here 3907 | double r, g, b, a; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:3932:5: warning: 鈥榓鈥?may be used uninitialized [-Wmaybe-uninitialized] 3932 | cairo_mesh_pattern_set_corner_color_rgba (pattern, corner, r, g, b, a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:3907:21: note: 鈥榓鈥?was declared here 3907 | double r, g, b, a; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c: In function 鈥榑arc鈥? ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:837:5: warning: 鈥榗r鈥?may be used uninitialized [-Wmaybe-uninitialized] 837 | cairo_arc (cr, x, y, r, theta1, theta2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:812:14: note: 鈥榗r鈥?was declared here 812 | cairo_t *cr; | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:837:5: warning: 鈥榵鈥?may be used uninitialized [-Wmaybe-uninitialized] 837 | cairo_arc (cr, x, y, r, theta1, theta2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:810:12: note: 鈥榵鈥?was declared here 810 | double x, y, r; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:837:5: warning: 鈥榶鈥?may be used uninitialized [-Wmaybe-uninitialized] 837 | cairo_arc (cr, x, y, r, theta1, theta2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:810:15: note: 鈥榶鈥?was declared here 810 | double x, y, r; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:837:5: warning: 鈥榬鈥?may be used uninitialized [-Wmaybe-uninitialized] 837 | cairo_arc (cr, x, y, r, theta1, theta2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:810:18: note: 鈥榬鈥?was declared here 810 | double x, y, r; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:837:5: warning: 鈥榯heta1鈥?may be used uninitialized [-Wmaybe-uninitialized] 837 | cairo_arc (cr, x, y, r, theta1, theta2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:811:12: note: 鈥榯heta1鈥?was declared here 811 | double theta1, theta2; | ^~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:837:5: warning: 鈥榯heta2鈥?may be used uninitialized [-Wmaybe-uninitialized] 837 | cairo_arc (cr, x, y, r, theta1, theta2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:811:20: note: 鈥榯heta2鈥?was declared here 811 | double theta1, theta2; | ^~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c: In function 鈥榑arc_negative鈥? ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:873:5: warning: 鈥榗r鈥?may be used uninitialized [-Wmaybe-uninitialized] 873 | cairo_arc_negative (cr, x, y, r, theta1, theta2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:848:14: note: 鈥榗r鈥?was declared here 848 | cairo_t *cr; | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:873:5: warning: 鈥榵鈥?may be used uninitialized [-Wmaybe-uninitialized] 873 | cairo_arc_negative (cr, x, y, r, theta1, theta2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:846:12: note: 鈥榵鈥?was declared here 846 | double x, y, r; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:873:5: warning: 鈥榶鈥?may be used uninitialized [-Wmaybe-uninitialized] 873 | cairo_arc_negative (cr, x, y, r, theta1, theta2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:846:15: note: 鈥榶鈥?was declared here 846 | double x, y, r; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:873:5: warning: 鈥榬鈥?may be used uninitialized [-Wmaybe-uninitialized] 873 | cairo_arc_negative (cr, x, y, r, theta1, theta2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:846:18: note: 鈥榬鈥?was declared here 846 | double x, y, r; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:873:5: warning: 鈥榯heta1鈥?may be used uninitialized [-Wmaybe-uninitialized] 873 | cairo_arc_negative (cr, x, y, r, theta1, theta2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:847:12: note: 鈥榯heta1鈥?was declared here 847 | double theta1, theta2; | ^~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:873:5: warning: 鈥榯heta2鈥?may be used uninitialized [-Wmaybe-uninitialized] 873 | cairo_arc_negative (cr, x, y, r, theta1, theta2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:847:20: note: 鈥榯heta2鈥?was declared here 847 | double theta1, theta2; | ^~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c: In function 鈥榑add_color_stop鈥? ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:773:5: warning: 鈥榦ffset鈥?may be used uninitialized [-Wmaybe-uninitialized] 773 | cairo_pattern_add_color_stop_rgba (pattern, offset, r, g, b, a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:749:12: note: 鈥榦ffset鈥?was declared here 749 | double offset, r, g, b, a; | ^~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:773:5: warning: 鈥榬鈥?may be used uninitialized [-Wmaybe-uninitialized] 773 | cairo_pattern_add_color_stop_rgba (pattern, offset, r, g, b, a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:749:20: note: 鈥榬鈥?was declared here 749 | double offset, r, g, b, a; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:773:5: warning: 鈥榞鈥?may be used uninitialized [-Wmaybe-uninitialized] 773 | cairo_pattern_add_color_stop_rgba (pattern, offset, r, g, b, a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:749:23: note: 鈥榞鈥?was declared here 749 | double offset, r, g, b, a; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:773:5: warning: 鈥榖鈥?may be used uninitialized [-Wmaybe-uninitialized] 773 | cairo_pattern_add_color_stop_rgba (pattern, offset, r, g, b, a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:749:26: note: 鈥榖鈥?was declared here 749 | double offset, r, g, b, a; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:773:5: warning: 鈥榓鈥?may be used uninitialized [-Wmaybe-uninitialized] 773 | cairo_pattern_add_color_stop_rgba (pattern, offset, r, g, b, a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:749:29: note: 鈥榓鈥?was declared here 749 | double offset, r, g, b, a; | ^ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c: In function 鈥榑rel_curve_to鈥? ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4275:5: warning: 鈥榗r鈥?may be used uninitialized [-Wmaybe-uninitialized] 4275 | cairo_rel_curve_to (cr, x1, y1, x2, y2, x3, y3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4247:14: note: 鈥榗r鈥?was declared here 4247 | cairo_t *cr; | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4275:5: warning: 鈥榶1鈥?may be used uninitialized [-Wmaybe-uninitialized] 4275 | cairo_rel_curve_to (cr, x1, y1, x2, y2, x3, y3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4244:16: note: 鈥榶1鈥?was declared here 4244 | double x1, y1; | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4275:5: warning: 鈥榵2鈥?may be used uninitialized [-Wmaybe-uninitialized] 4275 | cairo_rel_curve_to (cr, x1, y1, x2, y2, x3, y3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4245:12: note: 鈥榵2鈥?was declared here 4245 | double x2, y2; | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4275:5: warning: 鈥榶2鈥?may be used uninitialized [-Wmaybe-uninitialized] 4275 | cairo_rel_curve_to (cr, x1, y1, x2, y2, x3, y3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4245:16: note: 鈥榶2鈥?was declared here 4245 | double x2, y2; | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4275:5: warning: 鈥榵3鈥?may be used uninitialized [-Wmaybe-uninitialized] 4275 | cairo_rel_curve_to (cr, x1, y1, x2, y2, x3, y3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4246:12: note: 鈥榵3鈥?was declared here 4246 | double x3, y3; | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4275:5: warning: 鈥榶3鈥?may be used uninitialized [-Wmaybe-uninitialized] 4275 | cairo_rel_curve_to (cr, x1, y1, x2, y2, x3, y3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4246:16: note: 鈥榶3鈥?was declared here 4246 | double x3, y3; | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c: In function 鈥榑curve_to鈥? ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:1164:9: warning: 鈥榶1鈥?may be used uninitialized [-Wmaybe-uninitialized] 1164 | cairo_curve_to (obj->datum.cr, x1, y1, x2, y2, x3, y3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:1135:16: note: 鈥榶1鈥?was declared here 1135 | double x1, y1; | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:1164:9: warning: 鈥榵2鈥?may be used uninitialized [-Wmaybe-uninitialized] 1164 | cairo_curve_to (obj->datum.cr, x1, y1, x2, y2, x3, y3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:1136:12: note: 鈥榵2鈥?was declared here 1136 | double x2, y2; | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:1164:9: warning: 鈥榶2鈥?may be used uninitialized [-Wmaybe-uninitialized] 1164 | cairo_curve_to (obj->datum.cr, x1, y1, x2, y2, x3, y3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:1136:16: note: 鈥榶2鈥?was declared here 1136 | double x2, y2; | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:1164:9: warning: 鈥榵3鈥?may be used uninitialized [-Wmaybe-uninitialized] 1164 | cairo_curve_to (obj->datum.cr, x1, y1, x2, y2, x3, y3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:1137:12: note: 鈥榵3鈥?was declared here 1137 | double x3, y3; | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:1164:9: warning: 鈥榶3鈥?may be used uninitialized [-Wmaybe-uninitialized] 1164 | cairo_curve_to (obj->datum.cr, x1, y1, x2, y2, x3, y3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:1137:16: note: 鈥榶3鈥?was declared here 1137 | double x3, y3; | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c: In function 鈥榑radial鈥? ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4202:25: warning: 鈥榵1鈥?may be used uninitialized [-Wmaybe-uninitialized] 4202 | obj.datum.pattern = cairo_pattern_create_radial (x1, y1, r1, x2, y2, r2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4178:12: note: 鈥榵1鈥?was declared here 4178 | double x1, y1, r1, x2, y2, r2; | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4202:25: warning: 鈥榶1鈥?may be used uninitialized [-Wmaybe-uninitialized] 4202 | obj.datum.pattern = cairo_pattern_create_radial (x1, y1, r1, x2, y2, r2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4178:16: note: 鈥榶1鈥?was declared here 4178 | double x1, y1, r1, x2, y2, r2; | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4202:25: warning: 鈥榬1鈥?may be used uninitialized [-Wmaybe-uninitialized] 4202 | obj.datum.pattern = cairo_pattern_create_radial (x1, y1, r1, x2, y2, r2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4178:20: note: 鈥榬1鈥?was declared here 4178 | double x1, y1, r1, x2, y2, r2; | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4202:25: warning: 鈥榵2鈥?may be used uninitialized [-Wmaybe-uninitialized] 4202 | obj.datum.pattern = cairo_pattern_create_radial (x1, y1, r1, x2, y2, r2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4178:24: note: 鈥榵2鈥?was declared here 4178 | double x1, y1, r1, x2, y2, r2; | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4202:25: warning: 鈥榶2鈥?may be used uninitialized [-Wmaybe-uninitialized] 4202 | obj.datum.pattern = cairo_pattern_create_radial (x1, y1, r1, x2, y2, r2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4178:28: note: 鈥榶2鈥?was declared here 4178 | double x1, y1, r1, x2, y2, r2; | ^~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4202:25: warning: 鈥榬2鈥?may be used uninitialized [-Wmaybe-uninitialized] 4202 | obj.datum.pattern = cairo_pattern_create_radial (x1, y1, r1, x2, y2, r2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/1.17.8-b6ef588821.clean/util/cairo-script/cairo-script-operators.c:4178:32: note: 鈥榬2鈥?was declared here 4178 | double x1, y1, r1, x2, y2, r2; | ^~ ninja: build stopped: subcommand failed. ```
**Additional context**
vcpkg.json ``` { "name": "dv-app-solution", "version": "1.0.5", "dependencies": [ "rc-genicam-api", "minizip", "catch2", "range-v3", "fmt", "boost-thread", "boost-context", "boost-system", "boost-asio", "freetype", "opencv4", "nlohmann-json" ], "builtin-baseline": "0b55b60bb6e246707ff93832a09410d2d2b4b882", "overrides": [ { "name": "boost", "version": "1.83.0" }, { "name": "catch2", "version": "3.4.0" } ] } ```
**vcpkg-cross-toolchain-file.cmake** ``` set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_PROCESSOR arm64) set(CMAKE_SYSROOT /sysroot) set(CMAKE_STAGING_PREFIX /repos/installed) set(tools /usr) set(CMAKE_C_COMPILER ${tools}/bin/aarch64-linux-gnu-gcc) set(CMAKE_CXX_COMPILER ${tools}/bin/aarch64-linux-gnu-g++) set(QT_DIR /src/pi5/qt5pi/lib/cmake/Qt5) set(Qt5_DIR /src/pi5/qt5pi/lib/cmake/Qt5) set(ENV{QT_DIR} /src/pi5/qt5pi/lib/cmake/Qt5) set(ENV{QT_DIR} /src/pi5/qt5pi/lib/cmake/Qt5) set(QT_QMAKE_EXECUTABLE /src/pi5/qt5pi/bin/qmake) set(Qt5Core_DIR /src/pi5/qt5pi/lib/cmake/Qt5Core) set(Qt5Gui_DIR /src/pi5/qt5pi/lib/cmake/Qt5Gui) set(Qt5Widgets_DIR /src/pi5/qt5pi/lib/cmake/Qt5Widgets) set(Qt5Quick_DIR /src/pi5/qt5pi/lib/cmake/Qt5Quick) set(Qt5QuickControls2_DIR /src/pi5/qt5pi/lib/cmake/Qt5QuickControls2) set(Qt5QmlModels_DIR /src/pi5/qt5pi/lib/cmake/Qt5QmlModels) set(Qt5Qml_DIR /src/pi5/qt5pi/lib/cmake/Qt5Qml) set(Qt5Network_DIR /src/pi5/qt5pi/lib/cmake/Qt5Network) set(Qt5LinguistTools_DIR /src/pi5/qt5pi/lib/cmake/Qt5LinguistTools) set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY) set(CMAKE_PREFIX_PATH /src/pi5/qt5pi;/repos/dv_app_solution/vcpkg_installed/arm64-linux) ``` **meson cross file** ```meson [binaries] c = '/usr/bin/aarch64-linux-gnu-gcc' cpp = '/usr/bin/aarch64-linux-gnu-g++' ar = '/usr/bin/aarch64-linux-gnu-ar' strip = '/usr/bin/aarch64-linux-gnu-strip' [host_machine] system = 'linux' cpu_family = 'x86_64' cpu = 'x86_64' endian = 'little' ~ ```
MonicaLiu0311 commented 10 months ago
monica@monica003:/mnt/vcpkg$ ./vcpkg version
vcpkg package management program version 2023-12-12-1c9ec1978a6b0c2b39c9e9554a96e3e275f7556e

See LICENSE.txt for license information.

Sorry I didn't repro your issue on x64-linux, so will mark it as community-triplet.

monica@monica003:/mnt/vcpkg$ ./vcpkg install cairo[core,fontconfig,freetype,gobject,x11]:x64-linux
Computing installation plan...
The following packages will be built and installed:
    cairo[core,fontconfig,freetype,gobject,x11]:x64-linux@1.17.8#4
...
Building cairo[core,fontconfig,freetype,gobject,x11]:x64-linux@1.17.8#4...
-- Downloading https://gitlab.freedesktop.org/cairo/cairo/-/archive/1.17.8/cairo-1.17.8.tar.gz -> cairo-cairo-1.17.8.tar.gz...
-- Extracting source /mnt/vcpkg/downloads/cairo-cairo-1.17.8.tar.gz
-- Applying patch cairo_static_fix.patch
-- Applying patch disable-atomic-ops-check.patch
-- Applying patch mingw-dllexport.patch
-- Applying patch fix-static-missing-lib-msimg32.patch
-- Using source at /mnt/vcpkg/buildtrees/cairo/src/1.17.8-b6ef588821.clean
CMake Warning at ports/cairo/portfile.cmake:32 (message):
  You will need to install Xorg dependencies to use feature x11:

  sudo apt install libx11-dev libxft-dev libxext-dev

Call Stack (most recent call first):
  scripts/ports.cmake:170 (include)

-- Getting CMake variables for x64-linux-dbg
-- Getting CMake variables for x64-linux-rel
-- Configuring x64-linux-dbg
-- Configuring x64-linux-dbg done
-- Configuring x64-linux-rel
-- Configuring x64-linux-rel done
-- Package x64-linux-dbg
-- Package x64-linux-rel
-- Fixing pkgconfig file: /mnt/vcpkg/packages/cairo_x64-linux/lib/pkgconfig/cairo-fc.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/cairo_x64-linux/lib/pkgconfig/cairo-ft.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/cairo_x64-linux/lib/pkgconfig/cairo-gobject.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/cairo_x64-linux/lib/pkgconfig/cairo-pdf.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/cairo_x64-linux/lib/pkgconfig/cairo-png.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/cairo_x64-linux/lib/pkgconfig/cairo-ps.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/cairo_x64-linux/lib/pkgconfig/cairo-script-interpreter.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/cairo_x64-linux/lib/pkgconfig/cairo-script.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/cairo_x64-linux/lib/pkgconfig/cairo-svg.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/cairo_x64-linux/lib/pkgconfig/cairo-xlib-xrender.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/cairo_x64-linux/lib/pkgconfig/cairo-xlib.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/cairo_x64-linux/lib/pkgconfig/cairo.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/cairo_x64-linux/debug/lib/pkgconfig/cairo-fc.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/cairo_x64-linux/debug/lib/pkgconfig/cairo-ft.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/cairo_x64-linux/debug/lib/pkgconfig/cairo-gobject.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/cairo_x64-linux/debug/lib/pkgconfig/cairo-pdf.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/cairo_x64-linux/debug/lib/pkgconfig/cairo-png.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/cairo_x64-linux/debug/lib/pkgconfig/cairo-ps.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/cairo_x64-linux/debug/lib/pkgconfig/cairo-script-interpreter.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/cairo_x64-linux/debug/lib/pkgconfig/cairo-script.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/cairo_x64-linux/debug/lib/pkgconfig/cairo-svg.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/cairo_x64-linux/debug/lib/pkgconfig/cairo-xlib-xrender.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/cairo_x64-linux/debug/lib/pkgconfig/cairo-xlib.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/cairo_x64-linux/debug/lib/pkgconfig/cairo.pc
-- Installing: /mnt/vcpkg/packages/cairo_x64-linux/share/cairo/usage
-- Performing post-build validation
Stored binaries in 1 destinations in 565 ms.
Elapsed time to handle cairo:x64-linux: 20 s
cairo:x64-linux package ABI: f57781ac822b44428a7c4be16d4c8f270246893eadc22bf5382c8f5824afb89e
Total install time: 1.2 min
The package cairo can be imported via CMake FindPkgConfig module:

    # cairo
    find_package(PkgConfig REQUIRED)
    pkg_check_modules(cairo REQUIRED IMPORTED_TARGET cairo)
    target_link_libraries(main PkgConfig::cairo)

    # cairo-script-interpreter
    find_package(PkgConfig REQUIRED)
    pkg_check_modules(cairo-script-interpreter REQUIRED IMPORTED_TARGET cairo-script-interpreter)
    target_link_libraries(main PkgConfig::cairo-script-interpreter)
nocanstillbb commented 10 months ago

Sorry I didn't repro your issue on x64-linux, so will mark it as community-triplet.

yes ,it is.

i try to cross complile aarch64 target on x86_64 host,

i have attached arch64toolchain.cmake and arch64-mess.cross to attations.

github-actions[bot] commented 4 months ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.