[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#994423: pytorch-vision: FTBFS on armhf: Illegal instruction



Control: reassign -1 src:pytorch 1.7.1-7
Control: retitle -1 pytorch: Baseline violation on armhf
Control: affects -1 python3-torch src:pytorch-vision

On Wed, Sep 15, 2021 at 10:00:09PM +0200, Sebastian Ramacher wrote:
> Source: pytorch-vision
> Version: 0.8.2-1
> Severity: serious
> Tags: ftbfs sid bookworm
> Justification: fails to build from source (but built successfully in the past)
> X-Debbugs-Cc: sramacher@debian.org
> 
> | I: pybuild base:232: python3.9 setup.py clean 
> | Illegal instruction
> | E: pybuild pybuild:353: clean: plugin distutils failed with: exit code=132: python3.9 setup.py clean 
> | dh_auto_clean: error: pybuild --clean -i python{version} -p 3.9 returned exit code 13
> | make: *** [debian/rules:6: clean] Error 25
> 
> https://buildd.debian.org/status/fetch.php?pkg=pytorch-vision&arch=armhf&ver=0.8.2-1%2Bb1&stamp=1631302732&raw=0

The root cause is a baseline violation of pytorch on armhf
(NEON is not part of the armhf baseline):

(sid_armhf-dchroot)bunk@abel:~$ python3 
Python 3.9.7 (default, Sep 24 2021, 09:43:00) 
[GCC 10.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
Illegal instruction
(sid_armhf-dchroot)bunk@abel:~$ 

(bullseye_armhf-dchroot)bunk@abel:~$ python3
Python 3.9.2 (default, Feb 28 2021, 17:03:44) 
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
Illegal instruction
(bullseye_armhf-dchroot)bunk@abel:~$ 

> Cheers

cu
Adrian


Reply to: