Opened 20 years ago

Closed 20 years ago

Last modified 19 years ago

#1506 closed defect (fixed)

py-vorbis 1.3 build failure

Reported by: opendarwin-bugzilla@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

py-vorbis 1.3 won't build because it can't find my py-ogg installation: --- erikswanson@zefiris erikswanson $ sudo port install py-ogg Error: Target com.apple.install returned: Port py-ogg already registered as installed. erikswanson@zefiris erikswanson $ sudo port clean py-vorbis ---> Cleaning py-vorbis erikswanson@zefiris erikswanson $ sudo port install py-vorbis ---> Fetching py-vorbis ---> Verifying checksum for py-vorbis ---> Extracting py-vorbis ---> Configuring py-vorbis ---> Building py-vorbis with target build Error: Target com.apple.build returned: shell command "cd "/Users/erikswanson/darwinports/dports/ python/py-vorbis/work/pyvorbis-1.3" && CFLAGS=-logg python setup.py build" returned error 1 Command output: You must have the Ogg Python bindings installed in order to build and install these bindings. Import of ogg._ogg failed. ---

Change History (5)

comment:1 Changed 20 years ago by mww@…

shoud be fixed (?) now; prepare for more of these with the current code - I'm waiting for 'group code' patch to solve them once and for all.

Problem is that MacOS-X's python won't find the modules installed in darwinports prefix but will get used anyway...

[please mark as fixed if this works for you]

comment:2 Changed 20 years ago by mww@…

Owner: changed from darwinports-bugs@… to mww@…

oh and please assign bugs to the maintainer listed in the Portfile!

comment:3 Changed 20 years ago by opendarwin-bugzilla@…

It fails since I don't have an /opt/local/bin/python. If a secondary python installation for darwinports stuff is necessary, shouldn't it have been installed as a dep?: --- erikswanson@zefiris erikswanson $ sudo port install py-vorbis ---> Fetching py-vorbis ---> Verifying checksum for py-vorbis ---> Extracting py-vorbis ---> Configuring py-vorbis Error: Target com.apple.configure returned: configure failure: shell command "cd "/Users/erikswanson/ darwinports/dports/python/py-vorbis/work/pyvorbis-1.3" && /opt/local/bin/python config_unix.py -- prefix /opt/local" returned error 127 Command output: sh: line 1: /opt/local/bin/python: No such file or directory ---

comment:4 Changed 20 years ago by pavol.markovic@…

I can confirm the same bug also with py-ogg. I've manually changed all:

-${prefix}/bin/python +/usr/bin/env python

this has worked for py-ogg, but for py-vorbis, I've had to add

-build.env CFLAGS=-logg +build.env CFLAGS="-logg -I${prefix}/include/python2.3/"

still does not work because of multiple symbol definitions then.

But anyway, all those python extensions or OS X are pretty messy on Panther - those site-packages have to be installed in ~/Library/Python/2.3/site-packages to work with OS X python.

comment:5 Changed 20 years ago by mww@…

Resolution: fixed
Status: newclosed

switched py-ogg and py-vorbis to group code - this should finally fix this problem.

Note: See TracTickets for help on using tickets.