Package: brian
Version: 1.2.2~svn2229-1
Severity: serious
Justification: fails to build from source

brian fails to build from source in environments (such as the i386
autobuilder on murphy) featuring unwritable home directories;
https://buildd.debian.org/fetch.cgi?pkg=brian&arch=i386&ver=1.2.2~svn2229-1&stamp=1297199320&file=log&as=raw
illustrates the failure:

> I: Running Brian unittests using python2.6
> /build/buildd-brian_1.2.2~svn2229-1-i386-Abge3H/brian-1.2.2~svn2229/debian/tmp/usr/lib/python2.6/dist-packages/brian/__init__.py:46:
>  UserWarning: Couldn't import pylab.
>   _warnings.warn("Couldn't import pylab.")
> Failure: OSError ([Errno 13] Permission denied: '/home/buildd') ... ERROR
> 
> ======================================================================
> ERROR: Failure: OSError ([Errno 13] Permission denied: '/home/buildd')
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/pymodules/python2.6/nose/loader.py", line 368, in 
> loadTestsFromName
>     module = resolve_name(addr.module)
>   File "/usr/lib/pymodules/python2.6/nose/util.py", line 334, in resolve_name
>     module = __import__('.'.join(parts_copy))
[...]
>   File "/usr/lib/python2.6/dist-packages/scipy/weave/catalog.py", line 126, 
> in create_dir
>     create_dir(base)
>   File "/usr/lib/python2.6/dist-packages/scipy/weave/catalog.py", line 129, 
> in create_dir
>     os.mkdir(p)
> OSError: [Errno 13] Permission denied: '/home/buildd'
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.003s
> 
> FAILED (errors=1)
> make[1]: *** [override_dh_auto_install] Error 1
> make[1]: Leaving directory 
> `/build/buildd-brian_1.2.2~svn2229-1-i386-Abge3H/brian-1.2.2~svn2229'
> make: *** [binary-arch] Error 2
> dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules binary-arch gave 
> error exit status 2

With any luck the offending module should at least honor HOME, which
you could arrange to set to a directory under brian's build tree.
Could you please look into it?

Thanks!

-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to