Re: Subject=Re: Can a leaf package require SSE2 on i386?
On 15/09/2014 22:28, Barak A. Pearlmutter wrote:
> The package "ikarus", another programming language implementation,
> also requires SSE2 support.
> There is a check in the preinst script which aborts installation if
> sse2 is unavailable.
>
> case "$1" in
> install|upgrade)
> if egrep -q '^flags[[:space:]]*:.*\bsse2\b' /proc/cpuinfo; then
> # echo CPU instruction set extension sse2 confirmed
> true
> else
> echo "error: CPU flag sse2 not found, aborting installation"
> exit 1
> fi
> ;;
If this hack is really here, a bug should be filled. It is really a
pain when something breaks when installing (or upgrading) a bunch of
packages. This check should be moved at runtime. At install time,
display a debconf notice if you really want to, but do not
abruptly stop the installation without a really good reason (even
when you try to remove the running kernel, perhaps leading to un
unbootable system, you have the choice to abort or not)
Regards,
Vincent
>
> Cheers,
>
> --Barak.
>
>
--
Vincent Danjean GPG key ID 0xD17897FA vdanjean@debian.org
GPG key fingerprint: 621E 3509 654D D77C 43F5 CA4A F6AE F2AF D178 97FA
Unofficial pkgs: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo: deb http://people.debian.org/~vdanjean/debian unstable main
Reply to: