<?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>149329</bug_id>
          
          <creation_ts>2006-09-27 11:05 0000</creation_ts>
          <short_desc>media-tv/mythtv should use elog instead of mixing echo and einfo</short_desc>
          <delta_ts>2006-09-30 05:52:06 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>All</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>cazzantonio@gmail.com</reporter>
          <assigned_to>cardoe@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>cazzantonio@gmail.com</who>
            <bug_when>2006-09-27 11:05:01 0000</bug_when>
            <thetext>mythtv ebuild (all versions) does not save einfo correclty in the elog logs.
This is because crucial informations are echoed to the console through the &quot;echo&quot; command instead of &quot;einfo&quot; (which is logged by elog).
This is not a terrible bug but is a very annoying thing if you relay on elog to read the einfo printed by emerge.

this is an exemple:
pkg_postinst() {
        if ! use backendonly; then
                echo    ###who cares for this line? the problem is below
                einfo &quot;Want mythfrontend to start automatically? Run the following:&quot;
                echo &quot;crontab -e -u mythtv&quot;  #### this is a line that doesn&apos;t get logged
                einfo &quot;Add add the following:&quot;
                echo &quot;* * * * * /usr/bin/runmythfe &amp;&quot;  ##### another one
        fi
        echo
        einfo &quot;To always have MythBackend running and available run the following:&quot;
        echo &quot;rc-update add mythbackend default&quot;  #another
        echo
        ewarn &quot;Your recordings folder must be owned by the user &apos;mythtv&apos; now&quot;
        echo &quot;chown -R mythtv /path/to/store&quot;  #idem
}

I hope there are no other ebuilds that behave this way... If I&apos;ll find some of them I&apos;ll let you know ;-)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>beandog@gentoo.org</who>
            <bug_when>2006-09-30 05:52:06 0000</bug_when>
            <thetext>Thanks, fixed in CVS</thetext>
          </long_desc>
      
    </bug>

</bugzilla>