<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>221831</bug_id>
          
          <creation_ts>2008-05-12 14:15 0000</creation_ts>
          <short_desc>net-analyzer/smokeping-2.3.5 fails to install Perl module Config::Grammar::Dynamic</short_desc>
          <delta_ts>2008-08-19 14:12:49 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>quinox_san_@hotmail.com</reporter>
          <assigned_to>chtekk@gentoo.org</assigned_to>
          <cc>luckyluke@softhome.net</cc>

      

      
          <long_desc isprivate="0">
            <who>quinox_san_@hotmail.com</who>
            <bug_when>2008-05-12 14:15:01 0000</bug_when>
            <thetext>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&apos;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&apos;                                                                                                                      [ !! ]
 * ERROR: smokeping failed to start
tikko ~ #

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

The required file comes with smokeping but isn&apos;t installed by the current ebuild

Reproducible: Always

Steps to Reproduce:
1. Make sure you don&apos;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&apos;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&apos;                                                                                                                      [ !! ]
 * 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)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>quinox_san_@hotmail.com</who>
            <bug_when>2008-05-12 14:15:51 0000</bug_when>
            <thetext>Created an attachment (id=152945)
Patch to fix the ebuild

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>luckyluke@softhome.net</who>
            <bug_when>2008-05-28 09:28:10 0000</bug_when>
            <thetext>net-analyzer/smokeping-2.3.5 works on HPPA with the above patch</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>luckyluke@softhome.net</who>
            <bug_when>2008-05-28 21:25:53 0000</bug_when>
            <thetext>net-analyzer/smokeping-2.3.5 also works on AMD64 Gentoo/Hardened with the above patch
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2008-08-19 14:12:49 0000</bug_when>
            <thetext>fixed, thanks</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>152945</attachid>
            <date>2008-05-12 14:15 0000</date>
            <desc>Patch to fix the ebuild</desc>
            <filename>smokeping-2.3.5.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9uZXQtYW5hbHl6ZXIvc21va2VwaW5nL3Ntb2tlcGluZy0yLjMuNS5l
YnVpbGQJMjAwOC0wNC0yMSAxMTo0MDo0Ny4wMDAwMDAwMDAgKzAyMDAKKysrIC91c3IvbG9jYWwv
cG9ydGFnZS9uZXQtYW5hbHl6ZXIvc21va2VwaW5nL3Ntb2tlcGluZy0yLjMuNS5lYnVpbGQJMjAw
OC0wNS0xMiAxNjowOTozNi4wMDAwMDAwMDAgKzAyMDAKQEAgLTQ2LDYgKzQ2LDggQEAKIAlkb2lu
cyBsaWIvKi5wbQogCWluc2ludG8gJHtWRU5ET1JfTElCfS9Db25maWcKIAlkb2lucyBsaWIvQ29u
ZmlnLyoucG0KKwlpbnNpbnRvICR7VkVORE9SX0xJQn0vQ29uZmlnL0dyYW1tYXIKKwlkb2lucyBs
aWIvQ29uZmlnL0dyYW1tYXIvKi5wbQogCWluc2ludG8gJHtWRU5ET1JfTElCfS9TbW9rZXBpbmcK
IAlkb2lucyBsaWIvU21va2VwaW5nLyoucG0KIAlpbnNpbnRvICR7VkVORE9SX0xJQn0vU21va2Vw
aW5nL21hdGNoZXJzCg==
</data>        

          </attachment>
    </bug>

</bugzilla>