[Debian-med-packaging] Bug#818505: sortmerna FTBFS on !x86

Gert Wollny gw.fossdev at gmail.com
Mon Dec 12 08:55:59 UTC 2016


I think the best would be to restrict the package to amd64/i386/x32 and
add a preinst script that checks for sse2 support (see below). 

The only thing I wonder is whether there are legitimate cases wheer one
should be able to install the package non-functional.

Best, 
Gert 


>>>>

#/bin/sh 
set -e 

grep sse2 /dev/cpuinfo 2>&1 >/dev/null 

if "x$?" = "x1" ]; then 
 echo "Your CPU doesn't have SSE2 support, but this package requires"
 echo "it, aborting installation."
 exit 1
fi 

exit 0 

<<<<



More information about the Debian-med-packaging mailing list