Control: reassign -1 swi-prolog-core Control: retitle -1 intermediary files embed arch-specific path Control: affects -1 eye
Quoting Adrian Bunk (2022-08-20 23:16:06) > On Sat, Mar 05, 2022 at 08:41:47PM +0100, Paul Gevers wrote: > > Source: eye > > Version: 19.0221.2026~ds-1 > > Severity: serious > > User: debian...@lists.debian.org > > Usertags: fails-always > > > > Dear maintainer(s), > > > > You package has an autopkgtest, great. However, it fails on all > > architectures but amd64. Can you please investigate the situation and fix > > it? > >... > > # Failed test 'bare command, stderr' > > # at debian/tests/eye.pvm.t line 11. > > # '/usr/bin/eye.pvm: 3: exec: > > /usr/lib/swi-prolog/bin/x86_64-linux/swipl: not found > >... > > The autopkgtest caught that the package is not functional on !amd64: > > (buster_arm64-dchroot)bunk@amdahl:/tmp$ eye.pvm > /usr/bin/eye.pvm: 3: exec: /usr/lib/swi-prolog/bin/x86_64-linux/swipl: not > found > (buster_arm64-dchroot)bunk@amdahl:/tmp$ > > Changing Architecture: from "all" to "any" might be a reasonable option. In my understanding, this is a bug in SWI Prolog, in that when generating a so-called "intermediate code file" it embeds an arch-specific path to the interpreter instead of the arch-independent symlink in PATH: /usr/bin/swipl @Lev: What do you think? Is it possible to patch SWI Prolog to embed an architecture-agnostic path for executing intermediary files? - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature