Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2017 23:03:32 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Naram Qashat <cyberbotx@cyberbotx.com>
Cc:        multimedia@FreeBSD.org
Subject:   Re: Trouble building ffmpeg-3.4_3,1 in poudriere
Message-ID:  <tvww-udl7-wny@FreeBSD.org>
In-Reply-To: <c046b5b71613bf3aa85767c1e8a568e5@cyberbotx.com> (Naram Qashat's message of "Sun, 03 Dec 2017 07:47:36 -0500")
References:  <c046b5b71613bf3aa85767c1e8a568e5@cyberbotx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Naram Qashat <cyberbotx@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?tvww-udl7-wny>