Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#13064 closed defect (worksforme)

py-vorbis fails to build on Leopard on MacBook Pro C2D

Reported by: nathan.stocks@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: vorbis Cc: nathan.stocks@…
Port: py-vorbis

Description (last modified by blb@…)

$ sudo port -vd install py-vorbis
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py-vorbis
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py-vorbis
DEBUG: Requested variant darwin is not provided by port py-vorbis.
DEBUG: Requested variant i386 is not provided by port py-vorbis.
DEBUG: Requested variant macosx is not provided by port py-vorbis.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python24
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python24
DEBUG: Requested variant i386 is not provided by port python24.
DEBUG: Requested variant macosx is not provided by port python24.
DEBUG: Executing variant darwin provides darwin
DEBUG: Executing variant darwin_9 provides darwin_9
DEBUG: Searching for dependency: python24
DEBUG: Found Dependency: receipt exists for python24
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/audio/libvorbis
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/audio/libvorbis
DEBUG: Requested variant darwin is not provided by port libvorbis.
DEBUG: Requested variant i386 is not provided by port libvorbis.
DEBUG: Requested variant macosx is not provided by port libvorbis.
DEBUG: Searching for dependency: libvorbis
DEBUG: Found Dependency: receipt exists for libvorbis
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py-ogg
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py-ogg
DEBUG: Requested variant darwin is not provided by port py-ogg.
DEBUG: Requested variant i386 is not provided by port py-ogg.
DEBUG: Requested variant macosx is not provided by port py-ogg.
DEBUG: Searching for dependency: py-ogg
DEBUG: Found Dependency: receipt exists for py-ogg
DEBUG: Skipping completed org.macports.main (py-vorbis)
DEBUG: Skipping completed org.macports.fetch (py-vorbis)
DEBUG: Skipping completed org.macports.checksum (py-vorbis)
DEBUG: Skipping completed org.macports.extract (py-vorbis)
DEBUG: Skipping completed org.macports.patch (py-vorbis)
DEBUG: Skipping completed org.macports.configure (py-vorbis)
--->  Building py-vorbis with target build
DEBUG: Executing org.macports.build (py-vorbis)
DEBUG: Environment: 
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-vorbis/work/pyvorbis-1.4" && /opt/local/bin/python2.4 setup.py build'
running build
running build_py
package init file 'src/__init__.py' not found (or not a regular file)
package init file 'src/__init__.py' not found (or not a regular file)
running build_ext
building 'vorbis' extension
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DVERSION="1.4" -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -c src/vorbismodule.c -o build/temp.macosx-10.3-i386-2.4/src/vorbismodule.o
In file included from src/vorbismodule.c:4:
src/vorbismodule.h:5:25: error: pyogg/pyogg.h: No such file or directory
src/vorbismodule.c:81: error: syntax error before '*' token
src/vorbismodule.c:81: warning: type defaults to 'int' in declaration of 'modinfo'
src/vorbismodule.c:81: warning: data definition has no type or storage class
src/vorbismodule.c: In function 'initvorbis':
src/vorbismodule.c:103: error: request for member 'Py_OggError' in something not a structure or union
error: command '/usr/bin/gcc-4.0' failed with exit status 1
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-vorbis/work/pyvorbis-1.4" && /opt/local/bin/python2.4 setup.py build " returned error 1
Command output: running build
running build_py
package init file 'src/__init__.py' not found (or not a regular file)
package init file 'src/__init__.py' not found (or not a regular file)
running build_ext
building 'vorbis' extension
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DVERSION="1.4" -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -c src/vorbismodule.c -o build/temp.macosx-10.3-i386-2.4/src/vorbismodule.o
In file included from src/vorbismodule.c:4:
src/vorbismodule.h:5:25: error: pyogg/pyogg.h: No such file or directory
src/vorbismodule.c:81: error: syntax error before '*' token
src/vorbismodule.c:81: warning: type defaults to 'int' in declaration of 'modinfo'
src/vorbismodule.c:81: warning: data definition has no type or storage class
src/vorbismodule.c: In function 'initvorbis':
src/vorbismodule.c:103: error: request for member 'Py_OggError' in something not a structure or union
error: command '/usr/bin/gcc-4.0' failed with exit status 1

Warning: the following items did not execute (for py-vorbis): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Change History (5)

comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: nathan.stocks@… added
Milestone: Port Bugs

comment:2 Changed 16 years ago by blb@…

Description: modified (diff)
Port: py-vorbis added

comment:3 Changed 16 years ago by blb@…

/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DVERSION="1.4" -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -c src/vorbismodule.c -o build/temp.macosx-10.3-i386-2.4/src/vorbismodule.o
In file included from src/vorbismodule.c:4:
src/vorbismodule.h:5:25: error: pyogg/pyogg.h: No such file or directory

pyogg/pyogg.h should be provided by py-ogg (which is a dependency). Do you have /opt/local/include/python2.4/pyogg/pyogg.h?

comment:4 Changed 16 years ago by blb@…

Resolution: worksforme
Status: newclosed

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.