[Pkg-exppsy-maintainers] Bug#535699: nipy: FTBFS: Tries to write to $HOME during build

peter green plugwash at p10link.net
Sun Jul 5 02:30:22 UTC 2009


I tested this issue in my sid amd64 chroot as user nobody with a 
nonexistant homedir.

The homedir issue was easy enough to fix but then the build failed with 
what appeared to be problems caused by lack of a fortran compiler so I 
added gfortran to the build-dependencies and installed it.

however I then got a load of undefined reference errors (the last couple 
of which are copied below) and a failure to link

/nobody/nipy-0.1.2+1741/libfffpy/wrapper/fffpy.c:13: undefined reference 
to `PyE
rr_SetString'
/usr/lib/gcc/x86_64-linux-gnu/4.3.3/libgfortranbegin.a(fmain.o): In 
function `ma
in':
(.text+0x28): undefined reference to `MAIN__'
collect2: ld returned 1 exit status
error: Command "/usr/bin/gfortran -Wall 
/nobody/nipy-0.1.2+1741/./build/temp.lin
ux-x86_64-2.5/nipy/neurospin/bindings/linalg.o -L/usr/lib -L/usr/lib 
-L/nobody/n
ipy-0.1.2+1741/./build/temp.linux-x86_64-2.5 -lfffpy -llapack -lf77blas 
-lcblas
-latlas -llapack -lf77blas -lcblas -latlas -lgfortran -o 
/nobody/nipy-0.1.2+1741
/./build/lib.linux-x86_64-2.5/nipy/neurospin/bindings/linalg.so" failed 
with exi
t status 1
make: *** [debian/python-module-stampdir/python-nipy] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
nobody at debian:/nobody/nipy-0.1.2+1741$

I have attatched a patch with the changes I have made but have no idea 
how to troubleshoot this link error.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: nipy.diff
Type: text/x-diff
Size: 2121 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-maintainers/attachments/20090705/5a9f23ad/attachment.diff>


More information about the Pkg-exppsy-maintainers mailing list