Re: Compatibility Bitcoin-Qt with Tails

Re: Compatibility Bitcoin-Qt with Tails
2014-04-26 17:29 ` Kristov Atlas
  
From: Wladimir @ 2014-04-25 20:27 UTC (permalink / raw)
  To: Kristov Atlas;  Bitcoin Dev

Kristov,

On Wed, Apr 23, 2014 at 10:05 PM, Kristov Atlas <kristovatlas@gmail•com> wrote:
> On 04/22/2014 09:30 AM, Warren Togami Jr. wrote:
>
> I see that the latest nightly build (thanks for that, Warren) is still not
> compatible with Tails/Debian Squeeze. Is there still an intention to address
> this issue? Might it be fixed by 0.9.2?

I've modified the gitian build so that it builds against Qt 4.6
instead of Qt 4.8 in this pull request:
https://github.com/bitcoin/bitcoin/pull/4094

A test build of master with that pulls gitian descriptor is available:

https://download.visucore.com/bitcoin/linux-4765b8c-gitian-2d48b96.tar.gz
https://download.visucore.com/bitcoin/linux-4765b8c-gitian-2d48b96.tar.gz.sig

These bitcoin-qt executables *should* work on Debian Squeeze / Tails
Linux. Let me know if it is the case.

Wladimir



 permalink raw reply	[|nested]
2014-04-25 20:27 [Bitcoin-development] Compatibility Bitcoin-Qt with Tails Wladimir

  2014-04-27  6:52   ` Wladimir
  2014-04-30  7:02   ` Wladimir
  
From: Kristov Atlas @ 2014-04-26 17:29 UTC (permalink / raw)
  To: bitcoin-development

On 04/25/2014 04:27 PM, Wladimir wrote:
> Kristov,
> I've modified the gitian build so that it builds against Qt 4.6
> instead of Qt 4.8 in this pull request:
> https://github.com/bitcoin/bitcoin/pull/4094
>
> A test build of master with that pulls gitian descriptor is available:
>
> https://download.visucore.com/bitcoin/linux-4765b8c-gitian-2d48b96.tar.gz
> https://download.visucore.com/bitcoin/linux-4765b8c-gitian-2d48b96.tar.gz.sig
>
> These bitcoin-qt executables *should* work on Debian Squeeze / Tails
> Linux. Let me know if it is the case.
>
>
Hey Wladimir,

Thanks for building this binary. The initial problem with Qt was 
resolved, and I was able to load the GUI that chooses my datadir. After 
choosing the default datadir, however, it segfaulted.

The segfault came after the usual message that I get when running 
Bitcoin Core in Tails, which is the "sendto: Operation not permitted" 
message since Core will not be able to connect to the internet without 
going through Tails' Tor SOCKS proxy. When I specify the SOCKS proxy 
through the command-line, I get a brief flash of the GUI before it 
segfaults again.

The "Bus::open" and "IBusInputContext::createInputContext" messages are 
atypical and might be related to the segfault.

Sample terminal output for latest Tails (0.23):

amnesia@amnesia:~/linux-4765b8c-gitian-2d48b96/32$ ./bitcoin-qt
Bus::open: Can not get ibus-daemon's address.
IBusInputContext::createInputContext: no connection to ibus-daemon
sendto: Operation not permitted
Segmentation fault
amnesia@amnesia:~/linux-4765b8c-gitian-2d48b96/32$ ./bitcoin-qt
Segmentation fault
amnesia@amnesia:~/linux-4765b8c-gitian-2d48b96/32$ ./bitcoin-qt -proxy=127.0.0.1:9050
Segmentation fault


-Kristov



 permalink raw reply	[|nested]
2014-04-26 17:29 ` Kristov Atlas

  2014-04-30  7:02   ` Wladimir
  
From: Wladimir @ 2014-04-27  6:52 UTC (permalink / raw)
  To: Kristov Atlas;  Bitcoin Dev

> Sample terminal output for latest Tails (0.23):
>
> amnesia@amnesia:~/linux-4765b8c-gitian-2d48b96/32$ ./bitcoin-qt
> Bus::open: Can not get ibus-daemon's address.
> IBusInputContext::createInputContext: no connection to ibus-daemon
> sendto: Operation not permitted
> Segmentation fault
> amnesia@amnesia:~/linux-4765b8c-gitian-2d48b96/32$ ./bitcoin-qt
> Segmentation fault
> amnesia@amnesia:~/linux-4765b8c-gitian-2d48b96/32$ ./bitcoin-qt -proxy=127.0.0.1:9050
> Segmentation fault

Can you get a traceback?

Wladimir



 permalink raw reply	[|nested]
2014-04-26 17:29 ` Kristov Atlas
  2014-04-27  6:52   ` Wladimir

  2014-05-02 17:46     ` Kristov Atlas
  
From: Wladimir @ 2014-04-30  7:02 UTC (permalink / raw)
  To: Kristov Atlas;  Bitcoin Dev

On Sat, Apr 26, 2014 at 7:29 PM, Kristov Atlas
<author@anonymousbitcoinbook•com> wrote:
>>
> Hey Wladimir,
>
> Thanks for building this binary. The initial problem with Qt was
> resolved, and I was able to load the GUI that chooses my datadir. After
> choosing the default datadir, however, it segfaulted.

I've fixed the issue; at least on Debian 6 - which is a lot more
conductive to development than tails :-). See
https://github.com/bitcoin/bitcoin/pull/4094 for the gory details. New
test build available:

https://download.visucore.com/bitcoin/linux-gitian-3cbabfa.tar.gz
(sigs: https://download.visucore.com/bitcoin/linux-gitian-3cbabfa.tar.gz.sig
)

Wladimir



 permalink raw reply	[|nested]
2014-04-30  7:02   ` Wladimir

  2014-05-02 18:28       ` Wladimir
  
From: Kristov Atlas @ 2014-05-02 17:46 UTC (permalink / raw)
  To: Wladimir;  Bitcoin Dev


On 04/30/2014 03:02 AM, Wladimir wrote:
> On Sat, Apr 26, 2014 at 7:29 PM, Kristov Atlas
> <author@anonymousbitcoinbook•com> wrote:
>> Hey Wladimir,
>>
>> Thanks for building this binary. The initial problem with Qt was
>> resolved, and I was able to load the GUI that chooses my datadir. After
>> choosing the default datadir, however, it segfaulted.
> I've fixed the issue; at least on Debian 6 - which is a lot more
> conductive to development than tails :-). See
> https://github.com/bitcoin/bitcoin/pull/4094 for the gory details. New
> test build available:
>
> https://download.visucore.com/bitcoin/linux-gitian-3cbabfa.tar.gz
> (sigs: https://download.visucore.com/bitcoin/linux-gitian-3cbabfa.tar.gz.sig
> )
>
> Wladimir

Nice work! I can confirm that this dev binary runs smoothly in the 
latest version of Tails, v1.0. Screenshot proof here [1]. When this is 
incorporated into the next release of Bitcoin Core, will this make the 
usual Linux binary compatible, or will there be a special binary just 
for systems running the older Qt?

-Kristov

[1] http://postimg.org/image/p3ycwai9d/



 permalink raw reply	[|nested]
2014-05-02 17:46     ` Kristov Atlas

  
From: Wladimir @ 2014-05-02 18:28 UTC ( / )
  To: Kristov Atlas;  Bitcoin Dev

On Fri, May 2, 2014 at 7:46 PM, Kristov Atlas
<author@anonymousbitcoinbook•com> wrote:
> Nice work! I can confirm that this dev binary runs smoothly in the latest

Thanks for testing!

> version of Tails, v1.0. Screenshot proof here [1]. When this is incorporated
> into the next release of Bitcoin Core, will this make the usual Linux binary
> compatible, or will there be a special binary just for systems running the
> older Qt?

The normal binary will be compatible.

At some point we may add a binary that is linked to Qt 5.x as well for
newer distributions, but compatibility is most important.

Wladimir