Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142776 - Wrong add of package to the world file...
Summary: Wrong add of package to the world file...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Highest minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 136244
  Show dependency tree
 
Reported: 2006-08-04 05:30 UTC by Jiri Tyr
Modified: 2006-08-05 09:41 UTC (History)
0 users

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


Attachments
clean_world (clean_world,5.11 KB, text/plain)
2006-08-04 05:34 UTC, Jiri Tyr
Details
clean_world (clean_world,5.16 KB, text/plain)
2006-08-05 09:41 UTC, Jiri Tyr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Tyr 2006-08-04 05:30:21 UTC
I think, I have found one error in /usr/sbin/regenworld. If I follow the commands below, it give me the package into the /var/lib/portage/world.

# epm -qa | grep libxslt | awk '{system("emerge -f =" $1)}'
Calculating dependencies... done!
>>> Emerging (1 of 1) dev-libs/libxslt-1.1.17 to /
>>> Previously fetched file: libxslt-1.1.17.tar.bz2 MD5 ;-)
>>> Previously fetched file: libxslt-1.1.17.tar.bz2 RMD160 ;-)
>>> Previously fetched file: libxslt-1.1.17.tar.bz2 SHA1 ;-)
>>> Previously fetched file: libxslt-1.1.17.tar.bz2 SHA256 ;-)
>>> Previously fetched file: libxslt-1.1.17.tar.bz2 size ;-)
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking libxslt-1.1.17.tar.bz2 ;-)

# /usr/sbin/regenworld
add to world: dev-libs/libxslt

# grep libxslt /var/lib/portage/world
dev-libs/libxslt

I think, that only fetch of the package should not be the reason to add the package to the world file. You can also try it with other packages (libgcrypt, ...). What do you think about that?

My emerge --info:
emerge --info
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16.19 i686)
=================================================================
System uname: 2.6.16.19 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1-r3
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
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://videosrv1.cern.ch/gentoo-portage"
USE="x86 X alsa apache2 arts avi berkdb bitmap-fonts cli crypt cups dlloader dri eds emboss encode foomaticdb gdbm gif gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod mmx mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png posix pppd python qt qt3 qt4 quicktime readline reflection sdl session spl sse sse2 ssl truetype truetype-fonts type1-fonts udev unicode vorbis xinerama xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jiri Tyr 2006-08-04 05:34:36 UTC
Created attachment 93407 [details]
clean_world

If you want to remove some packagges from /var/lib/portage/world you can use this clean_world. it works very well for me. Is it save way how to change /var/log/emerge.log file. I think it can help to many users to clean up their system.
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2006-08-04 06:44:24 UTC
In r4150
Comment 3 Jiri Tyr 2006-08-04 11:06:52 UTC
(In reply to comment #2)
> In r4150
> 

What does it means? It's fixed already or you will fix it in this next revision?
Comment 4 Zac Medico gentoo-dev 2006-08-04 14:01:48 UTC
This has been released in 2.1.1_pre4-r3.
Comment 5 Jiri Tyr 2006-08-05 09:41:28 UTC
Created attachment 93516 [details]
clean_world

Minnor changes in regexps.