unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas@enge.fr>
Cc: 15392-done@debbugs.gnu.org
Subject: bug#15392: xorg-server FTBFS
Date: Wed, 25 Sep 2013 15:11:44 +0200	[thread overview]
Message-ID: <874n99m4fj.fsf@gnu.org> (raw)
In-Reply-To: <20130925070045.GA4845@debian> (Andreas Enge's message of "Wed, 25 Sep 2013 09:00:45 +0200")

Andreas Enge <andreas@enge.fr> skribis:

> On Mon, Sep 23, 2013 at 09:39:12PM +0200, Ludovic Courtès wrote:
>> Could you try ‘strace -f’ so we see what goes on in the child?
>
> Thanks to joint work with Ludovic, the problem should be solved. Currently, 
> hydra.gnu.org does not pick up the git repository, but at least, locally
> xorg-server compiles and passes all its tests.

For the record, it was another /bin/sh issue, fixed by 2365338.

Closing the bug now.  :-)

> There is one question I still have concerning a path set by a configure flag,
> which I started out by setting arbitrarily:
>    (string-append "--with-xkb-output="
>                   "/tmp") ; FIXME: This is a bit doubtful; where should
>                           ; the compiled keyboard maps go?
>
> Do you have any knowledge or opinion on what we should do here?
> I suppose that we need a path to which the xserver can write at runtime,
> so it should be outside the store.

Looking at configure.ac, this is used to #define XKM_OUTPUT_DIR, which
ddxLoad.c describes like this:

--8<---------------cut here---------------start------------->8---
        /*
         * If XKM_OUTPUT_DIR specifies a path without a leading slash, it is
         * relative to the top-level XKB configuration directory.
         * Making the server write to a subdirectory of that directory
         * requires some work in the general case (install procedure
         * has to create links to /var or somesuch on many machines),
         * so we just compile into /usr/tmp for now.
         */
#ifndef XKM_OUTPUT_DIR
#define	XKM_OUTPUT_DIR	"compiled/"
#endif
--8<---------------cut here---------------end--------------->8---

I interpret it as /tmp being a good value.

At the same time, I wonder if the X server normally calls xkbcomp at
run time.

Thanks,
Ludo’.

      reply	other threads:[~2013-09-25 13:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-16  7:22 bug#15392: xorg-server FTBFS Mark H Weaver
2013-09-16  7:38 ` Mark H Weaver
2013-09-16 13:27 ` Ludovic Courtès
2013-09-21 17:23   ` Andreas Enge
2013-09-21 20:02     ` Ludovic Courtès
2013-09-22  9:01       ` Andreas Enge
2013-09-22  9:09         ` Andreas Enge
2013-09-22 20:35         ` Ludovic Courtès
2013-09-23 17:22           ` Andreas Enge
2013-09-23 19:39             ` Ludovic Courtès
2013-09-25  7:00               ` Andreas Enge
2013-09-25 13:11                 ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874n99m4fj.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=15392-done@debbugs.gnu.org \
    --cc=andreas@enge.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).