Enable multiarch in libsndfile1-dev

Bug #1720725 reported by Derek Gasaway
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libsndfile (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Release: Artful Aardvark 17.10
Package version: 1.0.28-4

The current version of libsndfile1-dev is not able to be marked Multi-Arch: same, because the examples it provides includes an autoheader (?) generated config.h file, which has architecture-specific defines like SIZEOF_INT. However, as far as I can tell, this header, as well as common.h and sfconfig.h aren't actually used in any of the examples, despite being included sometimes. So if they were removed, it should be possible to mark the dev package as Multi-Arch: same. I was able to install both amd64 and i386 versions of libsndfile1-dev after removing the examples.

For a more long-term solution, the header includes in debian/libsndfile1-dev.examples can probably be removed once those extra includes are removed. A change on the github repo for libsndfile was recently merged to get rid of the extra includes, as it's also probably a bad idea to (unnecessarily) include internal header files in example code.

tags: added: artful packaging
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libsndfile - 1.0.28-8

---------------
libsndfile (1.0.28-8) unstable; urgency=medium

  * Team upload.

  [ Simon McVittie ]
  * examples: Decouple from config.h.
    This allows them to be built standalone, without the rest of the
    libsndfile source tree. This is useful because config.h is
    architecture-dependent, preventing multi-arch co-installation.
  * Mark libsndfile1-dev as Multi-Arch: same. (Closes: #960445; LP: #1720725)
  * Add a superficial compile/link/execute autopkgtest for libsndfile1-dev.

  [ Mattia Rizzolo ]
  * d/control: Bump debhelper compat level to 13.
    + Add the .la file to d/not-installed.
  * d/rules: Remove now obsolete --dbgsym-migration option.

 -- Mattia Rizzolo <email address hidden> Mon, 25 May 2020 17:33:03 +0200

Changed in libsndfile (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.