Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2007 20:18:21 GMT
From:      Chess Griffin <chess.griffin@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/116168: libgpod:  broken python bindings
Message-ID:  <200709062018.l86KILaQ051089@www.freebsd.org>
Resent-Message-ID: <200709062020.l86KK2J8088480@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709062018.l86KILaQ051089>