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

Bug 460304

Summary: sys-apps/portage-2.2.0_alpha165: net-misc/networkmanager-0.9.6.4-r1 endless forced reinstall
Product: Portage Development Reporter: Михаил <spike>
Component: Core - DependenciesAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: kensington
Priority: Normal Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://forums.gentoo.org/viewtopic-t-952906.html
See Also: https://bugs.gentoo.org/show_bug.cgi?id=456208
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 459934    
Attachments: emerge -uDNpv world --debug

Description Михаил 2013-03-04 18:15:23 UTC
emerge keep trying to reinstall networkmanager every time

Reproducible: Always

Steps to Reproduce:
#emerge -uDNpv world 
[ebuild rR ~] net-misc/networkmanager-0.9.6.4-r1
Actual Results:  
emerge try to reinstall networkmanager every time

Expected Results:  
emerge reinstall networkmanager only once

uninstall and install didn't help.
Comment 1 Михаил 2013-03-04 18:16:41 UTC
Portage 2.2.0_alpha165 (default/linux/amd64/13.0/desktop, gcc-4.7.2, glibc-2.15-r3, 3.8.1-gentoo x86_64)
=================================================================
System uname: Linux-3.8.1-gentoo-x86_64-AMD_E-350_Processor-with-gentoo-2.1
KiB Mem:     7765132 total,    173484 free
KiB Swap:    3145724 total,   3145724 free
Timestamp of tree: Mon, 04 Mar 2013 14:30:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.7.2-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo miha_repo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles                 http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/media/pas/portagetmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/miha"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="10bit X a52 aac accessibility acl acpi ads aio alsa amd64 amr apng archive bash-completion bazaar berkdb bittorrent bluetooth branding bzip2 bzlib cairo caps cdb cdda cdr cli consolekit cracklib cron crypt css cue cups curl cxx daemon darcs dbus dcc_video device-mapper devil dhcp dirac djvu dovecot-sasl dri drm dts dv dvd dvdr dvdread eap-sim emboss enca encode exceptions exif faac faad fam fbcon ffmpeg firefox flac fontconfig fortran fts3 g3dvl gbm gif git glamor gpm graphite gsm gstreamer gtk hpn iconv icu idn inotify ipv6 java jce jpeg kde kdehiddenvisibility kerberos lame lcms libkms libnl libnotify lto lyrics lzma mad mdnsresponder-compat mercurial mmap mmx mmxext mng mod modplug modules mozdevelop mp3 mp4 mpeg mpg123 mudflap multilib musepack ncurses networkmanager nls nptl nsplugin ogg openexr opengl openmp openvg pam pango pch pcre pdf pic pmu png policykit ppds private-headers pulseaudio qt3support qt4 raster raw rdesktop readline samba schroedinger sdl secure-delete session sieve smp speex spell sse sse2 sse4a ssl ssse3 startup-notification subversion svg system-sqlite taglib theora threads threadsafe tiff truetype udev udisks unicode unlock-notify upower urandom usb v4l v4l2 vaapi vdpau virtuoso vnc vorbis vpx webkit wimax wma wps wxwidgets x264 xa xattr xcb xine xinerama xml xmlrpc xscreensaver xv xvid xvmc zeroconf zlib" ABI_X86="64" 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="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump" CAMERAS="ptp2" 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" GRUB_PLATFORMS="pc efi-32 efi-64 emu" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru en" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="radeon fbdev" 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, USE_PYTHON
Comment 2 Zac Medico gentoo-dev 2013-03-04 19:03:16 UTC
Please attach a debug log created as follows:

   emerge -uDNpv world --debug > debug.log 2>&1
   xz -9 debug.log
Comment 3 Михаил 2013-03-04 21:02:20 UTC
Created attachment 340966 [details]
emerge -uDNpv world --debug
Comment 4 Zac Medico gentoo-dev 2013-03-04 23:39:40 UTC
The problem is triggered by networkmanager's dependency on libnl which looks like this:

  wimax? ( dev-libs/libnl:1.1= ) !wimax? ( dev-libs/libnl:3= )

Here's a test case which reproduces the problem:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=35b380891f4d142e77fc873368724c1d90c014e6
Comment 6 Zac Medico gentoo-dev 2013-03-05 02:25:46 UTC
This is fixed in 2.1.11.55 and 2.2.0_alpha166.
Comment 7 thunder367 2013-03-06 05:13:14 UTC
(In reply to comment #6)
> This is fixed in 2.1.11.55 and 2.2.0_alpha166.

Please fix this bug in stable version portage.
Comment 8 Zac Medico gentoo-dev 2013-03-06 05:22:54 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > This is fixed in 2.1.11.55 and 2.2.0_alpha166.
> 
> Please fix this bug in stable version portage.

I plan to file a stable request for 2.1.11.55 in about 2 weeks. If you want to use it now on a stable system, you can do this:

   echo =sys-apps/portage-2.1.11.55 >> /etc/portage/package.accept_keywords
Comment 9 Zac Medico gentoo-dev 2013-03-18 03:07:06 UTC
(In reply to comment #8)
> I plan to file a stable request for 2.1.11.55 in about 2 weeks.

Filed as bug 462134.