pool_error
extern int pool_error(Pool *pool, int ret, const char *format, ...) __attribute__((format(printf, 3, 4)));
data.error = pool_error(pool, SOLV_ERROR_EOF, "buffer overrun");
data.error = pool_error(pool, SOLV_ERROR_EOF, "unexpected EOF");
data->error = pool_error(data->repo->pool, SOLV_ERROR_EOF, "unexpected EOF");
data.error = pool_error(pool, SOLV_ERROR_OVERFLOW, "idarray overflow");
data.error = pool_error(pool, SOLV_ERROR_OVERFLOW, "array stack overflow");
data->error = pool_error(data->repo->pool, SOLV_ERROR_ID_RANGE, "read_id: id too large (%u/%u)", x, max);
data.error = pool_error(pool, SOLV_ERROR_CORRUPT, "inconsistent number of solvables: %d %d", nentries, numsolv);
data.error = pool_error(pool, SOLV_ERROR_CORRUPT, "more than one solvable block");
data.error = pool_error(pool, SOLV_ERROR_CORRUPT, "illegal fixarray");
data->error = pool_error(data->repo->pool, SOLV_ERROR_CORRUPT, "read_id: id too long");
data.error = pool_error(pool, SOLV_ERROR_EOF, "unexpected EOF, depth = %d", keydepth);
data.error = pool_error(pool, SOLV_ERROR_EOF, "buffer overrun");
pool_error(pool, data.error, "repopagestore setup: unexpected EOF");
pool_error(pool, data.error, "repopagestore setup failed");
data->error = pool_error(data->repo->pool, SOLV_ERROR_EOF, "unexpected EOF");
data->error = pool_error(data->repo->pool, SOLV_ERROR_ID_RANGE, "read_idarray: id too large (%u/%u)", x, max);
data->error = pool_error(data->repo->pool, SOLV_ERROR_OVERFLOW, "read_idarray: array overflow");
data->error = pool_error(data->repo->pool, SOLV_ERROR_OVERFLOW, "read_idarray: array overflow");
data->error = pool_error(data->repo->pool, SOLV_ERROR_ID_RANGE, "data_read_id_max: id too large (%u/%u)", x, max);
data->error = pool_error(data->repo->pool, SOLV_ERROR_ID_RANGE, "data_read_idarray: id too large (%u/%u)", x, max);
data->error = pool_error(data->repo->pool, SOLV_ERROR_ID_RANGE, "data_read_rel_idarray: id too large (%u/%u)", x, max);
data->error = pool_error(data->repo->pool, SOLV_ERROR_ID_RANGE, "incore_map_idarray: id too large (%u/%u)", id, max);
return pool_error(pool, SOLV_ERROR_NOT_SOLV, "not a SOLV file");
return pool_error(pool, SOLV_ERROR_UNSUPPORTED, "unsupported SOLV version");
return pool_error(pool, SOLV_ERROR_CORRUPT, "bad number of dirs");
return pool_error(pool, SOLV_ERROR_CORRUPT, "relations are forbidden in a local pool");
return pool_error(pool, SOLV_ERROR_CORRUPT, "sub-repository solvable number does not match main repository (%d - %d)", extendend - extendstart, numsolv);
return pool_error(pool, SOLV_ERROR_CORRUPT, "main repository contains holes, cannot extend");
return pool_error(pool, SOLV_ERROR_EOF, "read error while reading strings");
return pool_error(pool, SOLV_ERROR_EOF, "read error while reading strings");
return pool_error(pool, SOLV_ERROR_OVERFLOW, "overflow while expanding strings");
data->error = pool_error(data->repo->pool, SOLV_ERROR_EOF, "unexpected EOF");
return pool_error(pool, SOLV_ERROR_CORRUPT, "expanding strings size mismatch");
return pool_error(pool, SOLV_ERROR_CORRUPT, "store strings don't start with an empty string");
return pool_error(pool, SOLV_ERROR_OVERFLOW, "not enough strings");
return pool_error(pool, SOLV_ERROR_OVERFLOW, "not enough strings %d %d", i, numid);
data->error = pool_error(data->repo->pool, SOLV_ERROR_EOF, "unexpected EOF");
data.error = pool_error(pool, SOLV_ERROR_UNSUPPORTED, "unsupported data type '%s'", pool_id2str(pool, type));
data.error = pool_error(pool, SOLV_ERROR_UNSUPPORTED, "unsupported storage type %d", keys[i].storage);
data.error = pool_error(pool, SOLV_ERROR_UNSUPPORTED, "main solvable data must use incore storage %d", keys[i].storage);
data.error = pool_error(pool, SOLV_ERROR_UNSUPPORTED, "type REL_IDARRAY is only supported for STORAGE_SOLVABLE");
data.error = pool_error(pool, SOLV_ERROR_UNSUPPORTED, "mapped ids are not supported for STORAGE_VERTICAL_OFFSET");
data.error = pool_error(pool, SOLV_ERROR_EOF, "unexpected EOF");
data->error = pool_error(data->repo->pool, -1, "write error u32: %s", strerror(errno));
data->error = pool_error(data->repo->pool, -1, "write error u8: %s", strerror(errno));
data->error = pool_error(data->repo->pool, -1, "write error blob: %s", strerror(errno));
data->error = pool_error(data->repo->pool, -1, "write error id: %s", strerror(errno));
data->error = pool_error(data->repo->pool, -1, "write error str: %s", strerror(errno));
cbdata->target->error = pool_error(cbdata->repo->pool, -1, "nested fixarray structs not yet implemented");
cbdata->target->error = pool_error(cbdata->repo->pool, -1, "unknown type for %d: %d\n", key->name, key->type);