Debian Bug report logs - #846200
FTBFS: test_kdb failing: libelektra-resolver.so: cannot open shared object file: No such file or directory

version graph

Package: src:elektra; Maintainer for src:elektra is Pino Toscano <pino@debian.org>;

Reported by: Raphaël Hertzog <hertzog@debian.org>

Date: Tue, 29 Nov 2016 10:00:04 UTC

Severity: serious

Tags: fixed-upstream, ftbfs

Found in version elektra/0.8.14-5.1

Forwarded to https://github.com/ElektraInitiative/libelektra/issues/1247

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, hertzog@debian.org, Pino Toscano <pino@debian.org>:
Bug#846200; Package src:elektra. (Tue, 29 Nov 2016 10:00:07 GMT) (full text, mbox, link).


Acknowledgement sent to Raphaël Hertzog <hertzog@debian.org>:
New Bug report received and forwarded. Copy sent to hertzog@debian.org, Pino Toscano <pino@debian.org>. (Tue, 29 Nov 2016 10:00:07 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Raphaël Hertzog <hertzog@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: FTBFS: test_kdb failing: libelektra-resolver.so: cannot open shared object file: No such file or directory
Date: Tue, 29 Nov 2016 10:57:40 +0100
Source: elektra
Version: 0.8.14-5.1
Severity: serious
Justification: FTBFS on amd64

While #811307 and #844145 are problems related to parallel building with
many cores, this one is the failure I get when building on my machine
(with 4 cores), I believe it's unrelated to parralel building:

ERROR: test_ctor (__main__.KDB)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/src/bindings/swig/python/tests/test_kdb.py", line 25, in test_ctor
    self.assertIsInstance(kdb.KDB(), kdb.KDB)
  File "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/bindings/swig/python/kdb.py", line 1571, in __init__
    _kdb.KDB_swiginit(self, _kdb.new_KDB(*args))
kdb.KDBException: 1 Warning was issued:
 Warning number: 1
	Description: could not load module, dlopen failed
	Ingroup: modules
	Module: dl
	At: /<<PKGBUILDDIR>>/src/libloader/dl.c:80
	Reason: of module: libelektra-resolver.so, because: libelektra-resolver.so: cannot open shared object file: No such file or directory
	Mountpoint: 
	Configfile: 
Error (#40) occurred!
Description: Failed to open default backend (see warnings for more information)
Ingroup: kdb
Module: 
At: /<<PKGBUILDDIR>>/src/libelektra/kdb.c:204
Reason: could not open default backend
Mountpoint: 
Configfile: 

And the same error happens for every kdb test:
ERROR: test_get (__main__.KDB)
ERROR: test_set (__main__.KDB)
ERROR: tearDownClass (__main__.KDB)

And also the same error with test_kda.lua:

45/85 Test #45: test_kdb.lua .....................***Failed    0.00 sec
/usr/bin/lua: kdb:1 Warning was issued:
 Warning number: 1
	Description: could not load module, dlopen failed
	Ingroup: modules
	Module: dl
	At: /<<PKGBUILDDIR>>/src/libloader/dl.c:80
	Reason: of module: libelektra-resolver.so, because: libelektra-resolver.so: cannot open shared object file: No such file or directory
	Mountpoint: 
	Configfile: 
Error (#40) occurred!
Description: Failed to open default backend (see warnings for more information)
Ingroup: kdb
Module: 
At: /<<PKGBUILDDIR>>/src/libelektra/kdb.c:204
Reason: could not open default backend
Mountpoint: 
Configfile: 

stack traceback:
	[C]: in ?
	[C]: in function 'KDB'
	.../elektra-0.8.14/src/bindings/swig/lua/tests/test_kdb.lua:20: in main chunk
	[C]: in ?


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

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



Information forwarded to debian-bugs-dist@lists.debian.org, Pino Toscano <pino@debian.org>:
Bug#846200; Package src:elektra. (Mon, 02 Jan 2017 13:54:02 GMT) (full text, mbox, link).


Acknowledgement sent to Markus Raab <debian@markus-raab.org>:
Extra info received and forwarded to list. Copy sent to Pino Toscano <pino@debian.org>. (Mon, 02 Jan 2017 13:54:02 GMT) (full text, mbox, link).


Message #10 received at 846200@bugs.debian.org (full text, mbox, reply):

From: Markus Raab <debian@markus-raab.org>
To: 846200@bugs.debian.org
Subject: Re: FTBFS: test_kdb failing: libelektra-resolver.so: cannot open shared object file: No such file or directory
Date: Mon, 02 Jan 2017 14:32:39 +0100
Thanks for reporting the issue!

We think the issue is already solved and released upstream.

https://github.com/ElektraInitiative/libelektra/issues/1247

As workaround, you can simply set LD_LIBRARY_PATH to <builddirectory>/lib 
while running the tests.

Best regards, Markus



Added tag(s) fixed-upstream. Request was from Adrian Bunk <bunk@debian.org> to control@bugs.debian.org. (Sun, 15 Jan 2017 20:57:08 GMT) (full text, mbox, link).


Set Bug forwarded-to-address to 'https://github.com/ElektraInitiative/libelektra/issues/1247'. Request was from Adrian Bunk <bunk@debian.org> to control@bugs.debian.org. (Sun, 15 Jan 2017 20:57:09 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Pino Toscano <pino@debian.org>:
Bug#846200; Package src:elektra. (Wed, 01 Feb 2017 14:15:03 GMT) (full text, mbox, link).


Acknowledgement sent to Radovan Birdic <Radovan.Birdic@imgtec.com>:
Extra info received and forwarded to list. Copy sent to Pino Toscano <pino@debian.org>. (Wed, 01 Feb 2017 14:15:03 GMT) (full text, mbox, link).


Message #19 received at 846200@bugs.debian.org (full text, mbox, reply):

From: Radovan Birdic <Radovan.Birdic@imgtec.com>
To: "846200@bugs.debian.org" <846200@bugs.debian.org>
Cc: "debian@markus-raab.org" <debian@markus-raab.org>, "debian@markus-raab.org" <debian@markus-raab.org>
Subject: Re: FTBFS: test_kdb failing: libelektra-resolver.so: cannot open shared object file: No such file or directory
Date: Wed, 1 Feb 2017 14:11:17 +0000
[Message part 1 (text/plain, inline)]
Hi,

I have adapted patch from upstream to debian version of elektra.
The patch has been attached.

With this patch package builds successfully on mips, mipsel, mips64el and amd64.

Could you please consider including this patch.

Regards,
Radovan
[fix-ld-library-path.patch (text/x-patch, attachment)]

Added tag(s) ftbfs. Request was from Adrian Bunk <bunk@debian.org> to control@bugs.debian.org. (Fri, 22 Jun 2018 16:39:12 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Sep 27 07:38:15 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.