From owner-freebsd-multimedia@freebsd.org Mon Dec 11 22:03:37 2017 Return-Path: Delivered-To: freebsd-multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D49CBEA0243 for ; Mon, 11 Dec 2017 22:03:37 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C21457B96F for ; Mon, 11 Dec 2017 22:03:37 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id BE47AEA0242; Mon, 11 Dec 2017 22:03:37 +0000 (UTC) Delivered-To: multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BDF7FEA0241 for ; Mon, 11 Dec 2017 22:03:37 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9F6A47B96E; Mon, 11 Dec 2017 22:03:37 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id CB91E1CD01; Mon, 11 Dec 2017 22:03:36 +0000 (UTC) From: Jan Beich To: Naram Qashat Cc: multimedia@FreeBSD.org Subject: Re: Trouble building ffmpeg-3.4_3,1 in poudriere References: Date: Mon, 11 Dec 2017 23:03:32 +0100 In-Reply-To: (Naram Qashat's message of "Sun, 03 Dec 2017 07:47:36 -0500") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Dec 2017 22:03:37 -0000 Naram Qashat 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.