Bug#982852: Version comparison is too strict

Matthias Klose doko at debian.org
Mon Feb 15 13:04:16 GMT 2021


Package: src:arachne-pnr
Version: 0.1+20190728gitc40fb22-1
Tags: patch
Forwarded: https://github.com/YosysHQ/arachne-pnr/issues/121

$ /usr/bin/arachne-pnr -q -d 1k -p '../test cases/fpga/1 simple/spin.pcf'
spin.blif -o spin.asc
fatal error: chipdb and arachne-pnr versions do not match (chipdb: arachne-pnr
0.1+20180513git5d830dd (git sha1 5d830dd, g++ 7.3.0-25ubuntu1 -O2
-fdebug-prefix-map=/build/arachne-pnr-TdhGLh/arachne-pnr-0.1+20180513git5d830dd=.
-fstack-protector-strong -O2 -DNDEBUG), arachne-pnr: arachne-pnr
0.1+20180513git5d830dd (git sha1 5d830dd, g++ 7.3.0-25ubuntu1 -O2
-fdebug-prefix-map=/build/arachne-pnr-JRiZ2o/arachne-pnr-0.1+20180513git5d830dd=.
-fstack-protector-strong -O2 -DNDEBUG))


The difference is in the value of -fdebug-prefixmap which uses random temp
directories and thus will always be different, preventing use of arachne-pnr.

patch also at
https://patches.ubuntu.com/a/arachne-pnr/arachne-pnr_0.1+20180513git5d830dd-1ubuntu2.patch



More information about the debian-science-maintainers mailing list