<?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>72895</bug_id>
          
          <creation_ts>2004-11-30 02:06 0000</creation_ts>
          <short_desc>hylafax 4.2 sends ob failed emails</short_desc>
          <delta_ts>2005-05-16 00:48:45 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>Applications</component>
          <version>unspecified</version>
          <rep_platform>HPPA</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>ojo@force.sk</reporter>
          <assigned_to>nerdboy@gentoo.org</assigned_to>
          <cc>nerdboy@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>ojo@force.sk</who>
            <bug_when>2004-11-30 02:06:22 0000</bug_when>
            <thetext>Hi.

I&apos;ve got net-misc/hylafax-4.2.0-r1. When I send fax, it returns email like:

facsimile job 2706 to 0556771088 failed

In /var/log/messages I found:

Nov 30 10:50:29 gw FaxSend[27919]: Assertion failed &quot;Invalid Str[] index&quot;, file &quot;../util/Str.h&quot; line 109.
Nov 30 10:50:29 gw FaxQueuer[27880]: JOB 2706: Send program terminated abnormally with exit status 0x6
Nov 30 10:50:29 gw FaxQueuer[27880]: NOTIFY: bin/notify &quot;doneq/q2706&quot; &quot;failed&quot; &quot;0:56&quot;
Nov 30 10:50:29 gw FaxQueuer[27880]: NOTIFY exit status: 0 (27944)

But when I compile hylafax:

ebuild /usr/portage/net-misc/hylafax/hylafax-4.2.0-r1.ebuild unpack compile install qemerge

without hylafax-4.2.0-dso.patch, everything works find. Just like in 4.1.x versions.

Reproducible: Always
Steps to Reproduce:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nerdboy@gentoo.org</who>
            <bug_when>2004-11-30 13:37:19 0000</bug_when>
            <thetext>I&apos;m in a bind right now, so I can&apos;t really experiment with this yet, however, 
there&apos;s one thing you could try for me if you have the chance:

Build Hylafax with the DSO patch again, only change the -fpic to -fPIC instead.

Let me know how it goes if get to try it, otherwise I should be able to come up 
for air in a day or two.

Thanks...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ojo@force.sk</who>
            <bug_when>2004-12-01 02:21:18 0000</bug_when>
            <thetext>I tried -fPIC, same problem.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nerdboy@gentoo.org</who>
            <bug_when>2004-12-04 00:47:33 0000</bug_when>
            <thetext>Removing dso/configure patch as both superfluous and borked (on some arches). 
Instead I added DSO=auto to the config:

&gt; Checking TIFF support.
&gt; Using TIFF binary files from /usr/bin
&gt; Done checking TIFF support.

&gt; Checking for Dynamic Shared Object (DSO) support.
&gt; Looks like your system supports LINUX-style DSOs.

It should now build DSOs correctly on all arches (in theory...)  Try this 
version and see how it works for you.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nerdboy@gentoo.org</who>
            <bug_when>2005-01-26 21:04:08 0000</bug_when>
            <thetext>Instead of &quot;fixing&quot; it by forcing it on all arches (which was the original cause 
of this bug), can you please modify your patch either so that DSO=auto works on 
hppa or else force it for just that one arch.  Thanks...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ojo@force.sk</who>
            <bug_when>2005-01-29 00:54:50 0000</bug_when>
            <thetext>Seems like hylafax-4.2.0-fPIC.patch for hylafax-4.2.0-r2.ebuild works on Pentium4 ht.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gmsoft@gentoo.org</who>
            <bug_when>2005-05-12 09:24:33 0000</bug_when>
            <thetext>I wonder why this is assigned to me. I&apos;m doing the hppa port, not fax stuff.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nerdboy@gentoo.org</who>
            <bug_when>2005-05-16 00:48:45 0000</bug_when>
            <thetext>Closing as the original reporter hasn&apos;t reported a problem; re-open if needed.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>