[Pkg-bitcoin-devel] Bug#672524: Bug#672524: upload of bitcoin package
Christoph Egger
christoph at debian.org
Thu Feb 7 19:09:03 UTC 2013
Hi all!
Scott Howard <showard314 at gmail.com> writes:
> In summary: i386 and kfreebsd-i386 builds fail on buildd machines.
> They don't fail on other machines, pbuilder chroots, or Ubuntu
> builders. The failure comes from he test suite not being able to find
> a file, but our debugging shows that the file exists and that it is
> attempting to open the correct file.
Not necessarily.
ifstream ifs(testFile.string().c_str(), ifstream::in);
Value v;
if (!read_stream(ifs, v))
{
if (ifs.fail())
BOOST_ERROR("Cound not find/open " << filename);
else
BOOST_ERROR("JSON syntax error in " << filename);
return Array();
}
The error is printed if the istream signals a fail() *after* parsing the
whole json context. [0] indicates this might just be someone trying to
read an invalid type from the stream (like an int while the next word in
facht is a name). I stopped digging the source after the first few
wrappers around wrappers around wrappers so no further analysis there.
Regards
Christoph
[0] http://en.cppreference.com/w/cpp/io/basic_ios/fail
More information about the Pkg-bitcoin-devel
mailing list