Date: Fri, 18 Apr 2008 12:50:41 +0400 From: Roman Bogorodskiy <novel@FreeBSD.org> To: roberto@FreeBSD.org Cc: ports@FreeBSD.org Subject: devel/mercurial is not usable on -CURRENT after /src/sys/sys/fcntl.h changes Message-ID: <20080418085041.GA44025@underworld.novel.ru>
next in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080418085041.GA44025>