Gentoo Archives: gentoo-soc

From: Zac Medico <zmedico@g.o>
To: gentoo-soc@l.g.o
Subject: Re: [gentoo-soc] GSoC patch for DragonFlyBSD porting
Date: Wed, 07 Apr 2010 04:00:05
Message-Id: 4BBC0345.1010301@gentoo.org
In Reply to: [gentoo-soc] GSoC patch for DragonFlyBSD porting by Naohiro Aota
1 On 04/05/2010 07:47 AM, Naohiro Aota wrote:
2 > Hi all,
3 >
4 > Here is a patch for Gentoo GSoC application.
5 >
6 > When I was running Portage test (portage/pym/portage/tests/runTests) from
7 > git HEAD[1] on DragonFlyBSD, I found mkdir('/') returns EPERM which
8 > portage would not expect to get.This caused ensure_dir('/') to be failed,
9 > so that one of the tests finished with a error. (I believe ensure_dir('/')
10 > should not be failed in
11 > any case ;-) )
12 >
13 > This patch adds a workaround for this case. I've confirmed the patched
14 > portage's "runTests" work well (give OK for all the tests) on Gentoo/Linux
15 > (~amd64), Gentoo/FreeBSD 8.0, and DragonFlyBSD 2.4.1.
16 >
17 > # I wonder if this SCM and repository is suited for the BSD Porting
18 > # project[2].
19 >
20 > [1] git://git.overlays.gentoo.org/proj/portage.git
21
22 Yes, that's the right place. Thanks for your patch. I've committed a
23 fix using a slightly different approach:
24
25
26 http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=ee0b00baf07f18c23a180da5efd78fe01335364b
27 --
28 Thanks,
29 Zac