Skip Menu |

This queue is for tickets about the Systemd-Daemon CPAN distribution.

Report information
The Basics
Id: 106701
Status: open
Priority: 0/
Queue: Systemd-Daemon

People
Owner: VDB [...] cpan.org
Requestors: tom.gebhardt [...] verizon.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: undefined symbol sd_notify during make test
Date: Thu, 27 Aug 2015 14:35:28 -0400
To: "bug-Systemd-Daemon [...] rt.cpan.org" <bug-Systemd-Daemon [...] rt.cpan.org>
From: "Gebhardt, Thomas V (Tom)" <tom.gebhardt [...] verizon.com>
Distro: Systemd-Daemon-0.06 Perl: perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux-thread-multi O/S: Linux mysystem 3.10.0-229.11.1.el7.x86_64 #1 SMP Thu Aug 6 01:06:18 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux [root@genii-monitor Systemd-Daemon-0.06]# perl Makefile.PL Checking if your kit is complete... Looks good Warning (mostly harmless): No library found for -lsystemd Generating a Unix-style Makefile Writing Makefile for Systemd::Daemon Writing MYMETA.yml and MYMETA.json [root@genii-monitor Systemd-Daemon-0.06]# make cp lib/Systemd/Daemon/Inline.pm blib/lib/Systemd/Daemon/Inline.pm cp lib/Systemd/Daemon.pm blib/lib/Systemd/Daemon.pm make teManifying 1 pod document "/usr/bin/perl" "-Iblib/arch" "-Iblib/lib" Makefile.PL MANIFEST.SKIP s"/usr/bin/perl" "-Iblib/arch" "-Iblib/lib" Makefile.PL rpm/perl-Systemd-Daemon.spec t[root@genii-monitor Systemd-Daemon-0.06]# make test PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.t ............ 1/? Bailout called. Further testing stopped: # Failed test 'use Systemd::Daemon;' # at t/00-load.t line 11. # Tried to use 'Systemd::Daemon'. # Error: Can't load '/root/Systemd-Daemon-0.06/blib/arch/auto/Systemd/Daemon/Inline/Inline.so' for module Systemd::Daemon::Inline: /root/Systemd-Daemon-0.06/blib/arch/auto/Systemd/Daemon/Inline/Inline.so: undefined symbol: sd_notify at /usr/lib64/perl5/DynaLoader.pm line 190. # at /root/Systemd-Daemon-0.06/blib/lib/Systemd/Daemon.pm line 62. # Compilation failed in require at /root/Systemd-Daemon-0.06/blib/lib/Systemd/Daemon.pm line 62. # BEGIN failed--compilation aborted at /root/Systemd-Daemon-0.06/blib/lib/Systemd/Daemon.pm line 62. # Compilation failed in require at t/00-load.t line 11. # BEGIN failed--compilation aborted at t/00-load.t line 11. Use of uninitialized value $Systemd::Daemon::VERSION in concatenation (.) or string at t/00-load.t line 14. # Looks like you failed 1 test of 1. # Looks like your test exited with 255 just after 1. FAILED--Further testing stopped. make: *** [test_dynamic] Error 255 Tom Gebhardt Senior Network Engineer, IT | Verizon Telematics tom.gebhardt@verizon.com<mailto:tom.gebhardt@verizon.com> Office/Mobile: 404/573-5960 2002 Summit Blvd., Suite 1800, Atlanta, GA 30319
On Thu Aug 27 14:35:50 2015, tom.gebhardt@verizon.com wrote: Show quoted text
> Distro: Systemd-Daemon-0.06 > Perl: perl 5, version 16, subversion 3 (v5.16.3) built for x86_64- > linux-thread-multi > O/S: Linux mysystem 3.10.0-229.11.1.el7.x86_64 #1 SMP Thu Aug 6 > 01:06:18 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux > > [root@genii-monitor Systemd-Daemon-0.06]# perl Makefile.PL > Checking if your kit is complete... > Looks good > Warning (mostly harmless): No library found for -lsystemd
Hi, "Systemd-Daemon" is a Perl interface to "systemd" library. It is expected "systemd" library is available on your system, but it is not. See the message: "No library found for -lsystemd" in the beginning of the log. Don't believe it is "mostly harmless", it is a showstopper. Unfortunately, current format of CPAN metainformation does not allow to express dependency on non-Perl libraries. However, I have added a check to Build.PL file, if "systemd" library is not found, build and install will be aborted. Thus: If your system does not have "systemd" library, please close the ticket. Otherwise, please help me to investigate the problem why the library is not found.