Bug 202319 - audio/musicpd package links wrong libavformat version
Summary: audio/musicpd package links wrong libavformat version
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-pkg (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-14 09:54 UTC by David Chisnall
Modified: 2015-09-24 08:25 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Chisnall freebsd_committer freebsd_triage 2015-08-14 09:54:12 UTC
# service musicpd start
Starting musicpd.
Shared object "libavformat.so.55" not found, required by "musicpd"
/usr/local/etc/rc.d/musicpd: WARNING: failed to start musicpd

libavformat.so.56 is installed.  It looks like the ffmpeg upgrade did not trigger a rebuild of musicpd, although it's a bit surprising as it was working before a pkg upgrade which didn't trigger an ffmpeg upgrade:

Installed packages to be UPGRADED:
        smartmontools: 6.4 -> 6.4_1
        pcre: 8.37_2 -> 8.37_3
        linux-firefox: 39.0,1 -> 40.0_1,1
        firefox: 39.0,1 -> 40.0_4,1
        expat: 2.1.0_2 -> 2.1.0_3

Installed packages to be REINSTALLED:
        pinentry-0.9.5 (options changed)
        musicpd-0.18.23 (options changed)
        libxml2-2.9.2_3 (options changed)
        gstreamer-plugins-mp3-0.10.0_1 (ABI changed: 'freebsd:10:*' -> 'freebsd:10:x86:64')

So the last version of the package may have been built for the correct version and this one is a regression.
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2015-08-14 10:58:25 UTC
Which branch are you using,  head or quarterly?

In head branch,  musicpd was rebuilt for 10amd64 on 28 july, 30 july, 4 august, 6 august, 8 august, 9 august, 11 august and 13 august so I don't think that the "dit not trigger a rebuild of musipd" comment is accurate.
Comment 2 David Chisnall freebsd_committer freebsd_triage 2015-08-14 11:07:56 UTC
Head branch, official packages, on 10.2.  This may be a pkg bug, because grabbing the package manually and untarring it, I see:

libavformat.so.56 => /usr/local/lib/libavformat.so.56 (0x8019c0000)

So the correct version present in the package that I *should* have installed...
Comment 3 David Chisnall freebsd_committer freebsd_triage 2015-08-15 10:14:47 UTC
It looks as if that machine was accidentally on the quarterly branch.  Restoring it to point to trunk fixed the issue.  It appears to still be present with the quarterly packages though:

$ fetch http://pkg.freebsd.org/freebsd:10:x86:64/quarterly/All/musicpd-0.18.23.txz
musicpd-0.18.23.txz                           100% of  176 kB  949 kBps 00m00s
$ tar xf musicpd-0.18.23.txz 
tar: Removing leading '/' from member names
$ ldd usr/local/bin/musicpd | grep avformat
        libavformat.so.55 => not found (0)