Control: tags -1 patch

On 2014-08-25 Michael Tautschnig <m...@debian.org> wrote:
> Package: prelude-lml
> Version: 1.0.0-5
> Severity: serious
> Usertags: goto-cc

> During a rebuild of all Debian packages in a clean sid chroot (using 
> cowbuilder
> and pbuilder) the build failed with the following error.

[...]
> ld.bfd.orig: prelude-lml.o: relocation R_X86_64_32 against `.rodata.str1.8' 
> can not be used when making a shared object; recompile with -fPIC
> prelude-lml.o: error adding symbols: Bad value
[...]

Find attached the corresponding diff for my NMU 1.0.0-5.3.

cu Andreas

-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
diff -NurBbp a/debian/changelog b/debian/changelog
--- a/debian/changelog	2013-07-02 15:19:12.000000000 +0200
+++ b/debian/changelog	2014-08-30 16:54:36.000000000 +0200
@@ -1,3 +1,31 @@
+prelude-lml (1.0.0-5.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Brown paper bag release.
+  * Really add pkg-config to b-d.
+
+ -- Andreas Metzler <ametz...@debian.org>  Sat, 30 Aug 2014 16:54:32 +0200
+
+prelude-lml (1.0.0-5.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Configure with ICU_CFLAGS="$(shell pkg-config --cflags icu-i18n)" and
+    ICU_LIBS="$(shell pkg-config --libs icu-i18n)" instead of letting
+    ./configure use icu-config. The latter prints out icu's compile-time
+    cflags including -fPIE (see #759792) which causes a build-error on amd64
+    et al. Closes: #759247
+
+ -- Andreas Metzler <ametz...@debian.org>  Sat, 30 Aug 2014 15:04:09 +0200
+
+prelude-lml (1.0.0-5.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rebuild against GnuTLS 3. Drop build-dependency on libgnutls-dev, instead
+    rely on libprelude-dev pulling in GnuTLS (unused by prelude-lml) and
+    gcrypt development packages.
+
+ -- Andreas Metzler <ametz...@debian.org>  Fri, 15 Aug 2014 07:51:05 +0200
+
 prelude-lml (1.0.0-5) unstable; urgency=low
 
   * Bump Standards Version to 3.9.4
diff -NurBbp a/debian/control b/debian/control
--- a/debian/control	2013-07-02 15:16:28.000000000 +0200
+++ b/debian/control	2014-08-30 16:53:54.000000000 +0200
@@ -7,8 +7,8 @@ Build-Depends: debhelper (>= 9),
     libev-dev,
     libprelude-dev (>> 0.9.7),
     libpcre3-dev,
-    libgnutls-dev (>= 1.2.9),
     libicu-dev,
+    pkg-config,
     quilt
 Standards-Version: 3.9.4
 
diff -NurBbp a/debian/rules b/debian/rules
--- a/debian/rules	2012-07-04 10:01:11.000000000 +0200
+++ b/debian/rules	2014-08-30 14:45:13.000000000 +0200
@@ -7,7 +7,9 @@ export DH_VERBOSE = 1
 	dh ${@}
 
 override_dh_auto_configure:
-	dh_auto_configure -- --enable-gtk-doc=no
+	dh_auto_configure -- --enable-gtk-doc=no \
+		ICU_CFLAGS="$(shell pkg-config --cflags icu-i18n)" \
+		ICU_LIBS="$(shell pkg-config --libs icu-i18n)"
 
 override_dh_auto_install:
 	dh_auto_install -X.la; \

Reply via email to