Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14367 - `emerge grub` causes traceback
Summary: `emerge grub` causes traceback
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-22 08:43 UTC by SpanKY
Modified: 2011-10-30 22:20 UTC (History)
1 user (show)

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 SpanKY gentoo-dev 2003-01-22 08:43:51 UTC
pregame info:
 * Your boot partition was detected as being mounted as /boot.
 * Files will be installed there for grub to function correctly.
root@rux0r root # mount | grep boot
/dev/hda1 on /boot type ext3 (rw,data=writeback)

emerge output:
>>> /sbin/grub
>>> /sbin/grub-install
>>> /sbin/grub-md5-crypt
>>> /sbin/grub-terminfo
--- /bin/
>>> /bin/mbchk
--- /boot/
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1571, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 921, in merge
    retval=portage.doebuild(y,"merge",myroot,edebug)
  File "/usr/lib/python2.2/site-packages/portage.py", line 1309, in doebuild
    return merge(settings["CATEGORY"],settings["PF"],settings["D"],settings["BUILDDIR"]+"/build-info",myroot,myebuild=settings["EBUILD"])
  File "/usr/lib/python2.2/site-packages/portage.py", line 1539, in merge
    return mylink.merge(pkgloc,infloc,myroot,myebuild)
  File "/usr/lib/python2.2/site-packages/portage.py", line 4033, in merge
    return self.treewalk(mergeroot,myroot,inforoot,myebuild)
  File "/usr/lib/python2.2/site-packages/portage.py", line 3745, in treewalk
    if self.mergeme(srcroot,destroot,outfile,secondhand,"",cfgfiledict,mymtime):
  File "/usr/lib/python2.2/site-packages/portage.py", line 3913, in mergeme
    if self.mergeme(srcroot,destroot,outfile,secondhand,offset+x+"/",cfgfiledict,thismtime):
  File "/usr/lib/python2.2/site-packages/portage.py", line 3907, in mergeme
    os.mkdir(mydest)
OSError: [Errno 17] File exists: '/boot/grub'

the end result is i have a /var/db/pkg/sys-apps/grub-0.93.20030118 directory
but no files in it ...
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-01-23 14:20:10 UTC
You should _not_ be journalling /boot.
Make it sync if you're worried about it.

Portage is not getting the mode for that dir. Either
something funky is going on with your partition/inodes
or something freaky is going on with python/glibc.
Comment 2 SpanKY gentoo-dev 2003-01-23 23:29:14 UTC
i made ext3 outta habit ...
oh and the partition is semi-messed up ... so dont worry about it ;)