SDL2_mixer depends on pthread but that dependency is missing from pkgconfig/SDL2_mixer.pc

Bug #1516422 reported by Rémy Roy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libsdl2-mixer (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I have been trying to compile Cataclysm: Dark Days Aheads which uses SDL2_mixer. In our build process, we ask pkg-config to tell us which libraries should be included for our LDFLAGS. The output from pkg-config is wrong and it should include pthread. See this related issue https://github.com/CleverRaven/Cataclysm-DDA/pull/13984 .

----
Description: Ubuntu 15.04
Release: 15.04
----
libsdl2-mixer-dev:
  Installed: 2.0.0+dfsg1-5
  Candidate: 2.0.0+dfsg1-5
  Version table:
 *** 2.0.0+dfsg1-5 0
        500 http://us.archive.ubuntu.com/ubuntu/ vivid/universe amd64 Packages
        100 /var/lib/dpkg/status
----
I expect all library dependencies to be returned by pkg-config for SDL2_mixer for use in LDFLAGS our the build process.
----
pthread is missing as a library from the output of calling `pkg-config SDL2_mixer --libs`
----

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: libsdl2-mixer-dev 2.0.0+dfsg1-5
ProcVersionSignature: Ubuntu 3.19.0-32.37-generic 3.19.8-ckt7
Uname: Linux 3.19.0-32-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.7
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Nov 15 04:32:47 2015
InstallationDate: Installed on 2015-01-20 (298 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
SourcePackage: libsdl2-mixer
UpgradeStatus: Upgraded to vivid on 2015-08-07 (99 days ago)

Revision history for this message
Rémy Roy (remyroy) wrote :
Revision history for this message
Rémy Roy (remyroy) wrote :

This bug is incorrect. Sorry for the report. We uses pthread as an additional dependency and it is unrelated to SDL2_mixer. This can be closed.

information type: Public → Public Security
information type: Public Security → Public
Changed in libsdl2-mixer (Ubuntu):
status: New → Invalid
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.