Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149092 - emerge -pv world doesnt work with portage-2.1.2_pre1-r2
Summary: emerge -pv world doesnt work with portage-2.1.2_pre1-r2
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
Depends on:
Blocks: 147007
  Show dependency tree
 
Reported: 2006-09-25 10:45 UTC by Radko Lazarov
Modified: 2006-09-25 19:20 UTC (History)
0 users

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


Attachments
fix shallow world updates (shallow_update.patch,335 bytes, patch)
2006-09-25 11:31 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Radko Lazarov 2006-09-25 10:45:45 UTC
Hello 
I've found when I upgrade to portage-2.1.2_pre1-r2
and did: emerge -pv world/system
it is very fast and didn't show anypackage for update, but there are updates and world file is OK.
When I downgraded to portage-2.1.2_pre1-r1 everything is working OK.
Comment 1 Radko Lazarov 2006-09-25 10:46:29 UTC
emerge --info
Portage 2.1.2_pre1-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-ck1-r3 i686)
=================================================================
System uname: 2.6.17-ck1-r3 i686 Intel(R) Pentium(R) M processor 1.80GHz
Gentoo Base System version 1.12.5
Last Sync: Mon, 25 Sep 2006 15:50:01 +0000
ccache version 2.4 [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.3.1-r1, 2.0.29
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/service"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.itdnet.net/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.osuosl.org"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo.ITDNet.net/gentoo-portage/"
USE="x86 X acl acpi alsa apache2 apm berkdb bitmap-fonts cli crypt cups dga dlloader dri elibc_glibc emboss encode esd foomaticdb gdbm gif glibc-omitfp gnutls gpm gtk gtk2 imlib input_devices_keyboard input_devices_mouse input_devices_synaptics isdnlog ithreads jpeg kde kernel_linux ldap libg++ libwww mad mikmod mmx motif mp3 mpeg mppc mppe mysql ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png postgres pppd python qt qt3 qt4 quicktime readline reflection rtc sdl session spell spl sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU userlocales video_cards_apm video_cards_ati video_cards_fbdev video_cards_fglrx video_cards_radeon video_cards_vesa vorbis xinetd xml xmms xorg xv zlib"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Zac Medico gentoo-dev 2006-09-25 11:06:48 UTC
I can reproduce that.  It will work if you add --deep/-D.
Comment 3 Radko Lazarov 2006-09-25 11:20:41 UTC
(In reply to comment #2)
> I can reproduce that.  It will work if you add --deep/-D.
> 

Thank you, will it normal beahviour for newer version.
I'll check in a hour.
Comment 4 Zac Medico gentoo-dev 2006-09-25 11:31:48 UTC
Created attachment 98046 [details, diff]
fix shallow world updates

This is fixed in svn r4527.  If you save this patch as /tmp/shallow_update.patch, then you can apply it as follows:

cd /usr/lib/portage
patch -p0 < /tmp/shallow_update.patch
Comment 5 Radko Lazarov 2006-09-25 11:35:15 UTC
(In reply to comment #4)
> Created an attachment (id=98046) [edit]
> fix shallow world updates
> 
> This is fixed in svn r4527.  If you save this patch as
> /tmp/shallow_update.patch, then you can apply it as follows:
> 
> cd /usr/lib/portage
> patch -p0 < /tmp/shallow_update.patch
> 

OK i'll try this
just upgraded to r2 and it worls with -D, but I think it is really much deeper thatn -pv as it works.

Let me try patch later
Comment 6 Radko Lazarov 2006-09-25 12:37:52 UTC
(In reply to comment #4)
> Created an attachment (id=98046) [edit]
> fix shallow world updates
> 
> This is fixed in svn r4527.  If you save this patch as
> /tmp/shallow_update.patch, then you can apply it as follows:
> 
> cd /usr/lib/portage
> patch -p0 < /tmp/shallow_update.patch
> 

Yeah it's working tahnk you.

Comment 7 Radko Lazarov 2006-09-25 14:17:30 UTC
The patch is working
I hope you will include it in next version of portage
Regards
Comment 8 Zac Medico gentoo-dev 2006-09-25 19:20:04 UTC
This has been released in 2.1.2_pre1-r3.