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

remctl build failure on hurd

remctl failed to build on hurd because of two test suite failures.  I'd
love to get remctl working on the Hurd, but I don't have a great deal of
time to poke at this to understand the differences.  If someone who works
with the Hurd regularly is interested in helping, though, I'd be very
happy to make the required upstream changes, if any.

The two failures are that:

    marker = open("server-ready", O_CREAT | O_TRUNC, 0666);
    if (marker < 0)
        sysbail("cannot create marker file");

apparently failed with the error message:

    cannot create marker file: Invalid argument

which sounds like it's something specific to hurd, and the malloc tests
all failed.  The malloc tests are tests of handling of out-of-memory
conditions and have tended to be fragile.  They use setrlimit and then
attempt to allocate a large amount of memory to force the allocation to
fail.  I suspect the Hurd does something differently there, but I don't
know what.  The test cases already handle the allocations unexpectedly
succeeding.  I'd be very happy to apply a fix if someone knows what the
fix would be.

Thanks in advance!

Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>

Reply to: