[MacPorts] #27610: PIDA installation on mac fails

MacPorts noreply at macports.org
Tue Dec 7 20:09:45 PST 2010


#27610: PIDA installation on mac fails
-----------------------------------+----------------------------------------
 Reporter:  ndhaubanjar@…          |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  1.9.2                                
 Keywords:                         |        Port:  PIDA                                 
-----------------------------------+----------------------------------------
Changes (by macsforever2000@…):

  * priority:  High => Normal
  * keywords:  PIDA =>
  * port:  => PIDA


Old description:

> 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

New description:

 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
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/27610#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list