On Friday 04 May 2007 05:59:08 Steve Langasek wrote:

> The latest version of checkinstall is failing to build on alpha and ia64
> because you are build-depending on libc6-dev, which is not the right
> package on these archs (or on non-Linux archs).

I didn't know that. I'm sorry for the inconvenience.

> If there is a reason you 
> need this versioned build-dep on libc6-dev (which is not explained in the
> changelog),

It (sort of) is explained: the last line in the changelog says:
  * Correct the readlink definition to match the newer 2.5 glibc: now return
    a ssize_t instead of an int.

I think it is necessary since (I think) this changes the ABI: readlink in 2.5 
returns a ssize_t whereas previously it returned an int. This causes no 
problem when sizeof(ssize_t) == sizeof(int) (which is the case in i386), but 
it causes a FTBFS when used in 64 bit archs. This change was made because 
there were bugs reported upstream for a FTBFS on 64 bit archs.

> please fix the build-dep to be architecture-conditional, 
> build-depending on libc6.1-dev on alpha and ia64 instead of on libc6-dev.

The versions should be the same? I am not sure how the arch-dependant 
dependencies work, I have changed them to read the following:

libc6-dev (>= 2.5) [!alpha,!ia64], libc6.1-dev (>= 2.5) [alpha, ia64]


Shouldn't I be taking into account the kFreeBSD and Hurd ports too? If so, 
which tags should I use in the build-dep line?


-- 

        Felipe Sateler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to