Programs complains about not being about to find their hard coded configuration files due to the fact that they are being hard coded to "/var/tmp/portage/{...}". For example: (a2ps) a2ps: cannot open file `/var/tmp/portage/a2ps-4.13c/image//etc/a2ps/a2ps.cfg': No such file or directory a2ps: cannot find file `level1.ppd': No such file or directory This is happening with lots of packages: gimp, enscript, fontconfig; to name a few.
Tried reinstalling gentoo, and during the install everything is fine, but now whenever I try to install or upgrade packages they are again installed with the wrong hard-coded configuration files. I don't know why this was moved to printing since I did say it was happening to other packages as well (which have nothing to do with printing). The latest list of packages are: * fontconfig * gimp * gift * a2ps * enscript * tvtime For example: when compiling gift-fasttrack I get the following error libtool: link: warning: library `/usr/lib/libgift.la' was moved. libtool: link: warning: library `/usr/lib/libgiftproto.la' was moved. grep: /var/tmp/portage/gift-0.11.6/image//usr/lib/libgift.la: No such file or directory /bin/sed: can't read /var/tmp/portage/gift-0.11.6/image//usr/lib/libgift.la: No such file or directory libtool: link: `/var/tmp/portage/gift-0.11.6/image//usr/lib/libgift.la' is not a valid libtool archive Of course the directory "/var/tmp/portage/gift-0.11.6/image" no longer exists.
these are errors in the packages, and you only provided the exact error for a2ps which is a printing package. Re-assigning to bug-wranglers.
Reopen with the output of emerge --info please.
As per request: Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.4-ck2) ================================================================= System uname: 2.6.4-ck2 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.4.15 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=pentium4 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ http://gentoo.binarycompass.org http://mirrors.tds.net/gentoo http://gentoo.llarian.net/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apache2 apm avi berkdb cdr crypt cups divx4linux doc dvd dvdr encode flac foomaticdb gdbm gif gkthtml gpm gtk gtk2 imagemagick imlib java jikes joystick jpeg junit libg++ libwww mad maildir mikmod mmx motif mpeg msn ncurses nls oggvorbis opengl oss pam pda pdflib perl png postgres python qt quicktime readline sdl slang spell sse ssl svga tcpd tetex theora tiff truetype usb video video_cards_radeon x86 xml xml2 xmms xv xvid zlib"
this is probably not reproducable and just happens randomly now and then.. this is one of the reasons we should start using DESTDIR instead of the usual econf stuff.
so what's the status of this bug?
I don't know... I freshly compiled a2ps-4.13c right now, and it seems not broken. (I have MAKEOPTS=-j2 if it makes any difference) a2ps works flawlessly and king% strings /usr/bin/a2ps|grep a2ps.cfg /etc/a2ps/a2ps.cfg king% strings /usr/bin/a2ps|grep image king% so the path is not hardcoded. All the ebuild mentioned here use einstall in src_install() section, so changing it to "make DESTDIR=${D} install" might help?
net-p2p/gift requires the user to make the config file, as it cannot be known what plugins the user wants to enable. This is done by running "gift-setup" by the user you want to run the giFT daemon as. A more detailed howto is available at: http://forums.gentoo.org/viewtopic.php?t=130787 and there is a howto on the third page of that forum for if you're running a central giFT server. Removing net-p2p from cc: list.
I finished rebuilding my system only a short while ago; all because of the compile bug with gcc on reiser4 file systems. I'm now using xfs and all the problems I was having have disappeared. The only thing different is the filesystem, the configurations and kernel options, etc. are as close to what I had before as I can remember. But, that said, I don't see how a filesystem can cause all the trouble I've experienced.