I have had a partition running full while emerging media-libs/libsdl at date 2003-09-22. I noticed this by having noticed an unfamiliar erroressage while ebuilding: awk: cmd. line:2: (FILENAME=/etc/init.d/xfs FNR=290) warning: error writing to standard output (broken pipe) I reconfigured the partitions and played back the freshly made backup, thinking this would be fine. Today I have made an emerge sync and due to a new update to portage, I emerged portage. Above error repeated while ebuilding but I thought, give it a try, maybe the recalculating phase would fix anything. So I emerged openssh. I have found the above error message again and additionally the following message and order: !!! COUNTER file is missing for sys-devel/gcc-3.2-r1 in /var/db. !!! Please run /usr/lib/portage/bin/fix-db.pl So I executed fix-db.pl but it just says: Grabbing db-contents... fix-db: fatal: # of ebuilds doesn't match # of CONTENTS files So I looked at the code and did a wc -l to the two tests being made for *.ebuild and CONTENTS. Indeed there are 467 *.ebuild found and 468 CONTENT. Reproducible: Always Steps to Reproduce: 1. emerge a package 2. watch the messages 3. Actual Results: fix-db.pl is not able to fix the error described, nor do I know what to do now. Expected Results: fix-db.pl should have fixed the problem or told me what to do. Portage 2.0.49-r6 (default-x86-1.4, gcc-3.2.2, glibc-2.2.5-r6, 2.4.20-xfs-r3) ================================================================= System uname: 2.4.20-xfs-r3 i586 AuthenticAMD ccache version 2.2 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=k6-3 -O3 -pipe -fomit-frame-pointer" CHOST="i586-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/ generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=k6-3 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" 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="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm foomaticdb gif libg++ mad mikmod mmx ncurses pdflib png spell truetype xmms xv berkdb slang readline arts tetex nas svga tcltk java guile sdl gpm tcpd libwww perl python esd imlib oggvorbis gtk qt motif opengl cdr -cups X dvb crypto avi mpeg quicktime ggi encode pam ssl crypt mysql postgres innodb gdbm acl samba zlib jpeg xml xml2 dvd aalib gd snmp nls kde -sse -gnome"
*** This bug has been marked as a duplicate of 29510 ***