From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OMKyt-0002Dr-NK for garchives@archives.gentoo.org; Wed, 09 Jun 2010 13:06:07 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D43D6E0799; Wed, 9 Jun 2010 13:05:55 +0000 (UTC) Received: from mail-px0-f181.google.com (mail-px0-f181.google.com [209.85.212.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 8761FE0799 for ; Wed, 9 Jun 2010 13:05:55 +0000 (UTC) Received: by pxi4 with SMTP id 4so2068896pxi.40 for ; Wed, 09 Jun 2010 06:05:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:message-id:to:cc :subject:from:x-mailer:mime-version:content-type :content-transfer-encoding; bh=+bHSVdpfzDDPa6cQa/QuQLkt/swU3phFhzbSKOTgj3w=; b=go2RBR1c8rxK3a3CMC+I1kVmGIcNTio7aB3xbBgxHygKTvRiRzRnvyl0qMMLMu61MN MnMotnEZH5svl51MkL1CeYabos0hEUCkwsqxK5bp9JbTqQN55iWFtsQb8wLavaVDwnFh 0TLBC0qp2Vnwb6Eiwnpw96d8+sb+gnWhD4YEU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:message-id:to:cc:subject:from:x-mailer:mime-version :content-type:content-transfer-encoding; b=JIw8NexKIfcleOFU63rbKhmeK4u8ZJqu/+PtaV8K90fkpLi3SBBWYCWRD5CgEXVhIi nes6rl5i+6N6In8+ndRpMJjpsfWseW/3ZWFekLhCUm4KMEZIKx2L+qh0CzLV2tXQrqrr h6CxrFTDOTxHAK7n8aJHv/i2LxgEdyYhzl/fE= Received: by 10.141.105.12 with SMTP id h12mr14586564rvm.112.1276088754887; Wed, 09 Jun 2010 06:05:54 -0700 (PDT) Received: from localhost (zaq3a55f429.zaq.ne.jp [58.85.244.41]) by mx.google.com with ESMTPS id b2sm6643985rvn.19.2010.06.09.06.05.53 (version=SSLv3 cipher=RC4-MD5); Wed, 09 Jun 2010 06:05:54 -0700 (PDT) Sender: Naohiro Aota Date: Wed, 09 Jun 2010 22:05:47 +0900 (JST) Message-Id: <20100609.220547.1767734655620455542.naota@elisp.net> To: patrick@gentoo.org Cc: gentoo-soc@lists.gentoo.org Subject: [gentoo-soc] [GSoC] Gentoo/DragonFly BSD Report From: Naohiro Aota X-Mailer: Mew version 7.0.50 on Emacs 24.0.50 / Mule 6.0 (HANACHIRUSATO) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-soc@lists.gentoo.org Reply-to: gentoo-soc@lists.gentoo.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archives-Salt: bab7853b-7534-4872-8ef3-f9bd02058bbe X-Archives-Hash: 6ef3be0116538760809c9c4950ceb586 Hi, Patrick and list This is a weekly report of a SoC project "Porting Gentoo to DragonFly BSD". >From the last week to now, I've done these things. - install sandbox binary, portage - sync to portage tree - create "profiles/default/bsd/dfbsd", "profiles/arch/x86-dfbsd", "profiles/releases/dfbsd-2.6" like freebsd's ones. - create copy of the base package ebuilds and KEYWORD them as "~x86-dfbsd" - fix some of the ebuilds - install "eseleclt-python" by hand using ebuild. - USE='-*' emerge -1 portage Now I'm trying "emrge -uDN world" on DragonFly BSD. Here are some problems I'm struggling with. - "sort -z" DragonFly BSD's "sort" have no "-z" option, so that "sandbox" seems not work. (ebuild.sh uses the option to deal something "sandbox" related works) - sandbox porting Linux getcwd() set errno = ENAMETOOLONG when The path was longer than PATH_MAX. But this behavior is not compatible with POSIX. "sandbox" is written to follow this Linux manner, so sandbox not working so well on *BSD. Here is my work around patch. But I think it would be better to convert ERANGE to ENAMETOOLONG or reverse at somewhere (maybe after calling vanilla getcwd() is adequate) http://github.com/naota/gentoo-dragonflybsd/commit/810b0be2b897579327b14fc599ba3024983237c7 Regards,