Bug#814770: pvm: FTBFS on sparc64 - Unknown architecture!
Source: pvm
Version: 3.4.5-12.6
Severity: normal
User: debian-sparc@lists.debian.org
Usertags: sparc64
Hello!
pvm currently fails to build from source on sparc64 with the following error:
echo "#! /bin/sh" > lib/pvmgetarch
echo "echo `sh debian/getpvmarch`" >> lib/pvmgetarch
Unknown architecture!
chmod +x lib/pvmgetarch
chmod +x debian/getpvmarch
FC="gfortran" F77="gfortran" PVM_ROOT=`pwd` ./lib/aimk -here -f ./conf/`sh debian/getpvmarch`.def -f ./Makefile.aimk CFLOPTS='"-g -O2 -DRSHCOMMAND=\\\"/usr/lib/pvm3/bin/rsh\\\" -DPVMDPATH=\\\"pvmd\\\" -DPVMDFILE=\\\"/usr/bin/pvmd\\\" -DPVM_DEFAULT_ROOT=\\\"/usr/lib/pvm3\\\" -DOVERLOADHOST"' PVMDIR=`pwd` all
Unknown architecture!
aimk: no pvmgetarch - is $PVM_ROOT set correctly?
debian/rules:33: recipe for target 'build-stamp' failed
make: *** [build-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Looks like pvmgetarch [1] needs to be patched, although at first sight it looks that
$(uname -m) == sparc64 should be properly matched and therefore detected.
Anyone wants to have a go at this, I can NMU the package if necessary.
Cheers,
Adrian
> [1] http://sources.debian.net/src/pvm/3.4.5-12.6/lib/pvmgetarch/
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: