Your message dated Fri, 15 Jan 2016 14:33:46 +0100
with message-id <[email protected]>
and subject line builds correctly now
has caused the Debian Bug report #700004,
regarding src:chicken: FTBFS on x32: wrongly assumes that __x86_64__ implies 64 
bits
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
700004: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700004
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Version: 4.9.0.1-1

Hi!
The FTBFS was on 4.8.0, 4.9.0 builds correctly.  Too bad, for whatever
reason it's currently set as Not-For-Us, but I just asked the wb-team to
drop that flag.

In any case, this patch is obsolete and doesn't apply.

-- 
A tit a day keeps the vet away.

--- End Message ---

Reply via email to