Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187518 - sys-apps/portage- crashes on x86-fbsd
Summary: sys-apps/portage- crashes on x86-fbsd
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 FreeBSD
: High normal (vote)
Assignee: Portage team
Depends on:
Blocks: 181949 189285
  Show dependency tree
Reported: 2007-08-02 17:12 UTC by Joe Peterson (RETIRED)
Modified: 2007-08-02 18:40 UTC (History)
1 user (show)

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

handle EISDIR thrown from mkdir when the directory already exists (mkdir.patch,447 bytes, patch)
2007-08-02 17:31 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Peterson (RETIRED) gentoo-dev 2007-08-02 17:12:04 UTC
Running any portage utilities on g/fbsd will produce this following:

Traceback (most recent call last):
  File "/usr/bin/ebuild", line 29, in ?
    import portage
  File "/usr/lib/portage/pym/", line 8797, in ?
  File "/usr/lib/portage/pym/", line 8753, in init_legacy_globals
    db = create_trees(**kwargs)
  File "/usr/lib/portage/pym/", line 8709, in create_trees
  File "/usr/lib/portage/pym/", line 1324, in __init__
  File "/usr/lib/portage/pym/", line 851, in ensure_dirs
  File "/usr/lib/python2.4/", line 159, in makedirs
    mkdir(name, mode)
OSError: [Errno 21] Is a directory: '/'

portage- has been package.masked on fbsd.
Comment 1 Zac Medico gentoo-dev 2007-08-02 17:31:26 UTC
Created attachment 126719 [details, diff]
handle EISDIR thrown from mkdir when the directory already exists

This is fixed in svn r7545.
Comment 2 Joe Peterson (RETIRED) gentoo-dev 2007-08-02 17:58:54 UTC
Patch works.  Let me know when this is released, and I'll test/unmask on g/fbsd.
Comment 3 Zac Medico gentoo-dev 2007-08-02 18:40:44 UTC
This has been released in