Package: src:chicken Version: 4.8.0-1 Severity: normal Tags: patch Justification: fails to build from source
In chicken.h, the following line: # if defined (__alpha__) || defined(__ia64__) || defined(__x86_64__) || defined(__LP64__) || defined(__powerpc64__) contains both a zoology of systems, and the actual feature it is looking for. The zoology is wrong: if the CPU is capable of 64 bit code, this does not mean that the architecture you're building for has 64 bit pointers. Because of compatibility with plenty of code that assumes sizeof(long) == sizeof(void*), x32 has longs of only 32 bits. What you want to check here, is whether longs are 64 bit. A fix: change that line to: # ifdef __LP64__ This lets chicken build on both amd64 and x32. -- System Information: Debian Release: 7.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: x32 (x86_64) Kernel: Linux 3.7.1-x32 (SMP w/6 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org