unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15392: xorg-server FTBFS
@ 2013-09-16  7:22 Mark H Weaver
  2013-09-16  7:38 ` Mark H Weaver
  2013-09-16 13:27 ` Ludovic Courtès
  0 siblings, 2 replies; 12+ messages in thread
From: Mark H Weaver @ 2013-09-16  7:22 UTC (permalink / raw)
  To: 15392

Hello all,

xorg-server fails to build from source.  See below for the tail of the
build log.  This is with aae4ead8142d4fd7c674a1e6e302f40469f878c6.

    Regards,
      Mark


--8<---------------cut here---------------start------------->8---
PASS: input
XKB: Failed to compile keymap
Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.

Fatal server error:
Failed to activate core devices.

Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.

FAIL: xtest
PASS: misc
PASS: fixes
PASS: xfree86
========================================================================
1 of 9 tests failed
Please report to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
========================================================================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory `/tmp/nix-build-xorg-server-1.12.2.drv-0/xorg-server-1.12.2/test'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/tmp/nix-build-xorg-server-1.12.2.drv-0/xorg-server-1.12.2/test'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/tmp/nix-build-xorg-server-1.12.2.drv-0/xorg-server-1.12.2/test'
make: *** [check-recursive] Error 1
phase `check' failed after 2 seconds
builder for `/nix/store/kgpvhgf4rin7syv7cxid78vmlckqqyfg-xorg-server-1.12.2.drv' failed with exit code 1
@ build-failed /nix/store/kgpvhgf4rin7syv7cxid78vmlckqqyfg-xorg-server-1.12.2.drv - 1 builder for `/nix/store/kgpvhgf4rin7syv7cxid78vmlckqqyfg-xorg-server-1.12.2.drv' failed with exit code 1
guix package: error: build failed: build of `/nix/store/kgpvhgf4rin7syv7cxid78vmlckqqyfg-xorg-server-1.12.2.drv' failed
--8<---------------cut here---------------end--------------->8---

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#15392: xorg-server FTBFS
  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
  1 sibling, 0 replies; 12+ messages in thread
From: Mark H Weaver @ 2013-09-16  7:38 UTC (permalink / raw)
  To: 15392

Mark H Weaver <mhw@netris.org> writes:

> xorg-server fails to build from source.  See below for the tail of the
> build log.  This is with aae4ead8142d4fd7c674a1e6e302f40469f878c6.

Sorry, the build log tail I posted was actually from a slightly modified
xorg.scm, where I uncommented the build inputs for 'xkbutils' and
'xkeyboard-config' in the 'xorg-server' recipe.  Here's a corrected
version of the build log, using a pristine copy of
aae4ead8142d4fd7c674a1e6e302f40469f878c6.  The only differences are in
the nix hashes.

      Mark


--8<---------------cut here---------------start------------->8---
PASS: input
XKB: Failed to compile keymap
Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.

Fatal server error:
Failed to activate core devices.

Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.

FAIL: xtest
PASS: misc
PASS: fixes
PASS: xfree86
========================================================================
1 of 9 tests failed
Please report to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
========================================================================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory `/tmp/nix-build-xorg-server-1.12.2.drv-0/xorg-server-1.12.2/test'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/tmp/nix-build-xorg-server-1.12.2.drv-0/xorg-server-1.12.2/test'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/tmp/nix-build-xorg-server-1.12.2.drv-0/xorg-server-1.12.2/test'
make: *** [check-recursive] Error 1
phase `check' failed after 3 seconds
builder for `/nix/store/pjla94lqhahnrb0z2h05sb1zh8dlb9wp-xorg-server-1.12.2.drv' failed with exit code 1
@ build-failed /nix/store/pjla94lqhahnrb0z2h05sb1zh8dlb9wp-xorg-server-1.12.2.drv - 1 builder for `/nix/store/pjla94lqhahnrb0z2h05sb1zh8dlb9wp-xorg-server-1.12.2.drv' failed with exit code 1
guix package: error: build failed: build of `/nix/store/pjla94lqhahnrb0z2h05sb1zh8dlb9wp-xorg-server-1.12.2.drv' failed
--8<---------------cut here---------------end--------------->8---

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#15392: xorg-server FTBFS
  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
  1 sibling, 1 reply; 12+ messages in thread
From: Ludovic Courtès @ 2013-09-16 13:27 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: 15392

Mark H Weaver <mhw@netris.org> skribis:

> xorg-server fails to build from source.  See below for the tail of the
> build log.  This is with aae4ead8142d4fd7c674a1e6e302f40469f878c6.

[...]

> PASS: input
> XKB: Failed to compile keymap
> Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
>
> Fatal server error:
> Failed to activate core devices.
>
> Please consult the The X.Org Foundation support
>          at http://wiki.x.org
>  for help.
>
> FAIL: xtest

This was discussed some time ago:

  http://lists.gnu.org/archive/html/bug-guix/2013-03/msg00140.html

It does seem like the xkeyboard-config data is not visible in its
default search path.

Apparently the X server can be started with
“-xkbdir /path/to/xkeyboard-config/etc/X11/xkb”, which should solve the
problem.

There were also discussions about introducing an ‘XKBPATH’ env. var.,
but I’m not sure if it was accepted upstream:
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=324768>.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#15392: xorg-server FTBFS
  2013-09-16 13:27 ` Ludovic Courtès
@ 2013-09-21 17:23   ` Andreas Enge
  2013-09-21 20:02     ` Ludovic Courtès
  0 siblings, 1 reply; 12+ messages in thread
From: Andreas Enge @ 2013-09-21 17:23 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 15392

I tried the following patch, setting some xkb-related options for configuring
xorg-server:

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 9a0e3e2..096ad54 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -4279,10 +4279,23 @@ emulation to complete hardware acceleration for modern GPUs.")
         ("xf86dgaproto" ,xf86dgaproto)
         ("xf86driproto" ,xf86driproto)
         ("xf86vidmodeproto" ,xf86vidmodeproto)
-;;        ("xkbutils" ,xkbutils)
-;;        ("xkeyboard-config" ,xkeyboard-config)

+("setxkbmap" ,setxkbmap)
+("xkbcomp" ,xkbcomp)
+("xkbevd" ,xkbevd)
+("xkbutils" ,xkbutils)
+("xkeyboard-config" ,xkeyboard-config)
         ("xtrans" ,xtrans)
         ("zlib" ,zlib)))
+    (arguments
+     `(#:configure-flags
+       (list (string-append "--with-xkb-path="
+                            (assoc-ref %build-inputs "xkeyboard-config")
+                            "/share/X11/xkb")
+             (string-append "--with-xkb-output="
+                            "/tmp")
+             (string-append "--with-xkb-bin-directory="
+                            (assoc-ref %build-inputs "xkbcomp")
+                            "/bin"))))
     (home-page "http://www.x.org/wiki/")
     (synopsis "xorg implementation of the X Window System")
     (description "X.org provides an implementation of the X Window System")

The same error occurs.

Inspired by nixpkgs, I also tried the following patch to xkeyboard-config:

+    (arguments
+     `(#:configure-flags
+       (list (string-append "--with-xkb-base="
+                            (assoc-ref %outputs "out")
+                            "/etc/X11/xkb")
+             "--with-xkb-rules-symlink=xorg,xfree86")))

Always the same error.

Should nix not have the same problem?

Andreas

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* bug#15392: xorg-server FTBFS
  2013-09-21 17:23   ` Andreas Enge
@ 2013-09-21 20:02     ` Ludovic Courtès
  2013-09-22  9:01       ` Andreas Enge
  0 siblings, 1 reply; 12+ messages in thread
From: Ludovic Courtès @ 2013-09-21 20:02 UTC (permalink / raw)
  To: Andreas Enge; +Cc: 15392

Andreas Enge <andreas@enge.fr> skribis:

> Should nix not have the same problem?

They don’t run the tests.  :-)

However, the real server is passed:

  "-xkbdir" "${pkgs.xkeyboard_config}/etc/X11/xkb"

(See <https://github.com/NixOS/nixos/blob/master/modules/services/x11/xserver.nix>.)

But here, for tests/xtest.c there’s no server running apparently.

> +       (list (string-append "--with-xkb-path="
> +                            (assoc-ref %build-inputs "xkeyboard-config")
> +                            "/share/X11/xkb")

Looking at configure.ac, I think you have to do just that.  Then you can
check the value of XKB_BASE_DIRECTORY in config.log, to make sure
everything’s right.

Can you then run test/xtest in strace and check where it’s looking for
XKB files?

TIA,
Ludo’.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#15392: xorg-server FTBFS
  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
  0 siblings, 2 replies; 12+ messages in thread
From: Andreas Enge @ 2013-09-22  9:01 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 15392

[-- Attachment #1: Type: text/plain, Size: 4760 bytes --]

On Sat, Sep 21, 2013 at 10:02:03PM +0200, Ludovic Courtès wrote:
> Looking at configure.ac, I think you have to do just that.  Then you can
> check the value of XKB_BASE_DIRECTORY in config.log, to make sure
> everything’s right.

I checked this already before, the attached header file looks good
(maybe not XKM_OUTPUT_DIR in the long run, but I thought that for the
tests that should be fine). Wait, could this be a typo in the build system?
One would rather expect XKB_OUTPUT_DIR with a B instead of an M.

Running xtest outside of the chroot of the guix build system, there is an
error message that xkbcomp does not find the file evdev, which is part of
the xkeyboard-config package. So I added a configure flag
       (list (string-append "--with-xkb-config-root="
                            (assoc-ref %build-inputs "xkeyboard-config")
                            "/share/X11/xkb"))))
to xkbcomp. Now xkeyboard-config needs xkbcomp, so I added an additional
package xkbcomp-tmp to build xkeyboard-config, then the final xkbcomp can
use xkeyboard-config as an input. See the attached patch.

From guix, the tests fail with the same error message as before.

When I become root outside the chroot, source the environment variables and
run ./xtest, the tests succeed. The strace output ends like this:
open("/nix/store/hylfnc1nxg7b8rgnz5iyh0xpszkikaf0-xkeyboard-config-2.6/share/X11/xkb/rules/evdev", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=39508, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feab8a26000
read(3, "// DO NOT EDIT THIS FILE - IT WA"..., 4096) = 4096
read(3, "\n  $azerty       =       +aliase"..., 4096) = 4096
read(3, "pl_altquotes)\t\t\t=\tpc+pl(dvorak_a"..., 4096) = 4096
read(3, "v[1])\n  *\t\tkan\t\t\t=\tpc+in(kan)\n  "..., 4096) = 4096
read(3, "\tro\t\tacademic\t\t=\tpc+ro(std)\n  *\t"..., 4096) = 4096
read(3, "_probhat):3\n  *\t\tdev(basic)\t=\t+i"..., 4096) = 4096
brk(0x1f3e000)                          = 0x1f3e000
read(3, "4\n  *\t\tyu(unicode)\t=\t+srp(latinu"..., 4096) = 4096
read(3, "s):4\n  *\t\tdzdwi\t\tbasic\t=\t+bt(bas"..., 4096) = 4096
read(3, "ft_caps_toggle)\n  grp:shift_caps"..., 4096) = 4096
read(3, "pdl:momayyezoss      =\t+kpdl(mom"..., 4096) = 2644
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7feab8a26000, 4096)            = 0
brk(0x1f0d000)                          = 0x1f0d000
brk(0x1f0c000)                          = 0x1f0c000
access("/tmp/", W_OK|X_OK)              = 0
pipe([3, 4])                            = 0
rt_sigaction(SIGALRM, {SIG_IGN, [], SA_RESTORER, 0x7feab7e1c350}, {SIG_DFL, [], 0}, 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7feab8a27b50) = 24792
rt_sigprocmask(SIG_BLOCK, [ALRM CHLD TSTP TTIN TTOU VTALRM WINCH IO], [], 8) = 0
fcntl(4, F_GETFL)                       = 0x1 (flags O_WRONLY)
fstat(4, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feab8a26000
lseek(4, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
close(3)                                = 0
write(4, "xkb_keymap \"default\" {\n    xkb_k"..., 314) = 314
close(4)                                = 0
munmap(0x7feab8a26000, 4096)            = 0
wait4(24792, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 24792
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
access("/tmp/", W_OK|X_OK)              = 0
open("/tmp/server-(null).xkm", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=11248, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feab8a26000
read(3, "\17mkx\26\10\377\7\177\0\0\0\6\0\1\0\214\0D\0\4\0\1\0\f\5\320\0\0\0\1\0"..., 4096) = 4096
lseek(3, 0, SEEK_SET)                   = 0
read(3, "\17mkx\26\10\377\7\177\0\0\0\6\0\1\0\214\0D\0\4\0\1\0\f\5\320\0\0\0\1\0"..., 4096) = 4096
lseek(3, 4096, SEEK_SET)                = 4096
lseek(3, 4096, SEEK_SET)                = 4096
lseek(3, 4096, SEEK_SET)                = 4096
read(3, "\n\376\0\0\377\201\t\0\6\0\377\0\0\0\0\0\f\376\0\0\377\1\377\0\6\4\0\0\0\0\0\0"..., 4096) = 4096
lseek(3, 8192, SEEK_SET)                = 8192
read(3, "\1\1\0\0V\377\10\20\0\0\0\0\0\0\0\0\1\1\0\0x\377\10\20\1\1\0\0y\377\10\20"..., 4096) = 3056
lseek(3, 11248, SEEK_SET)               = 11248
lseek(3, 11248, SEEK_SET)               = 11248
close(3)                                = 0
munmap(0x7feab8a26000, 4096)            = 0
unlink("/tmp/server-(null).xkm")        = 0
exit_group(0)                           = ?

So it looks like XKM is the right prefix in the header file, since a file
named /tmp/server-(null).xkm is used.

Andreas


[-- Attachment #2: xkb-config.h --]
[-- Type: text/x-chdr, Size: 850 bytes --]

/* include/xkb-config.h.  Generated from xkb-config.h.in by configure.  */
/* xkb-config.h.in: not at all generated.                      -*- c -*-
 * 
 */

#ifndef _XKB_CONFIG_H_
#define _XKB_CONFIG_H_

/* Default set of XKB rules. */
#define XKB_DFLT_RULES "evdev"

/* Default XKB model. */
#define XKB_DFLT_MODEL "pc105"

/* Default XKB layout. */
#define XKB_DFLT_LAYOUT "us"

/* Default XKB variant. */
#define XKB_DFLT_VARIANT ""

/* Default XKB options. */
#define XKB_DFLT_OPTIONS ""

/* Path to XKB definitions. */
#define XKB_BASE_DIRECTORY "/nix/store/hylfnc1nxg7b8rgnz5iyh0xpszkikaf0-xkeyboard-config-2.6/share/X11/xkb"

/* Path to xkbcomp. */
#define XKB_BIN_DIRECTORY "/nix/store/67hxl763pdgr01lhvba1adp951fbcg01-xkbcomp-1.2.4/bin"

/* XKB output dir for compiled keymaps. */
#define XKM_OUTPUT_DIR "/tmp/"

#endif /* _XKB_CONFIG_H_ */

[-- Attachment #3: xorg.patch --]
[-- Type: text/x-diff, Size: 3229 bytes --]

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 9a0e3e2..4ac8acc 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -3109,9 +3109,9 @@ tracking.")
     (license license:x11)))
 
 
-(define-public xkbcomp
+(define xkbcomp-tmp ; used as input for xkeyboard-config
   (package
-    (name "xkbcomp")
+    (name "xkbcomp-tmp")
     (version "1.2.4")
     (source
       (origin
@@ -3134,6 +3134,37 @@ tracking.")
     (description "X.org provides an implementation of the X Window System")
     (license license:x11)))
 
+(define-public xkbcomp ; using xkeyboard-config as input
+  (package
+    (name "xkbcomp")
+    (version "1.2.4")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+               "mirror://xorg/X11R7.7/src/everything/xkbcomp-"
+               version
+               ".tar.bz2"))
+        (sha256
+          (base32
+            "0bas1d2wjiy5zy9d0g92d2p9pwv4aapfbfidi7hxy8ax8jmwkl4i"))))
+    (build-system gnu-build-system)
+    (inputs
+      `(("xproto" ,xproto)
+        ("libxkbfile" ,libxkbfile)
+        ("libx11" ,libx11)
+        ("pkg-config" ,pkg-config)
+        ("xkeyboard-config" ,xkeyboard-config)))
+    (arguments
+     `(#:configure-flags
+       (list (string-append "--with-xkb-config-root="
+                            (assoc-ref %build-inputs "xkeyboard-config")
+                            "/share/X11/xkb"))))
+    (home-page "http://www.x.org/wiki/")
+    (synopsis "xorg implementation of the X Window System")
+    (description "X.org provides an implementation of the X Window System")
+    (license license:x11)))
+
 
 (define-public xkbevd
   (package
@@ -3207,7 +3238,7 @@ tracking.")
         ("intltool" ,intltool)
         ("libx11" ,libx11)
         ("pkg-config" ,pkg-config)
-        ("xkbcomp" ,xkbcomp)))
+        ("xkbcomp-tmp" ,xkbcomp-tmp)))
     (home-page "http://www.x.org/wiki/")
     (synopsis "xorg implementation of the X Window System")
     (description "X.org provides an implementation of the X Window System")
@@ -4279,10 +4310,23 @@ emulation to complete hardware acceleration for modern GPUs.")
         ("xf86dgaproto" ,xf86dgaproto)
         ("xf86driproto" ,xf86driproto)
         ("xf86vidmodeproto" ,xf86vidmodeproto)
-;;        ("xkbutils" ,xkbutils)
-;;        ("xkeyboard-config" ,xkeyboard-config)
-        ("xtrans" ,xtrans)
-        ("zlib" ,zlib)))
+("setxkbmap" ,setxkbmap)
+("xkbcomp" ,xkbcomp)
+("xkbevd" ,xkbevd)
+("xkbutils" ,xkbutils)
+("xkeyboard-config" ,xkeyboard-config)
+       ("xtrans" ,xtrans)
+       ("zlib" ,zlib)))
+    (arguments
+     `(#:configure-flags
+       (list (string-append "--with-xkb-path="
+                            (assoc-ref %build-inputs "xkeyboard-config")
+                            "/share/X11/xkb")
+             (string-append "--with-xkb-output="
+                            "/tmp")
+             (string-append "--with-xkb-bin-directory="
+                            (assoc-ref %build-inputs "xkbcomp")
+                            "/bin"))))
     (home-page "http://www.x.org/wiki/")
     (synopsis "xorg implementation of the X Window System")
     (description "X.org provides an implementation of the X Window System")

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* bug#15392: xorg-server FTBFS
  2013-09-22  9:01       ` Andreas Enge
@ 2013-09-22  9:09         ` Andreas Enge
  2013-09-22 20:35         ` Ludovic Courtès
  1 sibling, 0 replies; 12+ messages in thread
From: Andreas Enge @ 2013-09-22  9:09 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 15392

On Sun, Sep 22, 2013 at 11:01:12AM +0200, Andreas Enge wrote:
> When I become root outside the chroot, source the environment variables and
> run ./xtest, the tests succeed.

Even more: Without being root, sourcing the environment variables and running
"make check" inside the build directory also runs all tests successfully.

Andreas

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#15392: xorg-server FTBFS
  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
  1 sibling, 1 reply; 12+ messages in thread
From: Ludovic Courtès @ 2013-09-22 20:35 UTC (permalink / raw)
  To: Andreas Enge; +Cc: 15392

Andreas Enge <andreas@enge.fr> skribis:

> Running xtest outside of the chroot of the guix build system, there is an
> error message that xkbcomp does not find the file evdev, which is part of
> the xkeyboard-config package. So I added a configure flag
>        (list (string-append "--with-xkb-config-root="
>                             (assoc-ref %build-inputs "xkeyboard-config")
>                             "/share/X11/xkb"))))
> to xkbcomp. Now xkeyboard-config needs xkbcomp, so I added an additional
> package xkbcomp-tmp to build xkeyboard-config, then the final xkbcomp can
> use xkeyboard-config as an input. See the attached patch.

Wow.

> From guix, the tests fail with the same error message as before.
>
> When I become root outside the chroot, source the environment variables and
> run ./xtest, the tests succeed. The strace output ends like this:

Could it be that xtest does something not possible in the chroot?  Like
host name lookups, or similar (check the strace log for accesses to
/etc/hosts or connections to /var/run/nscd/socket.)

HTH,
Ludo’.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#15392: xorg-server FTBFS
  2013-09-22 20:35         ` Ludovic Courtès
@ 2013-09-23 17:22           ` Andreas Enge
  2013-09-23 19:39             ` Ludovic Courtès
  0 siblings, 1 reply; 12+ messages in thread
From: Andreas Enge @ 2013-09-23 17:22 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 15392

[-- Attachment #1: Type: text/plain, Size: 572 bytes --]

On Sun, Sep 22, 2013 at 10:35:54PM +0200, Ludovic Courtès wrote:
> Could it be that xtest does something not possible in the chroot?  Like
> host name lookups, or similar (check the strace log for accesses to
> /etc/hosts or connections to /var/run/nscd/socket.)

Not that I could tell; I am attaching the strace output in case I overlooked
something. The only access I see outside of the nix store is in /tmp (consis-
tently with my configure flag that writes the compiled keymaps there), and
from what I grepped in the nix builder code, this is in the chroot.

Andreas


[-- Attachment #2: trace --]
[-- Type: text/plain, Size: 35153 bytes --]

execve("./xtest", ["./xtest"], [/* 51 vars */]) = 0
brk(0)                                  = 0x2677000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9c31eec000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/nix/store/4sxhpbsjgrj7qc2da5wzbn9bvbg53014-libpciaccess-0.13.1/lib/tls/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/4sxhpbsjgrj7qc2da5wzbn9bvbg53014-libpciaccess-0.13.1/lib/tls/x86_64", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/4sxhpbsjgrj7qc2da5wzbn9bvbg53014-libpciaccess-0.13.1/lib/tls/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/4sxhpbsjgrj7qc2da5wzbn9bvbg53014-libpciaccess-0.13.1/lib/tls", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/4sxhpbsjgrj7qc2da5wzbn9bvbg53014-libpciaccess-0.13.1/lib/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/4sxhpbsjgrj7qc2da5wzbn9bvbg53014-libpciaccess-0.13.1/lib/x86_64", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/4sxhpbsjgrj7qc2da5wzbn9bvbg53014-libpciaccess-0.13.1/lib/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/4sxhpbsjgrj7qc2da5wzbn9bvbg53014-libpciaccess-0.13.1/lib", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
open("/nix/store/l3xjxkj3pn7spllafvicmavz48jjlcvl-pixman-0.28.2/lib/tls/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/l3xjxkj3pn7spllafvicmavz48jjlcvl-pixman-0.28.2/lib/tls/x86_64", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/l3xjxkj3pn7spllafvicmavz48jjlcvl-pixman-0.28.2/lib/tls/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/l3xjxkj3pn7spllafvicmavz48jjlcvl-pixman-0.28.2/lib/tls", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/l3xjxkj3pn7spllafvicmavz48jjlcvl-pixman-0.28.2/lib/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/l3xjxkj3pn7spllafvicmavz48jjlcvl-pixman-0.28.2/lib/x86_64", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/l3xjxkj3pn7spllafvicmavz48jjlcvl-pixman-0.28.2/lib/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/l3xjxkj3pn7spllafvicmavz48jjlcvl-pixman-0.28.2/lib", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
open("/nix/store/hqnf21qdzzq52kks11lkl70vpj2mi46l-libxfont-1.4.5/lib/tls/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/hqnf21qdzzq52kks11lkl70vpj2mi46l-libxfont-1.4.5/lib/tls/x86_64", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/hqnf21qdzzq52kks11lkl70vpj2mi46l-libxfont-1.4.5/lib/tls/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/hqnf21qdzzq52kks11lkl70vpj2mi46l-libxfont-1.4.5/lib/tls", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/hqnf21qdzzq52kks11lkl70vpj2mi46l-libxfont-1.4.5/lib/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/hqnf21qdzzq52kks11lkl70vpj2mi46l-libxfont-1.4.5/lib/x86_64", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/hqnf21qdzzq52kks11lkl70vpj2mi46l-libxfont-1.4.5/lib/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/hqnf21qdzzq52kks11lkl70vpj2mi46l-libxfont-1.4.5/lib", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
open("/nix/store/0qm1q7z83vpjl7vwrnc0wx5ngg3c07x7-freetype-2.4.11/lib/tls/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/0qm1q7z83vpjl7vwrnc0wx5ngg3c07x7-freetype-2.4.11/lib/tls/x86_64", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/0qm1q7z83vpjl7vwrnc0wx5ngg3c07x7-freetype-2.4.11/lib/tls/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/0qm1q7z83vpjl7vwrnc0wx5ngg3c07x7-freetype-2.4.11/lib/tls", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/0qm1q7z83vpjl7vwrnc0wx5ngg3c07x7-freetype-2.4.11/lib/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/0qm1q7z83vpjl7vwrnc0wx5ngg3c07x7-freetype-2.4.11/lib/x86_64", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/0qm1q7z83vpjl7vwrnc0wx5ngg3c07x7-freetype-2.4.11/lib/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/0qm1q7z83vpjl7vwrnc0wx5ngg3c07x7-freetype-2.4.11/lib", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
open("/nix/store/skvs99xhqgwc7xy0dbk3yq3nnv3z5l1y-libfontenc-1.1.1/lib/tls/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/skvs99xhqgwc7xy0dbk3yq3nnv3z5l1y-libfontenc-1.1.1/lib/tls/x86_64", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/skvs99xhqgwc7xy0dbk3yq3nnv3z5l1y-libfontenc-1.1.1/lib/tls/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/skvs99xhqgwc7xy0dbk3yq3nnv3z5l1y-libfontenc-1.1.1/lib/tls", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/skvs99xhqgwc7xy0dbk3yq3nnv3z5l1y-libfontenc-1.1.1/lib/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/skvs99xhqgwc7xy0dbk3yq3nnv3z5l1y-libfontenc-1.1.1/lib/x86_64", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/skvs99xhqgwc7xy0dbk3yq3nnv3z5l1y-libfontenc-1.1.1/lib/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/skvs99xhqgwc7xy0dbk3yq3nnv3z5l1y-libfontenc-1.1.1/lib", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
open("/nix/store/p4bkmbmf1bb1i89k2cj6cpjhc0dvb6k4-libxau-1.0.7/lib/tls/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/p4bkmbmf1bb1i89k2cj6cpjhc0dvb6k4-libxau-1.0.7/lib/tls/x86_64", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/p4bkmbmf1bb1i89k2cj6cpjhc0dvb6k4-libxau-1.0.7/lib/tls/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/p4bkmbmf1bb1i89k2cj6cpjhc0dvb6k4-libxau-1.0.7/lib/tls", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/p4bkmbmf1bb1i89k2cj6cpjhc0dvb6k4-libxau-1.0.7/lib/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/p4bkmbmf1bb1i89k2cj6cpjhc0dvb6k4-libxau-1.0.7/lib/x86_64", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/p4bkmbmf1bb1i89k2cj6cpjhc0dvb6k4-libxau-1.0.7/lib/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/p4bkmbmf1bb1i89k2cj6cpjhc0dvb6k4-libxau-1.0.7/lib", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
open("/nix/store/a5xilzvizmk0qzqdzk4kpd8qvqynnyg2-libxdmcp-1.1.1/lib/tls/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/a5xilzvizmk0qzqdzk4kpd8qvqynnyg2-libxdmcp-1.1.1/lib/tls/x86_64", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/a5xilzvizmk0qzqdzk4kpd8qvqynnyg2-libxdmcp-1.1.1/lib/tls/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/a5xilzvizmk0qzqdzk4kpd8qvqynnyg2-libxdmcp-1.1.1/lib/tls", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/a5xilzvizmk0qzqdzk4kpd8qvqynnyg2-libxdmcp-1.1.1/lib/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/a5xilzvizmk0qzqdzk4kpd8qvqynnyg2-libxdmcp-1.1.1/lib/x86_64", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/a5xilzvizmk0qzqdzk4kpd8qvqynnyg2-libxdmcp-1.1.1/lib/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/a5xilzvizmk0qzqdzk4kpd8qvqynnyg2-libxdmcp-1.1.1/lib", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
open("/nix/store/53afsq4c7r10hn77h3iyyavy2bs02403-glibc-2.17/lib/tls/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/53afsq4c7r10hn77h3iyyavy2bs02403-glibc-2.17/lib/tls/x86_64", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/53afsq4c7r10hn77h3iyyavy2bs02403-glibc-2.17/lib/tls/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/53afsq4c7r10hn77h3iyyavy2bs02403-glibc-2.17/lib/tls", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/53afsq4c7r10hn77h3iyyavy2bs02403-glibc-2.17/lib/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/53afsq4c7r10hn77h3iyyavy2bs02403-glibc-2.17/lib/x86_64", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/53afsq4c7r10hn77h3iyyavy2bs02403-glibc-2.17/lib/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/53afsq4c7r10hn77h3iyyavy2bs02403-glibc-2.17/lib", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
open("/nix/store/8x42p60lgcf76w5gjwrna43vxhxjhpjf-gcc-4.7.3/lib64/tls/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/8x42p60lgcf76w5gjwrna43vxhxjhpjf-gcc-4.7.3/lib64/tls/x86_64", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/8x42p60lgcf76w5gjwrna43vxhxjhpjf-gcc-4.7.3/lib64/tls/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/8x42p60lgcf76w5gjwrna43vxhxjhpjf-gcc-4.7.3/lib64/tls", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/8x42p60lgcf76w5gjwrna43vxhxjhpjf-gcc-4.7.3/lib64/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/8x42p60lgcf76w5gjwrna43vxhxjhpjf-gcc-4.7.3/lib64/x86_64", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/8x42p60lgcf76w5gjwrna43vxhxjhpjf-gcc-4.7.3/lib64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/8x42p60lgcf76w5gjwrna43vxhxjhpjf-gcc-4.7.3/lib64", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/8x42p60lgcf76w5gjwrna43vxhxjhpjf-gcc-4.7.3/lib/tls/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/8x42p60lgcf76w5gjwrna43vxhxjhpjf-gcc-4.7.3/lib/tls/x86_64", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/8x42p60lgcf76w5gjwrna43vxhxjhpjf-gcc-4.7.3/lib/tls/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/8x42p60lgcf76w5gjwrna43vxhxjhpjf-gcc-4.7.3/lib/tls", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/8x42p60lgcf76w5gjwrna43vxhxjhpjf-gcc-4.7.3/lib/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/8x42p60lgcf76w5gjwrna43vxhxjhpjf-gcc-4.7.3/lib/x86_64", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/8x42p60lgcf76w5gjwrna43vxhxjhpjf-gcc-4.7.3/lib/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/8x42p60lgcf76w5gjwrna43vxhxjhpjf-gcc-4.7.3/lib", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
open("/nix/store/pdj1hs2gybxmwxp6rlbaxibwmyg68l4c-openssl-1.0.1c/lib/tls/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/pdj1hs2gybxmwxp6rlbaxibwmyg68l4c-openssl-1.0.1c/lib/tls/x86_64", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/pdj1hs2gybxmwxp6rlbaxibwmyg68l4c-openssl-1.0.1c/lib/tls/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/pdj1hs2gybxmwxp6rlbaxibwmyg68l4c-openssl-1.0.1c/lib/tls", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/pdj1hs2gybxmwxp6rlbaxibwmyg68l4c-openssl-1.0.1c/lib/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/pdj1hs2gybxmwxp6rlbaxibwmyg68l4c-openssl-1.0.1c/lib/x86_64", 0x7fffc3ee1040) = -1 ENOENT (No such file or directory)
open("/nix/store/pdj1hs2gybxmwxp6rlbaxibwmyg68l4c-openssl-1.0.1c/lib/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\2006\6\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0555, st_size=2208297, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9c31eeb000
mmap(NULL, 4051720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9c318f0000
mprotect(0x7f9c31aa5000, 2093056, PROT_NONE) = 0
mmap(0x7f9c31ca4000, 155648, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b4000) = 0x7f9c31ca4000
mmap(0x7f9c31cca000, 13064, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f9c31cca000
close(3)                                = 0
open("/nix/store/4sxhpbsjgrj7qc2da5wzbn9bvbg53014-libpciaccess-0.13.1/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/l3xjxkj3pn7spllafvicmavz48jjlcvl-pixman-0.28.2/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/hqnf21qdzzq52kks11lkl70vpj2mi46l-libxfont-1.4.5/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/0qm1q7z83vpjl7vwrnc0wx5ngg3c07x7-freetype-2.4.11/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/skvs99xhqgwc7xy0dbk3yq3nnv3z5l1y-libfontenc-1.1.1/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/p4bkmbmf1bb1i89k2cj6cpjhc0dvb6k4-libxau-1.0.7/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/a5xilzvizmk0qzqdzk4kpd8qvqynnyg2-libxdmcp-1.1.1/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/53afsq4c7r10hn77h3iyyavy2bs02403-glibc-2.17/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\17\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0555, st_size=19305, ...}) = 0
mmap(NULL, 2109816, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9c316ec000
mprotect(0x7f9c316ef000, 2093056, PROT_NONE) = 0
mmap(0x7f9c318ee000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f9c318ee000
close(3)                                = 0
open("/nix/store/4sxhpbsjgrj7qc2da5wzbn9bvbg53014-libpciaccess-0.13.1/lib/libpciaccess.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320#\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0555, st_size=41069, ...}) = 0
mmap(NULL, 2128232, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9c314e4000
mprotect(0x7f9c314ec000, 2093056, PROT_NONE) = 0
mmap(0x7f9c316eb000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f9c316eb000
close(3)                                = 0
open("/nix/store/4sxhpbsjgrj7qc2da5wzbn9bvbg53014-libpciaccess-0.13.1/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/l3xjxkj3pn7spllafvicmavz48jjlcvl-pixman-0.28.2/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/hqnf21qdzzq52kks11lkl70vpj2mi46l-libxfont-1.4.5/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/0qm1q7z83vpjl7vwrnc0wx5ngg3c07x7-freetype-2.4.11/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/skvs99xhqgwc7xy0dbk3yq3nnv3z5l1y-libfontenc-1.1.1/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/p4bkmbmf1bb1i89k2cj6cpjhc0dvb6k4-libxau-1.0.7/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/a5xilzvizmk0qzqdzk4kpd8qvqynnyg2-libxdmcp-1.1.1/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/53afsq4c7r10hn77h3iyyavy2bs02403-glibc-2.17/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0Pm\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0555, st_size=131367, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9c31eea000
mmap(NULL, 2208752, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9c312c8000
mprotect(0x7f9c312df000, 2093056, PROT_NONE) = 0
mmap(0x7f9c314de000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7f9c314de000
mmap(0x7f9c314e0000, 13296, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f9c314e0000
close(3)                                = 0
open("/nix/store/4sxhpbsjgrj7qc2da5wzbn9bvbg53014-libpciaccess-0.13.1/lib/libpixman-1.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/l3xjxkj3pn7spllafvicmavz48jjlcvl-pixman-0.28.2/lib/libpixman-1.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\234\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0555, st_size=670343, ...}) = 0
mmap(NULL, 2715080, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9c31031000
mprotect(0x7f9c310c2000, 2093056, PROT_NONE) = 0
mmap(0x7f9c312c1000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x90000) = 0x7f9c312c1000
close(3)                                = 0
open("/nix/store/4sxhpbsjgrj7qc2da5wzbn9bvbg53014-libpciaccess-0.13.1/lib/libXfont.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/l3xjxkj3pn7spllafvicmavz48jjlcvl-pixman-0.28.2/lib/libXfont.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/hqnf21qdzzq52kks11lkl70vpj2mi46l-libxfont-1.4.5/lib/libXfont.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\222\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0555, st_size=274060, ...}) = 0
mmap(NULL, 2344640, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9c30df4000
mprotect(0x7f9c30e2e000, 2097152, PROT_NONE) = 0
mmap(0x7f9c3102e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3a000) = 0x7f9c3102e000
mmap(0x7f9c31030000, 1728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f9c31030000
close(3)                                = 0
open("/nix/store/4sxhpbsjgrj7qc2da5wzbn9bvbg53014-libpciaccess-0.13.1/lib/libfreetype.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/l3xjxkj3pn7spllafvicmavz48jjlcvl-pixman-0.28.2/lib/libfreetype.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/hqnf21qdzzq52kks11lkl70vpj2mi46l-libxfont-1.4.5/lib/libfreetype.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/0qm1q7z83vpjl7vwrnc0wx5ngg3c07x7-freetype-2.4.11/lib/libfreetype.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\331\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0555, st_size=715057, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9c31ee9000
mmap(NULL, 2748264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9c30b55000
mprotect(0x7f9c30bee000, 2093056, PROT_NONE) = 0
mmap(0x7f9c30ded000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x98000) = 0x7f9c30ded000
close(3)                                = 0
open("/nix/store/4sxhpbsjgrj7qc2da5wzbn9bvbg53014-libpciaccess-0.13.1/lib/libfontenc.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/l3xjxkj3pn7spllafvicmavz48jjlcvl-pixman-0.28.2/lib/libfontenc.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/hqnf21qdzzq52kks11lkl70vpj2mi46l-libxfont-1.4.5/lib/libfontenc.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/0qm1q7z83vpjl7vwrnc0wx5ngg3c07x7-freetype-2.4.11/lib/libfontenc.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/skvs99xhqgwc7xy0dbk3yq3nnv3z5l1y-libfontenc-1.1.1/lib/libfontenc.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\26\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0555, st_size=33414, ...}) = 0
mmap(NULL, 2124264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9c3094e000
mprotect(0x7f9c30954000, 2093056, PROT_NONE) = 0
mmap(0x7f9c30b53000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7f9c30b53000
close(3)                                = 0
open("/nix/store/4sxhpbsjgrj7qc2da5wzbn9bvbg53014-libpciaccess-0.13.1/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/l3xjxkj3pn7spllafvicmavz48jjlcvl-pixman-0.28.2/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/hqnf21qdzzq52kks11lkl70vpj2mi46l-libxfont-1.4.5/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/0qm1q7z83vpjl7vwrnc0wx5ngg3c07x7-freetype-2.4.11/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/skvs99xhqgwc7xy0dbk3yq3nnv3z5l1y-libfontenc-1.1.1/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/p4bkmbmf1bb1i89k2cj6cpjhc0dvb6k4-libxau-1.0.7/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/a5xilzvizmk0qzqdzk4kpd8qvqynnyg2-libxdmcp-1.1.1/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/53afsq4c7r10hn77h3iyyavy2bs02403-glibc-2.17/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/8x42p60lgcf76w5gjwrna43vxhxjhpjf-gcc-4.7.3/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/pdj1hs2gybxmwxp6rlbaxibwmyg68l4c-openssl-1.0.1c/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/mr41m4sqj89svjc9vl8vg4hf76awv2y1-zlib-1.2.7/lib/tls/x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/mr41m4sqj89svjc9vl8vg4hf76awv2y1-zlib-1.2.7/lib/tls/x86_64", 0x7fffc3ee0ec0) = -1 ENOENT (No such file or directory)
open("/nix/store/mr41m4sqj89svjc9vl8vg4hf76awv2y1-zlib-1.2.7/lib/tls/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/mr41m4sqj89svjc9vl8vg4hf76awv2y1-zlib-1.2.7/lib/tls", 0x7fffc3ee0ec0) = -1 ENOENT (No such file or directory)
open("/nix/store/mr41m4sqj89svjc9vl8vg4hf76awv2y1-zlib-1.2.7/lib/x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/mr41m4sqj89svjc9vl8vg4hf76awv2y1-zlib-1.2.7/lib/x86_64", 0x7fffc3ee0ec0) = -1 ENOENT (No such file or directory)
open("/nix/store/mr41m4sqj89svjc9vl8vg4hf76awv2y1-zlib-1.2.7/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240!\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0555, st_size=101176, ...}) = 0
mmap(NULL, 2188680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9c30737000
mprotect(0x7f9c3074e000, 2093056, PROT_NONE) = 0
mmap(0x7f9c3094d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7f9c3094d000
close(3)                                = 0
open("/nix/store/4sxhpbsjgrj7qc2da5wzbn9bvbg53014-libpciaccess-0.13.1/lib/libXau.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/l3xjxkj3pn7spllafvicmavz48jjlcvl-pixman-0.28.2/lib/libXau.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/hqnf21qdzzq52kks11lkl70vpj2mi46l-libxfont-1.4.5/lib/libXau.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/0qm1q7z83vpjl7vwrnc0wx5ngg3c07x7-freetype-2.4.11/lib/libXau.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/skvs99xhqgwc7xy0dbk3yq3nnv3z5l1y-libfontenc-1.1.1/lib/libXau.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/p4bkmbmf1bb1i89k2cj6cpjhc0dvb6k4-libxau-1.0.7/lib/libXau.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\17\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0555, st_size=14101, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9c31ee8000
mmap(NULL, 2106192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9c30534000
mprotect(0x7f9c30536000, 2097152, PROT_NONE) = 0
mmap(0x7f9c30736000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f9c30736000
close(3)                                = 0
open("/nix/store/4sxhpbsjgrj7qc2da5wzbn9bvbg53014-libpciaccess-0.13.1/lib/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/l3xjxkj3pn7spllafvicmavz48jjlcvl-pixman-0.28.2/lib/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/hqnf21qdzzq52kks11lkl70vpj2mi46l-libxfont-1.4.5/lib/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/0qm1q7z83vpjl7vwrnc0wx5ngg3c07x7-freetype-2.4.11/lib/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/skvs99xhqgwc7xy0dbk3yq3nnv3z5l1y-libfontenc-1.1.1/lib/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/p4bkmbmf1bb1i89k2cj6cpjhc0dvb6k4-libxau-1.0.7/lib/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/a5xilzvizmk0qzqdzk4kpd8qvqynnyg2-libxdmcp-1.1.1/lib/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\23\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0555, st_size=24446, ...}) = 0
mmap(NULL, 2115712, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9c3032f000
mprotect(0x7f9c30334000, 2093056, PROT_NONE) = 0
mmap(0x7f9c30533000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7f9c30533000
close(3)                                = 0
open("/nix/store/4sxhpbsjgrj7qc2da5wzbn9bvbg53014-libpciaccess-0.13.1/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/l3xjxkj3pn7spllafvicmavz48jjlcvl-pixman-0.28.2/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/hqnf21qdzzq52kks11lkl70vpj2mi46l-libxfont-1.4.5/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/0qm1q7z83vpjl7vwrnc0wx5ngg3c07x7-freetype-2.4.11/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/skvs99xhqgwc7xy0dbk3yq3nnv3z5l1y-libfontenc-1.1.1/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/p4bkmbmf1bb1i89k2cj6cpjhc0dvb6k4-libxau-1.0.7/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/a5xilzvizmk0qzqdzk4kpd8qvqynnyg2-libxdmcp-1.1.1/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/53afsq4c7r10hn77h3iyyavy2bs02403-glibc-2.17/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000W\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0555, st_size=1109791, ...}) = 0
mmap(NULL, 3133864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9c30031000
mprotect(0x7f9c3012e000, 2093056, PROT_NONE) = 0
mmap(0x7f9c3032d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xfc000) = 0x7f9c3032d000
close(3)                                = 0
open("/nix/store/4sxhpbsjgrj7qc2da5wzbn9bvbg53014-libpciaccess-0.13.1/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/l3xjxkj3pn7spllafvicmavz48jjlcvl-pixman-0.28.2/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/hqnf21qdzzq52kks11lkl70vpj2mi46l-libxfont-1.4.5/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/0qm1q7z83vpjl7vwrnc0wx5ngg3c07x7-freetype-2.4.11/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/skvs99xhqgwc7xy0dbk3yq3nnv3z5l1y-libfontenc-1.1.1/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/p4bkmbmf1bb1i89k2cj6cpjhc0dvb6k4-libxau-1.0.7/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/a5xilzvizmk0qzqdzk4kpd8qvqynnyg2-libxdmcp-1.1.1/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/53afsq4c7r10hn77h3iyyavy2bs02403-glibc-2.17/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\33\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0555, st_size=1992170, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9c31ee7000
mmap(NULL, 3853472, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9c2fc84000
mprotect(0x7f9c2fe27000, 2097152, PROT_NONE) = 0
mmap(0x7f9c30027000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a3000) = 0x7f9c30027000
mmap(0x7f9c3002d000, 15520, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f9c3002d000
close(3)                                = 0
open("/nix/store/53afsq4c7r10hn77h3iyyavy2bs02403-glibc-2.17/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/8x42p60lgcf76w5gjwrna43vxhxjhpjf-gcc-4.7.3/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200)\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0444, st_size=97193, ...}) = 0
mmap(NULL, 2182488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9c2fa6f000
mprotect(0x7f9c2fa84000, 2093056, PROT_NONE) = 0
mmap(0x7f9c2fc83000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7f9c2fc83000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9c31ee6000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9c31ee5000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9c31ee3000
arch_prctl(ARCH_SET_FS, 0x7f9c31ee3880) = 0
mprotect(0x7f9c30027000, 16384, PROT_READ) = 0
mprotect(0x7f9c3032d000, 4096, PROT_READ) = 0
mprotect(0x7f9c314de000, 4096, PROT_READ) = 0
mprotect(0x7f9c318ee000, 4096, PROT_READ) = 0
mprotect(0x7f9c31eee000, 4096, PROT_READ) = 0
set_tid_address(0x7f9c31ee3b50)         = 4632
set_robust_list(0x7f9c31ee3b60, 0x18)   = 0
rt_sigaction(SIGRTMIN, {0x7f9c312ce8b0, [], SA_RESTORER|SA_SIGINFO, 0x7f9c312d7350}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7f9c312ce930, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f9c312d7350}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
brk(0)                                  = 0x2677000
brk(0x2698000)                          = 0x2698000
brk(0x26b9000)                          = 0x26b9000
clock_getres(0x6 /* CLOCK_??? */, {0, 4000250}) = 0
open("/nix/store/hylfnc1nxg7b8rgnz5iyh0xpszkikaf0-xkeyboard-config-2.6/share/X11/xkb/rules/evdev", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=39508, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9c31ee2000
read(3, "// DO NOT EDIT THIS FILE - IT WA"..., 4096) = 4096
read(3, "\n  $azerty       =       +aliase"..., 4096) = 4096
read(3, "pl_altquotes)\t\t\t=\tpc+pl(dvorak_a"..., 4096) = 4096
read(3, "v[1])\n  *\t\tkan\t\t\t=\tpc+in(kan)\n  "..., 4096) = 4096
read(3, "\tro\t\tacademic\t\t=\tpc+ro(std)\n  *\t"..., 4096) = 4096
read(3, "_probhat):3\n  *\t\tdev(basic)\t=\t+i"..., 4096) = 4096
brk(0x26eb000)                          = 0x26eb000
read(3, "4\n  *\t\tyu(unicode)\t=\t+srp(latinu"..., 4096) = 4096
read(3, "s):4\n  *\t\tdzdwi\t\tbasic\t=\t+bt(bas"..., 4096) = 4096
read(3, "ft_caps_toggle)\n  grp:shift_caps"..., 4096) = 4096
read(3, "pdl:momayyezoss      =\t+kpdl(mom"..., 4096) = 2644
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7f9c31ee2000, 4096)            = 0
brk(0x26ba000)                          = 0x26ba000
brk(0x26b9000)                          = 0x26b9000
access("/tmp/", W_OK|X_OK)              = 0
pipe([3, 4])                            = 0
rt_sigaction(SIGALRM, {SIG_IGN, [], SA_RESTORER, 0x7f9c312d7350}, {SIG_DFL, [], 0}, 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f9c31ee3b50) = 4633
rt_sigprocmask(SIG_BLOCK, [ALRM CHLD TSTP TTIN TTOU VTALRM WINCH IO], [], 8) = 0
fcntl(4, F_GETFL)                       = 0x1 (flags O_WRONLY)
fstat(4, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9c31ee2000
lseek(4, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
close(3)                                = 0
write(4, "xkb_keymap \"default\" {\n    xkb_k"..., 314) = 314
close(4)                                = 0
munmap(0x7f9c31ee2000, 4096)            = 0
wait4(4633, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4633
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
access("/tmp/", W_OK|X_OK)              = 0
open("/tmp/server-(null).xkm", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=11248, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9c31ee2000
read(3, "\17mkx\26\10\377\7\177\0\0\0\6\0\1\0\214\0D\0\4\0\1\0\f\5\320\0\0\0\1\0"..., 4096) = 4096
lseek(3, 0, SEEK_SET)                   = 0
read(3, "\17mkx\26\10\377\7\177\0\0\0\6\0\1\0\214\0D\0\4\0\1\0\f\5\320\0\0\0\1\0"..., 4096) = 4096
lseek(3, 4096, SEEK_SET)                = 4096
lseek(3, 4096, SEEK_SET)                = 4096
lseek(3, 4096, SEEK_SET)                = 4096
read(3, "\n\376\0\0\377\201\t\0\6\0\377\0\0\0\0\0\f\376\0\0\377\1\377\0\6\4\0\0\0\0\0\0"..., 4096) = 4096
lseek(3, 8192, SEEK_SET)                = 8192
read(3, "\1\1\0\0V\377\10\20\0\0\0\0\0\0\0\0\1\1\0\0x\377\10\20\1\1\0\0y\377\10\20"..., 4096) = 3056
lseek(3, 11248, SEEK_SET)               = 11248
lseek(3, 11248, SEEK_SET)               = 11248
close(3)                                = 0
munmap(0x7f9c31ee2000, 4096)            = 0
unlink("/tmp/server-(null).xkm")        = 0
exit_group(0)                           = ?

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#15392: xorg-server FTBFS
  2013-09-23 17:22           ` Andreas Enge
@ 2013-09-23 19:39             ` Ludovic Courtès
  2013-09-25  7:00               ` Andreas Enge
  0 siblings, 1 reply; 12+ messages in thread
From: Ludovic Courtès @ 2013-09-23 19:39 UTC (permalink / raw)
  To: Andreas Enge; +Cc: 15392

Andreas Enge <andreas@enge.fr> skribis:

> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f9c31ee3b50) = 4633

Could you try ‘strace -f’ so we see what goes on in the child?

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#15392: xorg-server FTBFS
  2013-09-23 19:39             ` Ludovic Courtès
@ 2013-09-25  7:00               ` Andreas Enge
  2013-09-25 13:11                 ` Ludovic Courtès
  0 siblings, 1 reply; 12+ messages in thread
From: Andreas Enge @ 2013-09-25  7:00 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 15392

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.

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.

Andreas

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#15392: xorg-server FTBFS
  2013-09-25  7:00               ` Andreas Enge
@ 2013-09-25 13:11                 ` Ludovic Courtès
  0 siblings, 0 replies; 12+ messages in thread
From: Ludovic Courtès @ 2013-09-25 13:11 UTC (permalink / raw)
  To: Andreas Enge; +Cc: 15392-done

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’.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-09-25 13:12 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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).