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

Bug#642402: marked as done (libx11: multiarch patch broke cross-compilation)



Your message dated Thu, 22 Sep 2011 17:32:19 +0000
with message-id <E1R6n8F-0006xD-TF@franck.debian.org>
and subject line Bug#642402: fixed in libx11 2:1.4.4-2
has caused the Debian Bug report #642402,
regarding libx11: multiarch patch broke cross-compilation
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.)


-- 
642402: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642402
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libx11
Version: 2:1.4.4-1
Severity: normal
Tags: patch
User: crossbuild@debian.org
Usertags: cross

I attempted to cross-build libx11, and it failed as follows:

  cd build && \
          ../configure \
                  --prefix=/usr \
                  --mandir=\${prefix}/share/man \
                  --infodir=\${prefix}/share/info \
                  --libdir=\${prefix}/lib/arm-linux-gnueabi
  configure: loading site script /etc/dpkg-cross/cross-config.armel
  checking build system type... i686-pc-linux-gnu
  checking host system type... i686-pc-linux-gnu
  [...]
  X11 will be built with the following settings:
   Loadable i18n module support:            no
   Loadable xcursor library support:        yes
   Threading support:                       yes
   Use Threads safe API:                    yes
   Threads stubs in libX11:                 no
   XCMS:                                    yes
   Internationalization support:            yes
   XF86BigFont support:                     yes
   XKB support:                             yes
   XLOCALEDIR environment variable support: yes
   Compose table cache enabled:             yes
   Functional specs building enabled:       yes
  
  enable-specs \
                  --with-xmlto \
                  --without-fop \
                  --build=i686-linux-gnu --host=arm-linux-gnueabi \
                  CFLAGS="-Wall -g -O2"
  /bin/sh: enable-specs: not found
  make: [build-stamp] Error 127 (ignored)
  cd build && /usr/bin/make
  [...]

(From here, the build proceeded, but for the wrong architecture.)

This bug was introduced by the multiarch patch
(http://anonscm.debian.org/gitweb/?p=pkg-xorg/lib/libx11.git;a=commitdiff;h=8a3ac024dc9bd0fc3d3500974551b9234ed8ab3a),
and is obviously a missing backslash-continuation.  I don't know what
else may have broken, since --enable-specs --with-xmlto --without-fop
are also effectively missing along with the setting of CFLAGS.

diff --git a/debian/rules b/debian/rules
index 8252735..b17e483 100755
--- a/debian/rules
+++ b/debian/rules
@@ -58,7 +58,7 @@ build-stamp: configure $(STAMP_DIR)/genscripts
 		--prefix=/usr \
 		--mandir=\$${prefix}/share/man \
 		--infodir=\$${prefix}/share/info \
-		--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
+		--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
 		--enable-specs \
 		--with-xmlto \
 		--without-fop \

Thanks,

-- 
Colin Watson                                       [cjwatson@ubuntu.com]



--- End Message ---
--- Begin Message ---
Source: libx11
Source-Version: 2:1.4.4-2

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

libx11-6-dbg_1.4.4-2_amd64.deb
  to main/libx/libx11/libx11-6-dbg_1.4.4-2_amd64.deb
libx11-6-udeb_1.4.4-2_amd64.udeb
  to main/libx/libx11/libx11-6-udeb_1.4.4-2_amd64.udeb
libx11-6_1.4.4-2_amd64.deb
  to main/libx/libx11/libx11-6_1.4.4-2_amd64.deb
libx11-data_1.4.4-2_all.deb
  to main/libx/libx11/libx11-data_1.4.4-2_all.deb
libx11-dev_1.4.4-2_amd64.deb
  to main/libx/libx11/libx11-dev_1.4.4-2_amd64.deb
libx11-xcb-dev_1.4.4-2_amd64.deb
  to main/libx/libx11/libx11-xcb-dev_1.4.4-2_amd64.deb
libx11-xcb1-dbg_1.4.4-2_amd64.deb
  to main/libx/libx11/libx11-xcb1-dbg_1.4.4-2_amd64.deb
libx11-xcb1_1.4.4-2_amd64.deb
  to main/libx/libx11/libx11-xcb1_1.4.4-2_amd64.deb
libx11_1.4.4-2.diff.gz
  to main/libx/libx11/libx11_1.4.4-2.diff.gz
libx11_1.4.4-2.dsc
  to main/libx/libx11/libx11_1.4.4-2.dsc



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 642402@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 libx11 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: Thu, 22 Sep 2011 17:42:39 +0200
Source: libx11
Binary: libx11-6 libx11-6-udeb libx11-data libx11-6-dbg libx11-dev libx11-xcb1 libx11-xcb1-dbg libx11-xcb-dev
Architecture: source all amd64
Version: 2:1.4.4-2
Distribution: unstable
Urgency: low
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Julien Cristau <jcristau@debian.org>
Description: 
 libx11-6   - X11 client-side library
 libx11-6-dbg - X11 client-side library (debug package)
 libx11-6-udeb - X11 client-side library (udeb)
 libx11-data - X11 client-side library
 libx11-dev - X11 client-side library (development headers)
 libx11-xcb-dev - Xlib/XCB interface library (development headers)
 libx11-xcb1 - Xlib/XCB interface library
 libx11-xcb1-dbg - Xlib/XCB interface library (debug package)
Closes: 642402
Changes: 
 libx11 (2:1.4.4-2) unstable; urgency=low
 .
   [ Colin Watson ]
   * Fix cross-compilation breakage due to a typo in the multiarch patch
     (closes: #642402)
Checksums-Sha1: 
 277561adf439e15b7fca017f10e2f35469ce6e4c 2153 libx11_1.4.4-2.dsc
 87642881f9e778ae880958020f82c6888ebd921f 81939 libx11_1.4.4-2.diff.gz
 1b0501cb36d9175696d4961e4f5c0a34094163a9 182910 libx11-data_1.4.4-2_all.deb
 f075d7b8e5f1f3ff5eedc8affe1e6398825d655d 889136 libx11-6_1.4.4-2_amd64.deb
 e6d0e03799fe9c7f99e552fed82d2a2b521c281e 763544 libx11-6-udeb_1.4.4-2_amd64.udeb
 3b2a05795c32ac66e303ad1f93e8e94788ae15c9 2870736 libx11-6-dbg_1.4.4-2_amd64.deb
 7a5a52552efb356553bf0dbc04072087bc7c6bba 3382826 libx11-dev_1.4.4-2_amd64.deb
 95ff9ca53c417be9d5e646f3afa8fe6da31f49b2 125424 libx11-xcb1_1.4.4-2_amd64.deb
 ca11a3e347830e4f805a654f3cae6a696feb5fc8 139500 libx11-xcb1-dbg_1.4.4-2_amd64.deb
 369c4fc980586ff66fa9dc5df98d7d0c7598f8f5 127390 libx11-xcb-dev_1.4.4-2_amd64.deb
Checksums-Sha256: 
 ed06bfa8173644b2bf7342546633235f33b4edfcb44951f7e085e53aa2e6074a 2153 libx11_1.4.4-2.dsc
 5c0be4a421532ce8ec8700ce693ab3b58b37b340d8d4014da2e0e41a34e68bc8 81939 libx11_1.4.4-2.diff.gz
 8b30760aaa7c5348b423761a49e82280a161dcfd3a779aa52924f58fe3bd669c 182910 libx11-data_1.4.4-2_all.deb
 c2e37baba7836ed0fffcc2ace1824bff130da9323087c2c83a5866362e44147f 889136 libx11-6_1.4.4-2_amd64.deb
 59cacf33ad502ab9a162e5a01c661468de27c14ff71364dc6e14c6562c8384e6 763544 libx11-6-udeb_1.4.4-2_amd64.udeb
 e7bd2998663f07d5e59ebeea2919f0a47b3473e8f7acc961c9141e407a050683 2870736 libx11-6-dbg_1.4.4-2_amd64.deb
 16a6e9527fb77e9057f76b91eb0e0d3ce5ad9383c2f7f2aeb9922a11c2eb67df 3382826 libx11-dev_1.4.4-2_amd64.deb
 ec77ce4a77492adcbf96964f46718b1ca0950e8ac241281d9ba4c602d8a15933 125424 libx11-xcb1_1.4.4-2_amd64.deb
 5a54fa10a42b877f315f048a789f45939ba259a444c967a05b12b9ff2f693e0a 139500 libx11-xcb1-dbg_1.4.4-2_amd64.deb
 2925a5ff81bb1efc7ea16c32965c1909b95127f994d56dfff5594d38e5109fb1 127390 libx11-xcb-dev_1.4.4-2_amd64.deb
Files: 
 b43c504c51ad2e76a5d717e5f08b5459 2153 x11 optional libx11_1.4.4-2.dsc
 b6d3a4b47672f058bb09fabd5d608f8a 81939 x11 optional libx11_1.4.4-2.diff.gz
 a9816b8c207b11306803edc41b4e5474 182910 x11 optional libx11-data_1.4.4-2_all.deb
 001728385cee79ed5209252f730812f2 889136 libs optional libx11-6_1.4.4-2_amd64.deb
 95cc51df6e837ea98af34cb4347e4f1e 763544 debian-installer optional libx11-6-udeb_1.4.4-2_amd64.udeb
 f9f52261eb1d0fd69bdd00294ec707b5 2870736 debug extra libx11-6-dbg_1.4.4-2_amd64.deb
 7b785011f2302bc56755454866c06891 3382826 libdevel optional libx11-dev_1.4.4-2_amd64.deb
 a4bbbc6dda00abf560e422944be198b6 125424 libs optional libx11-xcb1_1.4.4-2_amd64.deb
 0d3fa676cc732373ad60f71ed33e946e 139500 debug extra libx11-xcb1-dbg_1.4.4-2_amd64.deb
 9a05368a9807fba25c2a97530b11a8e2 127390 libdevel optional libx11-xcb-dev_1.4.4-2_amd64.deb
Package-Type: udeb

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

iQIcBAEBCAAGBQJOe2FTAAoJEDEBgAUJBeQMOnMQAMXSrPkpGzKsdGwxfTlc0SMr
kKI++WHaHuBtMM0/8/xjlrvRmo1zGmpLsG3nn+AUhVjmcP4Lls/OzgMicdYdtcIB
TNy+hGYBL4WHH0jciH1XfMq0+Z/7cBUPi7g/CsCJg2X2YNGa0xPxCR8SKaigg8kq
YyJ1/cDfcFelqjNcWFLnCNM2o+kVrM6CmlW2BoOB7G8/LxRUQrg4TOgHE/4/LpGW
ZG3LqWoQ4OHOiPM6WjZCKgtjrhS/970J1f0FAThek7ikKHe26cqvjwJKC5lm3uOF
IaTAvKCXeEaNkqqnreutDCQZ64XSYmzbSEXHLrjAzdx3HvgdNXgIk7AI8dBU5RLK
MusHqdvBQA/B0s+yzmwfTJqoiVl/GKgGRHtuOjsvyxQrBrMYkYSALmBmA7wgz7Kz
JZfxEmvHR8chraOqcuOhG44hVX2m4JiwtgZ0sNXD3ZwH+5RXcp9grbquKl5b+t+4
MFsMI4ui6priFmhcupBCAaeJKATHUm6zVG1rJN/YiOrczf9c+bP8jYB5gPi2M6xT
sr/kmqfOvWlREa9rZYkXrkn/4AvHrwiEmQH41PA71jjubH1h0ICjnl2iRBeDjwNI
jnbLfqcx7jPuHA6kydnZhVVRDgbWBGR9e5gfTedjeCN/eE8FgUkgs0zHbQ/naT0c
ZcyMrXDpANV2DKPp3F1n
=anet
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: