Bug#814770: pvm: FTBFS on sparc64 - Unknown architecture!

2016-05-09 Thread James Clarke
On Mon, Feb 15, 2016 at 10:41:37AM +0100, John Paul Adrian Glaubitz wrote:
> 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.

The Debian package overwrites lib/pvmgetarch to call debian/getpvmarch, which
doesn’t currently handle sparc64.

> Anyone wants to have a go at this, I can NMU the package if necessary.

Please see the (tiny!) attached debdiff (built successfully on u164.east.ru).

Regards,
James


pvm-sparc64.diff
Description: Binary data


signature.asc
Description: Message signed with OpenPGP using GPGMail


Bug#814770: pvm: FTBFS on sparc64 - Unknown architecture!

2016-02-15 Thread Steinar H. Gunderson
On Mon, Feb 15, 2016 at 10:41:37AM +0100, John Paul Adrian Glaubitz wrote:
> 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.

I believe the best thing at this point is that I orphan pvm. Do you want to
do it in your NMU, or should I do it?

/* Steinar */
-- 
Homepage: https://www.sesse.net/



Bug#814770: pvm: FTBFS on sparc64 - Unknown architecture!

2016-02-15 Thread John Paul Adrian Glaubitz
Source: pvm
Version: 3.4.5-12.6
Severity: normal
User: debian-sp...@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 - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913