pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/52880: No rpath in *.pc files for pkgsrc/multimedia/ffmpeg3 3.4.1
>Number: 52880
>Category: pkg
>Synopsis: No rpath in *.pc files for pkgsrc/multimedia/ffmpeg3 3.4.1
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 31 04:15:00 +0000 2017
>Originator: Izumi Tsutsui
>Release: NetBSD 7.1.1 + pkgsrc-2017Q4
>Organization:
>Environment:
System: NetBSD 7.1.1
Architecture: x86_64
Machine: amd64
>Description:
ffmpeg3-3.4.1 package built from pkgsrc-2017Q4 seems to have
no rpath definitions in /usr/pkg/lib/ffmpeg3/pkgconfig/*.pc files:
---
% grep Libs: /usr/pkg/lib/ffmpeg3/pkgconfig/*.pc
/usr/pkg/lib/ffmpeg3/pkgconfig/libavcodec.pc:Libs: -L${libdir} -lavcodec
/usr/pkg/lib/ffmpeg3/pkgconfig/libavdevice.pc:Libs: -L${libdir} -lavdevice
/usr/pkg/lib/ffmpeg3/pkgconfig/libavfilter.pc:Libs: -L${libdir} -lavfilter
/usr/pkg/lib/ffmpeg3/pkgconfig/libavformat.pc:Libs: -L${libdir} -lavformat
/usr/pkg/lib/ffmpeg3/pkgconfig/libavresample.pc:Libs: -L${libdir} -lavresample
/usr/pkg/lib/ffmpeg3/pkgconfig/libavutil.pc:Libs: -L${libdir} -lavutil
/usr/pkg/lib/ffmpeg3/pkgconfig/libpostproc.pc:Libs: -L${libdir} -lpostproc
/usr/pkg/lib/ffmpeg3/pkgconfig/libswresample.pc:Libs: -L${libdir} -lswresample
/usr/pkg/lib/ffmpeg3/pkgconfig/libswscale.pc:Libs: -L${libdir} -lswscale
---
so packages which link ffmpeg3 libraries will fail on "make package":
---
ERROR: bin/PC6001VX: missing library: libavformat.so.57
---
ffmpeg3-3.3.4 from pkgsrc-2017Q3 doesn't have this problem.
>How-To-Repeat:
# cd pkgsrc/multimedia/ffmpeg3
# make package-install
# grep Libs: /usr/pkg/lib/ffmpeg3/pkgconfig/*.pc
>Fix:
Add the following line to pkgsrc/multimedia/ffmpeg3/Makefile ?
CONFIGURE_ARGS+= --enable-rpath
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index