Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352529 - sys-apps/portage: emerge --deep --update broken
Summary: sys-apps/portage: emerge --deep --update broken
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-23 19:16 UTC by Attila Jecs
Modified: 2011-01-23 20:02 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Jecs 2011-01-23 19:16:55 UTC
i have the same issue in 2 gentoo boxes, 1 old install with 2.2 portage and 1 fresh install with 2.1 portage.
after updating succesfully with emerge -DuN world, if i reissue the command it says nothing to do, but if i run emerge -e world -pv it gives some updates.

Reproducible: Always

Steps to Reproduce:
1. emerge -DuN world
2. emerge -DuN world
3. emerge -e world -pv

Actual Results:  
Total: 847 packages (4 upgrades, 843 reinstalls), Size of downloads: 100 kB


Expected Results:  
Total: 847 packages (847 reinstalls), Size of downloads: 0 kB


csr welder # emerge --info
Portage 2.1.9.35 (default/linux/amd64/10.0/no-multilib, gcc-4.5.2, glibc-2.12.2-r0, 2.6.37-gentoo x86_64)
=================================================================
System uname: Linux-2.6.37-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5504_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 23 Jan 2011 18:00:21 +0000
app-shells/bash:     4.1_p9
dev-lang/python:     2.7.1, 3.1.3
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.68
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm AdobeFlash-10.1 AdobeFlash-10"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse4"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /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"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse4"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="hu_HU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en hu"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext a52 acl acpi alsa amd64 apache2 bash-completion berkdb bluetooth branding bzip2 cli cracklib crypt custom-cflags cxx dar32 dbus device-mapper dlloader dri dvd dvdr dvdread dynamic enca encode exif expat fam ffmpeg flac fuse gd gdbm gif glibc-omitfp glitz gpm hal hashstyle hddtemp iconv imagemagick inotify jce jpeg jpeg2k kde kipi libnotify lm_sensors lzma mad mmap mmx mmxext modules mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp optimized-qmake pam pch pcre pdf perl phonon png policykit postgres ppds pppd private-headers python python3 qt3support qt4 quicktime rdesktop readline session slang sse sse2 ssl ssse3 startup-notification svg symlink sysfs tcpd theora threads thumbnail tiff truetype udev unicode usb vdpau vorbis x264 xattr xcomposite xml xml2 xmp xorg 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en hu" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa" 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, PORTDIR_OVERLAY
Comment 1 Sebastian Luther (few) 2011-01-23 19:31:52 UTC
Please add --with-bdeps=y to your command line. If the updates still don't show up, post the exact command and the output, otherwise it's intended behavior.
Comment 2 Attila Jecs 2011-01-23 19:40:26 UTC
ok, --with-bdeps=y brought in the remaining updates, thx.

how can i make it permanent? if i want to keep all packages up-to-date?
Comment 3 Attila Jecs 2011-01-23 19:46:52 UTC
echo EMERGE_DEFAULT_OPTS=\"--with-bdeps y\" >> /etc/make.conf
Comment 4 Sebastian Luther (few) 2011-01-23 19:49:31 UTC
(In reply to comment #2)
> ok, --with-bdeps=y brought in the remaining updates, thx.
> 
> how can i make it permanent? if i want to keep all packages up-to-date?
> 

You can add it to EMERGE_DEFAULT_OPTS in /etc/make.conf. Note that there is not much point in doing so, as build-only deps are only used to build their reverse dependencies. If a reverse dependency is updated the build-only dep will be updated too.
Comment 5 Attila Jecs 2011-01-23 20:02:07 UTC
i'd like to update them anyways, so the out-of portege programs can benefit from their updated versions before their reverse dependencies get and update.

say A is a build time dep
B is a package that need A to build
C is a software not in portage
if i update everything C can use A2 before B2 released
if i don't, then C uses A1 until B2 released

(In reply to comment #4)
> (In reply to comment #2)
> > ok, --with-bdeps=y brought in the remaining updates, thx.
> > 
> > how can i make it permanent? if i want to keep all packages up-to-date?
> > 
> 
> You can add it to EMERGE_DEFAULT_OPTS in /etc/make.conf. Note that there is not
> much point in doing so, as build-only deps are only used to build their reverse
> dependencies. If a reverse dependency is updated the build-only dep will be
> updated too.
>