Re: Phantomjs can't find libQt5Core.so.5 via ldd on buster

2019-11-14 Thread bartosz

Did you try to run ldconfig before launching that app?

regards
Bartosz Fenski

On 2019-11-14 17:01, Andreas Tille wrote:

On Thu, Nov 14, 2019 at 10:59:43AM +0100, Gudjon I. Gudjonsson wrote:

Is /etc/ld.so.conf.d/ changed on your machine?


No.

$ cat /etc/ld.so.conf
include /etc/ld.so.conf.d/*.conf

$ cat /etc/ld.so.conf.d/*
/usr/lib/x86_64-linux-gnu/libfakeroot
# libc default configuration
/usr/local/lib
# Multiarch support
/usr/local/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
# Legacy biarch compatibility support
/lib32
/usr/lib32



What does
strace phantomjs --version

That should give you an indication where the program is looking for 
libraries.


$ LANG=C strace phantomjs --version 2> /tmp/phantomjs.strace
$ grep 'No such file or directory' /tmp/phantomjs.strace | grep 
libQt5Core.so.5

openat(AT_FDCWD, "/usr/lib/phantomjs/libQt5Core.so.5",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/x86_64/x86_64/libQt5Core.so.5",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/x86_64/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) =
-1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/x86_64/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) =
-1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = -1
ENOENT (No such file or directory)
openat(AT_FDCWD, "x86_64/x86_64/libQt5Core.so.5", O_RDONLY|O_CLOEXEC)
= -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "x86_64/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = -1
ENOENT (No such file or directory)
openat(AT_FDCWD, "x86_64/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = -1
ENOENT (No such file or directory)
openat(AT_FDCWD, "libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT
(No such file or directory)
openat(AT_FDCWD,
"/lib/x86_64-linux-gnu/tls/x86_64/x86_64/libQt5Core.so.5",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/tls/x86_64/libQt5Core.so.5",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/tls/x86_64/libQt5Core.so.5",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/tls/libQt5Core.so.5",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD,
"/lib/x86_64-linux-gnu/x86_64/x86_64/libQt5Core.so.5",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/x86_64/libQt5Core.so.5",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/x86_64/libQt5Core.so.5",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libQt5Core.so.5",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD,
"/usr/lib/x86_64-linux-gnu/tls/x86_64/x86_64/libQt5Core.so.5",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD,
"/usr/lib/x86_64-linux-gnu/tls/x86_64/libQt5Core.so.5",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD,
"/usr/lib/x86_64-linux-gnu/tls/x86_64/libQt5Core.so.5",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/tls/libQt5Core.so.5",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD,
"/usr/lib/x86_64-linux-gnu/x86_64/x86_64/libQt5Core.so.5",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/x86_64/libQt5Core.so.5",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/x86_64/libQt5Core.so.5",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/x86_64/x86_64/libQt5Core.so.5",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/x86_64/libQt5Core.so.5",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/x86_64/libQt5Core.so.5",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = -1
ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64/x86_64/libQt5Core.so.5",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) =
-1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) =
-1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = -1
ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/x86_64/x86_64/libQt5Core.so.5",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/x86_64/libQt5Core.so.5",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/x86_64/libQt5Core.so.5",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, 

Re: Salsa repository request

2019-11-14 Thread Georg Faerber
Hi,

On 19-11-13 23:38:46, Fabian Wolff wrote:
> I am currently working on the boogie package. There has been a new
> upstream release which I'm trying to package; I'm not very familiar
> with Mono and CLI packaging, but I'll see how far I can get.
> 
> In any case, I would like to maintain my (and others') work in a
> repository on Salsa in the Debian group. But since I'm not a Debian
> Developer, I can't create the repository myself.
> 
> So, can somebody please create a 'boogie' repository in the Debian
> group on Salsa *and* give me Maintainer access to it (so that I can
> set up everything and push to the master branch etc.)?
> 
> Thanks in advance!
> 
> By the way: I did take note of the Vcs-* fields in debian/control, but
> the URL is not reachable anymore ("404 Not Found"). Also, the current
> maintainer has given the package up for adoption (#903142), so he
> won't mind me working on the package.

What's your username on salsa?

Cheers,
Georg



Re: Phantomjs can't find libQt5Core.so.5 via ldd on buster

2019-11-14 Thread Andreas Tille
On Thu, Nov 14, 2019 at 10:59:43AM +0100, Gudjon I. Gudjonsson wrote:
> Is /etc/ld.so.conf.d/ changed on your machine?

No.

$ cat /etc/ld.so.conf
include /etc/ld.so.conf.d/*.conf

$ cat /etc/ld.so.conf.d/*
/usr/lib/x86_64-linux-gnu/libfakeroot
# libc default configuration
/usr/local/lib
# Multiarch support
/usr/local/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
# Legacy biarch compatibility support
/lib32
/usr/lib32

 
> What does 
> strace phantomjs --version
> 
> That should give you an indication where the program is looking for libraries.

$ LANG=C strace phantomjs --version 2> /tmp/phantomjs.strace
$ grep 'No such file or directory' /tmp/phantomjs.strace | grep libQt5Core.so.5 
openat(AT_FDCWD, "/usr/lib/phantomjs/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/x86_64/x86_64/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/x86_64/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
openat(AT_FDCWD, "tls/x86_64/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
openat(AT_FDCWD, "tls/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No 
such file or directory)
openat(AT_FDCWD, "x86_64/x86_64/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
openat(AT_FDCWD, "x86_64/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No 
such file or directory)
openat(AT_FDCWD, "x86_64/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No 
such file or directory)
openat(AT_FDCWD, "libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such 
file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/tls/x86_64/x86_64/libQt5Core.so.5", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/tls/x86_64/libQt5Core.so.5", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/tls/x86_64/libQt5Core.so.5", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/tls/libQt5Core.so.5", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/x86_64/x86_64/libQt5Core.so.5", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/x86_64/libQt5Core.so.5", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/x86_64/libQt5Core.so.5", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = 
-1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/tls/x86_64/x86_64/libQt5Core.so.5", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/tls/x86_64/libQt5Core.so.5", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/tls/x86_64/libQt5Core.so.5", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/tls/libQt5Core.so.5", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/x86_64/x86_64/libQt5Core.so.5", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/x86_64/libQt5Core.so.5", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/x86_64/libQt5Core.so.5", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/x86_64/x86_64/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) 
= -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/x86_64/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/x86_64/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
openat(AT_FDCWD, "/lib/x86_64/x86_64/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
openat(AT_FDCWD, "/lib/x86_64/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
openat(AT_FDCWD, "/lib/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No 
such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/x86_64/x86_64/libQt5Core.so.5", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/x86_64/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = 
-1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/x86_64/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = 
-1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)

Re: Phantomjs can't find libQt5Core.so.5 via ldd on buster

2019-11-14 Thread Gudjon I. Gudjonsson
Hi Andreas

On Thursday, 14 November 2019 10:32:36 CET Andreas Tille wrote:
> On Thu, Nov 14, 2019 at 09:35:20AM +0100, Leopold Palomo-Avellaneda wrote:
> > On 14/11/19 9:26, Andreas Tille wrote:
> > > $ phantomjs --version
> > > /usr/lib/phantomjs/phantomjs: error while loading shared libraries: 
> > > libQt5Core.so.5: cannot open shared object file: No such file or directory
> > > 
> > > $ ldd /usr/lib/phantomjs/phantomjs | grep "not found"
> > > libQt5Core.so.5 => not found
> > I'm not able to able to reproduce this bug with the same versions. Could you
> > check if libQt5Core.so.5 is there?
> 
> I've checked this including that the symlinks were set properly.  I even
> did a
> 
>sudo apt-get --reinstall install libqt5core5a 
> 
> to be really sure.

Is /etc/ld.so.conf.d/ changed on your machine?

What does 
strace phantomjs --version

That should give you an indication where the program is looking for libraries.

Hope that helps.

Regards
Gudjon





Re: Phantomjs can't find libQt5Core.so.5 via ldd on buster

2019-11-14 Thread Andreas Tille
On Thu, Nov 14, 2019 at 09:35:20AM +0100, Leopold Palomo-Avellaneda wrote:
> On 14/11/19 9:26, Andreas Tille wrote:
> > $ phantomjs --version
> > /usr/lib/phantomjs/phantomjs: error while loading shared libraries: 
> > libQt5Core.so.5: cannot open shared object file: No such file or directory
> > 
> > $ ldd /usr/lib/phantomjs/phantomjs | grep "not found"
> > libQt5Core.so.5 => not found
> [...]
> 
> Andreas,
> 
> I'm not able to able to reproduce this bug with the same versions. Could you
> check if libQt5Core.so.5 is there?

I've checked this including that the symlinks were set properly.  I even
did a

   sudo apt-get --reinstall install libqt5core5a 

to be really sure.

I can try another machine running buster tomorrow evening.

Thanks for your quick reply anyway

 Andreas.

-- 
http://fam-tille.de



Re: Phantomjs can't find libQt5Core.so.5 via ldd on buster

2019-11-14 Thread Leopold Palomo-Avellaneda
On 14/11/19 9:26, Andreas Tille wrote:
> Hi,
> 
> as I reported to BTS[1] phantomjs in Buster is failing:
> 
> $ phantomjs --version
> /usr/lib/phantomjs/phantomjs: error while loading shared libraries: 
> libQt5Core.so.5: cannot open shared object file: No such file or directory
> 
> $ ldd /usr/lib/phantomjs/phantomjs | grep "not found"
> libQt5Core.so.5 => not found
[...]

Andreas,

I'm not able to able to reproduce this bug with the same versions. Could you
check if libQt5Core.so.5 is there?


Leopold


-- 
--
Linux User 152692 GPG: 05F4A7A949A2D9AA
Catalonia
-
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Phantomjs can't find libQt5Core.so.5 via ldd on buster

2019-11-14 Thread Andreas Tille
Hi,

as I reported to BTS[1] phantomjs in Buster is failing:

$ phantomjs --version
/usr/lib/phantomjs/phantomjs: error while loading shared libraries: 
libQt5Core.so.5: cannot open shared object file: No such file or directory

$ ldd /usr/lib/phantomjs/phantomjs | grep "not found"
libQt5Core.so.5 => not found
libQt5Core.so.5 => not found
libQt5Core.so.5 => not found
libQt5Core.so.5 => not found
libQt5Core.so.5 => not found
libQt5Core.so.5 => not found
libQt5Core.so.5 => not found
libQt5Core.so.5 => not found
libQt5Core.so.5 => not found
libQt5Core.so.5 => not found
libQt5Core.so.5 => not found
libQt5Core.so.5 => not found


This is not true for a machine running testing.  I wonder whether this
is just a problem of phantomjs or whether there is some issue with
libqt5core5a in Buster that should be investigated.  Any idea what might
be wrong here?

Kind regards

   Andreas.


[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915648#10

-- 
http://fam-tille.de