Opened 2 years ago

Last modified 22 months ago

#64769 closed defect

gobject-introspection @1.70.0/1.72.0 is broken for ppc/ppc64 — at Version 8

Reported by: barracuda156 Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: powerpc, snowleopard, rosetta, leopard, ppc64 Cc: evanmiller (Evan Miller)
Port: gobject-introspection meson

Description (last modified by barracuda156)

This is on 10.6.8 Rosetta:

ld: warning: in /opt/local/lib/libgio-2.0.dylib, file is not of required architecture
ld: warning: in /opt/local/lib/libgobject-2.0.dylib, file is not of required architecture
ld: warning: in /opt/local/lib/libgmodule-2.0.dylib, file is not of required architecture
ld: warning: in /opt/local/lib/libglib-2.0.dylib, file is not of required architecture
ld: warning: in /opt/local/lib/libintl.dylib, file is not of required architecture
Undefined symbols:
  "_g_string_new", referenced from:
      _dump_object_type in GLib-2.0.o
      _dump_fundamental_type in GLib-2.0.o
  "_g_spawn_exit_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_variant_parser_get_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_file_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_spawn_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_regex_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_option_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_string_append", referenced from:
      _dump_object_type in GLib-2.0.o
      _dump_fundamental_type in GLib-2.0.o
  "_g_io_channel_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_module_symbol", referenced from:
      _invoke_get_type in GLib-2.0.o
      _invoke_error_quark in GLib-2.0.o
  "_g_main_context_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_checksum_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_output_stream_close", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_set_error", referenced from:
      _invoke_get_type in GLib-2.0.o
      _invoke_get_type in GLib-2.0.o
      _invoke_error_quark in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
  "_g_variant_type_get_gtype", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_array_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_option_group_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_hash_table_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_io_error_quark", referenced from:
      _invoke_get_type in GLib-2.0.o
      _invoke_get_type in GLib-2.0.o
      _invoke_error_quark in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
  "_g_file_replace", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_strsplit", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_hash_table_new", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_markup_vprintf_escaped", referenced from:
      _escaped_printf in GLib-2.0.o
  "_g_key_file_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_module_open", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_date_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_object_class_list_properties", referenced from:
      _dump_properties in GLib-2.0.o
  "_g_type_interface_prerequisites", referenced from:
      _dump_interface_type in GLib-2.0.o
  "_g_number_parser_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_mapped_file_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_date_time_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_input_stream_get_type", referenced from:
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
  "_g_error_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_hash_table_destroy", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_output_stream_get_type", referenced from:
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
  "_g_time_zone_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_variant_builder_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_strfreev", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_byte_array_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_free", referenced from:
      _escaped_printf in GLib-2.0.o
      _dump_properties in GLib-2.0.o
      _dump_signals in GLib-2.0.o
      _dump_object_type in GLib-2.0.o
      _dump_interface_type in GLib-2.0.o
      _dump_fundamental_type in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
  "_g_module_error", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_object_interface_list_properties", referenced from:
      _dump_properties in GLib-2.0.o
  "_g_regex_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_gstring_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_clear_error", referenced from:
      _escaped_printf in GLib-2.0.o
      _goutput_write in GLib-2.0.o
  "_g_bytes_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_string_free", referenced from:
      _dump_object_type in GLib-2.0.o
      _dump_fundamental_type in GLib-2.0.o
  "_g_unix_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_convert_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_match_info_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_markup_parse_context_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_variant_parse_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_variant_dict_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_signal_query", referenced from:
      _dump_signals in GLib-2.0.o
  "_g_thread_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_type_fundamental", referenced from:
      _dump_properties in GLib-2.0.o
      _dump_type in GLib-2.0.o
  "_g_data_input_stream_new", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_type_default_interface_ref", referenced from:
      _dump_properties in GLib-2.0.o
  "_g_strchomp", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_shell_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_bookmark_file_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_log", referenced from:
      _escaped_printf in GLib-2.0.o
      _goutput_write in GLib-2.0.o
  "_g_file_read", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_type_interfaces", referenced from:
      _dump_object_type in GLib-2.0.o
      _dump_fundamental_type in GLib-2.0.o
  "_g_hash_table_insert", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_str_has_prefix", referenced from:
      _main in GLib-2.0.o
  "_g_main_loop_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_io_channel_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_thread_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_data_input_stream_read_line", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_type_check_instance_cast", referenced from:
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
  "_g_signal_list_ids", referenced from:
      _dump_signals in GLib-2.0.o
  "_g_key_file_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_hash_table_lookup", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_object_unref", referenced from:
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
  "_g_quark_to_string", referenced from:
      _dump_error_quark in GLib-2.0.o
  "_g_pollfd_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_string_insert_c", referenced from:
      _g_string_append_c_inline in GLib-2.0.o
  "_g_strv_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_ptr_array_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_input_stream_close", referenced from:
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
  "_g_io_condition_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_file_new_for_path", referenced from:
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
  "_g_type_parent", referenced from:
      _dump_object_type in GLib-2.0.o
      _dump_object_type in GLib-2.0.o
      _dump_fundamental_type in GLib-2.0.o
      _dump_fundamental_type in GLib-2.0.o
  "_g_type_class_ref", referenced from:
      _dump_properties in GLib-2.0.o
      _dump_flags_type in GLib-2.0.o
      _dump_enum_type in GLib-2.0.o
  "_g_printerr", referenced from:
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _main in GLib-2.0.o
      _main in GLib-2.0.o
  "_g_type_test_flags", referenced from:
      _dump_object_type in GLib-2.0.o
      _dump_fundamental_type in GLib-2.0.o
      _dump_fundamental_type in GLib-2.0.o
  "_g_type_name", referenced from:
      _dump_properties in GLib-2.0.o
      _dump_signals in GLib-2.0.o
      _dump_signals in GLib-2.0.o
      _dump_object_type in GLib-2.0.o
      _dump_object_type in GLib-2.0.o
      _dump_object_type in GLib-2.0.o
      _dump_interface_type in GLib-2.0.o
      _dump_interface_type in GLib-2.0.o
      _dump_boxed_type in GLib-2.0.o
      _dump_flags_type in GLib-2.0.o
      _dump_enum_type in GLib-2.0.o
      _dump_fundamental_type in GLib-2.0.o
      _dump_fundamental_type in GLib-2.0.o
      _dump_fundamental_type in GLib-2.0.o
      _dump_fundamental_type in GLib-2.0.o
  "_g_output_stream_write_all", referenced from:
      _escaped_printf in GLib-2.0.o
      _goutput_write in GLib-2.0.o
  "_g_markup_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_source_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

In fact those libraries are of correct arch (ppc).

On 10.5.8 it also fails:

ld warning: in /opt/local/lib/libgio-2.0.dylib, file is not of required architecture
ld warning: in /opt/local/lib/libgobject-2.0.dylib, file is not of required architecture
ld warning: in /opt/local/lib/libgmodule-2.0.dylib, file is not of required architecture
ld warning: in /opt/local/lib/libglib-2.0.dylib, file is not of required architecture
Undefined symbols:
  "_g_data_input_stream_new", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_markup_vprintf_escaped", referenced from:
      _escaped_printf in GLib-2.0.o
  "_g_type_check_instance_cast", referenced from:
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
  "_g_output_stream_write_all", referenced from:
      _escaped_printf in GLib-2.0.o
      _goutput_write in GLib-2.0.o
  "_g_string_append", referenced from:
      _dump_object_type in GLib-2.0.o
      _dump_fundamental_type in GLib-2.0.o
  "_g_checksum_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_signal_list_ids", referenced from:
      _dump_signals in GLib-2.0.o
  "_g_main_loop_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_module_symbol", referenced from:
      _invoke_get_type in GLib-2.0.o
      _invoke_error_quark in GLib-2.0.o
  "_g_quark_to_string", referenced from:
      _dump_error_quark in GLib-2.0.o
  "_g_object_class_list_properties", referenced from:
      _dump_properties in GLib-2.0.o
  "_g_output_stream_get_type", referenced from:
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
  "_g_object_unref", referenced from:
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
  "_g_object_interface_list_properties", referenced from:
      _dump_properties in GLib-2.0.o
  "_g_ptr_array_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_input_stream_close", referenced from:
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
  "_g_file_read", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_source_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_type_interface_prerequisites", referenced from:
      _dump_interface_type in GLib-2.0.o
  "_g_hash_table_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_pollfd_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_type_class_ref", referenced from:
      _dump_properties in GLib-2.0.o
      _dump_flags_type in GLib-2.0.o
      _dump_enum_type in GLib-2.0.o
  "_g_strsplit", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_module_open", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_input_stream_get_type", referenced from:
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
  "_g_spawn_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_type_default_interface_ref", referenced from:
      _dump_properties in GLib-2.0.o
  "_g_variant_type_get_gtype", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_byte_array_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_hash_table_new", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_type_name", referenced from:
      _dump_properties in GLib-2.0.o
      _dump_signals in GLib-2.0.o
      _dump_signals in GLib-2.0.o
      _dump_object_type in GLib-2.0.o
      _dump_object_type in GLib-2.0.o
      _dump_object_type in GLib-2.0.o
      _dump_interface_type in GLib-2.0.o
      _dump_interface_type in GLib-2.0.o
      _dump_boxed_type in GLib-2.0.o
      _dump_flags_type in GLib-2.0.o
      _dump_enum_type in GLib-2.0.o
      _dump_fundamental_type in GLib-2.0.o
      _dump_fundamental_type in GLib-2.0.o
      _dump_fundamental_type in GLib-2.0.o
      _dump_fundamental_type in GLib-2.0.o
  "_g_markup_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_io_channel_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_strfreev", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_free", referenced from:
      _escaped_printf in GLib-2.0.o
      _dump_properties in GLib-2.0.o
      _dump_signals in GLib-2.0.o
      _dump_object_type in GLib-2.0.o
      _dump_interface_type in GLib-2.0.o
      _dump_fundamental_type in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
  "_g_error_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_clear_error", referenced from:
      _escaped_printf in GLib-2.0.o
      _goutput_write in GLib-2.0.o
  "_g_option_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_main_context_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_key_file_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_bookmark_file_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_date_time_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_file_replace", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_unix_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_match_info_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_type_fundamental", referenced from:
      _dump_properties in GLib-2.0.o
      _dump_type in GLib-2.0.o
  "_g_variant_dict_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_string_free", referenced from:
      _dump_object_type in GLib-2.0.o
      _dump_fundamental_type in GLib-2.0.o
  "_g_output_stream_close", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_mapped_file_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_io_condition_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_set_error", referenced from:
      _invoke_get_type in GLib-2.0.o
      _invoke_get_type in GLib-2.0.o
      _invoke_error_quark in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
  "_g_convert_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_str_has_prefix", referenced from:
      _main in GLib-2.0.o
  "_g_bytes_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_variant_parse_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_thread_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_type_interfaces", referenced from:
      _dump_object_type in GLib-2.0.o
      _dump_fundamental_type in GLib-2.0.o
  "_g_string_new", referenced from:
      _dump_object_type in GLib-2.0.o
      _dump_fundamental_type in GLib-2.0.o
  "_g_number_parser_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_markup_parse_context_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_shell_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_data_input_stream_read_line", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_strchomp", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_log", referenced from:
      _escaped_printf in GLib-2.0.o
      _goutput_write in GLib-2.0.o
  "_g_time_zone_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_io_error_quark", referenced from:
      _invoke_get_type in GLib-2.0.o
      _invoke_get_type in GLib-2.0.o
      _invoke_error_quark in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
  "_g_module_error", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_key_file_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_variant_builder_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_thread_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_gstring_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_spawn_exit_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_file_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_array_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_regex_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_date_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_strv_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_type_test_flags", referenced from:
      _dump_object_type in GLib-2.0.o
      _dump_fundamental_type in GLib-2.0.o
      _dump_fundamental_type in GLib-2.0.o
  "_g_variant_parser_get_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_string_insert_c", referenced from:
      _g_string_append_c_inline in GLib-2.0.o
  "_g_type_parent", referenced from:
      _dump_object_type in GLib-2.0.o
      _dump_object_type in GLib-2.0.o
      _dump_fundamental_type in GLib-2.0.o
      _dump_fundamental_type in GLib-2.0.o
  "_g_regex_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_io_channel_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in GLib-2.0.o
  "_g_hash_table_insert", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_hash_table_destroy", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_printerr", referenced from:
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
      _main in GLib-2.0.o
      _main in GLib-2.0.o
  "_g_signal_query", referenced from:
      _dump_signals in GLib-2.0.o
  "_g_hash_table_lookup", referenced from:
      _dump_irepository in GLib-2.0.o
  "_g_option_group_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in GLib-2.0.o
  "_g_file_new_for_path", referenced from:
      _dump_irepository in GLib-2.0.o
      _dump_irepository in GLib-2.0.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
linking of temporary binary failed: Command '['/usr/bin/gcc-4.2', '-o', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/tmp-introspectifpql7m8/GLib-2.0', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/tmp-introspectifpql7m8/GLib-2.0.o', '-lgio-2.0', '-lgobject-2.0', '-lgmodule-2.0', '-lglib-2.0', '-lintl', '-lglib-2.0', '-lgobject-2.0']' returned non-zero exit status 1.
ninja: build stopped: subcommand failed.
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build" && /opt/local/bin/ninja -j4 -v 
Exit code: 1
Error: Failed to build gobject-introspection: command execution failed

Change History (10)

Changed 2 years ago by barracuda156

Attachment: main.log added

comment:1 Changed 2 years ago by mascguy (Christopher Nielsen)

Cc: evanmiller added
Owner: set to mascguy
Status: newassigned

comment:2 in reply to:  description ; Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to barracuda156:

ld: warning: in /opt/local/lib/libgio-2.0.dylib, file is not of required architecture
ld: warning: in /opt/local/lib/libgobject-2.0.dylib, file is not of required architecture
ld: warning: in /opt/local/lib/libgmodule-2.0.dylib, file is not of required architecture
ld: warning: in /opt/local/lib/libglib-2.0.dylib, file is not of required architecture
ld: warning: in /opt/local/lib/libintl.dylib, file is not of required architecture

In fact those libraries are of correct arch (ppc).

Let's verify that.

For what architecture are they installed?

lipo -info /opt/local/lib/lib{gio-2.0,gobject-2.0,gmodule-2.0,glib-2.0,intl}.dylib

For what architecture does MacPorts think they are installed?

port -qv installed $(port -q provides /opt/local/lib/lib{gio-2.0,gobject-2.0,gmodule-2.0,glib-2.0,intl}.dylib | sort -u)

comment:3 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicate #64788.

comment:4 Changed 2 years ago by mascguy (Christopher Nielsen)

I've been trying to follow your other tickets, though it's challenging given the sheer number of them.

In any case, are you absolutely sure this isn't caused by architecture mismatches, etc, brought up in the other tickets?

comment:5 in reply to:  2 Changed 2 years ago by barracuda156

Replying to ryandesign:

Replying to barracuda156:

ld: warning: in /opt/local/lib/libgio-2.0.dylib, file is not of required architecture
ld: warning: in /opt/local/lib/libgobject-2.0.dylib, file is not of required architecture
ld: warning: in /opt/local/lib/libgmodule-2.0.dylib, file is not of required architecture
ld: warning: in /opt/local/lib/libglib-2.0.dylib, file is not of required architecture
ld: warning: in /opt/local/lib/libintl.dylib, file is not of required architecture

In fact those libraries are of correct arch (ppc).

Let's verify that.

For what architecture are they installed?

lipo -info /opt/local/lib/lib{gio-2.0,gobject-2.0,gmodule-2.0,glib-2.0,intl}.dylib

For what architecture does MacPorts think they are installed?

port -qv installed $(port -q provides /opt/local/lib/lib{gio-2.0,gobject-2.0,gmodule-2.0,glib-2.0,intl}.dylib | sort -u)

Sorry for delay. Problem is still there. Here is the output:

macmini:~ svacchanda$ lipo -info /opt/local/lib/lib{gio-2.0,gobject-2.0,gmodule-2.0,glib-2.0,intl}.dylib
Non-fat file: /opt/local/lib/libgio-2.0.dylib is architecture: ppc7400
Non-fat file: /opt/local/lib/libgobject-2.0.dylib is architecture: ppc7400
Non-fat file: /opt/local/lib/libgmodule-2.0.dylib is architecture: ppc7400
Non-fat file: /opt/local/lib/libglib-2.0.dylib is architecture: ppc7400
Non-fat file: /opt/local/lib/libintl.dylib is architecture: ppc7400
macmini:~ svacchanda$ port -qv installed $(port -q provides /opt/local/lib/lib{gio-2.0,gobject-2.0,gmodule-2.0,glib-2.0,intl}.dylib | sort -u)
  gettext-runtime @0.21_0 (active) requested_variants='' platform='darwin 10' archs='ppc' date='2022-03-11T13:32:15+0800'
  glib2 @2.64.6_1+x11 (active) requested_variants='' platform='darwin 10' archs='ppc' date='2022-03-17T01:06:38+0800'

comment:6 in reply to:  4 Changed 2 years ago by barracuda156

Replying to mascguy:

I've been trying to follow your other tickets, though it's challenging given the sheer number of them.

In any case, are you absolutely sure this isn't caused by architecture mismatches, etc, brought up in the other tickets?

I have installed Macports on 10.6.8 as ppc-only and all ports are built for ppc. If at all there is some arch mismatch, it is a result of software error. In this case it might be the issue that meson confuses ppc and ppc7400. Of course I have not deliberately configured any port for ppc7400.

comment:7 Changed 2 years ago by barracuda156

Summary: gobject-introspection fails to upgrade to @1.70.0 on 10.6.8 Rosettagobject-introspection fails to upgrade to @1.70.0/1.72.0 on 10.6.8 Rosetta

Changed 2 years ago by barracuda156

Attachment: main_1.72.0_Rosetta.log added

comment:8 Changed 2 years ago by barracuda156

Description: modified (diff)
Keywords: leopard ppc64 added
Summary: gobject-introspection fails to upgrade to @1.70.0/1.72.0 on 10.6.8 Rosettagobject-introspection @1.70.0/1.72.0 is broken for ppc/ppc64
Version: 2.7.12.7.2
Note: See TracTickets for help on using tickets.