=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/joyent/libspice", "all", "PYTHON_VERSION_REQD=313", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for libspice-0.12.4 --- ./.version --- echo 0.12.4 > ./.version-t && mv ./.version-t ./.version --- all --- /opt/local/bin/bmake all-recursive --- all-recursive --- Making all in spice-common --- all --- /opt/local/bin/bmake all-recursive --- all-recursive --- Making all in python_modules Making all in common --- all --- /opt/local/bin/bmake all-am --- backtrace.lo --- --- canvas_utils.lo --- --- lines.lo --- --- canvas_utils.lo --- CC canvas_utils.lo --- lines.lo --- CC lines.lo --- backtrace.lo --- CC backtrace.lo --- log.lo --- CC log.lo --- lz.lo --- CC lz.lo --- marshaller.lo --- CC marshaller.lo --- mem.lo --- CC mem.lo --- pixman_utils.lo --- CC pixman_utils.lo --- quic.lo --- CC quic.lo --- region.lo --- CC region.lo --- rop3.lo --- CC rop3.lo --- ssl_verify.lo --- CC ssl_verify.lo ssl_verify.c: In function 'verify_pubkey': ssl_verify.c:81:5: warning: 'EVP_PKEY_cmp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 81 | ret = EVP_PKEY_cmp(orig_pubkey, cert_pubkey); | ^~~ In file included from ssl_verify.h:28, from ssl_verify.c:24: /tmp/work/joyent/libspice/work/.buildlink/include/openssl/evp.h:1477:5: note: declared here 1477 | int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b); | ^~~~~~~~~~~~ ssl_verify.c: In function 'verify_hostname': ssl_verify.c:204:17: warning: 'ASN1_STRING_data' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 204 | if (_gnutls_hostname_compare((char *)ASN1_STRING_data(name->d.dNSName), | ^~ In file included from /tmp/work/joyent/libspice/work/.buildlink/include/openssl/rsa.h:21, from ssl_verify.h:27: /tmp/work/joyent/libspice/work/.buildlink/include/openssl/asn1.h:671:40: note: declared here 671 | OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x); | ^~~~~~~~~~~~~~~~ ssl_verify.c:207:21: warning: 'ASN1_STRING_data' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 207 | spice_debug("alt name match=%s", ASN1_STRING_data(name->d.dNSName)); | ^~~~~~~~~~~ /tmp/work/joyent/libspice/work/.buildlink/include/openssl/asn1.h:671:40: note: declared here 671 | OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x); | ^~~~~~~~~~~~~~~~ ssl_verify.c:215:21: warning: 'ASN1_STRING_data' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 215 | !memcmp(ASN1_STRING_data(name->d.iPAddress), &addr, addr_len)) { | ^ /tmp/work/joyent/libspice/work/.buildlink/include/openssl/asn1.h:671:40: note: declared here 671 | OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x); | ^~~~~~~~~~~~~~~~ In file included from ssl_verify.c:25: ssl_verify.c:217:53: warning: 'ASN1_STRING_data' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 217 | inet_ntoa(*((struct in_addr*)ASN1_STRING_data(name->d.dNSName)))); | ^~~~~~~ log.h:96:95: note: in definition of macro 'spice_debug' 96 | spice_log(SPICE_LOG_DOMAIN, SPICE_LOG_LEVEL_DEBUG, SPICE_STRLOC, __FUNCTION__, format, ## __VA_ARGS__); \ | ^~~~~~~~~~~ /tmp/work/joyent/libspice/work/.buildlink/include/openssl/asn1.h:671:40: note: declared here 671 | OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x); | ^~~~~~~~~~~~~~~~ ssl_verify.c:248:13: warning: 'ASN1_STRING_data' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 248 | if (_gnutls_hostname_compare((char*)ASN1_STRING_data(cn_asn1), | ^~ /tmp/work/joyent/libspice/work/.buildlink/include/openssl/asn1.h:671:40: note: declared here 671 | OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x); | ^~~~~~~~~~~~~~~~ ssl_verify.c:251:17: warning: 'ASN1_STRING_data' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 251 | spice_debug("common name match=%s", (char*)ASN1_STRING_data(cn_asn1)); | ^~~~~~~~~~~ /tmp/work/joyent/libspice/work/.buildlink/include/openssl/asn1.h:671:40: note: declared here 671 | OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x); | ^~~~~~~~~~~~~~~~ --- libspice_common_server_la-generated_server_demarshallers.lo --- CC libspice_common_server_la-generated_server_demarshallers.lo --- libspice_common_server_la-generated_server_marshallers.lo --- CC libspice_common_server_la-generated_server_marshallers.lo --- generated_client_demarshallers.lo --- CC generated_client_demarshallers.lo --- generated_client_demarshallers1.lo --- CC generated_client_demarshallers1.lo --- generated_client_marshallers.lo --- CC generated_client_marshallers.lo --- generated_client_marshallers1.lo --- CC generated_client_marshallers1.lo --- libspice-common-server.la --- CCLD libspice-common-server.la --- libspice-common-client.la --- CCLD libspice-common-client.la --- libspice-common.la --- CCLD libspice-common.la Making all in server --- all --- /opt/local/bin/bmake all-recursive --- all-recursive --- Making all in . --- agent-msg-filter.lo --- --- char_device.lo --- --- glz_encoder.lo --- --- agent-msg-filter.lo --- CC agent-msg-filter.lo --- glz_encoder.lo --- CC glz_encoder.lo --- char_device.lo --- CC char_device.lo --- agent-msg-filter.lo --- gcc: warning: switch '-Wmudflap' is no longer supported --- glz_encoder.lo --- gcc: warning: switch '-Wmudflap' is no longer supported --- char_device.lo --- gcc: warning: switch '-Wmudflap' is no longer supported --- glz_encoder_dictionary.lo --- CC glz_encoder_dictionary.lo gcc: warning: switch '-Wmudflap' is no longer supported --- inputs_channel.lo --- CC inputs_channel.lo --- jpeg_encoder.lo --- CC jpeg_encoder.lo --- inputs_channel.lo --- gcc: warning: switch '-Wmudflap' is no longer supported --- jpeg_encoder.lo --- gcc: warning: switch '-Wmudflap' is no longer supported --- inputs_channel.lo --- inputs_channel.c: In function 'inputs_channel_handle_parsed': inputs_channel.c:317:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 317 | case SPICE_MSGC_INPUTS_KEY_DOWN: { | ^ inputs_channel.c:324:5: note: here 324 | case SPICE_MSGC_INPUTS_KEY_UP: { | ^~~~ --- main_channel.lo --- CC main_channel.lo --- mjpeg_encoder.lo --- CC mjpeg_encoder.lo --- main_channel.lo --- gcc: warning: switch '-Wmudflap' is no longer supported --- mjpeg_encoder.lo --- gcc: warning: switch '-Wmudflap' is no longer supported --- red_channel.lo --- CC red_channel.lo gcc: warning: switch '-Wmudflap' is no longer supported In file included from ../spice-common/common/spice_common.h:29, from ../spice-common/common/ring.h:23, from red_channel.c:35: red_channel.c: In function 'red_channel_create': red_channel.c:938:17: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'pthread_t' {aka 'unsigned int'} [-Wformat=] 938 | spice_debug("channel type %d id %d thread_id 0x%lx", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 939 | channel->type, channel->id, channel->thread_id); | ~~~~~~~~~~~~~~~~~~ | | | pthread_t {aka unsigned int} ../spice-common/common/log.h:96:84: note: in definition of macro 'spice_debug' 96 | spice_log(SPICE_LOG_DOMAIN, SPICE_LOG_LEVEL_DEBUG, SPICE_STRLOC, __FUNCTION__, format, ## __VA_ARGS__); \ | ^~~~~~ red_channel.c:938:54: note: format string is defined here 938 | spice_debug("channel type %d id %d thread_id 0x%lx", | ~~^ | | | long unsigned int | %x red_channel.c: In function 'red_channel_create_dummy': red_channel.c:984:17: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'pthread_t' {aka 'unsigned int'} [-Wformat=] 984 | spice_debug("channel type %d id %d thread_id 0x%lx", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 985 | channel->type, channel->id, channel->thread_id); | ~~~~~~~~~~~~~~~~~~ | | | pthread_t {aka unsigned int} ../spice-common/common/log.h:96:84: note: in definition of macro 'spice_debug' 96 | spice_log(SPICE_LOG_DOMAIN, SPICE_LOG_LEVEL_DEBUG, SPICE_STRLOC, __FUNCTION__, format, ## __VA_ARGS__); \ | ^~~~~~ red_channel.c:984:54: note: format string is defined here 984 | spice_debug("channel type %d id %d thread_id 0x%lx", | ~~^ | | | long unsigned int | %x red_channel.c: In function 'red_channel_remove_client': red_channel.c:1656:23: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'pthread_t' {aka 'unsigned int'} [-Wformat=] 1656 | spice_warning("channel type %d id %d - " | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 1661 | rcc->channel->thread_id, pthread_self()); | ~~~~~~~~~~~~~~~~~~~~~~~ | | | pthread_t {aka unsigned int} ../spice-common/common/log.h:102:86: note: in definition of macro 'spice_warning' 102 | spice_log(SPICE_LOG_DOMAIN, SPICE_LOG_LEVEL_WARNING, SPICE_STRLOC, __FUNCTION__, format, ## __VA_ARGS__); \ | ^~~~~~ red_channel.c:1656:23: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'pthread_t' {aka 'unsigned int'} [-Wformat=] 1656 | spice_warning("channel type %d id %d - " | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 1661 | rcc->channel->thread_id, pthread_self()); | ~~~~~~~~~~~~~~ | | | pthread_t {aka unsigned int} ../spice-common/common/log.h:102:86: note: in definition of macro 'spice_warning' 102 | spice_log(SPICE_LOG_DOMAIN, SPICE_LOG_LEVEL_WARNING, SPICE_STRLOC, __FUNCTION__, format, ## __VA_ARGS__); \ | ^~~~~~ red_channel.c: In function 'red_client_migrate': red_channel.c:1943:23: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'pthread_t' {aka 'unsigned int'} [-Wformat=] 1943 | spice_warning("client->thread_id (0x%lx) != pthread_self (0x%lx)." | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 1946 | client->thread_id, pthread_self()); | ~~~~~~~~~~~~~~~~~ | | | pthread_t {aka unsigned int} ../spice-common/common/log.h:102:86: note: in definition of macro 'spice_warning' 102 | spice_log(SPICE_LOG_DOMAIN, SPICE_LOG_LEVEL_WARNING, SPICE_STRLOC, __FUNCTION__, format, ## __VA_ARGS__); \ | ^~~~~~ red_channel.c:1943:47: note: format string is defined here 1943 | spice_warning("client->thread_id (0x%lx) != pthread_self (0x%lx)." | ~~^ | | | long unsigned int | %x red_channel.c:1943:23: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'pthread_t' {aka 'unsigned int'} [-Wformat=] 1943 | spice_warning("client->thread_id (0x%lx) != pthread_self (0x%lx)." | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 1946 | client->thread_id, pthread_self()); | ~~~~~~~~~~~~~~ | | | pthread_t {aka unsigned int} ../spice-common/common/log.h:102:86: note: in definition of macro 'spice_warning' 102 | spice_log(SPICE_LOG_DOMAIN, SPICE_LOG_LEVEL_WARNING, SPICE_STRLOC, __FUNCTION__, format, ## __VA_ARGS__); \ | ^~~~~~ red_channel.c:1943:71: note: format string is defined here 1943 | spice_warning("client->thread_id (0x%lx) != pthread_self (0x%lx)." | ~~^ | | | long unsigned int | %x red_channel.c: In function 'red_client_destroy': red_channel.c:1963:23: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'pthread_t' {aka 'unsigned int'} [-Wformat=] 1963 | spice_warning("client->thread_id (0x%lx) != pthread_self (0x%lx)." | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 1966 | client->thread_id, | ~~~~~~~~~~~~~~~~~ | | | pthread_t {aka unsigned int} ../spice-common/common/log.h:102:86: note: in definition of macro 'spice_warning' 102 | spice_log(SPICE_LOG_DOMAIN, SPICE_LOG_LEVEL_WARNING, SPICE_STRLOC, __FUNCTION__, format, ## __VA_ARGS__); \ | ^~~~~~ red_channel.c:1963:47: note: format string is defined here 1963 | spice_warning("client->thread_id (0x%lx) != pthread_self (0x%lx)." | ~~^ | | | long unsigned int | %x red_channel.c:1963:23: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'pthread_t' {aka 'unsigned int'} [-Wformat=] 1963 | spice_warning("client->thread_id (0x%lx) != pthread_self (0x%lx)." | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 1967 | pthread_self()); | ~~~~~~~~~~~~~~ | | | pthread_t {aka unsigned int} ../spice-common/common/log.h:102:86: note: in definition of macro 'spice_warning' 102 | spice_log(SPICE_LOG_DOMAIN, SPICE_LOG_LEVEL_WARNING, SPICE_STRLOC, __FUNCTION__, format, ## __VA_ARGS__); \ | ^~~~~~ red_channel.c:1963:71: note: format string is defined here 1963 | spice_warning("client->thread_id (0x%lx) != pthread_self (0x%lx)." | ~~^ | | | long unsigned int | %x --- dispatcher.lo --- CC dispatcher.lo gcc: warning: switch '-Wmudflap' is no longer supported --- red_dispatcher.lo --- CC red_dispatcher.lo --- main_dispatcher.lo --- CC main_dispatcher.lo --- red_dispatcher.lo --- gcc: warning: switch '-Wmudflap' is no longer supported --- main_dispatcher.lo --- gcc: warning: switch '-Wmudflap' is no longer supported --- red_memslots.lo --- CC red_memslots.lo gcc: warning: switch '-Wmudflap' is no longer supported --- red_parse_qxl.lo --- CC red_parse_qxl.lo --- red_worker.lo --- CC red_worker.lo --- red_parse_qxl.lo --- gcc: warning: switch '-Wmudflap' is no longer supported --- red_worker.lo --- gcc: warning: switch '-Wmudflap' is no longer supported --- reds.lo --- CC reds.lo --- red_parse_qxl.lo --- red_parse_qxl.c: In function 'red_get_image': red_parse_qxl.c:452:41: warning: taking the absolute value of unsigned type 'uint32_t' {aka 'unsigned int'} has no effect [-Wabsolute-value] 452 | bitmap_size = red->u.bitmap.y * abs(red->u.bitmap.stride); | ^~~ red_parse_qxl.c: In function 'red_get_native_drawable': red_parse_qxl.c:938:29: warning: taking address of packed member of 'struct QXLDrawable' may result in an unaligned pointer value [-Waddress-of-packed-member] 938 | red->release_info = &qxl->release_info; | ^~~~~~~~~~~~~~~~~~ red_parse_qxl.c: In function 'red_get_compat_drawable': red_parse_qxl.c:1021:29: warning: taking address of packed member of 'struct QXLCompatDrawable' may result in an unaligned pointer value [-Waddress-of-packed-member] 1021 | red->release_info = &qxl->release_info; | ^~~~~~~~~~~~~~~~~~ red_parse_qxl.c: In function 'red_get_update_cmd': red_parse_qxl.c:1169:29: warning: taking address of packed member of 'struct QXLUpdateCmd' may result in an unaligned pointer value [-Waddress-of-packed-member] 1169 | red->release_info = &qxl->release_info; | ^~~~~~~~~~~~~~~~~~ red_parse_qxl.c: In function 'red_get_message': red_parse_qxl.c:1198:26: warning: taking address of packed member of 'struct QXLMessage' may result in an unaligned pointer value [-Waddress-of-packed-member] 1198 | red->release_info = &qxl->release_info; | ^~~~~~~~~~~~~~~~~~ red_parse_qxl.c: In function 'red_get_surface_cmd': red_parse_qxl.c:1220:29: warning: taking address of packed member of 'struct QXLSurfaceCmd' may result in an unaligned pointer value [-Waddress-of-packed-member] 1220 | red->release_info = &qxl->release_info; | ^~~~~~~~~~~~~~~~~~ red_parse_qxl.c: In function 'red_get_cursor_cmd': red_parse_qxl.c:1301:29: warning: taking address of packed member of 'struct QXLCursorCmd' may result in an unaligned pointer value [-Waddress-of-packed-member] 1301 | red->release_info = &qxl->release_info; | ^~~~~~~~~~~~~~~~~~ red_parse_qxl.c: At top level: red_parse_qxl.c:367:18: warning: 'BITMAP_FMT_IS_RGB' defined but not used [-Wunused-const-variable=] 367 | static const int BITMAP_FMT_IS_RGB[] = {0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1}; | ^~~~~~~~~~~~~~~~~ --- reds.lo --- gcc: warning: switch '-Wmudflap' is no longer supported --- red_worker.lo --- red_worker.c: In function 'display_channel_marshall_migrate_data': red_worker.c:8786:41: warning: taking address of packed member of 'struct SpiceMigrateDataDisplay' may result in an unaligned pointer value [-Waddress-of-packed-member] 8786 | &display_data.glz_dict_data, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ red_worker.c: In function 'display_channel_handle_migrate_glz_dictionary': red_worker.c:10088:58: warning: taking address of packed member of 'struct SpiceMigrateDataDisplay' may result in an unaligned pointer value [-Waddress-of-packed-member] 10088 | &migrate_info->glz_dict_data)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- reds.lo --- reds.c: In function 'reds_link_free': reds.c:295:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 295 | RSA_free(link->tiTicketing.rsa); | ^~~~~~~~ In file included from /tmp/work/joyent/libspice/work/.buildlink/include/openssl/x509.h:38, from /tmp/work/joyent/libspice/work/.buildlink/include/openssl/pem.h:23, from reds.c:41: /tmp/work/joyent/libspice/work/.buildlink/include/openssl/rsa.h:303:28: note: declared here 303 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ reds.c: In function 'reds_send_link_ack': reds.c:1475:5: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1475 | if (!(link->tiTicketing.rsa = RSA_new())) { | ^~ /tmp/work/joyent/libspice/work/.buildlink/include/openssl/rsa.h:212:28: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ reds.c:1485:5: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1485 | RSA_generate_key_ex(link->tiTicketing.rsa, SPICE_TICKET_KEY_PAIR_LENGTH, link->tiTicketing.bn, | ^~~~~~~~~~~~~~~~~~~ /tmp/work/joyent/libspice/work/.buildlink/include/openssl/rsa.h:270:27: note: declared here 270 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ reds.c:1487:5: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1487 | link->tiTicketing.rsa_size = RSA_size(link->tiTicketing.rsa); | ^~~~ /tmp/work/joyent/libspice/work/.buildlink/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ reds.c:1489:5: warning: 'i2d_RSA_PUBKEY_bio' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1489 | i2d_RSA_PUBKEY_bio(bio, link->tiTicketing.rsa); | ^~~~~~~~~~~~~~~~~~ /tmp/work/joyent/libspice/work/.buildlink/include/openssl/x509.h:636:27: note: declared here 636 | OSSL_DEPRECATEDIN_3_0 int i2d_RSA_PUBKEY_bio(BIO *bp, const RSA *rsa); | ^~~~~~~~~~~~~~~~~~ reds.c: In function 'reds_handle_ticket': reds.c:1939:5: warning: 'RSA_private_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1939 | RSA_private_decrypt(link->tiTicketing.rsa_size, | ^~~~~~~~~~~~~~~~~~~ /tmp/work/joyent/libspice/work/.buildlink/include/openssl/rsa.h:301:5: note: declared here 301 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ reds.c: In function 'load_dh_params': reds.c:3139:5: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3139 | ret = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); | ^~~ /tmp/work/joyent/libspice/work/.buildlink/include/openssl/pem.h:76:11: note: declared here 76 | type *PEM_##readname##_##name(INTYPE *out, type **x, \ | ^~~~ /tmp/work/joyent/libspice/work/.buildlink/include/openssl/pem.h:274:10: note: in expansion of macro 'PEM_read_cb_fnsig' 274 | attr PEM_read_cb_fnsig(name, type, BIO, read_bio); | ^~~~~~~~~~~~~~~~~ /tmp/work/joyent/libspice/work/.buildlink/include/openssl/pem.h:338:5: note: in expansion of macro 'DECLARE_PEM_read_bio_attr' 338 | DECLARE_PEM_read_bio_attr(attr, name, type) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/joyent/libspice/work/.buildlink/include/openssl/pem.h:348:5: note: in expansion of macro 'DECLARE_PEM_read_attr' 348 | DECLARE_PEM_read_attr(attr, name, type) \ | ^~~~~~~~~~~~~~~~~~~~~ /tmp/work/joyent/libspice/work/.buildlink/include/openssl/pem.h:479:1: note: in expansion of macro 'DECLARE_PEM_rw_attr' 479 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ reds.c: In function 'reds_init_ssl': reds.c:3216:5: warning: 'TLSv1_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 3216 | ssl_method = TLSv1_method(); | ^~~~~~~~~~ In file included from reds.c:44: /tmp/work/joyent/libspice/work/.buildlink/include/openssl/ssl.h:2070:50: note: declared here 2070 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_method(void); /* TLSv1.0 */ | ^~~~~~~~~~~~ reds.c: In function 'vdi_port_read_buf_process': reds.c:713:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 713 | switch (res) { | ^~~~~~ reds.c:723:5: note: here 723 | case VDP_SERVER_PORT: | ^~~~ reds.c: In function 'vdi_port_read_one_msg_from_device': reds.c:797:31: warning: this statement may fall through [-Wimplicit-fallthrough=] 797 | state->read_state = VDI_PORT_READ_STATE_GET_BUFF; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reds.c:798:9: note: here 798 | case VDI_PORT_READ_STATE_GET_BUFF: { | ^~~~ reds.c:807:31: warning: this statement may fall through [-Wimplicit-fallthrough=] 807 | state->read_state = VDI_PORT_READ_STATE_READ_DATA; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reds.c:809:9: note: here 809 | case VDI_PORT_READ_STATE_READ_DATA: | ^~~~ reds.c: At top level: reds.c:3175:13: warning: 'pthreads_locking_callback' defined but not used [-Wunused-function] 3175 | static void pthreads_locking_callback(int mode, int type, const char *file, int line) | ^~~~~~~~~~~~~~~~~~~~~~~~~ reds.c:3167:22: warning: 'pthreads_thread_id' defined but not used [-Wunused-function] 3167 | static unsigned long pthreads_thread_id(void) | ^~~~~~~~~~~~~~~~~~ --- reds_sw_canvas.lo --- CC reds_sw_canvas.lo gcc: warning: switch '-Wmudflap' is no longer supported --- red_worker.lo --- In file included from red_worker.c:1644: In function 'pixmap_cache_reset', inlined from 'display_channel_marshall_reset_cache' at red_worker.c:8827:5, inlined from 'display_channel_send_item' at red_worker.c:9264:9: red_client_shared_cache.h:189:33: warning: array subscript is outside array bounds of 'SpiceWaitForChannel[0]' [-Warray-bounds=] 189 | sync_data->wait_list[wait_count].channel_type = SPICE_CHANNEL_DISPLAY; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from ../spice-common/common/generated_server_marshallers.h:2, from red_worker.c:58: ../spice-common/common/messages.h: In function 'display_channel_send_item': ../spice-common/common/messages.h:136:25: note: while referencing 'wait_list' 136 | SpiceWaitForChannel wait_list[0]; | ^~~~~~~~~ red_worker.c:8824:29: note: defined here 'wait' 8824 | SpiceMsgWaitForChannels wait; | ^~~~ In function 'pixmap_cache_reset', inlined from 'display_channel_marshall_reset_cache' at red_worker.c:8827:5, inlined from 'display_channel_send_item' at red_worker.c:9264:9: red_client_shared_cache.h:190:33: warning: array subscript is outside array bounds of 'SpiceWaitForChannel[0]' [-Warray-bounds=] 190 | sync_data->wait_list[wait_count].channel_id = i; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ../spice-common/common/messages.h: In function 'display_channel_send_item': ../spice-common/common/messages.h:136:25: note: while referencing 'wait_list' 136 | SpiceWaitForChannel wait_list[0]; | ^~~~~~~~~ red_worker.c:8824:29: note: defined here 'wait' 8824 | SpiceMsgWaitForChannels wait; | ^~~~ In function 'pixmap_cache_reset', inlined from 'display_channel_marshall_reset_cache' at red_worker.c:8827:5, inlined from 'display_channel_send_item' at red_worker.c:9264:9: red_client_shared_cache.h:191:33: warning: array subscript is outside array bounds of 'SpiceWaitForChannel[0]' [-Warray-bounds=] 191 | sync_data->wait_list[wait_count++].message_serial = cache->sync[i]; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ../spice-common/common/messages.h: In function 'display_channel_send_item': ../spice-common/common/messages.h:136:25: note: while referencing 'wait_list' 136 | SpiceWaitForChannel wait_list[0]; | ^~~~~~~~~ red_worker.c:8824:29: note: defined here 'wait' 8824 | SpiceMsgWaitForChannels wait; | ^~~~ In function 'display_channel_marshall_pixmap_sync', inlined from 'display_channel_send_item' at red_worker.c:9261:9: red_worker.c:8809:19: warning: array subscript 0 is outside array bounds of 'SpiceWaitForChannel[0]' [-Warray-bounds=] 8809 | wait.wait_list[0].channel_type = SPICE_CHANNEL_DISPLAY; | ~~~~~~~~~~~~~~^~~ ../spice-common/common/messages.h: In function 'display_channel_send_item': ../spice-common/common/messages.h:136:25: note: while referencing 'wait_list' 136 | SpiceWaitForChannel wait_list[0]; | ^~~~~~~~~ red_worker.c:8800:29: note: defined here 'wait' 8800 | SpiceMsgWaitForChannels wait; | ^~~~ In function 'display_channel_marshall_pixmap_sync', inlined from 'display_channel_send_item' at red_worker.c:9261:9: red_worker.c:8810:19: warning: array subscript 0 is outside array bounds of 'SpiceWaitForChannel[0]' [-Warray-bounds=] 8810 | wait.wait_list[0].channel_id = pixmap_cache->generation_initiator.client; | ~~~~~~~~~~~~~~^~~ ../spice-common/common/messages.h: In function 'display_channel_send_item': ../spice-common/common/messages.h:136:25: note: while referencing 'wait_list' 136 | SpiceWaitForChannel wait_list[0]; | ^~~~~~~~~ red_worker.c:8800:29: note: defined here 'wait' 8800 | SpiceMsgWaitForChannels wait; | ^~~~ In function 'display_channel_marshall_pixmap_sync', inlined from 'display_channel_send_item' at red_worker.c:9261:9: red_worker.c:8811:19: warning: array subscript 0 is outside array bounds of 'SpiceWaitForChannel[0]' [-Warray-bounds=] 8811 | wait.wait_list[0].message_serial = pixmap_cache->generation_initiator.message; | ~~~~~~~~~~~~~~^~~ ../spice-common/common/messages.h: In function 'display_channel_send_item': ../spice-common/common/messages.h:136:25: note: while referencing 'wait_list' 136 | SpiceWaitForChannel wait_list[0]; | ^~~~~~~~~ red_worker.c:8800:29: note: defined here 'wait' 8800 | SpiceMsgWaitForChannels wait; | ^~~~ In function 'display_begin_send_message', inlined from 'display_channel_send_item' at red_worker.c:9303:9: red_worker.c:8486:49: warning: array subscript 'sync_count' is outside the bounds of an interior zero-length array 'SpiceWaitForChannel[0]' [-Wzero-length-bounds] 8486 | free_list->wait.header.wait_list[sync_count].channel_type = SPICE_CHANNEL_DISPLAY; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ../spice-common/common/messages.h: In function 'display_channel_send_item': ../spice-common/common/messages.h:136:25: note: while referencing 'wait_list' 136 | SpiceWaitForChannel wait_list[0]; | ^~~~~~~~~ In function 'display_begin_send_message', inlined from 'display_channel_send_item' at red_worker.c:9303:9: red_worker.c:8487:49: warning: array subscript 'sync_count' is outside the bounds of an interior zero-length array 'SpiceWaitForChannel[0]' [-Wzero-length-bounds] 8487 | free_list->wait.header.wait_list[sync_count].channel_id = i; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ../spice-common/common/messages.h: In function 'display_channel_send_item': ../spice-common/common/messages.h:136:25: note: while referencing 'wait_list' 136 | SpiceWaitForChannel wait_list[0]; | ^~~~~~~~~ In function 'display_begin_send_message', inlined from 'display_channel_send_item' at red_worker.c:9303:9: red_worker.c:8488:49: warning: array subscript 'sync_count' is outside the bounds of an interior zero-length array 'SpiceWaitForChannel[0]' [-Wzero-length-bounds] 8488 | free_list->wait.header.wait_list[sync_count++].message_serial = free_list->sync[i]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ../spice-common/common/messages.h: In function 'display_channel_send_item': ../spice-common/common/messages.h:136:25: note: while referencing 'wait_list' 136 | SpiceWaitForChannel wait_list[0]; | ^~~~~~~~~ --- snd_worker.lo --- CC snd_worker.lo gcc: warning: switch '-Wmudflap' is no longer supported --- spicevmc.lo --- CC spicevmc.lo gcc: warning: switch '-Wmudflap' is no longer supported --- spice_timer_queue.lo --- CC spice_timer_queue.lo gcc: warning: switch '-Wmudflap' is no longer supported --- zlib_encoder.lo --- CC zlib_encoder.lo gcc: warning: switch '-Wmudflap' is no longer supported --- libspice-server.la --- CCLD libspice-server.la Making all in tests --- basic_event_loop.o --- --- test_display_base.o --- --- test_display_no_ssl.o --- CC test_display_no_ssl.o --- test_display_base.o --- CC test_display_base.o --- basic_event_loop.o --- CC basic_event_loop.o --- test_display_streaming.o --- CC test_display_streaming.o --- test_display_base.o --- test_display_base.c: In function 'test_spice_create_update_from_bitmap': test_display_base.c:186:29: warning: taking address of packed member of 'struct QXLDrawable' may result in an unaligned pointer value [-Waddress-of-packed-member] 186 | simple_set_release_info(&drawable->release_info, (intptr_t)update); | ^~~~~~~~~~~~~~~~~~~~~~~ test_display_base.c: In function 'test_spice_create_update_copy_bits': test_display_base.c:297:29: warning: taking address of packed member of 'struct QXLDrawable' may result in an unaligned pointer value [-Waddress-of-packed-member] 297 | simple_set_release_info(&drawable->release_info, (intptr_t)update); | ^~~~~~~~~~~~~~~~~~~~~~~ test_display_base.c: In function 'create_surface': test_display_base.c:333:29: warning: taking address of packed member of 'struct QXLSurfaceCmd' may result in an unaligned pointer value [-Waddress-of-packed-member] 333 | simple_set_release_info(&surface_cmd->release_info, (intptr_t)simple_cmd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ test_display_base.c: In function 'destroy_surface': test_display_base.c:351:29: warning: taking address of packed member of 'struct QXLSurfaceCmd' may result in an unaligned pointer value [-Waddress-of-packed-member] 351 | simple_set_release_info(&surface_cmd->release_info, (intptr_t)simple_cmd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ test_display_base.c: In function 'release_resource': test_display_base.c:627:13: warning: converting a packed 'QXLCommandExt' pointer (alignment 1) to a 'SimpleSpiceUpdate' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 627 | test_spice_destroy_update((void*)ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../server/spice.h:23, from test_display_base.c:13: ../../spice-common/spice-protocol/spice/qxl_dev.h:209:34: note: defined here 209 | typedef struct SPICE_ATTR_PACKED QXLCommandExt { | ^~~~~~~~~~~~~ test_display_base.c:27:16: note: defined here 27 | typedef struct SimpleSpiceUpdate { | ^~~~~~~~~~~~~~~~~ --- test_empty_success.o --- CC test_empty_success.o --- test_fail_on_null_core_interface.o --- CC test_fail_on_null_core_interface.o --- test_just_sockets_no_ssl.o --- CC test_just_sockets_no_ssl.o --- test_playback.o --- CC test_playback.o --- test_display_resolution_changes.o --- CC test_display_resolution_changes.o --- test_two_servers.o --- CC test_two_servers.o --- test_vdagent.o --- CC test_vdagent.o --- test_display_width_stride.o --- CC test_display_width_stride.o --- test_empty_success --- CCLD test_empty_success --- test_fail_on_null_core_interface --- --- test_just_sockets_no_ssl --- --- test_fail_on_null_core_interface --- CCLD test_fail_on_null_core_interface --- test_just_sockets_no_ssl --- CCLD test_just_sockets_no_ssl --- test_display_no_ssl --- CCLD test_display_no_ssl --- test_display_streaming --- CCLD test_display_streaming --- test_two_servers --- CCLD test_two_servers --- test_display_resolution_changes --- --- test_playback --- --- test_display_resolution_changes --- CCLD test_display_resolution_changes --- test_playback --- CCLD test_playback --- test_vdagent --- CCLD test_vdagent --- test_display_width_stride --- CCLD test_display_width_stride *** Please use pkgtools/verifypc to sanity check dependencies.