Opened 16 years ago
Closed 16 years ago
#19593 closed defect (fixed)
gtk-builder-convert fails with python -> python2.3
Reported by: | ctempleton3@… | Owned by: | nox@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | jmroot (Joshua Root) | |
Port: | gtk2 |
Description
I am receiving the following failure message when building gnome-terminal.
$ sudo port install gnome-terminal ---> Fetching gnome-terminal ---> Verifying checksum(s) for gnome-terminal ---> Extracting gnome-terminal ---> Configuring gnome-terminal ---> Building gnome-terminal Error: Target org.macports.build returned: shell command " cd "/opt/local/var/ma cports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gn ome_gnome-terminal/work/gnome-terminal-2.26.1" && nice -n 5 make all " returned error 2 Command output: /opt/local/bin/gtk-builder-convert encodings-dialog.glade encodi ngs-dialog.ui ('Wrote', 'encodings-dialog.ui') /opt/local/bin/gtk-builder-convert keybinding-editor.glade keybinding-editor.ui ('Wrote', 'keybinding-editor.ui') /opt/local/bin/gtk-builder-convert profile-manager.glade profile-manager.ui ('Wrote', 'profile-manager.ui') /opt/local/bin/gtk-builder-convert profile-new-dialog.glade profile-new-dialog.u i ('Wrote', 'profile-new-dialog.ui') /opt/local/bin/gtk-builder-convert profile-preferences.glade profile-preferences .ui Traceback (most recent call last): File "/opt/local/bin/gtk-builder-convert", line 756, in ? sys.exit(main(sys.argv)) File "/opt/local/bin/gtk-builder-convert", line 744, in main conv.parse_file(input_filename) File "/opt/local/bin/gtk-builder-convert", line 161, in parse_file self._parse() File "/opt/local/bin/gtk-builder-convert", line 259, in _parse self._convert(node.getAttribute("class"), node) File "/opt/local/bin/gtk-builder-convert", line 298, in _convert self._default_widget_converter(node) File "/opt/local/bin/gtk-builder-convert", line 318, in _default_widget_conver ter self._convert_adjustment(prop) File "/opt/local/bin/gtk-builder-convert", line 535, in _convert_adjustment page_size=page_size) TypeError: update() takes no keyword arguments make[4]: *** [profile-preferences.ui] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing.
What should I do?
Change History (7)
comment:1 Changed 16 years ago by jmroot (Joshua Root)
Cc: | jmr@… added |
---|
comment:3 Changed 16 years ago by ctempleton3@…
I tried python26 and it built. How could you tell it was a python error?
comment:4 Changed 16 years ago by jmroot (Joshua Root)
It's a python-style traceback. So the build system probably just needs to be told to use a specific python version rather than just 'python'. I've done this in r50869. Does it now build with python23-apple selected?
comment:5 Changed 16 years ago by ctempleton3@…
Nope, it is failing again (I did a port self update before attempting to build again). I confirmed that the port file on my computer did have the line listed in the changeset.
comment:6 Changed 16 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to nox@… |
---|---|
Port: | gtk2 added; gnome-terminal gnome removed |
Summary: | gnome-terminal @2.26.1: Build Failure → gtk-builder-convert fails with python -> python2.3 |
Ah, I missed that the error is coming from gtk-builder-convert, which is installed by gtk2.
Note: See
TracTickets for help on using
tickets.
Looks like a python error. Are you using python_select, and if so, which version is selected?