Opened 3 years ago

Closed 2 years ago

#64769 closed defect (fixed)

gobject-introspection @1.70.0/1.72.0 is broken for ppc/ppc64

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

Attachments (3)

main.log (1.1 MB) - added by barracuda156 3 years ago.
main_1.72.0_Rosetta.log (1.1 MB) - added by barracuda156 3 years ago.
main_10.5.8_ppc64.log (3.0 MB) - added by barracuda156 3 years ago.
1.70.0 and 1.72.0 fail on Leopard

Change History (16)

Changed 3 years ago by barracuda156

Attachment: main.log added

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

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

comment:2 in reply to:  description ; Changed 3 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 3 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicate #64788.

comment:4 Changed 3 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 3 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 3 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 3 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 3 years ago by barracuda156

Attachment: main_1.72.0_Rosetta.log added

comment:8 Changed 3 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

comment:9 in reply to:  2 Changed 3 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)

In fact it is broken on 10.5.8 too, at least when building for ppc64:

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

Yet libs are of correct arch:

36-109:~ svacchanda$ port -v installed glib2
The following ports are currently installed:
  glib2 @2.62.6_2+x11 requested_variants='-universal' platform='darwin 9' archs='ppc' date='2021-12-22T12:28:22+0800'
  glib2 @2.64.6_0+x11 requested_variants='' platform='darwin 9' archs='ppc' date='2021-12-29T16:07:42+0800'
  glib2 @2.64.6_1+x11 (active) requested_variants='-universal' platform='darwin 9' archs='ppc64' date='2022-03-08T06:30:55+0800'
36-109:~ svacchanda$ lipo -info /opt/local/lib/lib{gio-2.0,gobject-2.0,gmodule-2.0,glib-2.0,intl}.dylib
Architectures in the fat file: /opt/local/lib/libintl.dylib are: ppc7400 ppc64 
Non-fat file: /opt/local/lib/libgio-2.0.dylib is architecture: ppc64
Non-fat file: /opt/local/lib/libgobject-2.0.dylib is architecture: ppc64
Non-fat file: /opt/local/lib/libgmodule-2.0.dylib is architecture: ppc64
Non-fat file: /opt/local/lib/libglib-2.0.dylib is architecture: ppc64
36-109:~ 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 requested_variants='-universal' platform='darwin 9' archs='ppc' date='2021-12-22T11:57:25+0800'
  gettext-runtime @0.21_0+universal (active) requested_variants='+universal' platform='darwin 9' archs='ppc ppc64' date='2021-12-21T05:57:00+0800'
  glib2 @2.62.6_2+x11 requested_variants='-universal' platform='darwin 9' archs='ppc' date='2021-12-22T12:28:22+0800'
  glib2 @2.64.6_0+x11 requested_variants='' platform='darwin 9' archs='ppc' date='2021-12-29T16:07:42+0800'
  glib2 @2.64.6_1+x11 (active) requested_variants='-universal' platform='darwin 9' archs='ppc64' date='2022-03-08T06:30:55+0800'

Changed 3 years ago by barracuda156

Attachment: main_10.5.8_ppc64.log added

1.70.0 and 1.72.0 fail on Leopard

comment:10 Changed 3 years ago by barracuda156

On 10.6.8 I am getting this now when trying to build @1.72.0:

:notice:build --->  Building gobject-introspection
:debug:build Executing org.macports.build (gobject-introspection)
:debug:build Environment: 
:debug:build CC='/usr/bin/gcc-4.2'
:debug:build CC_PRINT_OPTIONS='YES'
:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/.CC_PRINT_OPTIONS'
:debug:build CPATH='/opt/local/include'
:debug:build DEVELOPER_DIR='/Developer'
:debug:build LIBRARY_PATH='/opt/local/lib'
:debug:build MACOSX_DEPLOYMENT_TARGET='10.6'
:info:build Executing:  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 
:debug:build system:  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 
:info:build ninja: error: '/opt/local/include/gio-unix-2.0/gio/gunixconnection.h', needed by 'gir/Gio-2.0.gir', missing and no known rule to make it
:info:build 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 
:info:build Exit code: 1
:error:build Failed to build gobject-introspection: command execution failed
:debug:build Error code: CHILDSTATUS 26789 1
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"

After adding --cross-file=ppc-darwin, I am back to:

ld: warning: in /opt/local/lib/libgio-2.0.dylib, file was built for ppc7400 which is not the architecture being linked (x86_64)
ld: warning: in /opt/local/lib/libgobject-2.0.dylib, file was built for ppc7400 which is not the architecture being linked (x86_64)
ld: warning: in /opt/local/lib/libgmodule-2.0.dylib, file was built for ppc7400 which is not the architecture being linked (x86_64)
ld: warning: in /opt/local/lib/libglib-2.0.dylib, file was built for ppc7400 which is not the architecture being linked (x86_64)
ld: warning: in /opt/local/lib/libintl.dylib, file was built for ppc7400 which is not the architecture being linked (x86_64)
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_tree_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_uri_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ 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_uri_error_quark", referenced from:
      _GI_ERROR_QUARK_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_pattern_spec_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_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_object_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_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
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-introspect11gjnhf8/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-introspect11gjnhf8/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
Last edited 3 years ago by barracuda156 (previous) (diff)

comment:11 Changed 3 years ago by barracuda156

  1. S. Apparently this is a meson issue and not gobject-introspection as such. Opened a ticket with upstream: https://github.com/mesonbuild/meson/issues/10351
Last edited 3 years ago by barracuda156 (previous) (diff)

comment:12 Changed 3 years ago by mascguy (Christopher Nielsen)

Port: meson added

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

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.