[Python-modules-team] Bug#682408: pycg: FTBFS with nvidia-cg-toolkit (3.1.0013-1)

Andreas Beckmann debian at abeckmann.de
Sun Jul 22 13:51:11 UTC 2012


Package: pycg
Version: 0.14.1-2
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Hi,

I just noticed that pycg no longer builds in sid, probably due to the
updated nvidia-cg-toolkit:

 debian/rules build
test -d debian/patched || install -d debian/patched
dpatch  apply-all
applying patch 01_fix_makefile to ./ ... ok.
applying patch 02_fix_setup.py to ./ ... ok.
applying patch 30_move_from_numeric_to_numpy to ./ ... ok.
applying patch 40_no_link_to_python to ./ ... ok.
dpatch  cat-all  >>patch-stampT
mv -f patch-stampT patch-stamp
dh_testdir
[ ! -d build ] || rm -rf build
mkdir -p debian/python-cg/usr/lib/python2.6/dist-packages/
/usr/bin/make PYTHON_I=python2.6 PYTHON=python2.6 clean
make[1]: Entering directory `/tmp/buildd/pycg-0.14.1'
rm -f _Cg.so Cg.pyc Cg.py cg_wrap.c
rm -rf build dist
make[1]: Leaving directory `/tmp/buildd/pycg-0.14.1'
/usr/bin/make PYTHON_I=python2.6 PYTHON=python2.6
make[1]: Entering directory `/tmp/buildd/pycg-0.14.1'
swig -python -I/usr/include/python2.6 -Iinclude -I. -Inumpy cg.i
cg.i:186: Warning 121: %name is deprecated.  Use %rename instead.
cg.i:194: Warning 121: %name is deprecated.  Use %rename instead.
gcc -fpic -g -Wall -shared -o _Cg.so cg_wrap.c -I/usr/include/python2.6 -Iinclude -I. -Inumpy -lCgGL -lCg -lGL
cg_wrap.c: In function '_wrap_cgGLSetParameterPointer':
cg_wrap.c:8246:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
cg_wrap.c:8248:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
cg_wrap.c: In function 'init_Cg':
cg_wrap.c:10617:69: error: 'CG_PROFILE_START' undeclared (first use in this function)
cg_wrap.c:10617:69: note: each undeclared identifier is reported only once for each function it appears in
cg_wrap.c:10627:67: error: 'CG_PROFILE_MAX' undeclared (first use in this function)
cg_wrap.c:10142:21: warning: variable 'md' set but not used [-Wunused-but-set-variable]
make[1]: *** [_Cg.so] Error 1
make[1]: Leaving directory `/tmp/buildd/pycg-0.14.1'
make: *** [build-python2.6] Error 2

I'm adding Miguel to Cc: as he might know a bit more about the CG
toolkit than I.
If this package is fixable, should we (the Debian Nvidia Maintainers)
take it over? It's currently orphaned and probably tightly coupled to
nvidia-cg-toolkit.


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pycg_0.log.gz
Type: application/x-gzip
Size: 5929 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20120722/9a5bd9b8/attachment.bin>


More information about the Python-modules-team mailing list