[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#980370: marked as done (spirv-tools: shared library should be packaged like a shared library)



Your message dated Wed, 21 Jul 2021 07:33:32 +0000
with message-id <E1m66jU-0006EJ-W1@fasolo.debian.org>
and subject line Bug#980370: fixed in spirv-tools 2020.6-2
has caused the Debian Bug report #980370,
regarding spirv-tools: shared library should be packaged like a shared library
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 owner@bugs.debian.org
immediately.)


-- 
980370: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980370
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: spirv-tools
Version: 2020.6-1
Severity: important

If a package is linked to the libSPIRV-Tools-shared.so shared library,
then it will get a runtime dependency on libSPIRV-Tools-shared.so.
However, libSPIRV-Tools-shared.so is currently bundled into the
spirv-tools binary package rather than being packaged in accordance with
Policy §8.

libSPIRV-Tools-shared.so should be in a package named
libspirv-tools-shared. There should probably also be a libspirv-tools-dev
package containing the static libraries and pkg-config metadata. Ideally
both of those packages would be Multi-Arch: same.

Unfortunately, this will require a trip through the NEW queue.

libspirv-tools-shared needs to provide either a shlibs or symbols file,
as per Policy §8.6, so that ${shlibs:Depends} works correctly.
Unfortunately the form of the SONAME used by upstream (with no version
number) doesn't seem to be compatible with shlibs files, so I think there
is no choice but to use a symbols file. This is going to be annoying
because symbols files for C++ ABIs are not easy, but you could consider
having a libspirv-tools-shared.symbols.in file like this:

libSPIRV-Tools-shared.so libspirv-tools-shared #MINVER#
* Build-Depends-Package: libspirv-tools-dev
 (regex)".*" @DEB_VERSION_UPSTREAM@

and generating libspirv-tools-shared.symbols by substituting
@DEB_VERSION_UPSTREAM@, to get the equivalent of a legacy shlibs file?

If it cannot be packaged as a correct shared library for technical reasons
then I would recommend going back to it being static-only, which seems like
a lesser evil than having a non-Policy-compliant shared library.

    smcv

--- End Message ---
--- Begin Message ---
Source: spirv-tools
Source-Version: 2020.6-2
Done: Timo Aaltonen <tjaalton@debian.org>

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

Debian distribution maintenance software
pp.
Timo Aaltonen <tjaalton@debian.org> (supplier of updated spirv-tools 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 21 Jul 2021 10:15:48 +0300
Source: spirv-tools
Built-For-Profiles: noudeb
Architecture: source
Version: 2020.6-2
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Timo Aaltonen <tjaalton@debian.org>
Closes: 980370
Changes:
 spirv-tools (2020.6-2) unstable; urgency=medium
 .
   * rules: Really build for the static library, and make sure shared one
     is removed since it's still created despite the config options.
     (Closes: #980370)
Checksums-Sha1:
 9769f01dfc1e820832663de3c62b7121c64ad711 1975 spirv-tools_2020.6-2.dsc
 b366c1abfd2a4913ec51dbf98a1e22183d848e6e 2524 spirv-tools_2020.6-2.debian.tar.xz
 abe4144e5b6ad63875e2730a3b6d95bef874ba1c 7385 spirv-tools_2020.6-2_source.buildinfo
Checksums-Sha256:
 ab7f68327f22dadaee8d65c7519ba38bcfb0c89c58cbb315b7084bacf745e791 1975 spirv-tools_2020.6-2.dsc
 91e1a88e03791690b739f320ad3a63fc0dec3ea4f9aa02b59dcacb264f8d19b1 2524 spirv-tools_2020.6-2.debian.tar.xz
 b4b1321c7f8f78fb1616eed503f79e50d9a103f5b7e1ce8fcf5f084a42a5701a 7385 spirv-tools_2020.6-2_source.buildinfo
Files:
 0030aaea7bc0e7625601fdb26b34b7d3 1975 libdevel optional spirv-tools_2020.6-2.dsc
 952b45c0db0fde371aca6897304f2bf4 2524 libdevel optional spirv-tools_2020.6-2.debian.tar.xz
 e261123154e52497f9edd23da0e38eaf 7385 libdevel optional spirv-tools_2020.6-2_source.buildinfo

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

iQIzBAEBCgAdFiEEdS3ifE3rFwGbS2Yjy3AxZaiJhNwFAmD3ybcACgkQy3AxZaiJ
hNx8XQ/5AXgp5p6D0a8tiPhMVvu0Wdmb9enVWxyD1wZFmJqPD2HS9VB88HZ/kuPT
f2kxyJbXEZg5VYw0L4M7VvErZuaJ3p9MyMrScoOVDjrzpmoRZCI1TleVlaWBeLBa
RgepZpRFAeoAA0QBynQz3987akt29L83Gyk6S8gI2lLeN1tFWdyKpmLCREVXlvYo
2tkJ66tkbAKIjTvrn9fa0E04x3XG1wp/Q5VdguZ/1UPfzt7sMSzaGtan/U4zeqTK
+yqnakVBI9vagyTqKRlN6AGyIONdrPiDKGB5yYz8u2pKwTL977iFAWKrWR8b/IFj
a3+LCHeLhPtQCPLReRdw38E3l8NSMuJ+G/Zaxk7xf4RwVgYhDjvbhPCmUwTBU3SB
2MFM8JZhzNTYXvH4/Js4A7mZLxSk92/5d57wzKY+uPpAFUNs/mEiKUtE73SKHFJs
4+ZZLCubeH+g24Jt8CR4QfqMzV4kj48Vgykudko1Z1l4B+e7wtw8luuxxa8Vr5IV
u04laDTNe/SfDenSiiJPILOHD3tWpi+le5Bqh6pwpOlEJz9afwnGRoh5hefMIDUp
NLHx4hcFVe+Q/hqGYYZ8ooQiNZF1cbBnVsTJG/eT1IDle2N0Ua0gCDiiu1KfbStc
aosQ7vmjjacgLBKbrp/2QhB1vYOraIZ8bqoOS2H+UU8irJMcLQk=
=7qgc
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: