Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61945 - etcat -u fails on vim ebuilds
Summary: etcat -u fails on vim ebuilds
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-27 09:30 UTC by Chris Gottbrath
Modified: 2004-10-10 15:53 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 Chris Gottbrath 2004-08-27 09:30:24 UTC
etcat -u seems to be broken on some but not all ebuilds. I am guessing it is because the IUSE field of the vim ebuilds refers to a variables (probably set in some shared configuration file for the whole vi family of ebuilds). 

etcat -u seems to be working for the other packages I have looked at recently.

Reproducible: Always
Steps to Reproduce:
1. emerge -pv vim
2. etcat -u vim

Actual Results:  
0 6 % sudo emerge -pv vim                                                      
                   chrisg@nenya:/home/chrisg/temp

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] app-editors/vim-core-6.3-r1 [6.2-r7] -acl -debug +ncurses +nls
+nls -(selinux)  6,788 kB
[ebuild     U ] app-editors/vim-6.3 [6.2-r7] -acl -cscope -debug +gpm -minimal
+ncurses +nls +nls +perl +python -ruby -(selinux) -vim-with-x  4,650 kB

Total size of downloads: 11,438 kB

0 7 % etcat -u vim                                                             
                   chrisg@nenya:/home/chrisg/temp

*** You are not in the portage group. You may experience cache problems
*** due to permissions preventing the creation of the on-disk cache.
*** Please add this user to the portage group if you wish to use portage.

[ Colour Code : set unset ]
[ Legend   : (U) Col 1 - Current USE flags        ]
[          : (I) Col 2 - Installed With USE flags ]
0 8 % grep IUSE /usr/portage/app-editors/vim/vim-6.3.ebuild                    
                   chrisg@nenya:/home/chrisg/temp
IUSE="${IUSE} nls"
0 9 % etcat -u vim-core                                                        
                   chrisg@nenya:/home/chrisg/temp

*** You are not in the portage group. You may experience cache problems
*** due to permissions preventing the creation of the on-disk cache.
*** Please add this user to the portage group if you wish to use portage.

[ Colour Code : set unset ]
[ Legend   : (U) Col 1 - Current USE flags        ]
[          : (I) Col 2 - Installed With USE flags ]
0 10 % grep IUSE /usr/portage/app-editors/vim-core/vim-core-6.3-r1.ebuild      
                   chrisg@nenya:/home/chrisg/temp
IUSE="${IUSE} nls"
0 11 %                                                               

Expected Results:  
I would have expected to see use information for at least nls (and better yet
all the use flags that emerge found). 

Portage 2.0.50-r10 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.4.26)
=================================================================
System uname: 2.4.26 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.9
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo
ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://lug.mtu.edu/gentoo/source
ftp://ftp.ndlug.nd.edu/pub/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/
http://mirror.datapipe.net/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d apache2 apm arts avi berkdb crypt cups doc dvd encode esd f77
foomaticdb gcj gd gdbm gif gpm gtk gtk2 imlib java jikes jpeg libg++ libwww mad
mbox mcal mikmod mmx motif mozilla mpeg mpi mysql ncurses nls oggvorbis opengl
oss pam pcmcia pdflib perl plotutils png python qt quicktime readline sdl slang
spell sse ssl svga tcltk tcpd tetex tiff truetype trusted usb x86 xfs xml xml2
xmms xv zeo zlib"
Comment 1 Chris Gottbrath 2004-08-27 10:31:41 UTC
it looks like I can do what I want with 'equery uses' vim. Lowered the priority of this to trivial. 
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-10-10 15:53:24 UTC
qpkg and etcat are deprecated, please use equery instead.