Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Oct 2011 01:58:54 +0400
From:      Andrey Chernov <ache@FreeBSD.ORG>
To:        Eitan Adler <eadler@FreeBSD.ORG>
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
Message-ID:  <20111010215854.GA96634@vniz.net>
In-Reply-To: <CAF6rxgkUtYuYaUpM9M%2Bj8cXmg5yYVOZ5hMzFY5a_r%2BHoCkwAfA@mail.gmail.com>
References:  <201110101738.p9AHcHUq031559@repoman.freebsd.org> <20111010194330.GA94990@vniz.net> <CAF6rxgkUtYuYaUpM9M%2Bj8cXmg5yYVOZ5hMzFY5a_r%2BHoCkwAfA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 10, 2011 at 05:35:11PM -0400, Eitan Adler wrote:
> On Mon, Oct 10, 2011 at 3:43 PM, Andrey Chernov <ache@freebsd.org> 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 <jeremyhu@apple.com>
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 <jeremyhu@apple.com>

-- 
http://ache.vniz.net/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111010215854.GA96634>