Bug#566671: Patch

gregor herrmann gregoa at debian.org
Tue Mar 23 22:19:41 UTC 2010


clone 566671 -1
reassign -1 nvidia-cg-toolkit-installer
severity -1 normal
retitle -1 http_proxy handling
thanks

On Sun, 14 Mar 2010 16:00:31 +0100, Johann Felix Soden wrote:

> A simple patch which should solve the purge problem is attached.

True, but the package FTBFS for me:

Setting up nvidia-cg-toolkit (2.1.0017.deb1+nmu1) ...
Failed to download NVIDIA Cg Toolkit.
Downloading http://developer.download.nvidia.com/cg/Cg_2.1/2.1.0017/Cg-2.1_February2009_x86.tgz on the i386 architecture.
403 Sorry, not allowed to fetch that type of file: Cg-2.1_February2009_x86.tgz
[..]
checking for cgCreateProgram in -lCg... no
configure: error: 
        ****************************************************************
        * You do not have the nVidia Cg libraries installed.           *
        * Go to http://developer.nvidia.com/object/cg_toolkit.html     *
        * (Click on Cg_Linux.tar.gz).                                  *
        * You can disable the building of Cg support by providing      *
        * --disable-cg to this configure script but this is highly     *
        * discouraged as this breaks many of the examples.             *
        ****************************************************************
make: *** [configure-stamp] Error 1


Ah, I think I see the problem: nvidia-cg-toolkit-installer, when
called in nvidia-cg-toolkit's postinst, uses the http_proxy setting
in my chroot (which points to an apt proxy on the LAN) and therefore
fails to download the tarball. -- Without http_proxy it indeed works.

I think nvidia-cg-toolkit-installer/the postinst should be a bit
cleverer with handling http proxies ...

Cheers,
gregor, cloning a new bug

-- 
 .''`.   http://info.comodo.priv.at/ -- GPG Key IDs: 0x8649AA06, 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: U2: Stay (Faraway, So Close!)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20100323/8136a7dc/attachment.pgp>


More information about the Pkg-games-devel mailing list