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

Bug 211554

Summary: man-pages-it wants to be unmerged by emerge --depclean
Product: Gentoo Linux Reporter: Andrea Brandi <starise>
Component: New packagesAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 216231    

Description Andrea Brandi 2008-02-26 18:59:55 UTC
I want to keep man-pages-it package, that is selected by LINGUAS="it" setting and nls USE flag in man-pages. But every time emerge --depclean mark it for unmerge.

emerge man-pages instead, mark it for reinstalling.

starbook # emerge -epv man-pages | grep man-pages-it
[ebuild   R   ] sys-apps/man-pages-it-2.65  0 kb

starbook # emerge --depclean -p
>>> These are the packages that would be unmerged:

 app-i18n/man-pages-it
    selected: 2.65
   protected: none
     omitted: none

starbook ~ # equery depends man-pages-it
[ Searching for packages depending on man-pages-it... ]
sys-apps/man-pages-2.76 (nls & linguas_it? app-i18n/man-pages-it)

Reproducible: Always

Steps to Reproduce:
1. enable USE="nls" and LINGUAS="it"
2. emerge man-pages
2. emerge --depclean -p



starbook ~ # emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-tuxonice-r2 i686)
=================================================================
System uname: 2.6.24-tuxonice-r2 i686 Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz
Timestamp of tree: Tue, 26 Feb 2008 12:45:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa avahi bash-completion berkdb bitmap-fonts bluetooth cairo cdr cli cracklib crypt cups dbus dell dri dv dvd dvdr dvdread eds emboss encode esd evo exif fam fbcondecor fbsplash ffmpeg firefox fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv ipv6 ipw3945 isdnlog java jpeg kerberos lame ldap libnotify lm_sensors logrotate mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nvidia ogg opengl openmp oss pam pcre pdf perl png pppd python qt3support quicktime readline reflection samba sdl session spell spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1 type1-fonts unicode v4l v4l2 vorbis win32codecs x86 xml xorg xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-26 19:10:03 UTC
Not a portage bug.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-02-26 19:11:18 UTC

*** This bug has been marked as a duplicate of bug 136953 ***
Comment 3 Zac Medico gentoo-dev 2008-02-26 19:47:14 UTC
BTW, this behavior is new in portage-2.1.4. There are some special cases for USE_EXPAND_HIDDEN flags, forced flags, and a few other misc flags that aren't required in IUSE. Any other flags that aren't explicitly listed in IUSE are now  filtered.
Comment 4 Zac Medico gentoo-dev 2008-02-27 06:48:06 UTC
In svn r9387 portage is fixed so that the installation and depclean actions will be consistent wrt each other. I also added the appropriate linguas_* flags to IUSE in the man-pages-2.78 ebuild so that it will behave correctly. That's just what has to be done until we have an EAPI bump that includes a fix for bug 133327.
Comment 5 Zac Medico gentoo-dev 2008-03-01 21:13:58 UTC
(In reply to comment #4)
> In svn r9387 portage is fixed so that the installation and depclean actions
> will be consistent wrt each other.

This is fixed in 2.2_pre3.
Comment 6 Marius Mauch (RETIRED) gentoo-dev 2008-03-20 18:15:05 UTC
This is supposed to be fixed in portage-2.2_pre5 or earlier.
Comment 7 Marius Mauch (RETIRED) gentoo-dev 2008-03-20 18:15:50 UTC
This is supposed to be fixed in portage-2.2_pre5 or earlier.