[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#636673: marked as done (xorg-server: sh4: FTBFS: ERROR:../../test/input.c:1218:dix_valuator_alloc: assertion failed: (((void*)v->axisVal - (void*)v) % sizeof(double) == 0))



Your message dated Sat, 15 Oct 2011 17:48:16 +0000
with message-id <E1RF8LI-0006yT-4S@franck.debian.org>
and subject line Bug#636673: fixed in xorg-server 2:1.11.1.901-1
has caused the Debian Bug report #636673,
regarding xorg-server: sh4: FTBFS: ERROR:../../test/input.c:1218:dix_valuator_alloc: assertion failed: (((void*)v->axisVal - (void*)v) % sizeof(double) == 0)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
636673: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=636673
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: xorg-server
Version: 2:1.10.2.902-1
Severity: wishlist
Tags: patch
User: debian-sh4@superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh@lists.debian.org

Hi,

xorg-server FTBFS on sh4.
Because SH is not aligned at size of double.
When structure has double value, It is aligned in 4byte (long).

-----
/dix/input/valuator-masks: OK
/dix/input/attributes: OK
/dix/input/init-valuators: OK
[dix] EventToCore: Not implemented yet
[dix] EventToCore: Not implemented yet
[dix] EventToCore: Not implemented yet
/dix/input/event-core-conversion: OK
/dix/input/event-xi1-conversion: OK
/dix/input/check-grab-values: OK
/dix/input/xi2-struct-sizes: OK
/dix/input/grab_matching: OK
/dix/input/valuator_mode: OK
/include/byte_padding_macros: OK
**
ERROR:../../test/input.c:1218:dix_valuator_alloc: assertion failed:
(((void*)v->axisVal - (void*)v) % sizeof(double) == 0)
/bin/sh: line 5:   613 Aborted                 ${dir}$tst
/include/bit_test_macros: OK
/Xi/xiproperty/register-unregister: OK
/dix/input/valuator-alloc: FAIL: input
/dix/xtest/init: OK
/dix/xtest/properties: OK
PASS: xtest
========================================================================
1 of 3 tests failed
Please report to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
========================================================================
-----

I made a patch which revised this problem. Could you apply this patch?

Best regards,
 Nobuhiro
-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
diff --git a/test/input.c b/test/input.c
index 4c80fcc..90639a2 100644
--- a/test/input.c
+++ b/test/input.c
@@ -1213,7 +1213,7 @@ static void dix_valuator_alloc(void)
 
         g_assert(v);
         g_assert(v->numAxes == num_axes);
-#ifndef __i386__
+#if !defined(__i386__) && !defined(__sh__)
         /* must be double-aligned on 64 bit */
         g_assert(((void*)v->axisVal - (void*)v) % sizeof(double) == 0);
         g_assert(((void*)v->axes - (void*)v) % sizeof(double) == 0);

--- End Message ---
--- Begin Message ---
Source: xorg-server
Source-Version: 2:1.11.1.901-1

We believe that the bug you reported is fixed in the latest version of
xorg-server, which is due to be installed in the Debian FTP archive:

xdmx-tools_1.11.1.901-1_amd64.deb
  to main/x/xorg-server/xdmx-tools_1.11.1.901-1_amd64.deb
xdmx_1.11.1.901-1_amd64.deb
  to main/x/xorg-server/xdmx_1.11.1.901-1_amd64.deb
xnest_1.11.1.901-1_amd64.deb
  to main/x/xorg-server/xnest_1.11.1.901-1_amd64.deb
xorg-server_1.11.1.901-1.diff.gz
  to main/x/xorg-server/xorg-server_1.11.1.901-1.diff.gz
xorg-server_1.11.1.901-1.dsc
  to main/x/xorg-server/xorg-server_1.11.1.901-1.dsc
xorg-server_1.11.1.901.orig.tar.gz
  to main/x/xorg-server/xorg-server_1.11.1.901.orig.tar.gz
xserver-common_1.11.1.901-1_all.deb
  to main/x/xorg-server/xserver-common_1.11.1.901-1_all.deb
xserver-xephyr_1.11.1.901-1_amd64.deb
  to main/x/xorg-server/xserver-xephyr_1.11.1.901-1_amd64.deb
xserver-xfbdev_1.11.1.901-1_amd64.deb
  to main/x/xorg-server/xserver-xfbdev_1.11.1.901-1_amd64.deb
xserver-xorg-core-dbg_1.11.1.901-1_amd64.deb
  to main/x/xorg-server/xserver-xorg-core-dbg_1.11.1.901-1_amd64.deb
xserver-xorg-core-udeb_1.11.1.901-1_amd64.udeb
  to main/x/xorg-server/xserver-xorg-core-udeb_1.11.1.901-1_amd64.udeb
xserver-xorg-core_1.11.1.901-1_amd64.deb
  to main/x/xorg-server/xserver-xorg-core_1.11.1.901-1_amd64.deb
xserver-xorg-dev_1.11.1.901-1_amd64.deb
  to main/x/xorg-server/xserver-xorg-dev_1.11.1.901-1_amd64.deb
xvfb_1.11.1.901-1_amd64.deb
  to main/x/xorg-server/xvfb_1.11.1.901-1_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 636673@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Cristau <jcristau@debian.org> (supplier of updated xorg-server package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 15 Oct 2011 19:05:41 +0200
Source: xorg-server
Binary: xserver-xorg-core xserver-xorg-core-udeb xserver-xorg-dev xdmx xdmx-tools xnest xvfb xserver-xephyr xserver-xfbdev xserver-xorg-core-dbg xserver-common
Architecture: source all amd64
Version: 2:1.11.1.901-1
Distribution: unstable
Urgency: low
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Julien Cristau <jcristau@debian.org>
Description: 
 xdmx       - distributed multihead X server
 xdmx-tools - Distributed Multihead X tools
 xnest      - Nested X server
 xserver-common - common files used by various X servers
 xserver-xephyr - nested X server
 xserver-xfbdev - Linux framebuffer device tiny X server
 xserver-xorg-core - Xorg X server - core server
 xserver-xorg-core-dbg - Xorg - the X.Org X server (debugging symbols)
 xserver-xorg-core-udeb - Xorg X server - core server (udeb)
 xserver-xorg-dev - Xorg X server - development files
 xvfb       - Virtual Framebuffer 'fake' X server
Closes: 636673
Changes: 
 xorg-server (2:1.11.1.901-1) unstable; urgency=low
 .
   * New upstream release candidate (1.11.2 RC1)
     + Disable check of double-aligned in test/input.c on Renesas SH
       (closes: #636673)
   * Use dpkg-buildflags to enable hardening with recent dpkg.
   * Enable PIE with DEB_BUILD_MAINT_OPTIONS, but add -Bsymbolic to LDFLAGS to
     reduce performance loss from PIE.
   * Pass --disable-silent-rules to configure.
   * Drop dh_testroot from clean target.
   * Add dummy build-{arch,indep} targets depending on build.
Checksums-Sha1: 
 41e2836cd5d281a9ee6c11e5b6914d48063b6dbd 4128 xorg-server_1.11.1.901-1.dsc
 c4655601d703a079d8d1fb1e033c282005406a20 6619251 xorg-server_1.11.1.901.orig.tar.gz
 012f2185320cda70d8200fdf4483f3fce0a14739 396032 xorg-server_1.11.1.901-1.diff.gz
 7b4142ab3bfc4a90816bcba240eefbd23d750e74 1269192 xserver-common_1.11.1.901-1_all.deb
 679770678c2087a7d71f2037518e3a334dd892c1 1756658 xserver-xorg-core_1.11.1.901-1_amd64.deb
 184caee1ffd344ed09ebc2748f8345c8d474f026 1067096 xserver-xorg-core-udeb_1.11.1.901-1_amd64.udeb
 9b9d62b1d48e43ba0eb918538c047e80d1785350 310908 xserver-xorg-dev_1.11.1.901-1_amd64.deb
 4260cd77ebf9068e1cfa15aa0d047641564885eb 917344 xdmx_1.11.1.901-1_amd64.deb
 b45c595c2a7b11a8d66913d7aa612fa9f75785d3 123040 xdmx-tools_1.11.1.901-1_amd64.deb
 1f3422433242bb705ba76c500149ed28333b1863 812848 xnest_1.11.1.901-1_amd64.deb
 625206d2075662ad27fe970f12bb37d551517595 915264 xvfb_1.11.1.901-1_amd64.deb
 342cb90c08287b5b8f87ef5cc14e64b611c511de 1010250 xserver-xephyr_1.11.1.901-1_amd64.deb
 b42ae675771dfaf54b231bb9b7bff310996395bf 930158 xserver-xfbdev_1.11.1.901-1_amd64.deb
 ce95a8911ba58734820971589985632e1c625f39 6223008 xserver-xorg-core-dbg_1.11.1.901-1_amd64.deb
Checksums-Sha256: 
 2c88dca0f0463304a1e4b6bc5bd57db298fe1e2fc9f00d80cbc29e8f7f10edd2 4128 xorg-server_1.11.1.901-1.dsc
 11984c95cd68c545cc946ea73e6daa0d7b352b3e09d4d0cd5bc13edaedfca543 6619251 xorg-server_1.11.1.901.orig.tar.gz
 8acb8452cc4e65af70a7e9b08a2e0d2547d4a37593c3e7c40c47c78e95ebc403 396032 xorg-server_1.11.1.901-1.diff.gz
 1ae44acd869735b3edc80683e88d64d525d68575f6c8e66b953ba145fbec5aa9 1269192 xserver-common_1.11.1.901-1_all.deb
 2764a37a82599bdffacc4d80174130bedf1b7099685919837e75915c03a44b2e 1756658 xserver-xorg-core_1.11.1.901-1_amd64.deb
 96c56ed243e61561a8bfdb0f379cdfc8f93629438c6301ed88d62485bb0e0c22 1067096 xserver-xorg-core-udeb_1.11.1.901-1_amd64.udeb
 d56263e60b4604d112a66b77fb67459983ffbac8fb69d0b67fed024b8cb206e3 310908 xserver-xorg-dev_1.11.1.901-1_amd64.deb
 fd7d843e25f6ca3a71cb0e4395e48e56375a3ccf38cc8ef667f2fe6e33ab8d60 917344 xdmx_1.11.1.901-1_amd64.deb
 b15804edb076433334f04587e5c26926e2f1f2a7c02c628b3b2e53abb79605c1 123040 xdmx-tools_1.11.1.901-1_amd64.deb
 f1080fb09acbcc8fc0f11e83552010705d10e9b31d548654bafe04c4966a425a 812848 xnest_1.11.1.901-1_amd64.deb
 a648fc67c712ddeb59f8c22b78f68c5aa02e7455b0cd1a49395d9df1f53222de 915264 xvfb_1.11.1.901-1_amd64.deb
 67d860150a8fe9ba48c858fc0bfa467df09d21cdcf1df04947ce3a8dc0adf716 1010250 xserver-xephyr_1.11.1.901-1_amd64.deb
 384f7f77a830f77438d7607ece2084acb9e2d916c780cae21169fb0d31ff7781 930158 xserver-xfbdev_1.11.1.901-1_amd64.deb
 504cff1632acbd6321411ce9bf9338430404684baae927cbb10890cb612d51b0 6223008 xserver-xorg-core-dbg_1.11.1.901-1_amd64.deb
Files: 
 03e7f22aa58cbf5482a75a35c975f9a4 4128 x11 optional xorg-server_1.11.1.901-1.dsc
 183010067a6e0c75cd2df076897216f8 6619251 x11 optional xorg-server_1.11.1.901.orig.tar.gz
 d798bc08b457ecfa7b68b51b9eb148d1 396032 x11 optional xorg-server_1.11.1.901-1.diff.gz
 ecd46c832fb0bf680c1ee74a32418215 1269192 x11 optional xserver-common_1.11.1.901-1_all.deb
 a6a369ceb8f83aeb1c4408e07abb82cf 1756658 x11 optional xserver-xorg-core_1.11.1.901-1_amd64.deb
 ee898d1e316b6d43f9fdc9b703656676 1067096 debian-installer optional xserver-xorg-core-udeb_1.11.1.901-1_amd64.udeb
 fc89d7b1c9575072af428001883143c6 310908 x11 optional xserver-xorg-dev_1.11.1.901-1_amd64.deb
 365ac93dfd7872fb9da4017b05995080 917344 x11 optional xdmx_1.11.1.901-1_amd64.deb
 71199bb3c331abc7b240154dfec42f9f 123040 x11 optional xdmx-tools_1.11.1.901-1_amd64.deb
 b8a1cabb956ebd060ad02625d18eb22b 812848 x11 optional xnest_1.11.1.901-1_amd64.deb
 e5efe5711116cdd2858809925f9db14a 915264 x11 optional xvfb_1.11.1.901-1_amd64.deb
 c19f00d84255a9e64d9121122204361d 1010250 x11 optional xserver-xephyr_1.11.1.901-1_amd64.deb
 6d328092731bc5066bfc81eb81b22b09 930158 x11 optional xserver-xfbdev_1.11.1.901-1_amd64.deb
 c270ab4890c783babf6faefeb1fee784 6223008 debug extra xserver-xorg-core-dbg_1.11.1.901-1_amd64.deb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJOmcLkAAoJEDEBgAUJBeQMzXEQAMYoB2q2yWi0CK4ZS1i1Muya
y+RoXH9izYIhwsOrdKc5Zqr5IBuWGbHrEIm/2LligF9JiyP897DyS/h7+t0NwQvj
sT14Uf3hUxkceArNptopleQvvW09pMsbRREMwO2nG0aY8qbHlKjZiEhljT1+c+Vw
reL8IhyPOsguPjMsM4FVec1VUtpp9v8hysH1ETqsKkbTm++2YkvvUPKOxwWfCoTj
7r2vAvqczjjV+wFwDe199EpuxbSWKEEuJvqzwSefusAfCpqmIN++uiZ4hPLhQEzj
gn6vPrkft/VuX9iqV/46Dy241NFIUJefp5GB4W0y6Kv+FnunjqZ1wy9nBxy887h0
T8osuUvX52ZbTmQXFILFgomSFYngA8MYoMR4LJDK1mDP5b/lw/Rwtk3mWivsoBvY
Gzh5xauc2ia4NxIIqUeZUbRdydvFntMG/o+MqEIsZYshdTifPMJHR/BWI0zfRlBS
K2bPmsgCAG127y65o/4ya1dm8SAlPetCHMCTiZ3tpnWLpB97JivX7SH3pnSKYMc7
lu9tRO1GyjLVbVYusCk3oCYxU4C8P9gDg2V8lnqcCt+LE7qE2ANoXvN9d9PFfswb
fSBlod1WsYQ+Z8wnwkwbeCbX+x7Y3SRqDD+J/oIZA/5JwbeIHeYo/vHROyu1E+L5
lU+HK4n2wq4KTKHLQ++Y
=vZyy
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: