pkgsrc-Bugs archive

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

pkg/51548: mplayer, gmplayer w/option "caca" fails to record dependency in binary package



>Number:         51548
>Category:       pkg
>Synopsis:       mplayer, gmplayer w/option "caca" fails to record dependency in binary package
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 10 06:00:00 +0000 2016
>Originator:     John D. Baker
>Release:        NetBSD/amd64-7.0_STABLE, pkgsrc-2016Q3
>Organization:
>Environment:
NetBSD skuld 7.0_STABLE NetBSD 7.0_STABLE (SKULD) #44: Thu Oct  6 06:27:32 CDT 2016  sysop%yggdrasil.technoskunk.fur@localhost:/r0/build/netbsd-7/obj/amd64/sys/arch/amd64/compile/SKULD amd64

>Description:
When building "multimedia/mplayer" or "multimedia/gmplayer" with the
option "caca", the resulting binary package does not record a dependency
on "libcaca" causing "mplayer" or "gmplayer" installed from the binary
package to not install "libcaca" as a dependency.
>How-To-Repeat:
Place the following in "mk.conf":

  PKG_OPTIONS.mplayer+=caca
  PKG_OPTIONS.gmplayer+=caca

Build packages of mplayer and/or gmplayer.

Install "mplayer" or "gmplayer" on a system other than the build host
using the binary package.

Run 'mplayer' or 'gmplayer'--see failure message about:
"libcaca.so.0 not found".

Observe list of dependencies:

$ pkg_info -n mplayer
Information for mplayer-1.3.0:

Requires:
mplayer-share>=1.3.0
aalib>=1.4.0.5nb4
arts>=1.5.10nb10
libmad>=0.15.1bnb1
libvorbis>=1.1.0nb1
esound>=0.2.41nb1
cdparanoia>=3.0.9.8nb5
libdca>=0.0.5
libdv>=0.104nb2
libdvdread>=4.1.3nb1
libdvdnav>=5.0
faad2>=2.6.1
libggi>=2.2.2nb3
giflib>=5.1.0
jpeg>=9
nas>=1.7bnb2
png>=1.6.0nb1
SDL>=1.2.15nb17
libtheora>=1.0alpha3nb1
x264-devel>=20140303
xvidcore>=1.1.0nb1
ffmpeg3>=3.1.2nb1

$ pkg_info -n gmplayer
Information for gmplayer-1.3.0nb1:

Requires:
mplayer-share>=1.3.0
aalib>=1.4.0.5nb4
arts>=1.5.10nb10
libmad>=0.15.1bnb1
libvorbis>=1.1.0nb1
glib2>=2.34.0
esound>=0.2.41nb1
cdparanoia>=3.0.9.8nb5
libdca>=0.0.5
libdv>=0.104nb2
libdvdread>=4.1.3nb1
libdvdnav>=5.0
faad2>=2.6.1
libggi>=2.2.2nb3
giflib>=5.1.0
jpeg>=9
nas>=1.7bnb2
png>=1.6.0nb1
SDL>=1.2.15nb17
libtheora>=1.0alpha3nb1
x264-devel>=20140303
xvidcore>=1.1.0nb1
gtk2+>=2.24.30nb2
ffmpeg3>=3.1.2nb1

Notice that "libcaca" is not in either list.
>Fix:
Workaround:

  # pkg_add -A /path/to/packages/libcaca



Home | Main Index | Thread Index | Old Index