Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107507 - crash when execute, for example "etcat -v mysql"
Summary: crash when execute, for example "etcat -v mysql"
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-28 06:33 UTC by Javier Pascual
Modified: 2005-09-28 06:36 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 Javier Pascual 2005-09-28 06:33:08 UTC
When I execute with -v or -h options, etcat dont't crash, but with -u yes:


Reproducible: Always
Steps to Reproduce:
etcat -u mysql

Actual Results:  
mail ~ # etcat -u mysql
[ Colour Code : set unset ]
[ Legend   : (U) Col 1 - Current USE flags        ]
[          : (I) Col 2 - Installed With USE flags ]
Traceback (most recent call last):
  File "/usr/bin/etcat", line 677, in ?
    main()
  File "/usr/bin/etcat", line 673, in main
    function(query, matches)
  File "/usr/bin/etcat", line 364, in uses
    used = p.get_use_vars().split()
AttributeError: Package instance has no attribute 'get_use_vars'


Expected Results:  
Show me the USES of a ebuild

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1, 
2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 Intel(R) Xeon(TM) CPU 2.40GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer -funroll-loops -frerun-cse-
after-loop -ffast-math -ftracer -fforce-addr -frename-registers -fmove-all-
movables -fmerge-all-constants -finline-functions"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer -funroll-loops -frerun-cse-
after-loop -ffast-math -ftracer -fforce-addr -frename-registers -fmove-all-
movables -fmerge-all-constants -finline-functions"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X509 acl acpi apache2 apm authdaemond avi bash-completion bashlogger 
berkdb bidi bzip2 bzlib caps cdb chroot crypt cscope ctype curl curlwrappers 
directfb doc eds emboss encode fam fbcon foomaticdb ftp gd gdbm geoip gif gpm 
gstreamer gtk2 hal hardened hardenedphp howl imap imlib inifile innodb ithreads 
javascript jpeg justify kerberos lcms libg++ libwww lm_sensors mad maildir 
mailwrapper mcal memlimit mhash mikmod mime mmap mmx mng motif mpeg mpi mysql 
ncurses netboot netcdf nis nls nocardbus nptl odbc ogg oggvorbis oss pam 
pam_chroot pam_console pam_timestamp pcntl pcre pdflib perl pfpro php pic pie 
png posix pwdb python quicktime readline sandbox sasl sdl session sftplogging 
simplexml skey slang snmp soap sockets socks5 spell spl sse ssl svga sysfs 
sysvipc szip tcpd tidy tiff tokenizer truetype truetype-fonts type1-fonts 
unicode usb vhosts vorbis x86 xml xml2 xmlrpc xmms xsl zlib userland_GNU 
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-09-28 06:36:03 UTC
etcat is deprecated; use equery.