Bug#846475: nimble does not work

2016-12-04 Thread Federico Ceratto
Hello Russell and Ximin,

This could be caused by https://github.com/nim-lang/Nim/issues/5000
See also https://github.com/nim-lang/nimble/issues/257

Can you please show which version of OpenSSL is installed on your system?

Thanks!
-- 
Federico


Bug#846475: nimble does not work

2016-12-01 Thread Russel Winder

execve("/usr/bin/nimble", ["nimble", "refresh"], [/* 140 vars */]) = 0
brk(NULL)   = 0x2623000
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or directory)
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f4c0188
access("/etc/ld.so.preload", R_OK)  = -1 ENOENT (No such file or directory)
open("/home/users/russel/Built/lib/tls/x86_64/libm.so.6", O_RDONLY|O_CLOEXEC) = 
-1 ENOENT (No such file or directory)
stat("/home/users/russel/Built/lib/tls/x86_64", 0x7e2a1380) = -1 ENOENT (No 
such file or directory)
open("/home/users/russel/Built/lib/tls/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
stat("/home/users/russel/Built/lib/tls", 0x7e2a1380) = -1 ENOENT (No such 
file or directory)
open("/home/users/russel/Built/lib/x86_64/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
stat("/home/users/russel/Built/lib/x86_64", 0x7e2a1380) = -1 ENOENT (No 
such file or directory)
open("/home/users/russel/Built/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
stat("/home/users/russel/Built/lib", {st_mode=S_IFDIR|0755, st_size=12288, 
...}) = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=162445, ...}) = 0
mmap(NULL, 162445, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f4c01858000
close(3)= 0
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200V\0\0\0\0\0\0"..., 
832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1063328, ...}) = 0
mmap(NULL, 3158248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f4c0135d000
mprotect(0x7f4c0146, 2093056, PROT_NONE) = 0
mmap(0x7f4c0165f000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x102000) = 0x7f4c0165f000
close(3)= 0
open("/home/users/russel/Built/lib/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340 \0\0\0\0\0\0"..., 
832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=31744, ...}) = 0
mmap(NULL, 2128832, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f4c01155000
mprotect(0x7f4c0115c000, 2093056, PROT_NONE) = 0
mmap(0x7f4c0135b000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f4c0135b000
close(3)= 0
open("/home/users/russel/Built/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\r\0\0\0\0\0\0"..., 
832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14640, ...}) = 0
mmap(NULL, 2109680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f4c00f51000
mprotect(0x7f4c00f53000, 2097152, PROT_NONE) = 0
mmap(0x7f4c01153000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f4c01153000
close(3)= 0
open("/home/users/russel/Built/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\3\2\0\0\0\0\0"..., 
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1685264, ...}) = 0
mmap(NULL, 3791264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f4c00bb3000
mprotect(0x7f4c00d48000, 2093056, PROT_NONE) = 0
mmap(0x7f4c00f47000, 24576, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x194000) = 0x7f4c00f47000
mmap(0x7f4c00f4d000, 14752, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4c00f4d000
close(3)= 0
open("/home/users/russel/Built/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340`\0\0\0\0\0\0"..., 
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=135448, ...}) = 0
mmap(NULL, 2212904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f4c00996000
mprotect(0x7f4c009ae000, 2093056, PROT_NONE) = 0
mmap(0x7f4c00bad000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f4c00bad000
mmap(0x7f4c00baf000, 13352, PROT_READ|PROT_WRITE, 

Bug#846475: nimble does not work

2016-12-01 Thread Russel Winder

Thanks for the very problem reply. That it works for you is very
heartening. Sadly:

|> nimble refresh
could not import: SSL_library_init

|> 


I have reinstalled the nim package, but no change. I will run under
strace and attach a file to this bug.


signature.asc
Description: This is a digitally signed message part


Bug#846475: nimble does not work

2016-12-01 Thread Ximin Luo
Hi Russel,

It works for me, after running `nimble refresh`, with the latest vesrion 
0.15.2-2.

Could you try to get some more debugging information from your end? If all else 
fails, you can try running it through strace(1) and analyzing the huge output 
from that for anything that looks relevant.

X

Russel Winder:
> Package: nim
> Version: 0.15.2-2
> Severity: important
> 
> Dear Maintainer,
> 
> The following exhibits the problem I believe:
> 
> 
> |> which nimble
> /usr/bin/nimble
> 
> |> dpkg -S /usr/bin/nimble
> nim: /usr/bin/nimble
> 
> |> nimble list
> could not import: SSL_library_init
> 
> |>
> 
> 
> Any and all attempted executions of the nimble executable result in this same 
> message.
> 
> 
> -- System Information:
> Debian Release: stretch/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 4.8.0-1-amd64 (SMP w/8 CPU cores)
> Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages nim depends on:
> ii  libc6  2.24-7
> 
> nim recommends no packages.
> 
> Versions of packages nim suggests:
> ii  nim-doc  0.15.2-2
> 
> -- debconf-show failed
> 


-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git



Bug#846475: nimble does not work

2016-12-01 Thread Russel Winder
Package: nim
Version: 0.15.2-2
Severity: important

Dear Maintainer,

The following exhibits the problem I believe:


|> which nimble
/usr/bin/nimble

|> dpkg -S /usr/bin/nimble
nim: /usr/bin/nimble

|> nimble list
could not import: SSL_library_init

|>


Any and all attempted executions of the nimble executable result in this same 
message.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.8.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages nim depends on:
ii  libc6  2.24-7

nim recommends no packages.

Versions of packages nim suggests:
ii  nim-doc  0.15.2-2

-- debconf-show failed