From owner-freebsd-ports@FreeBSD.ORG Fri Apr 18 09:00:49 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A37B1065671; Fri, 18 Apr 2008 09:00:49 +0000 (UTC) (envelope-from novel@FreeBSD.org) Received: from viefep28-int.chello.at (viefep28-int.chello.at [62.179.121.48]) by mx1.freebsd.org (Postfix) with ESMTP id 7DA008FC22; Fri, 18 Apr 2008 09:00:48 +0000 (UTC) (envelope-from novel@FreeBSD.org) Received: from novel.renet.ru ([82.116.33.234]) by viefep27-int.chello.at (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20080418084421.LTSS24210.viefep27-int.chello.at@novel.renet.ru>; Fri, 18 Apr 2008 10:44:21 +0200 Date: Fri, 18 Apr 2008 12:50:41 +0400 From: Roman Bogorodskiy To: roberto@FreeBSD.org Message-ID: <20080418085041.GA44025@underworld.novel.ru> Mail-Followup-To: roberto@FreeBSD.org, ports@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="y0ulUmNC+osPPQO6" Content-Disposition: inline X-PGP: http://people.freebsd.org/~novel/novel.key.asc Cc: ports@FreeBSD.org Subject: devel/mercurial is not usable on -CURRENT after /src/sys/sys/fcntl.h changes X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2008 09:00:49 -0000 --y0ulUmNC+osPPQO6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, devel/mercurial is not usable on -CURRENT after /src/sys/sys/fcntl.h changes[1]. It compiles alright, but fails to start with the following message: ImportError: /usr/local/lib/python2.5/site-packages/mercurial/osutil.so: Undefined symbol "fdopendir" since we don't have fdopendir() implemented in FreeBSD. osutil.c contains the following code: #ifdef AT_SYMLINK_NOFOLLOW dfd =3D open(path, O_RDONLY); dir =3D fdopendir(dfd); #else =20 dir =3D opendir(path); dfd =3D -1; #endif So the problem didn't show up because AT_SYMLINK_NOFOLLOW was not defined, but after the change in fcntl.h mentioned above it got broken. 1: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/fcntl.h.diff?r1=3D1.19= ;r2=3D1.20;f=3Dh Roman Bogorodskiy --y0ulUmNC+osPPQO6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFICGDg5nvOfo4+NdURAmw4AJ9+gA0OEc1VKW/Pb1RJ0U4N7kbLbQCfWMeo 6sixyk6/e3VDzuCgUO4+gGI= =X7G2 -----END PGP SIGNATURE----- --y0ulUmNC+osPPQO6--