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

Bug#836457: marked as done (qtchooser FTCBFS: uses the build architecture compiler)



Your message dated Mon, 28 Aug 2017 10:00:24 +0000
with message-id <E1dmGqG-000FPp-7s@fasolo.debian.org>
and subject line Bug#836457: fixed in qtchooser 64-ga1b6736-1
has caused the Debian Bug report #836457,
regarding qtchooser FTCBFS: uses the build architecture compiler
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.)


-- 
836457: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836457
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: qtchooser
Version: 58-gfab25f1-1
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

qtchooser fails to cross build from source, because it uses the build
architecture compiler and then dh_strip fails to strip the generated elf
executable with the host architecture tools. The attached patch passes a
triplet-prefixed CXX to make and thus makes the cross build succeed.

Helmut
diff --minimal -Nru qtchooser-58-gfab25f1/debian/changelog qtchooser-58-gfab25f1/debian/changelog
--- qtchooser-58-gfab25f1/debian/changelog	2016-05-22 16:49:07.000000000 +0200
+++ qtchooser-58-gfab25f1/debian/changelog	2016-09-03 13:40:28.000000000 +0200
@@ -1,3 +1,10 @@
+qtchooser (58-gfab25f1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Pass triplet-prefixed CXX to make (Closes: #-1).
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sat, 03 Sep 2016 13:40:09 +0200
+
 qtchooser (58-gfab25f1-1) unstable; urgency=medium
 
   [ Dmitry Shachnev ]
diff --minimal -Nru qtchooser-58-gfab25f1/debian/rules qtchooser-58-gfab25f1/debian/rules
--- qtchooser-58-gfab25f1/debian/rules	2016-05-22 16:34:28.000000000 +0200
+++ qtchooser-58-gfab25f1/debian/rules	2016-09-03 13:40:07.000000000 +0200
@@ -3,13 +3,16 @@
 export DEB_CXXFLAGS_MAINT_APPEND := $(shell dpkg-buildflags --get CPPFLAGS)
 export LFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
 
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+include /usr/share/dpkg/architecture.mk
+ifeq ($(origin CXX),default)
+	CXX = $(DEB_HOST_GNU_TYPE)-g++
+endif
 
 %:
 	dh $@ 
 
 override_dh_auto_build:
-	make QTCHOOSER_GLOBAL_DIR=/usr/share:/usr/lib/$(DEB_HOST_MULTIARCH):/usr/lib/$(DEB_HOST_MULTIARCH)/qt-default
+	make QTCHOOSER_GLOBAL_DIR=/usr/share:/usr/lib/$(DEB_HOST_MULTIARCH):/usr/lib/$(DEB_HOST_MULTIARCH)/qt-default CXX=$(CXX)
 
 override_dh_auto_install:
 	make install INSTALL_ROOT=$(CURDIR)/debian/qtchooser

--- End Message ---
--- Begin Message ---
Source: qtchooser
Source-Version: 64-ga1b6736-1

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

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 836457@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dmitry Shachnev <mitya57@debian.org> (supplier of updated qtchooser 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@ftp-master.debian.org)


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

Format: 1.8
Date: Sat, 26 Aug 2017 11:04:18 +0300
Source: qtchooser
Binary: qtchooser-bin qtchooser
Architecture: source amd64
Version: 64-ga1b6736-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Dmitry Shachnev <mitya57@debian.org>
Description:
 qtchooser  - wrapper to select between Qt versions — configuration files
 qtchooser-bin - wrapper to select between Qt versions — binary files
Closes: 836457
Changes:
 qtchooser (64-ga1b6736-1) experimental; urgency=medium
 .
   [ Dmitry Shachnev ]
   * New upstream git snapshot.
   * Split the files in /usr/bin into a separate package qtchooser-bin.
     Make the main qtchooser package Multi-Arch: same (see bug #781226).
     Thanks to Helmut Grohne for the suggestions.
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Pass triplet-prefixed CXX to make (closes: #836457).
Checksums-Sha1:
 07fe335311af900b0206661ed3e768f9ef7dcdd1 2173 qtchooser_64-ga1b6736-1.dsc
 bb1c835147d1f98f618998be135816dd441f622a 32000 qtchooser_64-ga1b6736.orig.tar.xz
 da7b4637a47c7109466093012af9f125880f5e0f 5960 qtchooser_64-ga1b6736-1.debian.tar.xz
 c4476599cbcf132c8200b34ba3833c8b677bc9bf 130750 qtchooser-bin-dbgsym_64-ga1b6736-1_amd64.deb
 bb776de0bc065a42c4acadb2bbd82894ebd73a05 24800 qtchooser-bin_64-ga1b6736-1_amd64.deb
 28b69a858c5fcb4f248a770269b0d09f7dc9a7c5 9973 qtchooser_64-ga1b6736-1_amd64.buildinfo
 8514de793015cf7c78b10a05498c2984437fb214 6036 qtchooser_64-ga1b6736-1_amd64.deb
Checksums-Sha256:
 69f94cbd31b896a2314e91ae330f062d7a1ea803fe14ff3202c58afe9c16a2dd 2173 qtchooser_64-ga1b6736-1.dsc
 748ec4badae0aa5087823f6e700f96e2b59b191da48ce93b4561ec2bbde5cade 32000 qtchooser_64-ga1b6736.orig.tar.xz
 cf8a823f7d74d0a1e5438e21b2add7dca8fdc7dc09e7915bb9909417da482d23 5960 qtchooser_64-ga1b6736-1.debian.tar.xz
 b9a68062add53be87f01d3ab436eee325144344ec012e4664b715cf0db968cdc 130750 qtchooser-bin-dbgsym_64-ga1b6736-1_amd64.deb
 a9613efd99df7a42e3b6ea51589e2b164eb9113627cda70949a0b969b04f7f92 24800 qtchooser-bin_64-ga1b6736-1_amd64.deb
 e58ef303a35f9352f2f1fb1fb5af55760473bf54430a91391306b471e4c5fd6d 9973 qtchooser_64-ga1b6736-1_amd64.buildinfo
 132149bb03025de808bcf2646d816c1f3ee171931fce4b65adcd4099b6337dea 6036 qtchooser_64-ga1b6736-1_amd64.deb
Files:
 140d9b94d93a62a833ce6a34b56dc8a8 2173 libdevel optional qtchooser_64-ga1b6736-1.dsc
 9fca189e576b160cec41d2ea81e3179b 32000 libdevel optional qtchooser_64-ga1b6736.orig.tar.xz
 2e551bb6b5de6bf80e46a59c296f60b9 5960 libdevel optional qtchooser_64-ga1b6736-1.debian.tar.xz
 1bd556e3e9bb06d5bfed033416843d6e 130750 debug extra qtchooser-bin-dbgsym_64-ga1b6736-1_amd64.deb
 80b84cf3029320e5487f012949bb3419 24800 libdevel optional qtchooser-bin_64-ga1b6736-1_amd64.deb
 9df31bd77d5abc677825e06bc6a080f1 9973 libdevel optional qtchooser_64-ga1b6736-1_amd64.buildinfo
 bb2198b2f431e79997b10d623e2dcdbe 6036 libdevel optional qtchooser_64-ga1b6736-1_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEbEPcK+5mZmLK5jNU1v5xA2P4XdMFAlmhLsAACgkQ1v5xA2P4
XdNlPw/+Pc7kSxcUHgJ8c9uVHyWXQHDbHd2GhCPDfh9EFsry6pI2haX1Gtbtp0bA
YMMG0flbrQEVMomLQ5COYfVL83RcDdJSYuLh0MGxb/ALsNo2ATR/l89hyaBK4uTy
4nfzzdPhGNMFb4J2m39P+jXNFwhrlICeWobJhLypgyPhqEquFbxJPZurlYGT8jJQ
UNy4EOeiDcEtyPFwx8sPkZaIPGODjH9UTv1m2+ZD0tduB8mpteFdvLv/GGO8e3Le
3bH5fBiDn/GCANT713ZMWf0td1HuuN41q0bsrkw8Dc8gKHPRxwwjQQths4LydZj7
qAv2ugjKUEo/BZI4TVO/JdORCm9MFWeAIaK6yW1HyAnv2tl6IKtVloC7RgVFdVev
tckXiYq3U4YB85O/zkvnkGfzKbh+EJNpCbNsB+S2T+HOEgCCaMYZHrkWR3HE3VEX
Kpuh1Gttm9SCtiwJEkzDBcEFeK9xmHtXO6I6HzYm5JM5uoouoZ5C9QcAfmQJL80m
Fna1y40qWysljIwTdRoLiPRB+Qqcfb0q3ShIp+jnmgyFI8qJp7dgpmuwnROYLXpD
UFAcwQMabpPuAOnGpuX0d2ZN1yVoOzUwnxkMUKQZ+34mLCgSN3KHVvSsv9yJFEPS
gGoNOBPh2DttOIWJi5b9OgE95qs0ndRezDTZ/pRZnNckODb+02U=
=tNlJ
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: