Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43918 - libperl_rebuilder recompiles dozens of packages if you don't have /var/db/pkg/dev-perl
Summary: libperl_rebuilder recompiles dozens of packages if you don't have /var/db/pkg...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-06 15:29 UTC by Federico Gherardini
Modified: 2004-08-06 10:28 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 Federico Gherardini 2004-03-06 15:29:32 UTC
I've upgraded from perl-5.8.0-r12 to perl-5.8.2-r1 today during an emerge -u system. I then ran libperl_updater which I later recognized to be unncessary because I came from 5.8.0-r12. The problem is that it tried to recompile a lot of packages obviously not perl-related. I looked in /var/db/pkg and found out I didn't have a dev-perl directory. Maybe the missing directory could be the cause for the script trying to recompile lots of packages (kde among them!!). Here are the last lines of the log. The packages are reported as failed because i manually interrupted the merging:

Merging failed on the following packages:
app-sci/emboss-2.8.0
dev-util/ddd-3.3.7
app-office/abiword-2.0.2
net-analyzer/nmap-3.50-r1
sys-kernel/gentoo-sources-2.4.22-r7
sys-apps/pcmcia-cs-3.2.5-r1
kde-base/arts-1.2.0
kde-base/kdelibs-3.2.0
kde-base/kdebase-3.2.0
x11-misc/xloadimage-4.1-r1
app-crypt/gnupg-1.2.4
app-crypt/gpgme-0.3.14
app-crypt/cryptplug-0.3.15
kde-base/kdenetwork-3.2.0
kde-base/kdepim-3.2.0-r2
media-libs/taglib-1.0
media-libs/musicbrainz-2.0.1
kde-base/kdemultimedia-3.2.0
kde-base/kdeaddons-3.2.0
kde-base/kdegraphics-3.2.0
kde-base/kdeedu-3.2.0
kde-base/kdetoys-3.2.0
kde-base/kdeutils-3.2.0
kde-base/kdeaccessibility-3.2.0
kde-base/kdeadmin-3.2.0
kde-base/kdeartwork-3.2.0
kde-base/kdegames-3.2.0
kde-base/kde-3.2.0
app-portage/gentoolkit-0.2.0_pre6
sys-apps/hotplug-20040105
dev-perl/5.6.1-builtin-fixup.diff
dev-perl/5.6.1-op-test-fix.diff
dev-perl/digest-perl-5.8.2-r1
dev-perl/digest-perl-5.8.3
dev-perl/libperl_rebuilder
dev-perl/perl-5.8.0-RC2-special-h2ph-not-failing-on-machine_ansi_header.patch
dev-perl/perl-5.8.2-perldoc-emptydirs.patch
dev-perl/perl-5.8.2-picdl.patch
dev-perl/perl-5.8.2-prelink-lpthread.patch
dev-perl/perl-5.8.2-reorder-INC.patch
dev-perl/perl-5.8.3-perldoc-emptydirs.patch
dev-perl/perl-5.8.3-picdl.patch
dev-perl/perl-5.8.3-prelink-lpthread.patch
dev-perl/perl-5.8.3-reorder-INC.patch
dev-perl/stat.t
All packages cleaned successfully.

Now I don't know if I had a dev-perl directory before running the script but I definitely do not have one after it finished. Maybe it cleaned the patch files and then removed the directory? Still I don't see why it wants to recompile all those packages.
I'm not actually sure how to reproduce the problem becuase maybe it came from an error of mine after all(i didn't need to run the script). Still I think it can be considered a bug if It tries to recompile everything without any need to do it.

Reproducible: Always
Steps to Reproduce:


Actual Results:  
Tried to recompile everything

Expected Results:  
Don't recompile anything if it was not necessary

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22custom)
=================================================================
System uname: 2.4.22custom i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.3.10
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -mcpu=pentium4 -Os -pipe -fomit-frame-pointer
-fexpensive-optimizations  -frerun-cse-after-loop -frerun-loop-opt
-falign-functions=4 -msse -msse2 -mmmx -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -mcpu=pentium4 -Os -pipe -fomit-frame-pointer
-fexpensive-optimizations  -frerun-cse-after-loop -frerun-loop-opt
-falign-functions=4 -msse -msse2 -mmmx -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib aavm alsa apm arts avi berkdb bonobo cdr crypt cups directfb doc
dvd dvdr encode esd foomaticdb gdbm ggi gif gpm gtk gtk2 imlib java jpeg kde
ldap libg++ libwww mad mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl
oss pam pdflib perl png postgres python qt quicktime readline samba sdl slang
spell sse ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2004-03-29 08:13:44 UTC
Not sure what happened to your dev-perl (the script does no direct rm's of your portage tree, honest). As for the list - yep, that's a legit list, at least from a quick glance. kde uses perl for building (cd portdir/kde-base; grep perl */*ebuild actually comes back with a decent sized list).
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2004-08-06 10:28:20 UTC
Closing for age (no response afer last posting)