Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220119 - eix-update hungs if /etc/portage/categories is a directory
Summary: eix-update hungs if /etc/portage/categories is a directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-03 14:11 UTC by Federico Ferri (RETIRED)
Modified: 2008-06-25 19:39 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 Federico Ferri (RETIRED) gentoo-dev 2008-05-03 14:11:06 UTC
when running update-eix it hungs. tracing syscalls I get:

write(1, "Building database (/var/cache/ei"..., 38Building database (/var/cache/eix) ..
) = 38
open("/etc/portage/categories", O_RDONLY|O_LARGEFILE) = 3
read(3, 0x8107438, 8191)                = -1 EISDIR (Is a directory)
futex(0xb7d590a4, FUTEX_WAKE, 2147483647) = 0


from portage(5) it's clear that only /etc/portage/package.* are allowed to be files/directories

but eix-update could give a nicer error instead of hanging up without an evident reason
Comment 1 Martin Väth 2008-05-03 16:30:11 UTC
Thanks. Read error handling is now fixed in eix svn trunk (>=eix-0.12.5).
Comment 2 Martin Väth 2008-06-25 19:39:18 UTC
Since eix-0.13.0 is now in the tree, I mark the bug as "fixed".
Please re-open if it does not work as expected.