On Wed, 01 Aug 2018 02:00:14 +0200 Andreas Beckmann <a...@debian.org>
wrote:
> Package: libtss-dev
> Version: 1045-1.1
> Severity: serious
> User: debian...@lists.debian.org
> Usertags: piuparts
> 
> Hi,
> 
> during a test with piuparts I noticed your package ships (or creates)
> a broken symlink.
> 
> From the attached log (scroll to the bottom...):
> 
> 0m25.8s ERROR: FAIL: Broken symlinks:
>   /usr/lib/i386-linux-gnu/libtss.so -> libtss.so.0
> 
> 
> cheers,
> 
> Andreas

Dear Maintainer (and Sponsor),

I have uploaded to DELAYED/10 an NMU fixing #905155 and #871705. The
debdiff is inlined below.

Please let me know if you would like me to cancel it.

Thank you.

-- 
Kind regards,
Luca Boccassi


diff -Nru tss2-1045/debian/changelog tss2-1045/debian/changelog
--- tss2-1045/debian/changelog  2018-03-24 13:42:22.000000000 +0000
+++ tss2-1045/debian/changelog  2018-09-16 13:01:30.000000000 +0100
@@ -1,3 +1,11 @@
+tss2 (1045-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add missing dependency libtss-dev -> libtss0. (Closes: #905155)
+  * Add patch max_path.patch to fix FTBFS on hurd-i386. (Closes: #871705)
+
+ -- Luca Boccassi <bl...@debian.org>  Sun, 16 Sep 2018 13:01:30 +0100
+
 tss2 (1045-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru tss2-1045/debian/control tss2-1045/debian/control
--- tss2-1045/debian/control    2017-07-24 23:02:43.000000000 +0100
+++ tss2-1045/debian/control    2018-09-16 12:43:52.000000000 +0100
@@ -36,7 +36,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: no
-Depends: ${misc:Depends}
+Depends: ${misc:Depends}, libtss0 (= ${binary:Version})
 Description: Development headers for IBM's TSS 2.0
  Development headers for IBM's TSS 2.0.  You will need this in order
  to build TSS 2.0 applications. In addition, it contains documentation
diff -Nru tss2-1045/debian/patches/max_path.patch 
tss2-1045/debian/patches/max_path.patch
--- tss2-1045/debian/patches/max_path.patch     1970-01-01 01:00:00.000000000 
+0100
+++ tss2-1045/debian/patches/max_path.patch     2018-09-16 13:00:59.000000000 
+0100
@@ -0,0 +1,34 @@
+Author: Luca Boccassi <bl...@debian.org>
+Description: fix FTBFS on hurd-i386
+ Hurd does not define PATH_MAX/MAXPATHLEN, so define 4096 as a fallback.
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871705
+Forwarded: https://sourceforge.net/p/ibmtpm20tss/mailman/message/36416364/
+--- a/utils/imalib.h
++++ b/utils/imalib.h
+@@ -49,6 +49,11 @@
+ 
+ #include <tss2/TPM_Types.h>
+ 
++/* Debian/Hurd does not define MAXPATHLEN */
++#ifndef MAXPATHLEN
++#define MAXPATHLEN 4096
++#endif
++
+ #define IMA_PCR               10
+ 
+ /* FIXME need better error codes */
+--- a/utils/ekutils.c
++++ b/utils/ekutils.c
+@@ -67,7 +67,12 @@
+ 
+ /* windows apparently uses _MAX_PATH in stdlib.h */
+ #ifndef PATH_MAX
++#ifdef _MAX_PATH
+ #define PATH_MAX _MAX_PATH
++#else
++/* Debian/Hurd does not define MAX_PATH */
++#define PATH_MAX 4096
++#endif
+ #endif
+ 
+ /* The print flag is set by the caller, depending on whether it wants 
information displayed.
diff -Nru tss2-1045/debian/patches/series tss2-1045/debian/patches/series
--- tss2-1045/debian/patches/series     1970-01-01 01:00:00.000000000 +0100
+++ tss2-1045/debian/patches/series     2018-09-16 12:20:50.000000000 +0100
@@ -0,0 +1 @@
+max_path.patch

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to