Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136616 - equery list -p doesn't see portage tree
Summary: equery list -p doesn't see portage tree
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-13 00:25 UTC by jonathan e. Snow
Modified: 2007-02-19 16:03 UTC (History)
2 users (show)

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


Attachments
Patch for /usr/lib/gentoolkit/pym/gentoolkit/package.py (bug136616.patch,468 bytes, patch)
2006-06-18 04:03 UTC, Boris Guskee
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jonathan e. Snow 2006-06-13 00:25:04 UTC
Lemond jesnow # equery list gentoolkit -p
[ Searching for package 'gentoolkit' in all categories among: ]
 * installed packages
[I--] [  ] app-portage/gentoolkit-0.2.2 (0)
 * Portage tree (/usr/portage)
Lemond jesnow #



Lemond jesnow # equery list portage
[ Searching for package 'portage' in all categories among: ]
 * installed packages
[I--] [  ] sys-apps/portage-2.1 (0)
Lemond jesnow # equery list gentoolkit
[ Searching for package 'gentoolkit' in all categories among: ]
 * installed packages
[I--] [  ] app-portage/gentoolkit-0.2.2 (0)
Comment 1 jonathan e. Snow 2006-06-13 00:30:39 UTC
Portage 2.1 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 VIA Nehemiah
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=i686 -msse -mmmx -mfpmath=sse,387 -ffast-math -finline-functions -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -march=i686 -msse -mmmx -mfpmath=sse,387 -ffast-math -finline-functions -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ http://mirror.datapipe.net/gentoo http://gentoo.mirrors.pair.com/ ftp://130.207.108.136/pub/gentoo"
LINGUAS="en de fr"
MAKEOPTS="-j2"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acpi alsa apache2 apm arts artswrapersuid avi avinptl berkdb bitmap-fonts bzlib cdrom cle266 cli crypt cups dbus directfb divx4linux dri dts dvb dvd dvdread eds emboss encode esd fbcon ffmpeg flash foomaticdb fortran freetype gdbm gif gimp gimprint gnome gpm gstreamer gtk gtk2 gutenprint hal idga imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod mmx motif mp3 mpeg mpeg4 mplayer ncurses nls nptl nptlonly ogg opengl pam pcre pdflib perl png ppds pppd python qt quicktime readline reflection rtc samba scanner sdl session spell spl sse ssl svg svga tcpd theora truetype truetype-fonts type1 type1-fonts udev unichrome usb v4l vidix vorbis win32codecs xine xml xmms xorg xrandr xscreensaver xv xvid xvmc zeroconf zlib elibc_glibc kernel_linux linguas_en linguas_de linguas_fr userland_GNU video_cards_cle266"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Paul Varner (RETIRED) gentoo-dev 2006-06-13 13:53:00 UTC
Works for me:
pvarner@garath ~ $ equery list gentoolkit -p
[ Searching for package 'gentoolkit' in all categories among: ]
 * installed packages
[I--] [ ~] app-portage/gentoolkit-0.2.2 (0)
[I--] [ ~] app-portage/gentoolkit-dev-0.2.6.1 (0)
 * Portage tree (/usr/portage)
[-P-] [  ] app-portage/gentoolkit-0.2.1 (0)
[-P-] [  ] app-portage/gentoolkit-dev-0.2.5 (0)

The obvious question, do the ebuilds exist under /usr/portage/app-portage/gentoolkit?
Comment 3 Boris Guskee 2006-06-18 04:03:35 UTC
Created attachment 89455 [details, diff]
Patch for /usr/lib/gentoolkit/pym/gentoolkit/package.py

I had the same problem.

Equery found the packages but thought they were in an overlay directory not in PORTDIR itself. A workaround for this problem therefore is to use "equery list gentoolkit -p -o".

What knocks gentoolkit out is that my PORTDIR path has a symbolic link in it, i.e. "readlink -e /usr/portage" differs from "/usr/portage".
Comment 4 jonathan e. Snow 2007-02-19 16:03:09 UTC
The resolution to this is that when moving PORTDIR you have to *both* change the PORTDIR directory and symlink the standard PORTDIR. It still sees the new PORTDIR as an overlay, but it sees portage again as portage.