Your message dated Sun, 4 Dec 2016 04:49:02 +0100
with message-id <[email protected]>
and subject line Re: Bug#801498: rakudo: Native libraries and paths
has caused the Debian Bug report #801498,
regarding rakudo: Native libraries and paths
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
801498: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801498
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rakudo
Version: 2015.09-2
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Maybe this is a user error, or maybe there's something wrong around
NativeCall and the paths it looks in ...

* rakudo, moarvm, nqp from unstable as of today
* panda from git (2015.09 tag)

% /home/gregoa/.perl6/2015.09/bin/panda install Linenoise
==> Fetching Linenoise                                                          
                       
==> Building Linenoise
gcc -c -fPIC -Wdeclaration-after-statement -Werror=declaration-after-statement 
-O3 -DNDEBUG -g3  -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -g -O2 
-fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-o linenoise.o linenoise.c
gcc -shared -fPIC  -O3 -DNDEBUG -g3 -Wl,-rpath,/usr/lib/moar 
-Wl,-rpath,/usr/lib/perl6/site/lib -Wl,-z,relro -Wl,-z,now -ltommath 
-latomic_ops -lm -lpthread -lrt -ldl -o 
/home/gregoa/src/git-pkg-perl/meta/packages/libperl-apireference-perl/.panda-work/1444559283_1/blib/lib/liblinenoise.so
 linenoise.o
gcc -o constant-helper -Wdeclaration-after-statement 
-Werror=declaration-after-statement -O3 -DNDEBUG -g3  -D_REENTRANT 
-D_FILE_OFFSET_BITS=64 -fPIC -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -D_FORTIFY_SOURCE=2 constant-helper.c
perl6 fill-constants.pl < lib/Linenoise.pm.in > lib/Linenoise.pm
==> Testing Linenoise
==> Installing Linenoise
Copying blib/lib/Linenoise.pm to /home/gregoa/.perl6/2015.09/lib/Linenoise.pm
Copying blib/lib/Linenoise.pm.in to 
/home/gregoa/.perl6/2015.09/lib/Linenoise.pm.in
Copying blib/lib/liblinenoise.so to 
/home/gregoa/.perl6/2015.09/lib/liblinenoise.so
==> Successfully installed Linenoise

So far so good. But calling perl6 ends with:

% perl6
===SORRY!===
Cannot locate native library 'liblinenoise.so': liblinenoise.so: cannot open 
shared object file: No such file or directory


Using strace we see that /home/gregoa/.perl6/2015.09/lib/Linenoise.pm
is opened, and then NativeCall looks everywhere but not in
/home/gregoa/.perl6/2015.09/lib/ where liblinenoise.so would be:

open("/home/gregoa/.perl6/2015.09/lib/Linenoise.pm", O_RDONLY|O_CLOEXEC) = 13
open("/usr/share/perl6/lib/NativeCall.pm.moarvm", O_RDONLY|O_CLOEXEC) = 13
open("/usr/share/perl6/lib/NativeCall/Types.pm.moarvm", O_RDONLY|O_CLOEXEC) = 13
open("/usr/share/perl6/lib/NativeCall/Compiler/GNU.pm.moarvm", 
O_RDONLY|O_CLOEXEC) = 13
open("/usr/share/perl6/lib/NativeCall/Compiler/MSVC.pm.moarvm", 
O_RDONLY|O_CLOEXEC) = 13
open("/usr/lib/moar/liblinenoise.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such 
file or directory)
open("/usr/lib/moar/liblinenoise.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such 
file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 13
open("/lib/x86_64-linux-gnu/tls/x86_64/liblinenoise.so", O_RDONLY|O_CLOEXEC) = 
-1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/tls/liblinenoise.so", O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/x86_64/liblinenoise.so", O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/liblinenoise.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
open("/usr/lib/x86_64-linux-gnu/tls/x86_64/liblinenoise.so", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/tls/liblinenoise.so", O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/x86_64/liblinenoise.so", O_RDONLY|O_CLOEXEC) = 
-1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/liblinenoise.so", O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
open("/lib/tls/x86_64/liblinenoise.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No 
such file or directory)
open("/lib/tls/liblinenoise.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file 
or directory)
open("/lib/x86_64/liblinenoise.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such 
file or directory)
open("/lib/liblinenoise.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/tls/x86_64/liblinenoise.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No 
such file or directory)
open("/usr/lib/tls/liblinenoise.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such 
file or directory)
open("/usr/lib/x86_64/liblinenoise.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No 
such file or directory)
open("/usr/lib/liblinenoise.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file 
or directory)
open("/usr/lib/moar/liblinenoise.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such 
file or directory)
open("/usr/lib/moar/liblinenoise.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such 
file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 13
open("/lib/x86_64-linux-gnu/liblinenoise.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
open("/usr/lib/x86_64-linux-gnu/liblinenoise.so", O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
open("/lib/liblinenoise.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/liblinenoise.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file 
or directory)


Is this a problem of rakudo, of panda, of Linenoise, or am I just
missing some setup/variable/...?



Cheers,
gregor


- -- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental'), (500, 'testing'), (500, 
'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-rc4-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_AT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages rakudo depends on:
ii  moarvm      2015.09-3
ii  nqp         2015.09.1-2
ii  rakudo-lib  2015.09-2

rakudo recommends no packages.

Versions of packages rakudo suggests:
ii  valgrind  1:3.11.0-1

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQJ8BAEBCgBmBQJWGj7fXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREMUUxMzE2RTkzQTc2MEE4MTA0RDg1RkFC
QjNBNjgwMTg2NDlBQTA2AAoJELs6aAGGSaoGHWQP/19g+zqKGI8BVFG9y4L/vgoI
cSt7Hcx4L0g+ObdxnDrPZYcvJLuFDYOmTTX0j0Q5/WjOk1wdsi/n+rLmVHyfJHe9
b1idJEqdgQvkUunERLOmXOXi/lja7Zx+8bbQ6HBq7IMPMM1yZY25C8i2RwsFL6te
dWjHnSmHwymFuCyer/Ej7NneYAwuSxFPlghHH9KgKnjLVN3OvqhjeaCGdQFj1BJw
r8tuHayzd8EZRlWH79GJAdUCJTzdW5Vpf+GoOTyLDiTfZtDZ6nsB56ifGxT65AXr
yIaNG86d0D1kL1iVP9g1Z1xdT1IXD0tg/Uroh5a6QsIvOyDDz8h1Z8jTPfHkDZDX
7gQ91l/ULB1xTbENVfguyAzdUeSp7MTBNrEIE1kBPI/iLcU4d73bLs8B3DHEiGXk
S5E5RoRy4bA9mJmvOUtQa9cKcMA3RXJtXnoMSJjlDHoS0RfnsfTQPL1xNYQuCObc
92Fes5jmXK4qkXRWcVuhXPpOrOnnKhUQrOP7qyOjjfyxIvfTiOMVifU4RYT3hVqp
5QqOJvvLFuV5i78h+/ECjTDm+ybRvRjPK4Ah280Xo5WtO4i7xIH5SF3MCKt6F34j
9LwufL9DXR9Qgq7xxFWyTeR4eH/ugZbZ+TOULQI+CP5aQXYa9F/pHkeISxpWIxMr
+V+YhLE9Wai8qYDx8qru
=6AKV
-----END PGP SIGNATURE-----

--- End Message ---
--- Begin Message ---
On Sun, 06 Nov 2016 22:43:05 +0100, Tobias Leich wrote:

Thanks for taking the time to look into this bug report and providing
all thos detailed informations!

> It just works. Tested using moarvm/nqp/rakudo 2016.10 on debian testing.

2016.11 in unstable on my side; but following your steps:
 
> Steps I took (as a non-root user):

it works for me as well.

> So this issue is closable.

Indeed, so closing the bug.

Thanks again,
gregor


-- 
 .''`.  https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Donovan: Boy for every girl

Attachment: signature.asc
Description: Digital Signature


--- End Message ---

Reply via email to