View previous topic :: View next topic |
Author |
Message |
fturco Veteran
Joined: 08 Dec 2010 Posts: 1181 Location: Italy
|
Posted: Thu Oct 11, 2012 10:47 am Post subject: Cannot understand enalyze |
|
|
I'm trying to understand the enalyze tool from gentoolkit, just to be sure if it can be useful for administering my Gentoo Linux system, but have some doubts.
For example, when running "enalyze rebuild --pretend use", I get the following result:
Code: | -- Scanning installed packages for USE flag settings that
do not match the default settings
-- These are the installed packages & use flags that were detected
to need use flag settings other than the defaults.
app-accessibility/at-spi2-core introspection
app-arch/file-roller nautilus
app-arch/libarchive lzma e2fsprogs
app-arch/xz-utils threads
app-cdr/brasero introspection nautilus libburn css
app-crypt/gcr introspection
app-editors/gedit introspection
app-editors/nano magic
app-portage/eix dep
app-shells/bash net
app-text/evince introspection nautilus
app-text/poppler introspection cairo utils lcms
dev-db/sqlite fts3 extensions threadsafe
dev-lang/php xml hash tokenizer phar ctype apache2 filter json posix simplexml fileinfo
dev-lang/python:2.7 xml threads -berkdb wide-unicode
dev-lang/python:3.2 xml threads wide-unicode
dev-libs/apr uuid urandom
dev-libs/atk introspection
dev-libs/elfutils utils threads
dev-libs/json-glib introspection
dev-libs/libgdata introspection
dev-libs/libgee introspection
dev-libs/libgweather introspection
dev-libs/libpcre recursion-limit jit
dev-libs/libpeas python gtk
dev-libs/libxml2 python
dev-libs/nettle gmp
dev-libs/totem-pl-parser introspection
dev-python/pycrypto gmp
dev-python/pygobject:2 introspection
dev-python/pygobject:3 cairo threads
dev-vcs/git blksha1 curl gpg threads webdav
gnome-base/gconf introspection
gnome-base/gdm introspection gnome-shell consolekit xklavier fallback
gnome-base/gnome-desktop introspection
gnome-base/gnome-keyring caps
gnome-base/gnome-menus introspection
gnome-base/gnome-panel introspection
gnome-base/gnome-settings-daemon policykit colord udev short-touchpad-timeout
gnome-base/gsettings-desktop-schemas introspection
gnome-base/gvfs udisks http udev
gnome-base/libgnome-keyring introspection
gnome-base/libgnomekbd introspection
gnome-base/libgtop introspection
gnome-base/librsvg introspection
gnome-base/nautilus introspection
gnome-extra/evolution-data-server introspection
mail-mta/ssmtp mta
media-gfx/eog introspection exif
media-gfx/imagemagick tiff png
media-libs/clutter introspection
media-libs/clutter-gst introspection
media-libs/clutter-gtk introspection
media-libs/cogl introspection pango opengl
media-libs/gst-plugins-bad orc
media-libs/gst-plugins-base introspection orc
media-libs/gst-plugins-good orc
media-libs/gstreamer introspection
media-libs/libcanberra sound gtk gtk3
media-libs/libdvdread css
media-libs/libpng apng
media-libs/libvpx ssse3 threads
media-libs/mesa egl gallium shared-glapi classic
media-libs/taglib mp4 asf
media-plugins/gst-plugins-a52dec orc
media-plugins/gst-plugins-ffmpeg orc
media-plugins/gst-plugins-meta ffmpeg vpx vorbis mp3 flac ogg
media-sound/pulseaudio glib webrtc-aec udev caps asyncns orc
media-sound/rhythmbox python udev
media-video/ffmpeg fftools_trasher fftools_graph2dot ssse3 fftools_qt-faststart fftools_aviocat fftools_pktdumper
fftools_cws2fws vpx vorbis fftools_ffeval hardcoded-tables fftools_ismindex encode
media-video/totem introspection nautilus
net-im/telepathy-logger introspection
net-im/telepathy-mission-control upower
net-irc/hexchat gtk
net-libs/glib-networking libproxy
net-libs/gnutls nettle
net-libs/liboauth nss
net-libs/libsoup introspection
net-libs/libsoup-gnome introspection
net-libs/telepathy-glib introspection
net-misc/curl curl_ssl_openssl
net-misc/dhcpcd zeroconf
net-misc/networkmanager introspection wext nss dhcpcd
net-misc/openssh hpn
net-p2p/transmission gtk
sys-apps/accountsservice introspection
sys-apps/kmod tools
sys-apps/man lzma
sys-apps/portage ipc
sys-apps/smartmontools minimal
sys-apps/util-linux cramfs
sys-auth/consolekit policykit
sys-auth/pambase consolekit sha512
sys-auth/polkit introspection
sys-fs/ntfs3g external-fuse ntfsprogs
sys-fs/udev gudev openrc hwdb
sys-fs/udisks introspection -crypt gptfdisk
sys-libs/cracklib python
sys-power/upower introspection
www-client/firefox ipc jit minimal webm
www-plugins/adobe-flash sse2check 64bit
x11-apps/xinit minimal
x11-base/xorg-server xorg udev
x11-drivers/xf86-video-intel udev sna
x11-libs/cairo glib svg
x11-libs/gdk-pixbuf introspection
x11-libs/gnome-pty-helper hardened
x11-libs/gtk+:2 introspection
x11-libs/gtk+:3 introspection
x11-libs/gtksourceview introspection
x11-libs/libSM uuid
x11-libs/libnotify introspection symlink
x11-libs/libwnck introspection
x11-libs/libxklavier introspection
x11-libs/mx introspection
x11-libs/pango introspection
x11-libs/vte introspection
x11-misc/colord introspection udev gusb
x11-wm/mutter introspection |
As you can see there are a lot of packages with the introspection (red) USE flag. As far as I understand this means that the introspection USE flag was enabled by me somewhere because it's not a default Portage setting. Instead I never enabled it myself, because I don't even know what introspection is and if I need it, so I prefer to stick to defaults.
Also, I don't understand the difference between the "use" and the "pkguse" targets for the "analyze" module. It seems both analyze USE flags, but in which way they differ?
Thank you. |
|
Back to top |
|
|
dol-sen Retired Dev
Joined: 30 Jun 2002 Posts: 2805 Location: Richmond, BC, Canada
|
Posted: Thu Oct 11, 2012 3:03 pm Post subject: |
|
|
The one thing that the rebuild module does not do is look at the current ebuild and remove any defaulted USE flag settings. That is most likely where the discrepancy comes from. The rebuild module gets all it's info from portage up to but not including any /etc/portage/package.use settings. So that would include any ebuild defaulted flags. To see if the flags in question are defaulted in the ebuild. You need to look at the IUSE value in the ebuild or the IUSE value in /var/db/pkg/{cat}/{pkg-ver}/IUSE
for ex: Code: | brian@big_daddy ~/Dev/git/gentoolkit $ cat /var/db/pkg/app-accessibility/at-spi2-core-2.2.3/IUSE
doc +introspection | This shows the introspection USE flag defaulted from the ebuild.
Also ebuild defaulted flags can be overridden in /etc/portage/package.use, not in make.conf's USE=
The difference between:
use (/var/db/pkg/{cat}/{pkg-ver}/USE)
and
pkguse (/var/db/pkg/{cat}/{pkg-ver}/PKGUSE)
is that use is the final installed setting of the enabled flags while pkguse is the recorded settings from /etc/portage/package.use at the time of the merge. Looking at the report just now, I think I made a mistake in how it is processed. It isn't matching a sample I was just using as a check. I"ll have to look into it more. For now just stick with "use"
So, thank you for that, I should add an option to remove any ebuild defaulted flags from the rebuild list created. _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|