[Pkg-db-devel] Bug#437742: Bug#437742: Bug#437742: Bug#437742: libdb4.6: FTBFS on arm: in testsuite, run_subsystem: env env007: db open:invalid argument

Florian Weimer fw at deneb.enyo.de
Sat Sep 6 08:56:04 UTC 2008

* Steve Langasek:

> Well, obviously it's not any of these errors since this is their own test
> suite... but done anyway, to see what kind of output we get:
>     FILE *errfile;
>     errfile = fopen("/home/vorlon/debugging-db.log", "w");
>     i = db_env_create(&env, 0);
>     i = env->set_encrypt(env, "passw0rd", DB_ENCRYPT_AES);
>     i = env->set_errfile(env, errfile);
>     [...]
> /home/vorlon/debugging-db.log is created as an empty file.

Oh?  Please use stderr, or disable buffering, in case the stdio buffers
aren't flushed properly.

More information about the Pkg-db-devel mailing list