Bug#672524: bitcoin: FTBFS[any-i386]: testsuite errors

2013-04-24 Thread Scott Howard
Somehow the path is getting botched in kfreebsd-i386:

On amd64 [1] (and similarly on all other architectures except *i386) we pass
-DTEST_DATA_DIR=/build/buildd-bitcoin_0.8.1-2-amd64-bLPEbz/bitcoin-0.8.1/src/test/data
and the debug output says
Trying to open 
"/build/buildd-bitcoin_0.8.1-2-amd64-bLPEbz/bitcoin-0.8.1/src/test/data/base58_encode_decode.json"

but on kfreebsd-i386 [2]  and i386 buildds we pass
-DTEST_DATA_DIR=/build/buildd-bitcoin_0.8.1-2-kfreebsd-i386-B2WCjD/bitcoin-0.8.1/src/test/data
and the debug output says
Trying to open 
"/build/buildd-bitcoin_0.8.1-2-kfreebsd-1-B2WCjD/bitcoin-0.8.1/src/test/data/base58_encode_decode.json"

i386 somehow got changed into a 1, and this seems to happen on
kfreebsd-i386 and i386 buildds.

anyone know why the buildds seem to change the i386 string to "1"?

[1]https://buildd.debian.org/status/fetch.php?pkg=bitcoin&arch=amd64&ver=0.8.1-2&stamp=1366775051
[2]https://buildd.debian.org/status/fetch.php?pkg=bitcoin&arch=amd64&ver=0.8.1-2&stamp=1366775051


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#672524: bitcoin: FTBFS[any-i386]: testsuite errors

2013-02-02 Thread Christoph Egger
Petter Reinholdtsen  writes:
> [Scott Howard]
>> 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.
>
> The problem can not be reproduced when building manually.  Many have
> tried.  The best idea from IRC so far is that some strange bug in
> boost causes the wrong path to be used, and that an old boost version
> somehow is used.  I am not sure how probably that is, but lets try to
> rule it out.

The actualy boost version is mentioned in the build log (and I upgraded
all k-* buildds before the gb yesterday evening.


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#672524: bitcoin: FTBFS[any-i386]: testsuite errors

2013-02-01 Thread Petter Reinholdtsen
[Scott Howard]
> 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.

The problem can not be reproduced when building manually.  Many have
tried.  The best idea from IRC so far is that some strange bug in
boost causes the wrong path to be used, and that an old boost version
somehow is used.  I am not sure how probably that is, but lets try to
rule it out.

I've fixed two lintian warnings in git, and added some debug output to
try to figure out what is going on.  Holger, can you upload, or should
I?

-- 
Happy hacking
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#672524: bitcoin: FTBFS[any-i386]: testsuite errors

2013-01-24 Thread Laurent Bigonville
Hello,

It's interesting to note that the package is building fine in Ubuntu on
i386.

Cheers

Laurent Bigonville


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#672524: [Pkg-bitcoin-devel] Bug#672524: Bug#672524: bitcoin: FTBFS[any-i386]: testsuite errors

2013-01-22 Thread Scott Howard
On Mon, Jan 21, 2013 at 10:17 PM, Scott Howard  wrote:
> On Sat, Jan 19, 2013 at 3:52 PM, Petter Reinholdtsen  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


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#672524: [Pkg-bitcoin-devel] Bug#672524: bitcoin: FTBFS[any-i386]: testsuite errors

2013-01-21 Thread Scott Howard
On Sat, Jan 19, 2013 at 3:52 PM, Petter Reinholdtsen  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 can't reproduce this either in pbuilder, i386 sid. I'm forwarding
this to the pkg-bitcoin ML to see if anyone there has any ideas.

The test suites are failing to find *.json files on i386 and
kfreebsd-i386 builds only.
https://buildd.debian.org/status/package.php?p=bitcoin

I can't debug it since I can't reproduce it.

The error is:
HOME="/build/buildd-bitcoin_0.7.2-2-i386-2MCUBL/bitcoin-0.7.2/debian/home"
src/test_bitcoin
Running 70 test cases...
test/script_tests.cpp(106): error in "base58_EncodeBase58": Cound not
find/open base58_encode_decode.json
and a bunch more failures

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.

I'm shooting in dark, but maybe we can get lucky.
~Scott

[1] http://lintian.debian.org/tags/debian-rules-uses-pwd.html
[2] 
http://www.boost.org/doc/libs/1_52_0/libs/filesystem/doc/reference.html#current_path
[3] 
http://anonscm.debian.org/gitweb/?p=collab-maint/bitcoin.git;a=blob;f=src/test/script_tests.cpp;h=61d9a64eebb2dc3158386402250072ed0182cbe5;hb=HEAD#l94


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#672524: bitcoin: FTBFS[any-i386]: testsuite errors

2013-01-19 Thread Petter Reinholdtsen
[Christoph Egger]
>   We'll see as soon as it builds on the buildds I'd say.

Still fail.  I am unable to understand why:


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/wallet_tests.d -o 
obj-test/wallet_tests.o test/wallet_tests.cpp
/bin/sh ../share/genbuild.sh obj/build.h
g++ -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  -o test_bitcoin  
obj-test/Checkpoints_tests.o obj-test/DoS_tests.o obj-test/accounting_tests.o 
obj-test/allocator_tests.o obj-test/base32_tests.o obj-test/base58_tests.o 
obj-test/base64_tests.o obj-test/bignum_tests.o obj-test/getarg_tests.o 
obj-test/key_tests.o obj-test/miner_tests.o obj-test/mruset_tests.o 
obj-test/multisig_tests.o obj-test/netbase_tests.o obj-test/rpc_tests.o 
obj-test/script_P2SH_tests.o obj-test/script_tests.o 
obj-test/sigopcount_tests.o obj-test/test_bitcoin.o 
obj-test/transaction_tests.o obj-test/uint160_tests.o obj-test/uint256_tests.o 
obj-test/util_tests.o obj-test/wallet_tests.o obj/alert.o obj/version.o 
obj/checkpoints.o obj/netbase.o obj/addrman.o obj/crypter.o obj/key.o obj/db.o 
obj/irc.o obj/keystore.o obj/main.o obj/net.o obj/protocol.o obj/bitcoinrpc.o 
obj/rpcdump.o obj/rpcnet.o obj/rpcmining.o obj/rpcwallet.o obj/rpcblockchain.o 
obj/rpcrawtransaction.o obj/script.o obj/sync.o obj/util.o obj/wallet.o 
obj/walletdb.o obj/noui.o -Wl,-Bdynamic -lboost_unit_test_framework 
-Wl,-z,relro -Wl,-z,now   -Wl,-Bdynamic -l boost_system -l boost_filesystem -l 
boost_program_options -l boost_thread -l db_cxx -l ssl -l crypto -l miniupnpc 
-Wl,-Bdynamic -l z -l dl -l pthread
make[1]: Leaving directory 
`/build/buildd-bitcoin_0.7.2-2-i386-2MCUBL/bitcoin-0.7.2/src'
HOME="/build/buildd-bitcoin_0.7.2-2-i386-2MCUBL/bitcoin-0.7.2/debian/home" 
src/test_bitcoin
Running 70 test cases...
test/script_tests.cpp(106): error in "base58_EncodeBase58": Cound not find/open 
base58_encode_decode.json
test/script_tests.cpp(106): error in "base58_DecodeBase58": Cound not find/open 
base58_encode_decode.json
test/script_tests.cpp(106): error in "base58_keys_valid_parse": Cound not 
find/open base58_keys_valid.json
test/script_tests.cpp(106): error in "base58_keys_valid_gen": Cound not 
find/open base58_keys_valid.json
test/script_tests.cpp(106): error in "base58_keys_invalid": Cound not find/open 
base58_keys_invalid.json
test/script_tests.cpp(106): error in "script_valid": Cound not find/open 
script_valid.json
test/script_tests.cpp(106): error in "script_invalid": Cound not find/open 
script_invalid.json
test/script_tests.cpp(106): error in "tx_valid": Cound not find/open 
tx_valid.json
test/script_tests.cpp(106): error in "tx_invalid": Cound not find/open 
tx_invalid.json

*** 9 failures detected in test suite "Bitcoin Test Suite"

Happy hacking
Petter Reinholdtsen


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#672524: bitcoin: FTBFS[any-i386]: testsuite errors

2012-12-24 Thread Christoph Egger
Hi!

Petter Reinholdtsen  writes:
> I just tried to build the source of version 0.7.2-1 in Wheezy, and the
> test suite completed without any errors as far as I could tell.  This
> was on a i686 installation.
>
> Is this bug fixed in the new upstream version?

  We'll see as soon as it builds on the buildds I'd say.

Regards

Christoph


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#672524: bitcoin: FTBFS[any-i386]: testsuite errors

2012-12-19 Thread Petter Reinholdtsen

I just tried to build the source of version 0.7.2-1 in Wheezy, and the
test suite completed without any errors as far as I could tell.  This
was on a i686 installation.

Is this bug fixed in the new upstream version?

PS to Christoph: Trying again with correct email address to
bugs.debian.org.

--
Happy hacking
Petter Reinholtsen


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#672524: bitcoin: FTBFS[any-i386]: testsuite errors

2012-05-11 Thread Christoph Egger
Package: src:bitcoin
Version: 0.6.2.1-2
Severity: serious
Tags: sid wheezy
Justification: fails to build from source (but built successfully in the past)

Hi!

Your package failed to build on the buildds:

src/test_bitcoin
Running 52 test cases...
Disconnected 1.192.176.160:8333 for misbehavior (score=100)
Disconnected 2.192.176.160:8333 for misbehavior (score=100)
Disconnected 1.192.176.160:8333 for misbehavior (score=111)
Disconnected 1.192.176.160:8333 for misbehavior (score=100)
test/script_tests.cpp(103): error in "script_valid": Cound not find/open 
script_valid.json
test/script_tests.cpp(103): error in "script_invalid": Cound not find/open 
script_invalid.json

*** 2 failures detected in test suite "Bitcoin Test Suite"
make: *** [build/bitcoind] Error 201

Full build log at
https://buildd.debian.org/status/fetch.php?pkg=bitcoin&arch=i386&ver=0.6.2.1-2&stamp=1336687059

Regards

Christoph

-- 
9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org