Re: "unable to read input" errors when testing cdb on Mac OS X

"Clemens Fischer" <[email protected]> 5 Jun 2004 04:01:11 +0200
Newsgroups gmane.comp.djb.cdb
Message-ID <[email protected]>
* Kevin Murphy:

> bash$ diff rts.exp rts.out
> 202c202
> < cdbmake: fatal: unable to create test.tmp: out of memory
> ---
>  > cdbmake: fatal: unable to read input: bad format

to me this looks like unexpected behaviour with mac OS-X.  you should be
careful, but this can simply mean that the tests "work", only the strings
returned don't fit the expected pattern.  if your independant tests pass,
cdb will propably not fail you.

what worries me more is that you get truncated files.  normally djb
software doesn't move bad files to their intended destination:  if some
requested output file comes into existence, a "good" version has been built
as a temp file prior to the renaming operation.

check memory limits both in cdb's make procedure and your account.  if
everything checks out otherwise, you could send a context diff of typical
mac OS-X output to the author.

  clemens