[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#751565: libc: clock regression from wheezy on kfreebsd



On Sat, Jun 14, 2014 at 12:10:15PM +0200, Sebastian Ramacher wrote:
> Package: libc0.1
> Version: 2.19-1
> Severity: important
> Control: block 751547 by -1
> 
> It seems that clock now always returns -1 on kfreebsd. Take the
> following example:
> 
> #include <time.h>
> #include <stdio.h>
> #include <stdint.h>
> #include <inttypes.h>
> 
> int main()
> {
>   clock_t t = clock();
>   printf("clock: %" PRIiMAX "\n", (intmax_t)t);
> }
> 
> Running it on falla in a sid chroot with 2.19-1 it always prints -1.
> In a wheezy chroot with libc0.1 2.13-38+deb7u1 it prints positive values
> instead. So somewhere between 2.13 and 2.19 clock support got broken on
> kfreebsd.
> 
> This issue causes python-crypto to FTBFS (#751547). #750668 looks
> related too.
> 
> Could you please take a look at this issue?

The regression is due to some "unused" files removed by upstream, which
were still in use by the kFreeBSD libc. I already have a first version
of a patch, but I am currently looking if some more files are missing
for other functionalities.

I'll commit it soon and plan to do an upload today or tomorrow.

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: