On Sun, Mar 30, 2014 at 06:39:49PM -0400, John David Anglin wrote:
> Package: e2fsprogs
> Version: 1.42.9-3
> Severity: serious
> Tags: patch
> Justification: fails to build from source (but built successfully in the past)
> 
> FTBFS:
> http://buildd.debian-ports.org/status/fetch.php?pkg=e2fsprogs&arch=hppa&ver=1.42.9-3&stamp=1395956210
> 
> On inspecting the generated header causing the build failure, I saw
> that it was truncated.  The attached patch fixes the problem by flushing
> stdout prior to exiting in the main program.

Huh?  This sounds like a dietlibc problem, and one which is specific
to hppa.  ANSI requires all output streams to be flushed on exit.

It's also not a problem on x86, so this is a hppa-specific bug,
apparently:

<tytso@closure> {/tmp}  
553% cat /tmp/foo.c

#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>

int main(int argc, char **argv)
{
        printf("Hello, world\n");
        return 0;
}
<tytso@closure> {/tmp}  
554% diet cc -o /tmp/foo /tmp/foo.c ; /tmp/foo
Hello, world

                                        - Ted


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to