From owner-cvs-all@FreeBSD.ORG Mon Oct 10 21:58:56 2011 Return-Path: Delivered-To: cvs-all@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDDE2106564A; Mon, 10 Oct 2011 21:58:56 +0000 (UTC) (envelope-from ache@vniz.net) Received: from vniz.net (vniz.net [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id 46C4D8FC08; Mon, 10 Oct 2011 21:58:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vniz.net (8.14.5/8.14.5) with ESMTP id p9ALwsb9096775; Tue, 11 Oct 2011 01:58:54 +0400 (MSK) (envelope-from ache@vniz.net) Received: (from ache@localhost) by localhost (8.14.5/8.14.5/Submit) id p9ALwsFq096774; Tue, 11 Oct 2011 01:58:54 +0400 (MSK) (envelope-from ache) Date: Tue, 11 Oct 2011 01:58:54 +0400 From: Andrey Chernov To: Eitan Adler Message-ID: <20111010215854.GA96634@vniz.net> Mail-Followup-To: Andrey Chernov , Eitan Adler , sahil@FreeBSD.ORG, ports-committers@FreeBSD.ORG, cvs-ports@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <201110101738.p9AHcHUq031559@repoman.freebsd.org> <20111010194330.GA94990@vniz.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: cvs-ports@FreeBSD.ORG, ports-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, sahil@FreeBSD.ORG Subject: Re: cvs commit: ports/x11/luit Makefile distinfo ports/x11/luit/files patch-luit.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Oct 2011 21:58:57 -0000 On Mon, Oct 10, 2011 at 05:35:11PM -0400, Eitan Adler wrote: > On Mon, Oct 10, 2011 at 3:43 PM, Andrey Chernov wrote: > > I report already that it needs -DBSD. > > Since you don't add -DBSD, it immediatelly exits with the following error: > > "Couldn't drop privileges: Function not implemented" > > I've been running with this exact port since it was committed to the > xorg-devel repository without issue. That said I plan on a commit to > fix this issue fairly soon. > > > > > BTW, this bug is already fixed in luit development, see: > > https://bugs.freedesktop.org/show_bug.cgi?id=41513 It happens only if builded luit port have WITH_SETUID_LUIT set, otherwise you don't notice the bug. The simplest way to build correctly v1.1.0 is just to add -DBSD. xorg fix it in development using __FreeBSD__ instead: commit 82bec8b84d90d37f75f10b3abe9ec34a3415a622 Author: Jeremy Huddleston Date: Thu Oct 6 10:50:54 2011 -0700 Fix ifdef-foo for the BSDs which are still living in the 90s NetBSD and FreeBSD still don't _POSIX_SAVED_IDS https://bugs.freedesktop.org/show_bug.cgi?id=41513 Signed-off-by: Jeremy Huddleston -- http://ache.vniz.net/