Opened 14 months ago

#68214 assigned defect

json-glib does not respect Macports arch flags

Reported by: barracuda156 Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: snowleopard, rosetta Cc:
Port: json-glib

Description

ld: warning: in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_json-glib/json-glib/work/build/json-glib/libjson-glib-1.0.dylib, file was built for ppc7400 which is not the architecture being linked (x86_64)
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/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)
ld: warning: in /opt/local/lib/libgirepository-1.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)
Undefined symbols:
  "_g_string_new", referenced from:
      _dump_object_type in Json-1.0.o
      _dump_fundamental_type in Json-1.0.o
  "_json_reader_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in Json-1.0.o
  "_json_array_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in Json-1.0.o
  "_g_module_symbol", referenced from:
      _invoke_get_type in Json-1.0.o
      _invoke_error_quark in Json-1.0.o
  "_g_output_stream_close", referenced from:
      _dump_irepository in Json-1.0.o
  "_g_set_error", referenced from:
      _invoke_get_type in Json-1.0.o
      _invoke_get_type in Json-1.0.o
      _invoke_error_quark in Json-1.0.o
      _dump_irepository in Json-1.0.o
  "_g_io_error_quark", referenced from:
      _invoke_get_type in Json-1.0.o
      _invoke_get_type in Json-1.0.o
      _invoke_error_quark in Json-1.0.o
      _dump_irepository in Json-1.0.o
  "_g_file_replace", referenced from:
      _dump_irepository in Json-1.0.o
  "_g_strsplit", referenced from:
      _dump_irepository in Json-1.0.o
  "_g_hash_table_new", referenced from:
      _dump_irepository in Json-1.0.o
  "_g_markup_vprintf_escaped", referenced from:
      _escaped_printf in Json-1.0.o
  "_g_module_open", referenced from:
      _dump_irepository in Json-1.0.o
  "_json_reader_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in Json-1.0.o
  "_g_object_class_list_properties", referenced from:
      _dump_properties in Json-1.0.o
  "_g_type_interface_prerequisites", referenced from:
      _dump_interface_type in Json-1.0.o
  "_json_object_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in Json-1.0.o
  "_g_input_stream_get_type", referenced from:
      _dump_irepository in Json-1.0.o
      _dump_irepository in Json-1.0.o
      _dump_irepository in Json-1.0.o
  "_json_node_type_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in Json-1.0.o
  "_g_hash_table_destroy", referenced from:
      _dump_irepository in Json-1.0.o
  "_g_output_stream_get_type", referenced from:
      _dump_irepository in Json-1.0.o
      _dump_irepository in Json-1.0.o
      _dump_irepository in Json-1.0.o
      _dump_irepository in Json-1.0.o
      _dump_irepository in Json-1.0.o
      _dump_irepository in Json-1.0.o
  "_g_strfreev", referenced from:
      _dump_irepository in Json-1.0.o
  "_g_free", referenced from:
      _escaped_printf in Json-1.0.o
      _dump_properties in Json-1.0.o
      _dump_signals in Json-1.0.o
      _dump_object_type in Json-1.0.o
      _dump_interface_type in Json-1.0.o
      _dump_fundamental_type in Json-1.0.o
      _dump_irepository in Json-1.0.o
      _dump_irepository in Json-1.0.o
      _dump_irepository in Json-1.0.o
      _dump_irepository in Json-1.0.o
  "_g_module_error", referenced from:
      _dump_irepository in Json-1.0.o
  "_g_string_insert_len", referenced from:
      _dump_object_type in Json-1.0.o
      _dump_fundamental_type in Json-1.0.o
  "_g_object_interface_list_properties", referenced from:
      _dump_properties in Json-1.0.o
  "_json_parser_error_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in Json-1.0.o
  "_json_parser_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in Json-1.0.o
  "_g_clear_error", referenced from:
      _escaped_printf in Json-1.0.o
      _goutput_write in Json-1.0.o
  "_json_path_error_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in Json-1.0.o
  "_g_string_free", referenced from:
      _dump_object_type in Json-1.0.o
      _dump_fundamental_type in Json-1.0.o
  "_json_node_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in Json-1.0.o
  "_g_signal_query", referenced from:
      _dump_signals in Json-1.0.o
  "_g_type_fundamental", referenced from:
      _dump_properties in Json-1.0.o
      _dump_type in Json-1.0.o
  "_g_data_input_stream_new", referenced from:
      _dump_irepository in Json-1.0.o
  "_json_path_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in Json-1.0.o
  "_g_type_default_interface_ref", referenced from:
      _dump_properties in Json-1.0.o
  "_json_parser_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in Json-1.0.o
  "_g_strchomp", referenced from:
      _dump_irepository in Json-1.0.o
  "_g_log", referenced from:
      _escaped_printf in Json-1.0.o
      _goutput_write in Json-1.0.o
  "_g_file_read", referenced from:
      _dump_irepository in Json-1.0.o
  "_json_serializable_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in Json-1.0.o
  "_g_type_interfaces", referenced from:
      _dump_object_type in Json-1.0.o
      _dump_fundamental_type in Json-1.0.o
  "_g_hash_table_insert", referenced from:
      _dump_irepository in Json-1.0.o
  "_g_str_has_prefix", referenced from:
      _main in Json-1.0.o
  "_g_data_input_stream_read_line", referenced from:
      _dump_irepository in Json-1.0.o
  "_g_type_check_instance_cast", referenced from:
      _dump_irepository in Json-1.0.o
      _dump_irepository in Json-1.0.o
      _dump_irepository in Json-1.0.o
      _dump_irepository in Json-1.0.o
      _dump_irepository in Json-1.0.o
      _dump_irepository in Json-1.0.o
      _dump_irepository in Json-1.0.o
      _dump_irepository in Json-1.0.o
      _dump_irepository in Json-1.0.o
  "_g_signal_list_ids", referenced from:
      _dump_signals in Json-1.0.o
  "_g_hash_table_lookup", referenced from:
      _dump_irepository in Json-1.0.o
  "_g_object_unref", referenced from:
      _dump_irepository in Json-1.0.o
      _dump_irepository in Json-1.0.o
      _dump_irepository in Json-1.0.o
      _dump_irepository in Json-1.0.o
  "_g_quark_to_string", referenced from:
      _dump_error_quark in Json-1.0.o
  "_json_builder_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in Json-1.0.o
  "_json_reader_error_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in Json-1.0.o
  "_g_string_insert_c", referenced from:
      _dump_object_type in Json-1.0.o
      _dump_fundamental_type in Json-1.0.o
  "_json_generator_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in Json-1.0.o
  "_g_string_append_len", referenced from:
      _dump_object_type in Json-1.0.o
      _dump_object_type in Json-1.0.o
      _dump_fundamental_type in Json-1.0.o
      _dump_fundamental_type in Json-1.0.o
  "_g_input_stream_close", referenced from:
      _dump_irepository in Json-1.0.o
      _dump_irepository in Json-1.0.o
  "_g_file_new_for_path", referenced from:
      _dump_irepository in Json-1.0.o
      _dump_irepository in Json-1.0.o
  "_g_type_parent", referenced from:
      _dump_object_type in Json-1.0.o
      _dump_object_type in Json-1.0.o
      _dump_fundamental_type in Json-1.0.o
      _dump_fundamental_type in Json-1.0.o
  "_json_path_error_quark", referenced from:
      _GI_ERROR_QUARK_FUNCS_ in Json-1.0.o
  "_g_type_class_ref", referenced from:
      _dump_properties in Json-1.0.o
      _dump_flags_type in Json-1.0.o
      _dump_enum_type in Json-1.0.o
  "_g_printerr", referenced from:
      _dump_irepository in Json-1.0.o
      _dump_irepository in Json-1.0.o
      _main in Json-1.0.o
      _main in Json-1.0.o
  "_g_type_test_flags", referenced from:
      _dump_object_type in Json-1.0.o
      _dump_object_type in Json-1.0.o
      _dump_fundamental_type in Json-1.0.o
      _dump_fundamental_type in Json-1.0.o
      _dump_fundamental_type in Json-1.0.o
  "_g_type_name", referenced from:
      _dump_properties in Json-1.0.o
      _dump_signals in Json-1.0.o
      _dump_signals in Json-1.0.o
      _dump_object_type in Json-1.0.o
      _dump_object_type in Json-1.0.o
      _dump_object_type in Json-1.0.o
      _dump_interface_type in Json-1.0.o
      _dump_interface_type in Json-1.0.o
      _dump_boxed_type in Json-1.0.o
      _dump_flags_type in Json-1.0.o
      _dump_enum_type in Json-1.0.o
      _dump_fundamental_type in Json-1.0.o
      _dump_fundamental_type in Json-1.0.o
      _dump_fundamental_type in Json-1.0.o
      _dump_fundamental_type in Json-1.0.o
  "_g_output_stream_write_all", referenced from:
      _escaped_printf in Json-1.0.o
      _goutput_write in Json-1.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_devel_json-glib/json-glib/work/build/tmp-introspectmvykgcis/Json-1.0', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_json-glib/json-glib/work/build/tmp-introspectmvykgcis/Json-1.0.o', '-L.', '-Wl,-rpath,.', '-L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_json-glib/json-glib/work/build/json-glib', '-Wl,-rpath,/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_json-glib/json-glib/work/build/json-glib', '-ljson-glib-1.0', '-lgio-2.0', '-lgobject-2.0', '-lglib-2.0', '-lintl', '-lgirepository-1.0', '-lgio-2.0', '-lgobject-2.0', '-lgmodule-2.0', '-lglib-2.0', '-lintl']' returned non-zero exit status 1.
ninja: build stopped: subcommand failed.

Change History (0)

Note: See TracTickets for help on using tickets.