[Pkg-squeak-devel] Bug#804164: package squeak-vm FTBFS on various archs including mips64el

Jurica Stanojkovic Jurica.Stanojkovic at imgtec.com
Thu Nov 5 16:07:23 UTC 2015


Package: squeak-vm
Version: 1:4.10.2.2614-3
Severity: important
Tags: sid
User: debian-mips at lists.debian.org
Usertags: mips-patch


Hello,

package  squeak-vm 1:4.10.2.2614-3 FTBFS on mips64el (arm64,ppc64el...) with following message:

CMake Error at CMakeLists.txt:64 (STRING): string sub-command REGEX, mode REPLACE needs at least 6 arguments total to command. that is caused by
    unix/cmake/config.guess: unable to guess system type

mips64el:
https://buildd.debian.org/status/fetch.php?pkg=squeak-vm&arch=mips64el&ver=1%3A4.10.2.2614-3&stamp=1446063717

arm64:
https://buildd.debian.org/status/fetch.php?pkg=squeak-vm&arch=arm64&ver=1%3A4.10.2.2614-3&stamp=1446053238

ppc64el:
https://buildd.debian.org/status/fetch.php?pkg=squeak-vm&arch=mips64el&ver=1%3A4.10.2.2614-3&stamp=1446063717


Problem is with config.sub and config.guess that are bundled with package, files are to old (year 2002).
However those files are upgraded during build process, but VM_HOST is being resolved before update is done.

This problem is introduced with previous version of source: 1:4.10.2.2614-2.

Patch that I have attached does resolve this issue by delaying VM_HOST detection until it is needed for package build, which is after config.guess and config.sub files are already updated.

With this patch package was successfully built on mips64el

Please include this patch.

Thank you!

Regards,
Jurica


More information about the Pkg-squeak-devel mailing list