Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25875 - emerge groff (and other packages) attempts to access /var/backups/infodir.bak and fails install
Summary: emerge groff (and other packages) attempts to access /var/backups/infodir.bak...
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Highest critical (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
: 25997 26202 27792 35367 37840 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-08-04 07:59 UTC by Cubittus
Modified: 2010-03-10 20:13 UTC (History)
12 users (show)

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


Attachments
List of all installed packages (installed-packages,10.56 KB, text/plain)
2003-08-06 17:10 UTC, Cubittus
Details
emerge.log (emerge.log,160.46 KB, text/plain)
2003-08-07 02:04 UTC, Heinrich Wendel (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cubittus 2003-08-04 07:59:25 UTC
I wanted to optimise my install by adding -fomit-frame-pointer to CFLAGS in 
make.conf and recompiling my system using emerge -e world.  The emerge got
as far as groff and then failed.  Just emerge groff also fails.

The compile gets as far as the stage of installing its info pages and gives an
error :

make[2]: Entering directory `/var/tmp/portage/groff-1.18.1-r2/work/groff-
1.18.1/doc'
makeinfo -I/var/tmp/portage/groff-1.18.1-r2/work/groff-
1.18.1/doc /var/tmp/portage/groff-1.18.1-r2/work/groff-1.18.1/doc/groff.texinfo
test -d /var/tmp/portage/groff-1.18.1-r2/image//usr/share/man 
|| /var/tmp/portage/groff-1.18.1-r2/work/groff-
1.18.1/mkinstalldirs /var/tmp/portage/groff-1.18.1-r2/image//usr/share/man
test -d /var/tmp/portage/groff-1.18.1-r2/image//usr/share/man/man1 
|| /var/tmp/portage/groff-1.18.1-r2/work/groff-
1.18.1/mkinstalldirs /var/tmp/portage/groff-1.18.1-r2/image//usr/share/man/man1
test -d /var/tmp/portage/groff-1.18.1-r2/image//usr/share/man/man5 
|| /var/tmp/portage/groff-1.18.1-r2/work/groff-
1.18.1/mkinstalldirs /var/tmp/portage/groff-1.18.1-r2/image//usr/share/man/man5
test -d /var/tmp/portage/groff-1.18.1-r2/image//usr/share/man/man7 
|| /var/tmp/portage/groff-1.18.1-r2/work/groff-
1.18.1/mkinstalldirs /var/tmp/portage/groff-1.18.1-r2/image//usr/share/man/man7
test -d /var/tmp/portage/groff-1.18.1-r2/image//usr/share/info 
|| /var/tmp/portage/groff-1.18.1-r2/work/groff-
1.18.1/mkinstalldirs /var/tmp/portage/groff-1.18.1-r2/image//usr/share/info
mkdir /var/tmp/portage/groff-1.18.1-r2/image/usr/share/info
d=.; \
  test -f "groff" || d=/var/tmp/portage/groff-1.18.1-r2/work/groff-1.18.1/doc; \
  for f in $d/groff $d/groff-*; do \
    rm -f /var/tmp/portage/groff-1.18.1-r2/image//usr/share/info/`basename $f`; 
\
    /bin/install -c -m 644 $f /var/tmp/portage/groff-1.18.1-
r2/image//usr/share/info/`basename $f`; \
  done
install-info --info-dir=/var/tmp/portage/groff-1.18.1-
r2/image//usr/share/info /var/tmp/portage/groff-1.18.1-
r2/image//usr/share/info/groff
* Groff: (groff). The GNU troff document formatting system.
install-info(/var/tmp/portage/groff-1.18.1-r2/image//usr/share/info/groff): no 
backup file /var/backups/infodir.bak available, giving up.
make[2]: *** [install_data] Error 1
make[2]: Leaving directory `/var/tmp/portage/groff-1.18.1-r2/work/groff-
1.18.1/doc'
make[1]: *** [doc] Error 2
make[1]: Leaving directory `/var/tmp/portage/groff-1.18.1-r2/work/groff-1.18.1'
make: *** [install] Error 2

!!! ERROR: sys-apps/groff-1.18.1-r2 failed.
!!! Function src_install, Line 95, Exitcode 2
!!! (no error message)



If I put a copy of my /usr/share/info/dir file in /var/backups/infodir.bak then
the emerge gets a little further but then reports a sandbox violation:

/var/tmp/portage/groff-1.18.1-r2/work/groff-1.18.1/doc
make[2]: Entering directory `/var/tmp/portage/groff-1.18.1-r2/work/groff-
1.18.1/doc'
makeinfo -I/var/tmp/portage/groff-1.18.1-r2/work/groff-
1.18.1/doc /var/tmp/portage/groff-1.18.1-r2/work/groff-1.18.1/doc/groff.texinfo
test -d /var/tmp/portage/groff-1.18.1-r2/image//usr/share/man 
|| /var/tmp/portage/groff-1.18.1-r2/work/groff-
1.18.1/mkinstalldirs /var/tmp/portage/groff-1.18.1-r2/image//usr/share/man
test -d /var/tmp/portage/groff-1.18.1-r2/image//usr/share/man/man1 
|| /var/tmp/portage/groff-1.18.1-r2/work/groff-
1.18.1/mkinstalldirs /var/tmp/portage/groff-1.18.1-r2/image//usr/share/man/man1
test -d /var/tmp/portage/groff-1.18.1-r2/image//usr/share/man/man5 
|| /var/tmp/portage/groff-1.18.1-r2/work/groff-
1.18.1/mkinstalldirs /var/tmp/portage/groff-1.18.1-r2/image//usr/share/man/man5
test -d /var/tmp/portage/groff-1.18.1-r2/image//usr/share/man/man7 
|| /var/tmp/portage/groff-1.18.1-r2/work/groff-
1.18.1/mkinstalldirs /var/tmp/portage/groff-1.18.1-r2/image//usr/share/man/man7
test -d /var/tmp/portage/groff-1.18.1-r2/image//usr/share/info 
|| /var/tmp/portage/groff-1.18.1-r2/work/groff-
1.18.1/mkinstalldirs /var/tmp/portage/groff-1.18.1-r2/image//usr/share/info
mkdir /var/tmp/portage/groff-1.18.1-r2/image/usr/share/info
d=.; \
  test -f "groff" || d=/var/tmp/portage/groff-1.18.1-r2/work/groff-1.18.1/doc; \
  for f in $d/groff $d/groff-*; do \
    rm -f /var/tmp/portage/groff-1.18.1-r2/image//usr/share/info/`basename $f`; 
\
    /bin/install -c -m 644 $f /var/tmp/portage/groff-1.18.1-
r2/image//usr/share/info/`basename $f`; \
  done
install-info --info-dir=/var/tmp/portage/groff-1.18.1-
r2/image//usr/share/info /var/tmp/portage/groff-1.18.1-
r2/image//usr/share/info/groff
* Groff: (groff). The GNU troff document formatting system.
install-info(/var/tmp/portage/groff-1.18.1-r2/image//usr/share/info/groff): no 
file /var/tmp/portage/groff-1.18.1-r2/image//usr/share/info/dir, retrieving 
backup file /var/backups/infodir.bak.
ACCESS DENIED  open_wr:   /var/backups/infodir.bak
cp: cannot create regular file `/var/backups/infodir.bak': Permission denied
install-info(/var/tmp/portage/groff-1.18.1-r2/image//usr/share/info/groff): 
couldn't backup /var/tmp/portage/groff-1.18.1-r2/image//usr/share/info/dir 
in /var/backups/infodir.bak: No such file or directory
test -d /var/tmp/portage/groff-1.18.1-r2/image//usr/share/doc/groff-1.18.1-r2 
|| /var/tmp/portage/groff-1.18.1-r2/work/groff-
1.18.1/mkinstalldirs /var/tmp/portage/groff-1.18.1-
r2/image//usr/share/doc/groff-1.18.1-r2
for f in meref.me meintro.me pic.ms; do \
  rm -f /var/tmp/portage/groff-1.18.1-r2/image//usr/share/doc/groff-1.18.1-r2/
$f; \
  /bin/install -c -m 644 /var/tmp/portage/groff-1.18.1-r2/work/groff-1.18.1/doc/
$f /var/tmp/portage/groff-1.18.1-r2/image//usr/share/doc/groff-1.18.1-r2/$f; \
done
for f in meref.ps meintro.ps pic.ps; do \
  rm -f /var/tmp/portage/groff-1.18.1-r2/image//usr/share/doc/groff-1.18.1-r2/
$f; \
  /bin/install -c -m 644 $f /var/tmp/portage/groff-1.18.1-
r2/image//usr/share/doc/groff-1.18.1-r2/$f; \
done
test -d /var/tmp/portage/groff-1.18.1-r2/image//usr/share/doc/groff-1.18.1-
r2/examples || /var/tmp/portage/groff-1.18.1-r2/work/groff-
1.18.1/mkinstalldirs /var/tmp/portage/groff-1.18.1-
r2/image//usr/share/doc/groff-1.18.1-r2/examples
for f in ; do \
  rm -f /var/tmp/portage/groff-1.18.1-r2/image//usr/share/doc/groff-1.18.1-
r2/examples/$f; \
  /bin/install -c -m 644 /var/tmp/portage/groff-1.18.1-r2/work/groff-1.18.1/doc/
$f /var/tmp/portage/groff-1.18.1-r2/image//usr/share/doc/groff-1.18.1-
r2/examples/$f; \
done
for f in ; do \
  rm -f /var/tmp/portage/groff-1.18.1-r2/image//usr/share/doc/groff-1.18.1-
r2/examples/$f; \
  /bin/install -c -m 644 $f /var/tmp/portage/groff-1.18.1-
r2/image//usr/share/doc/groff-1.18.1-r2/examples/$f; \
done
make[2]: Leaving directory `/var/tmp/portage/groff-1.18.1-r2/work/groff-
1.18.1/doc'


This is reproducable with my original CFLAGS too (-O3 -march=pentium3 -pipe).

I tried to emerge texinfo with the original CFLAGS again but groff would still
fail after that.


Reproducible: Always
Steps to Reproduce:
1. emerge groff


Actual Results:  
Failed due to attempt to access /var/backups/infodir.bak - see details above.

Expected Results:  
Either not attempted to access the file or dealt with the fact that it does
not exist without failing.

Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 Pentium III (Coppermine)
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ 
http://gentoo.oregonstate.edu 
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
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/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 3dnow foomaticdb mad 3ds aalib alsa apache2 apm -arts avi berkdb 
bonobo cdr crypt cups curl dga directfb doc dvb dvd -emacs encode esd ethereal 
evo fbcon flash gb gd gdbm ggi gif gnome gnomedb gphoto2 gpm gtk gtk2 gtkhtml 
guile imlib jack java jikes jpeg junit kde -kerberos kerkdb -krb4 ladcca lcms 
libg++ libgda libwww lirc maildir mbox mcal mdb memlimit mikmod mmx mng motif 
mozcalendar mozilla mozinterfaceinfo mozsvg mozxmlterm mpeg mpi mysql nas 
ncurses nls odbc oggvorbis opengl oss pam -pcmcia -pda pdflib perl plotutils 
png postgres python qhull qt quicktime readline ruby -samba scanner sdl slang 
snmp spell sqlite sse ssl svga tcltk tcpd tetex tiff truetype usb wmf X Xaw3d 
xml xml2 xmms xosd xv zlib"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer"
CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="no"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Cubittus 2003-08-04 08:03:44 UTC
When I did the emerge -e world the following were successfully compiled and installed before groff was attempted and failed ...

[ebuild  N   ] sys-devel/gnuconfig-20030708
[ebuild  N   ] sys-devel/patch-2.5.9
[ebuild  N   ] sys-devel/libtool-1.4.3-r1
[ebuild  N   ] sys-libs/db-1.85-r1
[ebuild  N   ] sys-libs/gdbm-1.8.0-r5
[ebuild  N   ] sys-libs/ncurses-5.3-r1
[ebuild  N   ] sys-devel/gettext-0.11.5-r1
[ebuild  N   ] sys-apps/texinfo-4.5
Comment 2 nr16020 2003-08-05 09:59:39 UTC
I have the same problem, on a system that's been running Gentoo for 3 months.
Trying to reemerge the installed groff package ends on the same error, too (!!).
Weird and painful : emerge glibc (I have 2.3.1 and want to upgrade to 2.3.2) fails with a sandbox
violation, trying to write to /var/backup/infodir.bak too.
Any ideas ?
nr16020@free.fr
Comment 3 Lindsay Haisley 2003-08-05 22:47:06 UTC
Exactly the same problem here.  I tried back-versioning the ebuild to
groff-1.18.1-r2, the currently installed (and previously successfully built)
version and it failed in the same manner so apparently the problem lies outside the groff package.

Comment 4 Lindsay Haisley 2003-08-05 23:14:44 UTC
I should also note that the problem occurred first when upgrading to groff-1.18.1-r3.  4 ebuilds were scheduled as shown in emerge -up system following an emerge sync earlier this evening, The groff upgrade was the first one up and so the entire emerge failed.  I was able to bypass the groff problem and explicitly update the other three packages - patch, automake and psmsic - with no problems.

The Gentoo installation is on a Dell laptop and is relatively new (less than a month old) and is extremely 'stock' in that I've really been too busy studying the Gentoo system and installation layout to do any tinkering with it :-)
Comment 5 Cubittus 2003-08-06 00:53:00 UTC
I've tried recompiling some more packages and tetex is giving me the exact
same problem ...

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-tetex-1.0.7-r12-10768.log"
 
open_wr:   /var/backups/infodir.bak
open_wr:   /var/backups/infodir.bak
open_wr:   /var/backups/infodir.bak
open_wr:   /var/backups/infodir.bak
--------------------------------------------------------------------------------

OK - so we see this same issue with grof, glibc and tetex ... it seems that
install-info has started to need acess to /var/backups outside
the sandbox.  I don't see anything recent in the texinfo changelog so maybe
it's a portage problem?  I'm using sys-apps/portage-2.0.48-r5 and
sys-apps/texinfo-4.5.
Comment 6 Lisa Seelye (RETIRED) gentoo-dev 2003-08-06 06:39:49 UTC
This problem still exists (for me, too!) and on x86 it shouldn't.
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2003-08-06 10:49:28 UTC
*** Bug 25997 has been marked as a duplicate of this bug. ***
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2003-08-06 11:21:04 UTC
Do you have a /var/backups ?
Comment 9 nr16020 2003-08-06 12:03:05 UTC
I don't.

EV5Junkie
Comment 10 nr16020 2003-08-06 12:04:10 UTC
As an additional note, I have to say that I've created one with 755 root:root privileges,
and then tried with 755 portage:portage.
Neither seems to work...
Comment 11 Ioannis Aslanidis (RETIRED) gentoo-dev 2003-08-06 15:32:05 UTC
This problem happens on all of my 3 machines! Need it solved, please! Who's the ebuild's responsible?
Comment 12 Lindsay Haisley 2003-08-06 15:33:55 UTC
Nor did I have /var/backups, and likewise creating it didn't help.  I would assume that if a package needed the directory, and it wasn't there, it would be created.
Comment 13 Martin Schlemmer (RETIRED) gentoo-dev 2003-08-06 16:11:34 UTC
I do not have that dir - was why I asked.  I cannot recreate it though ...

Are you using coreutils, or the older file/sh/text-utils ?
Comment 14 Lindsay Haisley 2003-08-06 16:27:04 UTC
sys-aps/textutils is installed.  sys-apps/coreutils is not.  Don't find any reference on the box to text-utils (with the dash).  The system was installed using rc4 on July 23.
Comment 15 Cubittus 2003-08-06 17:06:36 UTC
I have coreutils-4.5.11-r1 installed instead of fileutils, sh-utils and textutils and get the problem.  I don't have a /var/backups and when I try to create it and
place a copy of /usr/share/info/dir into it as infodir.bak I still see the problem.  When infodir.bak exists I get a sandbox violation.  When it does not I
get an install fail due to install-info not finding it.

I am attaching a list of all my installed packages.
Comment 16 Cubittus 2003-08-06 17:10:15 UTC
Created attachment 15638 [details]
List of all installed packages

My installed packages.	Nearly all are latest x86 releases - only exceptions
are
galeon, sun-jdk and libmpeg2 (I think).
Comment 17 Cubittus 2003-08-06 17:55:13 UTC
Just tried upgrading groff to latest 1.18.1-r3 and still getting same problem ...

mkdir /var/tmp/portage/groff-1.18.1-r3/image/usr/share/info
d=.; \
  test -f "groff" || d=/var/tmp/portage/groff-1.18.1-r3/work/groff-1.18.1/doc; \
  for f in $d/groff $d/groff-*; do \
    rm -f /var/tmp/portage/groff-1.18.1-r3/image//usr/share/info/`basename $f`; \
    /bin/install -c -m 644 $f /var/tmp/portage/groff-1.18.1-r3/image//usr/share/info/`basename $f`; \
  done
install-info --info-dir=/var/tmp/portage/groff-1.18.1-r3/image//usr/share/info /var/tmp/portage/groff-1.18.1-r3/image//usr/share/info/groff
* Groff: (groff). The GNU troff document formatting system.
install-info(/var/tmp/portage/groff-1.18.1-r3/image//usr/share/info/groff): no backup file /var/backups/infodir.bak available, giving up.
make[2]: *** [install_data] Error 1
make[2]: Leaving directory `/var/tmp/portage/groff-1.18.1-r3/work/groff-1.18.1/doc'
make[1]: *** [doc] Error 2
make[1]: Leaving directory `/var/tmp/portage/groff-1.18.1-r3/work/groff-1.18.1'
make: *** [install] Error 2
 
!!! ERROR: sys-apps/groff-1.18.1-r3 failed.
!!! Function src_install, Line 95, Exitcode 2
!!! (no error message)
 
This is now causing an emerge -u world to fail for me so I think the priority
and severity should be raised.
Comment 18 Joshua Kinard gentoo-dev 2003-08-06 23:39:32 UTC
Ah ha!

And I thought I was going insane.  I ran into this stupid bug several weeks ago while kludging gentoo into a pre-existing debian install on a Cobalt RaQ2.  I thought it was a possible mix of the MIPS-based hardware and the already existing debian install that was causing this, since I had never ran into the problem before (and that was a pretty exotic setup).

I can't remember if I got around this or not.  I'll have to find time to netboot the RaQ2 back up and check.  Putting gentoo on the thing is on hold for awhile due to a flakey tulip driver, so I don't turn the unit on very often.  Aside from that machine however, I've not seen this problem on any of my other machines.  Since it's appearing on x86 however, I would venture to guess it is definitely nothing architecture or MIPS specific.
Comment 19 Patrick Kursawe (RETIRED) gentoo-dev 2003-08-07 00:30:43 UTC
Could someone who has the problem please attach a full log of the "emerge groff" (to see all configure steps, compilation messages...)? Thanks.
Comment 20 Heinrich Wendel (RETIRED) gentoo-dev 2003-08-07 02:04:56 UTC
Created attachment 15664 [details]
emerge.log
Comment 21 Heinrich Wendel (RETIRED) gentoo-dev 2003-08-07 02:05:37 UTC
This also happens to several other packages, like glibc! 
 
alexandria root # emerge info 
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) 
================================================================= 
System uname: 2.4.21 i686 AMD Athlon(tm) MP 2400+ 
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config 
/var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="" 
USE="x86 3dnow apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg 
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang 
readline arts bonobo svga tcltk java guile X sdl gpm tcpd libwww python esd imlib oggvorbis gnome 
gtk qt kde motif opengl -oss acpi alsa cdr dvd emacs ethereal flash gd gphoto2 gtk2 imap ldap lcms 
leim maildir mbox mozilla mysql oav perl ruby samba ssl -sasl scanner snmp sse tetex tiff usb wmf 
pic pam apache2 -kerberos" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer -msse -mmmx -mfpmath=sse 
-fforce-addr -fPIC" 
CXXFLAGS="-O2 -mcpu=i686 -pipe" 
ACCEPT_KEYWORDS="x86" 
MAKEOPTS="-j3" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="cvs ccache sandbox usersandbox userpriv strict digest" 
Comment 22 Tavis Ormandy (RETIRED) gentoo-dev 2003-08-07 02:09:25 UTC
WFM. portage-2.0.48-r7, alpha and x86.
Comment 23 Patrick Kursawe (RETIRED) gentoo-dev 2003-08-07 02:25:34 UTC
Your install-info program seems to be different from mine - not just regarding the bug symptom. Your outputs info text * Groff: (groff). The GNU troff document formatting system. when run, mine doesn't.
Please tell me the output of epm -qf $(which install-info) and of epm --verify texinfo.
Comment 24 Stefan Jones (RETIRED) gentoo-dev 2003-08-07 02:34:59 UTC
haha, this is a funny one!!

do find / -name install-info 
I get 
/usr/bin/install-info
/usr/sbin/install-info

haha,

qpkg -f /usr/bin/install-info
sys-apps/texinfo

qpkg -f /usr/sbin/install-info
app-arch/dpkg

emerge -C dpkg
emerge groff

and it works ....

muhaha, thanks for the tip Patrick
Comment 25 Heinrich Wendel (RETIRED) gentoo-dev 2003-08-07 03:40:49 UTC
I removed install-info from dpkg and hope there are no problems with deb's now (does anyone use any???). New version is 1.10.10-r1, immediatly stable!
Comment 26 Ioannis Aslanidis (RETIRED) gentoo-dev 2003-08-07 05:38:40 UTC
I don't know exactly why has all this derived to this point... what I don't understand yet is wether groff merging problem was solved or not. The only thing I see is that install-info was removed... any details on this?

When will it be corrected in the portage tree?
Comment 27 Heinrich Wendel (RETIRED) gentoo-dev 2003-08-07 05:40:05 UTC
the problem was not in the groff but in the dpkg package, which was updated, if you update dpkg, 
groff will emerge fine 
Comment 28 Ioannis Aslanidis (RETIRED) gentoo-dev 2003-08-07 05:42:03 UTC
There is a strange problem. I did NOT have dpkg installed on my system, only groff. How is that there appears no related dependency on this matter?
Comment 29 Heinrich Wendel (RETIRED) gentoo-dev 2003-08-07 05:44:31 UTC
do you have *exactly* the same error? 
Comment 30 Ioannis Aslanidis (RETIRED) gentoo-dev 2003-08-07 05:47:40 UTC
* Groff: (groff). The GNU troff document formatting system.
install-info(/var/tmp/portage/groff-1.18.1-r2/image//usr/share/info/groff): no 
backup file /var/backups/infodir.bak available, giving up.


This was the error I got... trying to see wether it works for me.
Comment 31 Heinrich Wendel (RETIRED) gentoo-dev 2003-08-07 05:53:30 UTC
emerge gentoolkit 
 
what's the output of 
 
qpkg -f /usr/sbin/install-info 
and 
qpkg -f /usr/bin/install-info 
Comment 32 Ioannis Aslanidis (RETIRED) gentoo-dev 2003-08-07 05:59:19 UTC
No need. I just
# emerge dpkg
# emerge -u groff
and now it works fine.

SUGGESTION: Add dpkg as dependency of groff in portage tree.
Comment 33 Heinrich Wendel (RETIRED) gentoo-dev 2003-08-07 06:02:02 UTC
Dpkg is no dependency of groff, instal-info is provided by texinfo. You are sure, you didn't have 
dpkg installed before? 
Comment 34 nr16020 2003-08-07 06:27:01 UTC
Updating dpkg from  1.10.10 to 1.10.10-r1 apparently solved the groff problem.
I'm emerging glibc right now, to see if that also is resolved.
thx...
Comment 35 Lindsay Haisley 2003-08-07 06:57:02 UTC
OK, very good!  I haven't updated dpkg yet, but I _did_ install it over the weekend, so this may well be the source of the problem on my Gentoo installation as well.  All the rest of my boxen run Debian :-)

regent:~# locate install-info
/usr/bin/install-info
/usr/sbin/install-info

regent:~# qpkg -f /usr/sbin/install-info
app-arch/dpkg *
regent:~# qpkg -f /usr/bin/install-info 
sys-apps/texinfo *

Comment 36 Ioannis Aslanidis (RETIRED) gentoo-dev 2003-08-07 07:50:36 UTC
>Dpkg is no dependency of groff, instal-info is provided by texinfo. You are
>sure,
>you didn't have dpkg installed before? 

Yes, completely sure I didn't have it installed. About texinfo, I had installed version 4.5 about 2 months ago and never brought problems (nor now).
Yhe only thing I know is that after installing dpkg the problem waved away... and for what I noticed you didn't change anything on the groff.
Better have a detailed summary of what happened as I am getting lost on what has happened (my programmer mind is this month off-line :)) And thanks for having it solved.
Comment 37 Heinrich Wendel (RETIRED) gentoo-dev 2003-08-07 09:02:49 UTC
the problem was that dpkg installed the file /usr/sbin/install-info which is incompatible to /usr/bin/install-info of the texutils package. /usr/sbin/install-info was responsible for the access violation, so removing it resolved the problem.
Comment 38 Ioannis Aslanidis (RETIRED) gentoo-dev 2003-08-07 09:14:49 UTC
This is very strange... I don't have texutils installed on my system. Nor I had dpkg. The fact is that I installed dpkg and then I could install groff. What happens to me seems in contradiction with what happens to all of you. I'm confused. I have now installed dpkg-1.10.10-r1 and groff-1.18.1-r3 but I don't have textools-1.14 installed. Can anyone explain that to me?
Comment 39 Ioannis Aslanidis (RETIRED) gentoo-dev 2003-08-07 09:17:48 UTC
Allright, I think there is a portage problem on my system for what I see, as I also had those 2 versions installed on my system (install-info). Nevermind, portage never has worked totally fine on any of my systems. Any tool to have portage checked?
Comment 40 Cubittus 2003-08-07 09:34:15 UTC
I can confirm this has fixed the bug for me.

(Don't forget to run emerge -c if you don't autoclean on upgrades or you will
still have the bogus install-info in /usr/sbin)
Comment 41 Lindsay Haisley 2003-08-07 09:46:51 UTC
It would be very helpful to know where your /usr/sbin/install-info came from.

qpkg -f /usr/sbin/install-info

What do you get?
Comment 42 nr16020 2003-08-07 10:16:53 UTC
updating glibc == Ok.
so upgrading dpkg to latest version resolved the problem.
Thx again.
Comment 43 Lindsay Haisley 2003-08-07 10:25:12 UTC
Upgraded dpkg.  Problem solved here, too.  Thanks!

I'm gone.

Comment 44 Martin Schlemmer (RETIRED) gentoo-dev 2003-08-07 10:27:04 UTC
Thanks guys, much appreciated!
Comment 45 Ioannis Aslanidis (RETIRED) gentoo-dev 2003-08-07 11:05:39 UTC
When doing qpkg -f /usr/sbin/install-info nothing appears because after installing qpkg it was removed. Still don't understand how I have /usr/bin/install-info (it says it's because of sys-apps/texinfo) and... I think I now understand what happened, yesterday I updated texinfo (it wasn't textools after all). Anyway, consider this as fine. Now I understand what happened (perhaps cause I finally got up ;)) Thanks for your time!
Comment 46 Joshua Kinard gentoo-dev 2003-08-07 13:24:38 UTC
Interesting.  So this is also why I ran into this bug before anyone else -- Because I was installing gentoo over top an existing debian installation.  Quite the strange oddity.
Comment 47 Heinrich Wendel (RETIRED) gentoo-dev 2003-08-08 06:09:41 UTC
*** Bug 26202 has been marked as a duplicate of this bug. ***
Comment 48 SpanKY gentoo-dev 2003-09-02 15:40:40 UTC
*** Bug 27792 has been marked as a duplicate of this bug. ***
Comment 49 SpanKY gentoo-dev 2004-01-10 16:10:15 UTC
*** Bug 35367 has been marked as a duplicate of this bug. ***
Comment 50 SpanKY gentoo-dev 2004-01-10 16:10:21 UTC
*** Bug 37840 has been marked as a duplicate of this bug. ***