Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72895 - hylafax 4.2 sends ob failed emails
Summary: hylafax 4.2 sends ob failed emails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: HPPA Linux
: High normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-30 02:06 UTC by Ojec Borec
Modified: 2005-05-16 00:48 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ojec Borec 2004-11-30 02:06:22 UTC
Hi.

I'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 "Invalid Str[] index", file "../util/Str.h" 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 "doneq/q2706" "failed" "0:56"
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:
Comment 1 Steve Arnold archtester gentoo-dev 2004-11-30 13:37:19 UTC
I'm in a bind right now, so I can't really experiment with this yet, however, 
there'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...
Comment 2 Ojec Borec 2004-12-01 02:21:18 UTC
I tried -fPIC, same problem.
Comment 3 Steve Arnold archtester gentoo-dev 2004-12-04 00:47:33 UTC
Removing dso/configure patch as both superfluous and borked (on some arches). 
Instead I added DSO=auto to the config:

> Checking TIFF support.
> Using TIFF binary files from /usr/bin
> Done checking TIFF support.

> Checking for Dynamic Shared Object (DSO) support.
> 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.
Comment 4 Steve Arnold archtester gentoo-dev 2005-01-26 21:04:08 UTC
Instead of "fixing" 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...
Comment 5 Ojec Borec 2005-01-29 00:54:50 UTC
Seems like hylafax-4.2.0-fPIC.patch for hylafax-4.2.0-r2.ebuild works on Pentium4 ht.
Comment 6 Guy Martin (RETIRED) gentoo-dev 2005-05-12 09:24:33 UTC
I wonder why this is assigned to me. I'm doing the hppa port, not fax stuff.
Comment 7 Steve Arnold archtester gentoo-dev 2005-05-16 00:48:45 UTC
Closing as the original reporter hasn't reported a problem; re-open if needed.