Opened 9 years ago

Last modified 9 years ago

#45430 new defect

openni needs python deps - error w/ python 3.4?

Reported by: kurthindenburg (Kurt Hindenburg) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: openni

Description

The portfile doesn't mention python but it is needed to at least build.

with python 3.4 selected:

DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Volumes_Projects_OtherSoftware_macports-trunk_dports_graphics_openni/openni/work/openni-1.5.7.10/Platform/Linux/CreateRedist" && ./RedistMaker'
DEBUG: Executing command line:  cd "/opt/local/var/macports/build/_Volumes_Projects_OtherSoftware_macports-trunk_dports_graphics_openni/openni/work/openni-1.5.7.10/Platform/Linux/CreateRedist" && ./RedistMaker 
  File "Redist_OpenNi.py", line 161
    print "failed to execute: " + cmd
                              ^
SyntaxError: Missing parentheses in call to 'print'
Command failed:  cd "/opt/local/var/macports/build/_Volumes_Projects_OtherSoftware_macports-trunk_dports_graphics_openni/openni/work/openni-1.5.7.10/Platform/Linux/CreateRedist" && ./RedistMaker 
Exit code: 1

I'll see if it works w/ python2.7

Change History (2)

comment:1 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

With python27, it gets farther - I need to install java

No Java runtime present, requesting install.

comment:2 in reply to:  description Changed 9 years ago by larryv (Lawrence Velázquez)

Replying to khindenburg@…:

with python 3.4 selected:

DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Volumes_Projects_OtherSoftware_macports-trunk_dports_graphics_openni/openni/work/openni-1.5.7.10/Platform/Linux/CreateRedist" && ./RedistMaker'
DEBUG: Executing command line:  cd "/opt/local/var/macports/build/_Volumes_Projects_OtherSoftware_macports-trunk_dports_graphics_openni/openni/work/openni-1.5.7.10/Platform/Linux/CreateRedist" && ./RedistMaker 
  File "Redist_OpenNi.py", line 161
    print "failed to execute: " + cmd
                              ^
SyntaxError: Missing parentheses in call to 'print'
Command failed:  cd "/opt/local/var/macports/build/_Volumes_Projects_OtherSoftware_macports-trunk_dports_graphics_openni/openni/work/openni-1.5.7.10/Platform/Linux/CreateRedist" && ./RedistMaker 
Exit code: 1

The build should be patched to explicitly use python2.7 then, or python2 at least.

Note: See TracTickets for help on using tickets.