Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 221831 - net-analyzer/smokeping-2.3.5 fails to install Perl module Config::Grammar::Dynamic
Summary: net-analyzer/smokeping-2.3.5 fails to install Perl module Config::Grammar::Dy...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Luca Longinotti (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-12 14:15 UTC by Ceesjan Luiten
Modified: 2008-08-19 14:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to fix the ebuild (smokeping-2.3.5.patch,469 bytes, patch)
2008-05-12 14:15 UTC, Ceesjan Luiten
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ceesjan Luiten 2008-05-12 14:15:01 UTC
The installation of net-analyzer/smokeping-2.3.5 went without problems, but as soon as I tried to start it I got this error:

tikko ~ # /etc/init.d/smokeping start
 * Please remember to setup smokeping at /etc/smokeping!
 * Starting smokeping ...
Can't locate Config/Grammar/Dynamic.pm in @INC (@INC contains: /etc/perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux /usr/lib64/perl5/vendor_perl/5.8.8 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux /usr/lib64/perl5/site_perl/5.8.8 /usr/lib64/perl5/site_perl /usr/lib64/perl5/5.8.8/x86_64-linux /usr/lib64/perl5/5.8.8 /usr/local/lib/site_perl .) at /usr/lib64/perl5/vendor_perl/5.8.8/Smokeping/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.8.8/Smokeping/Config.pm line 13.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.8.8/Smokeping.pm line 12.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.8.8/Smokeping.pm line 12.
Compilation failed in require at /usr/bin/smokeping line 7.
BEGIN failed--compilation aborted at /usr/bin/smokeping line 7.
 * start-stop-daemon: failed to start `/usr/bin/smokeping'                                                                                                                      [ !! ]
 * ERROR: smokeping failed to start
tikko ~ #

Note that I am using a brand new installation of Gentoo so I didn't have any perl modules before emerging smokeping.

The required file comes with smokeping but isn't installed by the current ebuild

Reproducible: Always

Steps to Reproduce:
1. Make sure you don't have /usr/lib64/perl5/vendor_perl/5.8.8/Config/Grammar/Dynamic.pm yet
2. emerge smokeping
3. start smokeping using /etc/init.d/smokeping

Actual Results:  
Init script fails with the message:

tikko ~ # /etc/init.d/smokeping start
 * Please remember to setup smokeping at /etc/smokeping!
 * Starting smokeping ...
Can't locate Config/Grammar/Dynamic.pm in @INC (@INC contains: /etc/perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux /usr/lib64/perl5/vendor_perl/5.8.8 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux /usr/lib64/perl5/site_perl/5.8.8 /usr/lib64/perl5/site_perl /usr/lib64/perl5/5.8.8/x86_64-linux /usr/lib64/perl5/5.8.8 /usr/local/lib/site_perl .) at /usr/lib64/perl5/vendor_perl/5.8.8/Smokeping/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.8.8/Smokeping/Config.pm line 13.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.8.8/Smokeping.pm line 12.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.8.8/Smokeping.pm line 12.
Compilation failed in require at /usr/bin/smokeping line 7.
BEGIN failed--compilation aborted at /usr/bin/smokeping line 7.
 * start-stop-daemon: failed to start `/usr/bin/smokeping'                                                                                                                      [ !! ]
 * ERROR: smokeping failed to start


Expected Results:  
Smokeping should have started

I solved the problem of the missing file by modifying the ebuild to install the two extra files (see attachment)
Comment 1 Ceesjan Luiten 2008-05-12 14:15:51 UTC
Created attachment 152945 [details, diff]
Patch to fix the ebuild
Comment 2 Luca Lesinigo 2008-05-28 09:28:10 UTC
net-analyzer/smokeping-2.3.5 works on HPPA with the above patch
Comment 3 Luca Lesinigo 2008-05-28 21:25:53 UTC
net-analyzer/smokeping-2.3.5 also works on AMD64 Gentoo/Hardened with the above patch
Comment 4 Raphael Marichez (Falco) (RETIRED) gentoo-dev 2008-08-19 14:12:49 UTC
fixed, thanks