mroshow / bitcoin-wallet

Automatically exported from code.google.com/p/bitcoin-wallet
1 stars 0 forks source link

Difficulty building 3.15 #210

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

I'm trying to build 3.15 for F-Droid. The testnet version builds fine (from 
bitcoinj-0.10), but the mainnet version (bitcoinj-0.10-prodnet) doesn't. This 
is from release-0.10 branch of BitcoinJ but I tried from master branch too. I 
wonder could you offer some assistance? This is the recipe:

Build Version:3.14-bitcoinj0.10,135,51b1200d0,\
srclibs=BitcoinJWallet-origin@777e6781d78,\
prebuild=sed -i '30\,33d' pom.xml && sed -i 's/0.11-SNAPSHOT/0.10/g' 
wallet/pom.xml && \
         cp -r $$BitcoinJWallet-origin$$/ . && rm -rf market/,\
build=$$MVN3$$ clean install -DskipTests -f BitcoinJWallet-origin/pom.xml,\
maven=yes,\
bindir=wallet/target

And the error is:

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.836s
[INFO] Finished at: Mon Aug 12 01:03:17 IST 2013
[INFO] Final Memory: 21M/98M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on 
project wallet: Compilation failure: Compilation failure:
[ERROR] 
/home/gerry/fdroiddata/build/de.schildbach.wallet/wallet/src/de/schildbach/walle
t/WalletApplication.java:[62,32] cannot find symbol
[ERROR] symbol:   class LinuxSecureRandom
[ERROR] location: package com.google.bitcoin.utils
[ERROR] 
/home/gerry/fdroiddata/build/de.schildbach.wallet/wallet/src/de/schildbach/walle
t/WalletApplication.java:[95,21] cannot find symbol
[ERROR] symbol:   class LinuxSecureRandom
[ERROR] location: class de.schildbach.wallet.WalletApplication
[ERROR] -> [Help 1]

Original issue reported on code.google.com by david8bl...@gmail.com on 12 Aug 2013 at 12:48

GoogleCodeExporter commented 9 years ago
Our repos went through some rough waters during the last days, due to the 
security incident with the Android RNG.

I suggest first building bitcoinj again, from the just created v0.10 tag 
(release announcement should follow shortly).

Then build bitcoin-wallet from master. Does that work for you?

Original comment by andreas....@gmail.com on 12 Aug 2013 at 10:13

GoogleCodeExporter commented 9 years ago
Ah and of course since master builds the testnet version, after that try 
building the mainnet version from the 'prod' branch.

Original comment by andreas....@gmail.com on 12 Aug 2013 at 10:14

GoogleCodeExporter commented 9 years ago
Thanks, it built fine. I must have not looked at the prod branch at all. 
Transferring coins to new wallet succeeded. If you know of any Android apps 
that accept Bitcoin donations that might be changing addresses, we'd be glad to 
know. BTW 0.49 of the F-Droid client should be released this week and will have 
a menu item for apps that accept Bitcoin (and Flattr).

Original comment by david8bl...@gmail.com on 12 Aug 2013 at 12:20

GoogleCodeExporter commented 9 years ago

Original comment by andreas....@gmail.com on 18 Aug 2013 at 9:17