pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/48333: "ffmpeg2" package installs incorrect pkg-config files
>Number: 48333
>Category: pkg
>Synopsis: "ffmpeg2" package installs incorrect pkg-config files
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Oct 22 17:55:00 +0000 2013
>Originator: Matthias Scheler
>Release: NetBSD 6.1_STABLE pkgsrc-HEAD from 2013-10-22 08:00 UTC
>Organization:
Matthias Scheler http://zhadum.org.uk/
>Environment:
System: NetBSD colwyn.zhadum.org.uk 6.1_STABLE NetBSD 6.1_STABLE (COLWYN.64)
#0: Sat Aug 10 13:03:38 BST 2013
tron%colwyn.zhadum.org.uk@localhost:/src/sys/compile/COLWYN.64 amd64
Architecture: x86_64
Machine: amd64
>Description:
The contents of "/usr/pkg/lib/ffmpeg2/pkgconfig/libavfilter.pc" looks like
this on my system:
prefix=/usr/pkg
exec_prefix=${prefix}
libdir=/usr/pkg/lib/ffmpeg2
includedir=/usr/pkg/include/ffmpeg2
Name: libavfilter
Description: FFmpeg audio/video filtering library
Version: 3.79.101
Requires:
Requires.private: libpostproc = 52.3.100, libswresample = 0.17.102, libswscale
= 2.3.100, libavformat = 55.12.100, libavcodec = 55.18.102, libavutil =
52.38.100
Conflicts:
Libs: -L${libdir} -Wl,-R${libdir} -lavfilter
Libs.private: -lXv -lX11 -lXext -lossaudio -lossaudio -lxvidcore -lx264 -lvpx
-lvpx -lvorbisenc -lvorbis -logg -ltheoraenc -ltheoradec -logg -lmp3lame
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lass -lm -pthread -lbz2 -lz
Cflags: -I${includedir}
The references to "/usr/pkg/lib" are problematic. They cause problems to
get linked with the "ffmpeg2" and "ffmpeg" libraries if both packages
are installed:
> ldd /usr/pkg/bin/ffmpeg2theora
/usr/pkg/bin/ffmpeg2theora:
-lvorbisenc.2 => /usr/pkg/lib/libvorbisenc.so.2
-lvorbis.0 => /usr/pkg/lib/libvorbis.so.0
-lm.0 => /usr/lib/libm.so.0
-lgcc_s.1 => /usr/lib/libgcc_s.so.1
-lc.12 => /usr/lib/libc.so.12
-logg.0 => /usr/pkg/lib/libogg.so.0
-ltheoraenc.1 => /usr/pkg/lib/libtheoraenc.so.1
-ltheora.0 => /usr/pkg/lib/libtheora.so.0
-ltheoradec.1 => /usr/pkg/lib/libtheoradec.so.1
-lavdevice.55 => /usr/pkg/lib/ffmpeg2/libavdevice.so.55
-lavfilter.3 => /usr/pkg/lib/ffmpeg2/libavfilter.so.3
-lswresample.0 => /usr/pkg/lib/ffmpeg2/libswresample.so.0
-lavutil.52 => /usr/pkg/lib/ffmpeg2/libavutil.so.52
-lpthread.1 => /usr/lib/libpthread.so.1
-lavformat.55 => /usr/pkg/lib/ffmpeg2/libavformat.so.55
-lavcodec.55 => /usr/pkg/lib/ffmpeg2/libavcodec.so.55
-lX11.7 => /usr/X11R7/lib/libX11.so.7
-lxcb.1 => /usr/X11R7/lib/libxcb.so.1
-lXau.7 => /usr/X11R7/lib/libXau.so.7
-lXdmcp.7 => /usr/X11R7/lib/libXdmcp.so.7
-lxvidcore.4 => /usr/pkg/lib/libxvidcore.so.4
-lx264.0 => /usr/pkg/lib/libx264.so.0
-lvpx.1 => /usr/pkg/lib/libvpx.so.1
-lrt.1 => /usr/lib/librt.so.1
-lmp3lame.0 => /usr/pkg/lib/libmp3lame.so.0
-lz.1 => /usr/lib/libz.so.1
-lbz2.1 => /usr/lib/libbz2.so.1
-lpostproc.52 => /usr/pkg/lib/ffmpeg2/libpostproc.so.52
-lswscale.2 => /usr/pkg/lib/ffmpeg2/libswscale.so.2
-lass.5 => /usr/pkg/lib/libass.so.5
-lfribidi.0 => /usr/pkg/lib/libfribidi.so.0
-lfontconfig.1 => /usr/pkg/lib/libfontconfig.so.1
-lfreetype.7 => /usr/X11R7/lib/libfreetype.so.7
-lexpat.2 => /usr/lib/libexpat.so.2
-lenca.0 => /usr/pkg/lib/libenca.so.0
-lXv.2 => /usr/X11R7/lib/libXv.so.2
-lXext.7 => /usr/X11R7/lib/libXext.so.7
-lossaudio.1 => /usr/lib/libossaudio.so.1
-lavfilter.3 => /usr/pkg/lib/libavfilter.so.3
-lswresample.0 => /usr/pkg/lib/libswresample.so.0
-lavutil.52 => /usr/pkg/lib/libavutil.so.52
-lavformat.54 => /usr/pkg/lib/libavformat.so.54
-lavcodec.54 => /usr/pkg/lib/libavcodec.so.54
-lpostproc.52 => /usr/pkg/lib/libpostproc.so.52
-lswscale.2 => /usr/pkg/lib/libswscale.so.2
>How-To-Repeat:
cd pkgsrc/multimedia/ffmpeg2theora
make install
ldd /usr/pkg/bin/ffmpeg2theora | grep libav
>Fix:
I'm not convinced that the attempt to allow installing both the "ffmpeg2"
and the "ffmpeg" package at the same time is worth all the problems.
Changing those two packages to conflict and install all the files in
the normal place would be easier to maintain.
Home |
Main Index |
Thread Index |
Old Index