user debian-rele...@lists.debian.org usertags -1 + bsp-2018-10-de-karlsruhe tag -1 patch tag -1 pending thank you
Dear maintainer, greetings from the BSP in Karlsruhe. I have been able to reproduce this bug using dpkg-buildpackage -j1. Here's a simple patch that causes header files in two directories to be generated / installed before the library is built. I have NMU'd to DELAYED/15; please feel free to reschedule or cancel my upload as you see fit. Cheers, -Hilko
>From 8a7564b59d1a74e360ca4ac1b9f3228c1e87d54a Mon Sep 17 00:00:00 2001 From: Hilko Bengen <ben...@debian.org> Date: Sun, 28 Oct 2018 11:52:53 +0100 Subject: [PATCH 1/2] Add patch to create headers before building (Closes: 906623) --- debian/patches/fix-missing-headers | 31 ++++++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 32 insertions(+) create mode 100644 debian/patches/fix-missing-headers diff --git a/debian/patches/fix-missing-headers b/debian/patches/fix-missing-headers new file mode 100644 index 000000000..2a4e995b2 --- /dev/null +++ b/debian/patches/fix-missing-headers @@ -0,0 +1,31 @@ +Index: heimdal/lib/hcrypto/Makefile.am +=================================================================== +--- heimdal.orig/lib/hcrypto/Makefile.am ++++ heimdal/lib/hcrypto/Makefile.am +@@ -104,6 +104,11 @@ TESTS = $(PROGRAM_TESTS) $(SCRIPT_TESTS) + LDADD = $(lib_LTLIBRARIES) $(LIB_roken) $(LIB_openssl_crypto) + test_rand_LDADD = $(LDADD) -lm + ++ALL_OBJECTS = $(libhcrypto_la_OBJECTS) ++ALL_OBJECTS += $(test_rand_OBJECTS) ++ALL_OBJECTS += $(libhctest_la_OBJECTS) ++$(ALL_OBJECTS): | install-build-headers ++ + libhcrypto_la_SOURCES = \ + $(ltmsources) \ + aes.c \ +Index: heimdal/lib/hx509/Makefile.am +=================================================================== +--- heimdal.orig/lib/hx509/Makefile.am ++++ heimdal/lib/hx509/Makefile.am +@@ -147,8 +147,8 @@ HX509_PROTOS = $(srcdir)/hx509-protos.h + + $(ALL_OBJECTS): $(HX509_PROTOS) + +-$(libhx509_la_OBJECTS): $(srcdir)/hx_locl.h +-$(libhx509_la_OBJECTS): ocsp_asn1.h pkcs10_asn1.h ++$(ALL_OBJECTS): $(srcdir)/hx_locl.h ++$(ALL_OBJECTS): ocsp_asn1.h pkcs10_asn1.h + + $(srcdir)/hx509-protos.h: $(dist_libhx509_la_SOURCES) + $(heim_verbose)cd $(srcdir) && perl ../../cf/make-proto.pl -R '^(_|^C)' -E HX509_LIB -q -P comment -o hx509-protos.h $(dist_libhx509_la_SOURCES) || rm -f hx509-protos.h diff --git a/debian/patches/series b/debian/patches/series index 045cab877..4126127c4 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -14,3 +14,4 @@ parallel-build disable_iprop canonical_host 0016-Add-back-in-base64_encode-and-base64_decode.patch +fix-missing-headers -- 2.19.1
>From aa2610da5b04eb027eda063fa511952dcade7b7d Mon Sep 17 00:00:00 2001 From: Hilko Bengen <ben...@debian.org> Date: Sun, 28 Oct 2018 15:14:50 +0100 Subject: [PATCH 2/2] Debian release 7.5.0+dfsg-2.1 --- debian/changelog | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index fc5e1154b..2afd26e12 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +heimdal (7.5.0+dfsg-2.1) unstable; urgency=medium + + * Non-maintainer upload + * Add patch to create headers before building (Closes: 906623) + + -- Hilko Bengen <ben...@debian.org> Sun, 28 Oct 2018 15:10:44 +0100 + heimdal (7.5.0+dfsg-2) unstable; urgency=medium * Replace "MAXHOSTNAMELEN" with "MaxHostNameLen" in kdc/kx509.c for The -- 2.19.1