Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173832 - ~ppc for x11-misc/efax-gtk-3.0.11
Summary: ~ppc for x11-misc/efax-gtk-3.0.11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Samuli Suominen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-09 07:30 UTC by Alessandro Selli
Modified: 2007-05-02 18:55 UTC (History)
0 users

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 Alessandro Selli 2007-04-09 07:30:58 UTC
When running efax-gtk on a valid file (one that is succefully sent using efax directly on the command-line), I get the following messages on its' status window:

Adopting default printer command of 'lpr'
Adopting default postscript view command of 'gv'


Socket running on port 9900
efax: 02:00 Error: unknown option (-u)
efax: 02:00 done, returning 2 (unrecoverable error)
Usage:
  efax [ option ]... [ -t num [ file... ] ]
Options:
  -a str  use command ATstr to answer
  -c cap  set modem and receive capabilites to cap
  -d dev  use modem on device dev
  -e cmd  exec "/bin/sh -c cmd" for voice calls
  -f fnt  use (PBM) font file fnt for headers
  -g cmd  exec "/bin/sh -c cmd" for data calls
  -h hdr  use page header hdr (use %d's for current page/total pages)
  -i str  send modem command ATstr at start
  -j str  send modem command ATstr after set fax mode
  -k str  send modem command ATstr when done
  -l id   set local identification to id
  -o opt  use protocol option opt:
      0     use class 2.0 instead of class 2 modem commands
      1     use class 1 modem commands
      2     use class 2 modem commands
      a     if first [data mode] answer attempt fails retry as fax
      e     ignore errors in modem initialization commands
      f     use virtual flow control
      h     use hardware flow control
      l     halve lock file polling interval
      n     ignore page retransmission requests
      r     do not reverse received bit order for Class 2 modems
      x     use XON instead of DC2 to trigger reception
      z     add 100 ms to pause before each modem comand (cumulative)
  -q ne   ask for retransmission if more than ne errors per page
  -r pat  save received pages into files pat.001, pat.002, ... 
  -s      share (unlock) modem device while waiting for call
  -v lvl  print messages of type in string lvl (ewinchamr)
  -w      don't answer phone, wait for OK or CONNECT instead
  -x fil  use uucp-style lock file fil
Commands:
  -t      dial num and send fax image files file...


I replaced the /usr/bin/efax executable with the following script to get the full command line produced by efax-gtk:

cat /usr/bin/efax
#!/bin/sh
echo "efax $@" > /tmp/efax.log
exec efax.orig $@


  This is what I then find in /tmp/efax.log:

efax -vew -vin -u -l06 XXX XXX XXX -iZ -i&FE&D2S7=120 -i&C0 -iM1L0 -kZ -d/dev/ttyS0 -x/var/lock/LCK..ttyS0 -h2007-04-09 08:44    Alessandro Selli (06 XXX XXX XXX) --> 06WWWWWWWWW      %d/%d -tT06WWWWWWWWW /tmp/webfile.ps.001


  The efax man page does not document any -u parameter.

Reproducible: Always

Steps to Reproduce:
1. efax-gtk was configured with default settings exept:
   Identity -> Name: field has: "Alessandro Selli";
   Identity -> Number: field has my home phone number "06 XXX XXX XXX"
   Modem -> Serial Device: field has "ttyS0"
   Modem -> Modem class: Auto
   Modem -> Dial Mode: Tone

I just select any PostScript file and try to fax it.  I get the error before the fax dials the number.
Actual Results:  
  When efax-gtk invokes efax, the following error is produced (see above for full efax-gtk output):

efax: 02:00 Error: unknown option (-u)
efax: 02:00 done, returning 2 (unrecoverable error)



emerge --info
Portage 2.1.2-r9 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i586)
=================================================================
System uname: 2.6.19-gentoo-r5 i586 AMD-K6(tm) 3D processor
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 02 Mar 2007 22:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-O3 -march=k6-2 -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=k6-2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/Linux/distributions/gentoo/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/ http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ http://gentoo.ccccom.com ftp://gentoo.ccccom.com http://ftp-mirror.internap.com/pub/gentoo/ ftp://ftp-mirror.internap.com/pub/gentoo/ http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo http://gentoo.netnitco.net ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://mirror.tucdemonic.org/gentoo/ http://mirror.clarkson.edu/pub/distributions/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ ftp://ftp.ndlug.nd.edu/pub/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/ ftp://gentoo.llarian.net/pub/gentoo http://gentoo.binarycompass.org http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://gentoo.eliteitminds.com http://www.gigaload.org/gentoo.org/ http://chod.cwru.edu/gentoo ftp://chod.cwru.edu/gentoo http://gentoo.cs.lewisu.edu/gentoo/ ftp://linux.cs.lewisu.edu/gentoo/ http://prometheus.cs.wmich.edu/gentoo"
LANG="it_IT"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d alsa apm audiofile avi berkdb bitmap-fonts cdr cli cracklib crypt dga directfb dri dvd encode fbcon ffmpeg flac foomaticdb fortran gdbm gif gpm gtk gtk2 iconv imlib ipv6 isdnlog jikes jpeg lesstif libg++ mad matrox mbox midi mmx mp3 mpeg mplayer ncurses nls nptl nptlonly ogg opengl pam pcre perl png ppds pppd python quicktime readline reflection scanner seamonkey session spell spl ssl tcpd threads tiff truetype-fonts type1-fonts unicode usb vcd vorbis win32codecs x86 xinetd xorg xv xvid zlib" ALSA_CARDS="sbawe%" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-04-09 07:37:29 UTC
Fixed in >=3.0.8-r1; anyway, 3.0.11 has multiple fixed and should be stabilized.
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2007-04-09 10:49:10 UTC
x86 stable, closing
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2007-04-14 11:55:48 UTC
ppc, please move your ~ flag from 2.2.16 to 3.0.11 so broken ebuild can be punted from tree.

(And, no, I have no idea why it was dropped from 3.x in first place.)

efax-gtk-2.2.16.ebuild:KEYWORDS="~ppc"
efax-gtk-3.0.11.ebuild:KEYWORDS="~amd64 x86"
Comment 4 Joe Jezak (RETIRED) gentoo-dev 2007-04-20 21:29:38 UTC
GUI runs fine, marked ~ppc.  Feel free to get rid of the old version.