Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187518 - sys-apps/portage-2.1.3.1 crashes on x86-fbsd
Summary: sys-apps/portage-2.1.3.1 crashes on x86-fbsd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 FreeBSD
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
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: ---


Attachments
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/portage.py", line 8797, in ?
    init_legacy_globals()
  File "/usr/lib/portage/pym/portage.py", line 8753, in init_legacy_globals
    db = create_trees(**kwargs)
  File "/usr/lib/portage/pym/portage.py", line 8709, in create_trees
    config_incrementals=portage_const.INCREMENTALS)
  File "/usr/lib/portage/pym/portage.py", line 1324, in __init__
    portage_util.ensure_dirs(target_root)
  File "/usr/lib/portage/pym/portage_util.py", line 851, in ensure_dirs
    os.makedirs(dir_path)
  File "/usr/lib/python2.4/os.py", line 159, in makedirs
    mkdir(name, mode)
OSError: [Errno 21] Is a directory: '/'

portage-2.1.3.1 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 2.1.3.2.