1 |
Hi all, |
2 |
|
3 |
Here is a patch for Gentoo GSoC application. |
4 |
|
5 |
When I was running Portage test (portage/pym/portage/tests/runTests) from |
6 |
git HEAD[1] on DragonFlyBSD, I found mkdir('/') returns EPERM which |
7 |
portage would not expect to get.This caused ensure_dir('/') to be failed, |
8 |
so that one of the tests finished with a error. (I believe ensure_dir('/') |
9 |
should not be failed in |
10 |
any case ;-) ) |
11 |
|
12 |
This patch adds a workaround for this case. I've confirmed the patched |
13 |
portage's "runTests" work well (give OK for all the tests) on Gentoo/Linux |
14 |
(~amd64), Gentoo/FreeBSD 8.0, and DragonFlyBSD 2.4.1. |
15 |
|
16 |
# I wonder if this SCM and repository is suited for the BSD Porting |
17 |
# project[2]. |
18 |
|
19 |
[1] git://git.overlays.gentoo.org/proj/portage.git |
20 |
[2] |
21 |
http://en.gentoo-wiki.com/wiki/Google_Summer_of_Code_2010_ideas#BSD_ports_of_Gentoo:_OpenBSD.2C_DragonFlyBSD.2C_etc. |
22 |
|
23 |
Regards, |
24 |
Naohiro |