Your message dated Mon, 28 Jan 2019 18:54:23 +0000
with message-id <e1goc35-000g1f...@fasolo.debian.org>
and subject line Bug#889525: fixed in pytsk 20190121-2
has caused the Debian Bug report #889525,
regarding pytsk: Please make build compatible with -Wl,--as-needed
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 ow...@bugs.debian.org
immediately.)


-- 
889525: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=889525
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: pytsk
Version: 20171108-1
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu bionic ubuntu-patch

Dear Hilko,

The latest version of pytsk has failed to build in Ubuntu, because the
changes to make pytsk statically link libtsk cause flags to be passed in a
way that's incompatible with -Wl,--as-needed, which is a default linker flag
in Ubuntu.

The attached debdiff updates your patch to setup.py so that dependent
libraries are listed last on the linker line, fixing the build failure in
Ubuntu.  Please consider applying it in Debian.

-- 
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/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru 
pytsk-20171108/debian/patches/0001-Link-system-tsk-statically-talloc-dynamically-instea.patch
 
pytsk-20171108/debian/patches/0001-Link-system-tsk-statically-talloc-dynamically-instea.patch
--- 
pytsk-20171108/debian/patches/0001-Link-system-tsk-statically-talloc-dynamically-instea.patch
       2017-11-09 13:30:00.000000000 -0800
+++ 
pytsk-20171108/debian/patches/0001-Link-system-tsk-statically-talloc-dynamically-instea.patch
       2018-02-04 00:00:28.000000000 -0800
@@ -7,11 +7,11 @@
  setup.py | 44 ++++++++++++--------------------------------
  1 file changed, 12 insertions(+), 32 deletions(-)
 
-diff --git a/setup.py b/setup.py
-index b803021..e8db4c3 100755
---- a/setup.py
-+++ b/setup.py
-@@ -178,9 +178,9 @@ class BuildExtCommand(build_ext):
+Index: pytsk-20171108/setup.py
+===================================================================
+--- pytsk-20171108.orig/setup.py
++++ pytsk-20171108/setup.py
+@@ -178,9 +178,9 @@
    def run(self):
      compiler = new_compiler(compiler=self.compiler)
      # pylint: disable=attribute-defined-outside-init
@@ -23,7 +23,7 @@
  
      if not os.access("pytsk3.c", os.R_OK):
        # Generate the Python binding code (pytsk3.c).
-@@ -202,7 +202,7 @@ class BuildExtCommand(build_ext):
+@@ -202,7 +202,7 @@
  class SDistCommand(sdist):
    """Custom handler for generating source dist."""
    def run(self):
@@ -32,7 +32,7 @@
  
      # sleuthkit submodule is not there, probably because this has been
      # freshly checked out.
-@@ -280,32 +280,10 @@ class UpdateCommand(Command):
+@@ -280,32 +280,10 @@
      subprocess.check_call(["git", "apply", patch_file], cwd="sleuthkit")
  
    def run(self):
@@ -66,7 +66,7 @@
  
      # Generate the Python binding code (pytsk3.c).
      libtsk_header_files = [
-@@ -340,16 +318,18 @@ class ProjectBuilder(object):
+@@ -340,16 +318,19 @@
      # The args for the extension builder.
      self.extension_args = {
          "define_macros": [],
@@ -76,10 +76,11 @@
 -        "libraries": []}
 +        "libraries": [
 +          "talloc",
-+          # required by statically linked libtsk
-+          "afflib", "ewf", "stdc++", "z",
 +        ],
-+        "extra_link_args": ["-Wl,-Bstatic", "-ltsk", "-Wl,-Bdynamic"]}
++        "extra_link_args": [
++          "-Wl,-Bstatic", "-ltsk", "-Wl,-Bdynamic",
++          "-lafflib", "-lewf", "-lstdc++", "-lz",
++        ]}
  
      # The sources to build.
      self._source_files = [

--- End Message ---
--- Begin Message ---
Source: pytsk
Source-Version: 20190121-2

We believe that the bug you reported is fixed in the latest version of
pytsk, 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 889...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Hilko Bengen <ben...@debian.org> (supplier of updated pytsk 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 28 Jan 2019 19:15:48 +0100
Source: pytsk
Binary: python-tsk python3-tsk
Architecture: source
Version: 20190121-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Security Tools <team+pkg-secur...@tracker.debian.org>
Changed-By: Hilko Bengen <ben...@debian.org>
Description:
 python-tsk - Python Bindings for The Sleuth Kit
 python3-tsk - Python Bindings for The Sleuth Kit
Closes: 889525
Changes:
 pytsk (20190121-2) unstable; urgency=medium
 .
   * Add patch to make the build compatible with -Wl,--as-needed, thanks to
     Steve Langasek (Closes: #889525)
Checksums-Sha1:
 5d643508b06af88e165cb0e68bc7e8a33f1972a8 2142 pytsk_20190121-2.dsc
 990d6e13029c9d9e0657d524a946bf4396ce54b7 4620 pytsk_20190121-2.debian.tar.xz
 b51736c8b66ae88df3d2112a2e317a4d0bb35da3 7337 pytsk_20190121-2_source.buildinfo
Checksums-Sha256:
 f2dd6a89ad2c2ff2f7abeaf9e5917c5077843434287261a00e6b21716eab21d6 2142 
pytsk_20190121-2.dsc
 4c1041e0cc3eefc3fbb15afb2eb7b277e87c60db09fdee93087ca06b41659be4 4620 
pytsk_20190121-2.debian.tar.xz
 11895c95d40a20d525207827c16169052ccb51b58a8adb60ba2d0a6d6a4071e1 7337 
pytsk_20190121-2_source.buildinfo
Files:
 09eca9616b34bb3e380f3118ca9c495f 2142 python optional pytsk_20190121-2.dsc
 9b7d2de3a2287ca9a4b51e28b5380103 4620 python optional 
pytsk_20190121-2.debian.tar.xz
 ce4dbb5e955ff5918e9b39395ae051e0 7337 python optional 
pytsk_20190121-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCAAwFiEErnMQVUQqHZbPTUx4dbcQY1whOn4FAlxPR2gSHGJlbmdlbkBk
ZWJpYW4ub3JnAAoJEHW3EGNcITp+vBIQALBnFgs6n38i8zQg2gU/pXp/07Fq2KLj
H+sUwiUcukMFUNSB9TC94TGp8YXwCmheGzAYofhiKx2IhRkmoQrH/WwSJNhtm1vC
DLiWe+0z9HPt858Dq7wWXQ/jblRYs3F+4oO2R2MczpLFechI52cE9CJcxd6wyFiL
irMofG0FAuNN7XzYytBLlyPq1461T62ifru+pFppE5BUtr7Yrt7pKkQ9SMqZ4vQS
DiCtM+BLZ8FQVFADDUw8tn9Hi4Y0D2Kn0vM/Y9OX3KC/p1akvDddI+7BHe8QFcrF
ffXUUNxsHkdRPIW4kQkNbrrBsz0OIJYJmFLHDPjrX8UfhEHefrbb4LJo/GO/FoxA
bx1WaJXI/sn6x9Tu7/+tqXrUu0UTnjnN/R+JywXr4BfgrPV4LrN4Tj4UOWvYu3Mi
KhX3/k6YPL5eK7IUG8AtqEt0D604bnI0/WRj6zN1gmqj6Md36c/B0JAKiwOdnHbV
OF/cxr7rwu9RIJViDJeb1k76RCAccnA6ZFdDAiFTP3dGsiXKe30KrcZvIix4xJN/
7IbrFtNYIuxIvvObGeHqiHBvRkiRcgF+C8DAXOo381xkayI/qo/buKdwYXYPwIVB
JC7+UVcKhh3rcIEXuocG7sx69BpU7DxQvPxGSojVTUETHolQ02tSW0aCIe/uHHmR
pmr0JEBL+q1M
=q+I0
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to