Opened 14 years ago

Closed 14 years ago

#28042 closed defect (fixed)

gconf @2.32.0: universal variant fails to compile

Reported by: watsodw Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: universal Cc: ryandesign (Ryan Carsten Schmidt)
Port: gconf

Description (last modified by jmroot (Joshua Root))

Upgrading to latest gconf fails with error:

:info:build g-ir-scanner: link: /bin/sh ../libtool --mode=link --tag=CC --silent gcc -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gconf/work/GConf-2.32.0-i386/gconf/tmp-introspect2UT184/GConf-2.0 -export-dynamic -L. -L/opt/local/lib libgconf-2.la -L/opt/local/lib -lgio-2.0 -lz -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gconf/work/GConf-2.32.0-i386/gconf/tmp-introspect2UT184/GConf-2.0.o
:info:build Traceback (most recent call last):
:info:build   File "/opt/local/bin/g-ir-scanner", line 45, in <module>
:info:build     sys.exit(scanner_main(sys.argv))
:info:build   File "/opt/local/lib/gobject-introspection/giscanner/scannermain.py", line 405, in scanner_main
:info:build     shlibs = create_binary(transformer, options, args)
:info:build   File "/opt/local/lib/gobject-introspection/giscanner/scannermain.py", line 309, in create_binary
:info:build     gdump_parser.get_get_type_functions())
:info:build   File "/opt/local/lib/gobject-introspection/giscanner/dumper.py", line 238, in compile_introspection_binary
:info:build     return dc.run()
:info:build   File "/opt/local/lib/gobject-introspection/giscanner/dumper.py", line 140, in run
:info:build     self._link(bin_path, o_path)
:info:build   File "/opt/local/lib/gobject-introspection/giscanner/dumper.py", line 233, in _link
:info:build     subprocess.check_call(args)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 488, in check_call
:info:build     raise CalledProcessError(retcode, cmd)
:info:build subprocess.CalledProcessError: Command '['/bin/sh', '../libtool', '--mode=link', '--tag=CC', '--silent', 'gcc', '-o', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gconf/work/GConf-2.32.0-i386/gconf/tmp-introspect2UT184/GConf-2.0', '-export-dynamic', '-L.', '-L/opt/local/lib', 'libgconf-2.la', '-L/opt/local/lib', '-lgio-2.0', '-lz', '-lgobject-2.0', '-lgmodule-2.0', '-lgthread-2.0', '-lglib-2.0', '-lintl', '-liconv', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gconf/work/GConf-2.32.0-i386/gconf/tmp-introspect2UT184/GConf-2.0.o']' returned non-zero exit status 1
:info:build make[3]: *** [GConf-2.0.gir] Error 1
:info:build make[2]: *** [all] Error 2
:info:build make[1]: *** [all-recursive] Error 1
:info:build make: *** [all] Error 2

Attachments (1)

main.log (313.5 KB) - added by watsodw 14 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Description: modified (diff)
Port: gconf added

Please remember to preview and use WikiFormatting (or better, use an attachment for lengthy output), and to fill in the Port field.

Changed 14 years ago by watsodw

Attachment: main.log added

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

Keywords: universal added
Summary: gconf fails to compilegconf @2.32.0: universal variant fails to compile

Yes, I agree, gconf's universal variant is broken with version 2.32.0. The actual relevant error from the log is not what you pasted, but:

:info:build ld: warning: in ./.libs/libgconf-2.dylib, file was built for i386 which is not the architecture being linked (x86_64)
:info:build Undefined symbols:
:info:build   "_gconf_client_get_type", referenced from:
:info:build       _GI_GET_TYPE_FUNCS_ in GConf-2.0.o
:info:build   "_gconf_value_type_get_type", referenced from:
:info:build       _GI_GET_TYPE_FUNCS_ in GConf-2.0.o
:info:build   "_gconf_error_get_type", referenced from:
:info:build       _GI_GET_TYPE_FUNCS_ in GConf-2.0.o
:info:build   "_gconf_client_preload_type_get_type", referenced from:
:info:build       _GI_GET_TYPE_FUNCS_ in GConf-2.0.o
:info:build   "_gconf_change_set_get_type", referenced from:
:info:build       _GI_GET_TYPE_FUNCS_ in GConf-2.0.o
:info:build   "_gconf_unset_flags_get_type", referenced from:
:info:build       _GI_GET_TYPE_FUNCS_ in GConf-2.0.o
:info:build   "_gconf_client_error_handling_mode_get_type", referenced from:
:info:build       _GI_GET_TYPE_FUNCS_ in GConf-2.0.o
:info:build   "_gconf_entry_get_type", referenced from:
:info:build       _GI_GET_TYPE_FUNCS_ in GConf-2.0.o
:info:build   "_gconf_value_get_type", referenced from:
:info:build       _GI_GET_TYPE_FUNCS_ in GConf-2.0.o
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status

You can install it non-universal for now, or if you need universal, revert to the previous version.

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

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed

gconf has been reverted to the previous version for other reasons.

Note: See TracTickets for help on using tickets.