The audio/py-shout build fails with the following compiler error when Python 2.4 is forced as the default Python version: # make PYTHON_VERSION=python2.4 PYTHON_DEFAULT_VERSION=python2.4 ===> WARNING: Vulnerability database out of date, checking anyway ===> License check disabled, port has not defined LICENSE ===> Extracting for py24-shout-0.2.1 => MD5 Checksum OK for shout-python-0.2.1.tar.gz. => SHA256 Checksum OK for shout-python-0.2.1.tar.gz. ===> Patching for py24-shout-0.2.1 ===> py24-shout-0.2.1 depends on file: /usr/local/bin/python2.4 - found ===> py24-shout-0.2.1 depends on shared library: shout.5 - found ===> Configuring for py24-shout-0.2.1 running config ===> Building for py24-shout-0.2.1 running build running build_ext building 'shout' extension creating build creating build/temp.freebsd-7.0-RELEASE-i386-2.4 cc -fno-strict-aliasing -DNDEBUG -O2 -fno-strict-aliasing -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -O2 -fno-strict-aliasing -pipe -fPIC -I/usr/local/include -I/usr/local/include/speex -I/usr/local/include/python2.4 -c shout.c -o build/temp.freebsd-7.0-RELEASE-i386-2.4/shout.o -D_THREAD_SAFE shout.c: In function 'pshoutobj_set_metadata': shout.c:442: error: 'Py_ssize_t' undeclared (first use in this function) shout.c:442: error: (Each undeclared identifier is reported only once shout.c:442: error: for each function it appears in.) shout.c:442: error: expected ';' before 'i' shout.c:453: error: 'i' undeclared (first use in this function) shout.c: In function 'pshoutobj_set_audio_info': shout.c:580: error: 'Py_ssize_t' undeclared (first use in this function) shout.c:580: error: expected ';' before 'i' shout.c:588: error: 'i' undeclared (first use in this function) error: command 'cc' failed with exit status 1 *** Error code 1 Stop in /usr/home/glarkin/FreeBSD/ports/audio/py-shout. The Py_ssize_t type is not supported in Python 2.4, so change the USE_PYTHON line in the port Makefile to only allow 2.5+. Port maintainer (duchateau.olivier@gmail.com) is cc'd. Generated with FreeBSD Port Tools 0.99
Responsible Changed From-To: freebsd-ports-bugs->freebsd-python freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
Maintainer of audio/py-shout, Please note that PR ports/149122 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/149122 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
State Changed From-To: feedback->closed Committed after maintainer timeout.
glarkin 2010-08-18 14:06:34 UTC FreeBSD ports repository Modified files: audio/py-shout Makefile Log: - Restrict Python version to 2.5+ to avoid compilation errors PR: ports/149122 Submitted by: glarkin Approved by: duchateau.olivier@gmail.com (maintainer; timeout - 20 days) Revision Changes Path 1.2 +1 -1 ports/audio/py-shout/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"