Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 399863

Summary: not accurate autounmask help message in portage 2.2_alpha84
Product: Portage Development Reporter: Nikolay Antonov <ostinru>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: minor Keywords: InVCS
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=375265
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 376695, 409383    

Description Nikolay Antonov 2012-01-23 17:05:40 UTC
emerge prints a bit confusing messages about autounmask's use flags.






Reproducible: Didn't try

Steps to Reproduce:
emerge -DuN world -pv
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-apps/pciutils-3.1.7  USE="-network-cron -zlib*" 314 kB [0]
[ebuild     U  ] sys-apps/sdparm-1.06 [1.03] 297 kB [0]
[ebuild     U  ] app-i18n/enca-1.13-r2 [1.13] USE="recode -doc" 520 kB [0]
[ebuild     U  ] media-libs/tiff-4.0.0-r1 [3.9.5] USE="cxx jpeg lzma%* zlib -jbig -static-libs" 1,962 kB [0]
[ebuild     U  ] media-libs/lcms-2.3 [2.2-r1] USE="jpeg tiff zlib -doc -static-libs -test" 4,358 kB [0]
[ebuild     U  ] dev-libs/hyphen-2.8.3 [2.7.1] USE="-static-libs%" 600 kB [0]
[ebuild   R    ] dev-libs/pth-2.0.7-r3  USE="-debug -static-libs%" 638 kB [0]
[ebuild     U  ] sys-kernel/linux-headers-3.1 [2.6.39] 4,718 kB [0]
[ebuild     U  ] sys-apps/lm_sensors-3.3.1 [3.2.0] USE="-sensord -static-libs%" 167 kB [0]
[ebuild     U  ] dev-libs/libusb-1.0.9_rc3 [1.0.8] USE="-debug -doc -static-libs" 184 kB [0]
[ebuild     U  ] dev-libs/openssl-1.0.0f-r1 [1.0.0e] USE="(sse2) zlib -bindist -gmp -kerberos -rfc3779 -static-libs% -test" 3,949 kB [0]
[ebuild     U  ] media-libs/libdvdread-4.2.0 [4.1.3_p1168] USE="css" 96 kB [0]
[ebuild     U  ] media-libs/libdvdnav-4.2.0 [4.1.3_p1168] 109 kB [0]
[blocks b      ] <media-libs/libdvdnav-4.2.0 ("<media-libs/libdvdnav-4.2.0" is blocking media-libs/libdvdread-4.2.0)
[ebuild     U  ] app-text/mythes-1.2.2 [1.2.1] USE="-static-libs" 4,792 kB [0]
[ebuild   R    ] dev-db/libdbi-0.8.3  USE="doc*" 0 kB [0]
[ebuild     U  ] app-arch/libarchive-2.8.5 [2.8.4-r1] USE="acl bzip2 lzma xattr zlib -expat -static -static-libs" 1,378 kB [0]
[ebuild   R    ] x11-misc/xdg-utils-1.1.0_rc1_p20111003  USE="perl%* -doc" 0 kB [0]
[ebuild     U  ] dev-libs/gobject-introspection-1.30.0-r2 [1.30.0-r1] USE="-doc -test" 0 kB [0]
[ebuild   R    ] net-print/cups-1.4.8-r1  USE="X acl dbus filters%* java jpeg pam png samba ssl threads tiff -debug -gnutls -kerberos -ldap -perl -php -python -slp -static-libs -xinetd" LINGUAS="ru -da -de -es -eu -fi -fr -id -it -ja -ko -nl -no -pl -pt -pt_BR -sv -zh -zh_TW" 0 kB [0]
[ebuild  N     ] net-print/foomatic-filters-4.0.9  USE="cups dbus" 249 kB [0]
[ebuild     U  ] dev-util/intltool-0.50.0 [0.41.1] 140 kB [0]
[ebuild     U  ] app-admin/eselect-1.2.18 [1.2.15] USE="-doc" 167 kB [0]
[ebuild     U  ] x11-misc/xkeyboard-config-2.4.1-r3 [2.4.1-r2] 0 kB [0]
[ebuild     UD ] app-admin/eselect-opencl-0.0.2 [0.1.1] 2 kB [?=>1]
[ebuild   R    ] media-libs/sdl-sound-1.0.3  USE="flac mp3 mpeg speex vorbis -mikmod -modplug% -physfs -static-libs" 1,101 kB [0]
[ebuild   R    ] sys-libs/glibc-2.13-r4  USE="debug (multilib) -gd -glibc-omitfp (-hardened) -profile (-selinux) -vanilla (-nls%*)" 0 kB [0]
[ebuild     U  ] sys-fs/udev-171-r5 [164-r2] USE="acl%* action_modeswitch%* extras gudev%* hwdb%* introspection%* keymap%* rule_generator%* -build -debug% -edd% -floppy% (-selinux) -test" 601 kB [0]
[ebuild     U  ] net-wireless/bluez-4.98-r1 [4.96] USE="alsa consolekit cups gstreamer usb -caps -debug -pcmcia -test-programs (-health%) (-maemo6%) (-old-daemons%) (-pnat%)" 1,348 kB [0]
[ebuild     U  ] net-dns/libidn-1.23 [1.22] USE="java nls -doc -emacs -mono -static-libs" 3,397 kB [0]
[ebuild   R    ] net-libs/ptlib-2.6.7-r1  USE="alsa asn audio ffmpeg ipv6 sasl sdl ssl stun v4l* video wav xml -debug -doc -dtmf (-esd) -examples -ftp -http -jabber -ldap -mail -odbc -oss -pch -qos -remote -serial -shmvideo -snmp -soap -socks -static-libs% -telnet -tts -vxml -xmlrpc" 0 kB [0]
[ebuild     U  ] app-mobilephone/obexd-0.44 [0.42] USE="nokia usb -eds -server (-debug%)" 314 kB [0]
[ebuild     U  ] dev-cpp/eigen-2.0.16 [2.0.13] USE="doc examples -debug" 360 kB [0]
[ebuild   R    ] app-office/libreoffice-bin-3.4.3.2-r1  USE="gnome java (-aqua) -kde (-kdeenablefinal%)" 109,761 kB [0]
[ebuild   R    ] net-voip/ekiga-3.2.7  USE="dbus gnome gstreamer h323 libnotify mmx nls shm static v4l xv (-aqua) -avahi -debug -doc -eds -gconf -kde -kontact -ldap -xcap (-kdeenablefinal%)" 0 kB [0]
[ebuild     U  ] sys-apps/openrc-0.9.8.1 [0.9.4] USE="ncurses pam unicode -debug (-selinux) -static-libs%" 163 kB [0]
[ebuild     U  ] app-admin/sudo-1.8.2-r1 [1.8.1_p2] USE="pam -ldap -offensive (-selinux) -skey" 1,431 kB [0]
[ebuild   R    ] dev-db/libdbi-drivers-0.8.3  USE="doc* mysql -bindist (-firebird) -oci8 -postgres -sqlite -sqlite3" 0 kB [0]

Total: 37 packages (24 upgrades, 1 downgrade, 1 new, 11 reinstalls), Size of downloads: 143,102 kB
Conflict: 1 block
Portage tree and overlays:
 [0] /usr/portage
 [1] /var/lib/layman/pentoo
 [?] indicates that the source repository could not be determined



Actual Results:  
The following USE changes are necessary to proceed:
#required by net-voip/ekiga-3.2.7, required by @selected, required by @world (argument)
>=net-libs/ptlib-2.6.7-r1 v4l
#required by sys-fs/udev-171-r5[extras], required by net-wireless/bluez-4.98-r1, required by app-mobilephone/obexd-0.44, required by net-wireless/gnome-bluetooth-2.32.0-r1, required by gnome-extra/nm-applet-0.8.4[bluetooth], required by @selected, required by @world (argument)
=sys-apps/pciutils-3.1.7 -zlib

Expected Results:  
But sys-fs/udev-171-r5[extras] doesn't require pciutils[-zlib]
it required by sys-fs/udev-171-r5[hwdb]


Portage 2.2.0_alpha84 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.13-r4, 3.1.8-zen+ x86_64)
=================================================================
System uname: Linux-3.1.8-zen+-x86_64-Intel-R-_Core-TM-_i3_CPU_M_370_@_2.40GHz-with-gentoo-2.0.3
Timestamp of tree: Mon, 23 Jan 2012 16:00:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2, 2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo ostin x11 science java-overlay dustin flameeyes-overlay pentoo sunrise rion seden calculate
Installed sets: 
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native -mmmx -msse4"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native -mtune=native -mmmx -msse4"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.corbina.net/pub/Linux/gentoo ftp://mirror2.corbina.ru/gentoo-distfiles/ http://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j4 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/x11 /var/lib/layman/science /var/lib/layman/java-overlay /var/lib/layman/dustin /var/lib/layman/flameeyes-overlay /var/lib/layman/pentoo /var/lib/layman/sunrise /var/lib/layman/rion /var/lib/layman/seden /var/lib/layman/calculate"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit X a52 aac acl acpi alsa amd64 apache2 apm bash-completion battstat berkdb bluetooth branding bzip2 cairo canvas cdda cddax cdr chm cleartype cli colord consolekit contrast cracklib crypt cups curl cxx dbus dga djvu dlac dmx dri dts dvd dvdr eap-sim emboss enchat evo exif extras faac faad fam fat ffmpeg firefox flac fontconfig fortran fuse gallium gdbm gdu gif gimp git gles gnome gnome-keyring gnome-online-accounts gphoto2 gpm graphite graphviz gstreamer gtk gtk3 iconv idn imap imlib indist injection introspection ipv6 java jingle jpeg jpeg2k json kdrive lcms libnotify libv4l2 live lzma mad matroska mercurial mmx mmxext mng modules mp3 mp4 mpeg mpi mtp mudflap multilib nas nautilus ncurses networkmanager nfs nls nptl nptlonly nsplugin nspluginwrapper ntfs ogg openal opengl openmp optimization oscar pam pam_ssh pango pcre pdf png policykit ppds pppd qt3support qt4 quota readline resolvconf romio rtmp rtsp samba sasl sdl semantic-desktop session skins sms socialweb sound speex spell sql sse sse2 sse3 ssh ssl ssse3 subversion svg swat sysfs system-sqlite system-v8 taglib tcpd theora threads threadsafe thumbnail tiff truetype udev unicode usb v4l2 vaapi vala vdpau vhosts video vorbis vpx wifi winbind wps x264 xattr xcb xcomposite xinerama xml xnest xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2 canon casio_qv directory fuji samsung sonix sony_dscf1 sony_dscf55" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson epson2 snapscan" USERLAND="GNU" VIDEO_CARDS="radeon intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Nikolay Antonov 2012-02-25 05:29:05 UTC
I can't check this fix (it is hard to reproduce).
But in any case: thank you!
Comment 3 Zac Medico gentoo-dev 2012-03-05 08:00:03 UTC
This is fixed in 2.2.0_alpha90, but I'll keep this bug open until it's in an unmasked release.
Comment 4 Zac Medico gentoo-dev 2012-03-23 01:23:32 UTC
This is fixed in 2.1.10.50.