Opened 14 years ago

Closed 14 years ago

#27610 closed defect (fixed)

PIDA: pygtk-codegen-2.0: command not found

Reported by: ndhaubanjar@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: PIDA

Description (last modified by mf2k (Frank Schima))

I am trying to install PIDA on mac using macports. All the dependencies installs fine but when it tries to build PIDA, it fails with the following message:

--->  Building PIDA
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for PIDA is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_PIDA/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

The log file shows the following message:

:info:build running build_py
:info:build running build_ext
:info:build pygtk-codegen-2.0 --prefix _moo_stub \
:info:build 		--register `pkg-config --variable=defsdir pygtk-2.0`/gtk-types.defs \
:info:build 		--register `pkg-config --variable=defsdir pygtk-2.0`/gdk-types.defs \
:info:build 		--override moo.override \
:info:build 		--outfilename moo-pygtk.c \
:info:build 		moo.defs > moo-pygtk.c.tmp && \
:info:build 		mv moo-pygtk.c.tmp moo-pygtk.c
:info:build /bin/sh: pygtk-codegen-2.0: command not found
:info:build make: *** [moo-pygtk.c] Error 127
:info:build Traceback (most recent call last):
:info:build   File "setup.py", line 100, in <module>
:info:build     description = PIDA_SHORT_DESCRIPTION,
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", line 152, in setup
:info:build     dist.run_commands()
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 987, in run_commands
:info:build     self.run_command(cmd)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 1007, in run_command
:info:build     cmd_obj.run()
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build.py", line 134, in run
:info:build     self.run_command(cmd_name)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/cmd.py", line 333, in run_command
:info:build     self.distribution.run_command(command)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 1007, in run_command
:info:build     cmd_obj.run()
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build_ext.py", line 340, in run
:info:build     self.build_extensions()
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build_ext.py", line 449, in build_extensions
:info:build     self.build_extension(ext)
:info:build   File "setup.py", line 35, in build_extension
:info:build     raise RuntimeError()
:info:build RuntimeError
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_PIDA/work/PIDA-0.5.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build " returned error 1
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for PIDA): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for PIDA is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_PIDA/main.log

Change History (7)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: PIDA removed
Port: PIDA added
Priority: HighNormal

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

Summary: PIDA installation on mac failsPIDA: pygtk-codegen-2.0: command not found

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

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

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

Resolution: fixed
Status: assignedclosed

Fixed in r74234 along with updating to 0.6.2.

comment:5 in reply to:  4 Changed 14 years ago by ndhaubanjar@…

Resolution: fixed
Status: closedreopened

Replying to ryandesign@…:

Fixed in r74234 along with updating to 0.6.2.

When I reinstall PIDA, I am still getting the same message. What do I have to do in order for this fix to work while installing PIDA?

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

Have you already run "sudo port selfupdate"?

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

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