From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 6 20:20:03 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC12516A420 for ; Thu, 6 Sep 2007 20:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CD41F13C45E for ; Thu, 6 Sep 2007 20:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l86KK2UZ088481 for ; Thu, 6 Sep 2007 20:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l86KK2J8088480; Thu, 6 Sep 2007 20:20:02 GMT (envelope-from gnats) Resent-Date: Thu, 6 Sep 2007 20:20:02 GMT Resent-Message-Id: <200709062020.l86KK2J8088480@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Chess Griffin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E47F16A417 for ; Thu, 6 Sep 2007 20:18:22 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id E77FC13C480 for ; Thu, 6 Sep 2007 20:18:21 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l86KILFO051090 for ; Thu, 6 Sep 2007 20:18:21 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l86KILaQ051089; Thu, 6 Sep 2007 20:18:21 GMT (envelope-from nobody) Message-Id: <200709062018.l86KILaQ051089@www.freebsd.org> Date: Thu, 6 Sep 2007 20:18:21 GMT From: Chess Griffin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/116168: libgpod: broken python bindings X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2007 20:20:03 -0000 >Number: 116168 >Category: ports >Synopsis: libgpod: broken python bindings >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 06 20:20:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Chess Griffin >Release: 7.0-CURRENT >Organization: >Environment: FreeBSD bsdbob.localdomain 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Mon Jul 30 06:25:50 EDT 2007 root@bsdbob.localdomain:/usr/obj/usr/src/sys/CNG i386 >Description: I know from looking at the Makefile for audio/libgpod that Python support is disabled since something appears to be broken. I would like to have this Python support for libgpod for another port I am working on, so I commented out the "#CONFIGURE_ARGS= --without-python" in the Makefile to see what would happen. As expected the install failed, see partial script output below. My question is: is there any way we can fix this? :-) The problem seems to be in the Makefile in the /src/bindings/python/ directory. There are several "python -o" lines and the output treats these as errors. It says "unknown option: -o". Anyway, here is the pertinent part of the script output: gmake[5]: Entering directory `/usr/ports/audio/libgpod/work/libgpod-0.5.2/bindings/python' python -o gpod.py gpod.i Unknown option: -o usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ... Try `python -h' for more information. gmake[5]: [gpod.py] Error 2 (ignored) python -I../../src -o gpod_wrap.c gpod.i Unknown option: -I usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ... Try `python -h' for more information. gmake[5]: [gpod_wrap.c] Error 2 (ignored) if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -Wall -I/usr/local/include/gtk-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fno-strict-aliasing -I../../src -I/usr/local/include -O1 -pipe -march=pentium4 -MT _gpod_la-gpod_wrap.lo -MD -MP -MF ".deps/_gpod_la-gpod_wrap.Tpo" \ -c -o _gpod_la-gpod_wrap.lo `test -f 'gpod_wrap.c' || echo './'`gpod_wrap.c; \ then mv -f ".deps/_gpod_la-gpod_wrap.Tpo" ".deps/_gpod_la-gpod_wrap.Plo"; \ else rm -f ".deps/_gpod_la-gpod_wrap.Tpo"; exit 1; \ fi mkdir .libs cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -Wall -I/usr/local/include/gtk-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fno-strict-aliasing -I../../src -I/usr/local/include -O1 -pipe -march=pentium4 -MT _gpod_la-gpod_wrap.lo -MD -MP -MF .deps/_gpod_la-gpod_wrap.Tpo -c ./gpod_wrap.c -fPIC -DPIC -o .libs/_gpod_la-gpod_wrap.o cc: ./gpod_wrap.c: No such file or directory cc: No input files specified gmake[5]: *** [_gpod_la-gpod_wrap.lo] Error 1 gmake[5]: Leaving directory `/usr/ports/audio/libgpod/work/libgpod-0.5.2/bindings/python' gmake[4]: *** [all-recursive] Error 1 gmake[4]: Leaving directory `/usr/ports/audio/libgpod/work/libgpod-0.5.2/bindings/python' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/usr/ports/audio/libgpod/work/libgpod-0.5.2/bindings/python' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/audio/libgpod/work/libgpod-0.5.2/bindings' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/audio/libgpod/work/libgpod-0.5.2' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/audio/libgpod. >How-To-Repeat: Build audio/libgpod with Python support enabled. >Fix: >Release-Note: >Audit-Trail: >Unformatted: