Trouble building ffmpeg-3.4_3,1 in poudriere

Jan Beich jbeich at FreeBSD.org
Mon Dec 11 22:03:37 UTC 2017


Naram Qashat <cyberbotx at cyberbotx.com> writes:

> Hello all,
>
> I'm not exactly sure when I started running into this problem, but
> recently when I try to build ffmpeg in poudriere, it fails in
> packaging saying that the shared libraries are not found. For example,
> instead of getting
>
> libavcodec.so.57
>
> I am getting
>
> libavcodec.so.

Can you try the following? 57 is derived from _VERSION_MAJOR.

$ cd /usr/ports/multimedia/ffmpeg
$ make clean patch BATCH=
$ cd `make -V WRKSRC`
$ sh ffbuild/libversion.sh avcodec libavcodec/version.h
libavcodec_VERSION=57.107.100
libavcodec_VERSION_MAJOR=57
libavcodec_VERSION_MINOR=107

> Here is my poudriere log:
> http://kirby.cyberbotx.com/poudriere_logs/ffmpeg-3.4_3,1.log
[...]
> (00:02:32) ./ffbuild/libversion.sh avcodec libavcodec/version.h > libavcodec/libavcodec.version
> (00:02:32) /bin/sh: ./ffbuild/libversion.sh: not found

Check which line causes "not found" e.g., by inserting "set -x" at the
start of the script.


More information about the freebsd-multimedia mailing list