Your message dated Mon, 23 Jan 2017 22:34:07 +0000
with message-id <[email protected]>
and subject line Bug#833894: fixed in gettext 0.19.8.1-2
has caused the Debian Bug report #833894,
regarding gettext: Please support cross-building
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 [email protected]
immediately.)
--
833894: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833894
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gettext
Version: 0.19.8.1-1
Severity: minor
Tags: patch
User: [email protected]
Usertags: origin-ubuntu yakkety ubuntu-patch
Hi Santiago,
In Ubuntu, we are carrying a patch to gettext to make it cross-buildable.
This seems a worthwhile feature to include in Debian also, given gettext's
status as a base package. Please find attached a patch to debian/rules
which should enable this.
Thanks for considering the patch.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
[email protected] [email protected]
diff -Nru gettext-0.19.8.1/debian/rules gettext-0.19.8.1/debian/rules
--- gettext-0.19.8.1/debian/rules 2016-06-12 15:00:00.000000000 -0700
+++ gettext-0.19.8.1/debian/rules 2016-07-26 22:53:41.000000000 -0700
@@ -4,7 +4,11 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=-format
-CC = gcc
+DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+
+CC = $(DEB_HOST_GNU_TYPE)-gcc
CFLAGS := `dpkg-buildflags --get CFLAGS` -Wall
CXXFLAGS := `dpkg-buildflags --get CXXFLAGS` -Wall
LDFLAGS := `dpkg-buildflags --get LDFLAGS`
@@ -15,6 +19,18 @@
DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+STRIP = true
+
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ # FIXME: libtool seems to call strip directly
+ ifeq ($(DEB_HOST_ARCH),$(DEB_BUILD_ARCH))
+ INSTALL_PROGRAM += -s
+ STRIP=strip --strip-unneeded --remove-section=.comment --remove-section=.note
+ else
+ STRIP=$(DEB_HOST_GNU_TYPE)-strip --strip-unneeded --remove-section=.comment --remove-section=.note
+ endif
+endif
+
export AM_UPDATE_INFO_DIR = no
# PNET_ARCHS = %alpha%amd64%hppa%i386%ia64%mips%mipsel%powerpc%s390%sparc%
@@ -29,9 +45,10 @@
NOJAVA_ARCHS = %none%
build:
./configure --prefix=/usr --enable-threads $(CSHARP) \
+ --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) \
--disable-native-java CC="$(CC)" CFLAGS="$(CFLAGS)" \
JAVAC=/usr/lib/jvm/default-java/bin/javac \
CPPFLAGS="$(CPPFLAGS)" \
CXXFLAGS="$(CXXFLAGS)" \
--- End Message ---
--- Begin Message ---
Source: gettext
Source-Version: 0.19.8.1-2
We believe that the bug you reported is fixed in the latest version of
gettext, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Santiago Vila <[email protected]> (supplier of updated gettext 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 23 Jan 2017 23:11:50 +0100
Source: gettext
Binary: gettext-base gettext gettext-el gettext-doc autopoint libgettextpo0
libasprintf0v5 libgettextpo-dev libasprintf-dev
Architecture: source
Version: 0.19.8.1-2
Distribution: unstable
Urgency: medium
Maintainer: Santiago Vila <[email protected]>
Changed-By: Santiago Vila <[email protected]>
Description:
autopoint - The autopoint program from GNU gettext
gettext - GNU Internationalization utilities
gettext-base - GNU Internationalization utilities for the base system
gettext-doc - Documentation for GNU gettext
gettext-el - Emacs po-mode for editing gettext .po files
libasprintf-dev - GNU Internationalization library development files
libasprintf0v5 - GNU library to use fprintf and friends in C++
libgettextpo-dev - GNU Internationalization library development files
libgettextpo0 - GNU Internationalization library
Closes: 833894 846932
Changes:
gettext (0.19.8.1-2) unstable; urgency=medium
.
* Use debhelper more.
* Try to support cross-builds. Closes: #833894.
* Disable OpenMP support on m68k and sh4. Closes: #846932.
Checksums-Sha1:
c277141a4c5b0f9d2905fe8de3cb43163d25a493 1961 gettext_0.19.8.1-2.dsc
c77519db9fccb1a1acf8453d5f6cff82315dc962 21780 gettext_0.19.8.1-2.debian.tar.xz
Checksums-Sha256:
675a97c8057b053f4749970da3663db3d8966b18f684c5c40598e349b1b2cc36 1961
gettext_0.19.8.1-2.dsc
c597fe09241247727d91f2c3c2f657880372d830fc6fd824a79859c3a765f35b 21780
gettext_0.19.8.1-2.debian.tar.xz
Files:
718231d2c268b8ca5166dd28c28af1c1 1961 devel optional gettext_0.19.8.1-2.dsc
200014cc3804bfdd6889be30223e474a 21780 devel optional
gettext_0.19.8.1-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEE1Uw7+v+wQt44LaXXQc5/C58bizIFAliGgBkACgkQQc5/C58b
izLAnQf/YqgrcAbL+tTRLhbFYQHw+HoYuhiWZXkFq+hD0qsJ3pRYMH2LEujtA0Tz
msO+NNNm+89k9/SZ++na5MstgIjOiuf5GdJUwN0u4AQnHX8D1u6P7r/tcdbtgu6+
a1e3SMrl63HXVQN3SfyyiS8wnwV7cwdOnsZMlFmHTccCKRzxtDSAqPzEjw1+Vm+l
fxpQtU5KC+dtSfQ4lhHB/EWhnqNEA80ybG98Mh4UtzILHCn4ctAxD8WZrfsH5G+f
qO8wqmAaZf7WIKy1U1hDFZ9hiSh4yHFcpQbSRu5sMBlmsDBz6wunasSmbIcLGWxF
7FeUccS8EHSrNemo/OyhLEYLw+tobQ==
=RR+F
-----END PGP SIGNATURE-----
--- End Message ---