--- Begin Message ---
Source: readline5
Version: 5.2+dfsg-2
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap
readline5 currently cannot be cross built, because it uses the build
arch compiler "gcc" instead of using the triplet-prefixed host arch
compiler. Cross compilation is needed, because lvm2 build-depends on
libreadline-gplv2-dev. Please consider applying the attached patch to
address the issue.
Helmut
diff -u readline5-5.2+dfsg/debian/changelog readline5-5.2+dfsg/debian/changelog
--- readline5-5.2+dfsg/debian/changelog
+++ readline5-5.2+dfsg/debian/changelog
@@ -1,3 +1,10 @@
+readline5 (5.2+dfsg-2.1) UNRELEASED; urgency=low
+
+ * Non-maintainer upload.
+ * Use correct compiler when cross building. Closes: #-1.
+
+ -- Helmut Grohne <helmut@subdivi.de> Wed, 25 Feb 2015 23:05:20 +0100
+
readline5 (5.2+dfsg-2) unstable; urgency=low
* QA upload.
diff -u readline5-5.2+dfsg/debian/rules readline5-5.2+dfsg/debian/rules
--- readline5-5.2+dfsg/debian/rules
+++ readline5-5.2+dfsg/debian/rules
@@ -15,9 +15,13 @@
distribution := $(shell lsb_release -is)
+ifeq ($(origin CC),default)
+CC = $(DEB_HOST_GNU_TYPE)-cc
+endif
+
ifneq (,$(findstring /$(DEB_HOST_ARCH)/,/i386/powerpc/sparc/s390/))
build64 = yes
- CC64 = gcc -m64
+ CC64 = $(CC) -m64
gencontrol_flags = -- \
'-Vdevxx:Depends=libc6-dev-$(ARCH64)'
ifeq ($(DEB_HOST_ARCH),i386)
@@ -40,7 +44,7 @@
ifneq (,$(findstring /$(DEB_HOST_ARCH)/,/amd64/ppc64/))
build32 = yes
- CC32 = gcc -m32
+ CC32 = $(CC) -m32
lib32dir = lib32
lib32devdir = usr/lib32
gencontrol_flags = -- \
@@ -63,7 +67,6 @@
else
CC_LINK_FLAGS = -Wl,
endif
-CC = gcc
SHELL = bash
--- End Message ---
--- Begin Message ---
Source: readline5
Source-Version: 5.2+dfsg-3
We believe that the bug you reported is fixed in the latest version of
readline5, 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 784669@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Helmut Grohne <helmut@subdivi.de> (supplier of updated readline5 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: SHA512
Format: 1.8
Date: Wed, 27 May 2015 22:15:17 +0200
Source: readline5
Binary: libreadline5 libreadline-gplv2-dev libreadline5-dbg
Architecture: source
Version: 5.2+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Helmut Grohne <helmut@subdivi.de>
Description:
libreadline-gplv2-dev - GNU readline and history libraries, development files
libreadline5 - GNU readline and history libraries, run-time libraries
libreadline5-dbg - GNU readline and history libraries, debugging libraries
Closes: 784669
Changes:
readline5 (5.2+dfsg-3) unstable; urgency=medium
.
* QA upload.
* Enable hardening build flags.
* Remove unused multilib packages.
* Use architecture qualified compiler. Closes: #784669.
* Refer to GPL-2 instead of GPL{-3,} in copyright as the sole purpose of
this package is being licensed under GPL-2.
* Declare source format 1.0.
* Remove install-info from obsolete maintscripts and install-info
dependency to comply with Debian policy 12.2.
* Verified compliance with Debian policy 3.9.6.
Checksums-Sha1:
c1b958b00be924ced5dab193512a6e339cdb4cba 1900 readline5_5.2+dfsg-3.dsc
871876f2230e566c0f8d3585fb379d4ca4701ec6 26095 readline5_5.2+dfsg-3.diff.gz
Checksums-Sha256:
de125946b65b58d4e18ea5951111bcd70e824b9919a2311b860c68de7a12a538 1900 readline5_5.2+dfsg-3.dsc
7e86a9a1c4a00b954f490e0bd1507a6d8a6b2a85a404a4b049e98602bff5d4dd 26095 readline5_5.2+dfsg-3.diff.gz
Files:
bc6cad6285bf4fcf302a5fcbf48f13dc 1900 libs extra readline5_5.2+dfsg-3.dsc
e49dc2521624ef30234947635197ae0f 26095 libs extra readline5_5.2+dfsg-3.diff.gz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJVZianAAoJEC0aqs8kRERCHa4P/3sPA+dJZxU8XhdMLknWxf2U
Rryz52PhXJT0mN4mu1H/pV9IB1YHpuJoMclTrReOH1YmjHEKdHN1k9/Ze5T+ph5z
cmkGxNIdiorFIISIX8trZ1z23sI7nMjeCxefo074j5XIYL+sv0/4rTA6dmYGDKe6
jAZT3q4useBN65r7xlfVz9aWAMQozK9QURe3xb+KsZ7cCzJs/zUSXWa/gB8GCNXt
xFTVlXVIQBO0ZPrKPUViS1VlXfLHcF2IUHqGiAEscHqMZSeRvZ/1TcoSeSc5L6x5
8pZckqsj/BNmjY/OKwMWQVl+9JLQ7LbXYGtqiUxBaRTSSydh5jxyExCyyJS+Zf+C
IBErfp6o4+sy/aVlNuau6HPU+X270nB8ZQrBSeV6ELYgN2BiSmNFvtbULUs/MHaJ
wnKOxNn0L5vZAM/Z3kymVGQtd6iZOuaIgUDNmcky0DWUr3RzBVLxBidlvMssLqQj
OuAMxDH+CJ5pSy34yLsWdTmCZZCdfWEDXqeBiYIKVr4V6avJafi4nPWpRSVW7C6R
LVxES6nIMay/AfwFJdvxahfGAC7+od6Tu/wo9va6jgVdV9zr6GvpnqdEd2TCIStS
WFEirE5OA9j9RxeXW1q75D8CMYV2/SR+9qJzDTZR/VgK8OEnr7ZasvMHxdhRKWe2
+9nW8sXSX+nzFDinWISj
=1pGj
-----END PGP SIGNATURE-----
--- End Message ---