[Pkg-bitcoin-devel] Bug#672524: Bug#672524: Bug#672524: bitcoin: FTBFS[any-i386]: testsuite errors
Scott Howard
showard314 at gmail.com
Tue Jan 22 21:18:54 UTC 2013
On Mon, Jan 21, 2013 at 10:17 PM, Scott Howard <showard314 at gmail.com> wrote:
> On Sat, Jan 19, 2013 at 3:52 PM, Petter Reinholdtsen <pere at hungry.com> wrote:
>> [Christoph Egger]
>>> We'll see as soon as it builds on the buildds I'd say.
>>
>> Still fail. I am unable to understand why:
> I have a wild guess, but would appreciate feedback. script_tests.cpp
> calls boost:filesystem:current_path(), which essentially reads in $PWD
> from the environment. Is it possible that the i386 buildds cleared the
> PWD variable prior to build? If so, we can append PWD=$(CURDIR) before
> invoking the test_script command. [1,2] Or better yet, compile while
> defining TEST_DATA_DIR (see [3]) so it doesn't depend on
> current_path() at all.
Sorry, it looks like TEST_DATA_DIR is already defined properly. From
the build log:
g++ -c -DTEST_DATA_DIR=/build/buildd-bitcoin_0.7.2-2-i386-2MCUBL/bitcoin-0.7.2/src/test/data
-DBOOST_TEST_DYN_LINK -O2 -pthread -Wall -Wextra -Wformat
-Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE
-I/build/buildd-bitcoin_0.7.2-2-i386-2MCUBL/bitcoin-0.7.2/src
-I/build/buildd-bitcoin_0.7.2-2-i386-2MCUBL/bitcoin-0.7.2/src/obj
-DUSE_UPNP=0 -DUSE_IPV6=1 -DHAVE_BUILD_INFO -fno-stack-protector
-fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF
obj-test/script_tests.d -o obj-test/script_tests.o
test/script_tests.cpp
And it is properly set in the makefile.unix:
TESTDEFS = -DTEST_DATA_DIR=$(abspath test/data)
So I'm back to being stumped, the files it can't find are the location
that is being passed. The location is correct. It can be built in
pbuilder but failing on the buildds.
~Scott
More information about the Pkg-bitcoin-devel
mailing list