Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 221831
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Luca Longinotti <chtekk@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ceesjan Luiten <quinox_san_@hotmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
smokeping-2.3.5.patch Patch to fix the ebuild patch Ceesjan Luiten 2008-05-12 14:15 0000 469 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 221831 depends on: Show dependency tree
Bug 221831 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-05-12 14:15 0000
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 From Ceesjan Luiten 2008-05-12 14:15:51 0000 -------
Created an attachment (id=152945) [details]
Patch to fix the ebuild

------- Comment #2 From Luca Lesinigo 2008-05-28 09:28:10 0000 -------
net-analyzer/smokeping-2.3.5 works on HPPA with the above patch

------- Comment #3 From Luca Lesinigo 2008-05-28 21:25:53 0000 -------
net-analyzer/smokeping-2.3.5 also works on AMD64 Gentoo/Hardened with the above
patch

------- Comment #4 From Raphael Marichez 2008-08-19 14:12:49 0000 -------
fixed, thanks

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug