Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63009 - "equery list" chokes on FIFOs
Summary: "equery list" chokes on FIFOs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-09-06 07:19 UTC by Sascha Silbe
Modified: 2004-10-10 15:57 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 Sascha Silbe 2004-09-06 07:19:47 UTC
"equery list" cannot handle packages containing FIFOs.



Reproducible: Always
Steps to Reproduce:
1. qpkg -l nullmailer
2. equery list nullmailer

Actual Results:  
sascha@caravan:~$ qpkg -l nullmailer
mail-mta/nullmailer-1.00_rc7-r1 *
CONTENTS:
/usr
/usr/share
[...]
/var
/var/nullmailer
/var/nullmailer/queue
/var/nullmailer/queue/.keep
/var/nullmailer/tmp
/var/nullmailer/tmp/.keep
fif /var/nullmailer/trigger
/var/nullmailer/service
/var/nullmailer/service/log
/var/nullmailer/service/log/run
/var/nullmailer/service/run
/var/log
/var/log/nullmailer
/var/log/nullmailer/.keep
/etc
/etc/nullmailer
/etc/nullmailer/remotes

sascha@caravan:~$ equery files nullmailer
Searching for packages matching 'nullmailer'...
Contents of mail-mta/nullmailer-1.00_rc7-r1:
/var/nullmailer/queue/.keep
/usr/share/man/man1/nullmailer-inject.1.gz
/usr/bin
/usr/libexec/nullmailer
/usr/lib
/usr/share/man/man8
/usr/sbin
/usr/share/doc/nullmailer-1.00_rc7-r1/TODO.gz
/usr/share/man/man7
/var/nullmailer/tmp
/usr/libexec/nullmailer/qmqp
/usr/share/man/man1
/var/nullmailer/service/log
/usr
Traceback (most recent call last):
  File "/usr/bin/equery", line 947, in ?
    cmd.perform(local_opts)
  File "/usr/bin/equery", line 132, in perform
    showMD5=opts["showMD5"])
  File "/usr/bin/equery", line 49, in fileAsStr
    raise "Unknown type: " + fdesc[0]
Unknown type: fif
sascha@caravan:~$ 




Expected Results:  
List all files of package mail-mta/nullmailer, including FIFOs.


Gentoo Base System version 1.4.16
Portage 2.0.50-r10 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.6-caravan-4)
=================================================================
System uname: 2.6.6-caravan-4 i686 mobile AMD Athlon(tm) XP2500+
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/afs/modload /etc/gconf /etc/make.globals /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox strict userpriv usersandbox"
GENTOO_MIRRORS="http://192.168.1.2/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://hybrid.sascha.silbe.org/gentoo-portage"
USE="3dnow X acl acpi afs alsa avi berkdb cdr crypt doc dvd encode foomaticdb gatos gdbm gif gps gtk gtk2 gtkhtml guile hbci imap imlib input_devices_synaptics ipv6 jpeg krb4 lcms libg++ libwww linguas_en,de mad maildir mbox mikmod mmx monitor mpeg nas ncurses nls oggvorbis opengl pam pcmcia pdflib png postgres python qt qtmt quicktime readline samba sdl skey socks5 spell sse ssl tetex tiff truetype unicode video_cards_radeon x86 xml xml2 xv zlib"
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-10-10 15:57:38 UTC
should be fixed in gentoolkit-0.2.0_pre10