From unknown Sun Aug 17 10:21:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23256: vlc not building after update to ffmpeg 3.0 Resent-From: Christopher Allan Webber Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 09 Apr 2016 19:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23256 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 23256@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.146022971521487 (code B ref -1); Sat, 09 Apr 2016 19:22:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Apr 2016 19:21:55 +0000 Received: from localhost ([127.0.0.1]:56372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aoySA-0005aU-N8 for submit@debbugs.gnu.org; Sat, 09 Apr 2016 15:21:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aoyS8-0005aH-QN for submit@debbugs.gnu.org; Sat, 09 Apr 2016 15:21:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aoyS2-0007fj-EI for submit@debbugs.gnu.org; Sat, 09 Apr 2016 15:21:47 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41369) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoyS2-0007ff-B4 for submit@debbugs.gnu.org; Sat, 09 Apr 2016 15:21:46 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoyS1-00087b-4a for bug-guix@gnu.org; Sat, 09 Apr 2016 15:21:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aoyRz-0007ey-GR for bug-guix@gnu.org; Sat, 09 Apr 2016 15:21:45 -0400 Received: from dustycloud.org ([2600:3c02::f03c:91ff:feae:cb51]:48940) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoyRz-0007er-Aq for bug-guix@gnu.org; Sat, 09 Apr 2016 15:21:43 -0400 Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id AD0462667C for ; Sat, 9 Apr 2016 15:21:40 -0400 (EDT) User-agent: mu4e 0.9.13; emacs 24.5.1 From: Christopher Allan Webber Date: Sat, 09 Apr 2016 14:21:39 -0500 Message-ID: <87y48mvb98.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) vlc is failing to build after the update recently to ffmpeg 3.0. I verified that it builds prior to this change. Should we include an older version of ffmpeg to build vlc with for now? Or should we try to figure out what to do to to get vlc to build with ffmpeg 3.0? Maybe for now we should do the former for the aim of the lat= ter. Here's the output while attempting to build. CC codec/libvorbis_plugin_la-vorbis.lo CC codec/avcodec/libavcodec_plugin_la-video.lo codec/avcodec/video.c: In function =E2=80=98InitVideoDec=E2=80=99: codec/avcodec/video.c:226:5: error: implicit declaration of function =E2=80= =98avcodec_alloc_frame=E2=80=99 [-Werror=3Dimplicit-function-declaration] p_sys->p_ff_pic =3D avcodec_alloc_frame(); ^ codec/avcodec/video.c:226:21: warning: assignment makes pointer from inte= ger without a cast p_sys->p_ff_pic =3D avcodec_alloc_frame(); ^ codec/avcodec/video.c:308:34: warning: assignment from incompatible point= er type p_sys->p_context->get_format =3D ffmpeg_GetFormat; ^ codec/avcodec/video.c:438:9: error: implicit declaration of function =E2=80= =98avcodec_free_frame=E2=80=99 [-Werror=3Dimplicit-function-declaration] avcodec_free_frame( &p_sys->p_ff_pic ); ^ codec/avcodec/video.c: In function =E2=80=98lavc_dr_GetFrame=E2=80=99: codec/avcodec/video.c:996:25: error: =E2=80=98PIX_FMT_PAL8=E2=80=99 undec= lared (first use in this function) if (ctx->pix_fmt =3D=3D PIX_FMT_PAL8) ^ codec/avcodec/video.c:996:25: note: each undeclared identifier is reporte= d only once for each function it appears in codec/avcodec/video.c: At top level: codec/avcodec/video.c:1305:25: error: return type is an incomplete type static enum PixelFormat ffmpeg_GetFormat( AVCodecContext *p_context, ^ codec/avcodec/video.c:1305:25: error: conflicting types for =E2=80=98ffmp= eg_GetFormat=E2=80=99 codec/avcodec/video.c:111:25: note: previous declaration of =E2=80=98ffmp= eg_GetFormat=E2=80=99 was here static enum PixelFormat ffmpeg_GetFormat( AVCodecContext *, ^ codec/avcodec/video.c: In function =E2=80=98ffmpeg_GetFormat=E2=80=99: codec/avcodec/video.c:1317:5: error: invalid use of undefined type =E2=80= =98enum PixelFormat=E2=80=99 for( size_t i =3D 0; pi_fmt[i] !=3D PIX_FMT_NONE; i++ ) ^ codec/avcodec/video.c:1317:30: error: dereferencing pointer to incomplete= type for( size_t i =3D 0; pi_fmt[i] !=3D PIX_FMT_NONE; i++ ) ^ codec/avcodec/video.c:1317:37: error: =E2=80=98PIX_FMT_NONE=E2=80=99 unde= clared (first use in this function) for( size_t i =3D 0; pi_fmt[i] !=3D PIX_FMT_NONE; i++ ) ^ codec/avcodec/video.c:1319:9: error: invalid use of undefined type =E2=80= =98enum PixelFormat=E2=80=99 const AVPixFmtDescriptor *dsc =3D av_pix_fmt_desc_get(pi_fmt[i])= ; ^ codec/avcodec/video.c:1319:67: error: dereferencing pointer to incomplete= type const AVPixFmtDescriptor *dsc =3D av_pix_fmt_desc_get(pi_fmt[i])= ; ^ codec/avcodec/video.c:1324:9: error: invalid use of undefined type =E2=80= =98enum PixelFormat=E2=80=99 msg_Dbg( p_dec, "available %sware decoder output format %d (%s)"= , ^ In file included from ../include/vlc_common.h:908:0, from codec/avcodec/video.c:32: codec/avcodec/video.c:1325:51: error: dereferencing pointer to incomplete= type hwaccel ? "hard" : "soft", pi_fmt[i], dsc->name ); ^ ../include/vlc_messages.h:78:63: note: in definition of macro =E2=80=98ms= g_Dbg=E2=80=99 vlc_Log( VLC_OBJECT(p_this), VLC_MSG_DBG, MODULE_STRING, __VA_ARGS_= _ ) ^ codec/avcodec/video.c:1344:5: error: invalid use of undefined type =E2=80= =98enum PixelFormat=E2=80=99 for( size_t i =3D 0; pi_fmt[i] !=3D PIX_FMT_NONE; i++ ) ^ codec/avcodec/video.c:1344:30: error: dereferencing pointer to incomplete= type for( size_t i =3D 0; pi_fmt[i] !=3D PIX_FMT_NONE; i++ ) ^ codec/avcodec/video.c:1346:9: error: invalid use of undefined type =E2=80= =98enum PixelFormat=E2=80=99 if( p_va->pix_fmt !=3D pi_fmt[i] ) ^ codec/avcodec/video.c:1346:36: error: dereferencing pointer to incomplete= type if( p_va->pix_fmt !=3D pi_fmt[i] ) ^ codec/avcodec/video.c:1370:9: error: invalid use of undefined type =E2=80= =98enum PixelFormat=E2=80=99 return pi_fmt[i]; ^ codec/avcodec/video.c:1370:22: error: dereferencing pointer to incomplete= type return pi_fmt[i]; ^ codec/avcodec/video.c:1370:9: warning: =E2=80=98return=E2=80=99 with a va= lue, in function returning void return pi_fmt[i]; ^ codec/avcodec/video.c:1378:51: warning: passing argument 2 of =E2=80=98av= codec_default_get_format=E2=80=99 from incompatible pointer type return avcodec_default_get_format( p_context, pi_fmt ); ^ In file included from codec/avcodec/video.c:38:0: /gnu/store/p202gwk3i870jwdwa72j08x9q8n1n2qs-ffmpeg-3.0/include/libavcodec= /avcodec.h:5010:20: note: expected =E2=80=98const enum AVPixelFormat *=E2= =80=99 but argument is of type =E2=80=98const enum Pix elFormat *=E2=80=99 enum AVPixelFormat avcodec_default_get_format(struct AVCodecContext *s, = const enum AVPixelFormat * fmt); ^ codec/avcodec/video.c:1378:5: warning: =E2=80=98return=E2=80=99 with a va= lue, in function returning void return avcodec_default_get_format( p_context, pi_fmt ); ^ codec/avcodec/video.c: At top level: codec/avcodec/video.c:111:25: warning: =E2=80=98ffmpeg_GetFormat=E2=80=99= used but never defined static enum PixelFormat ffmpeg_GetFormat( AVCodecContext *, ^ codec/avcodec/video.c:1305:25: warning: =E2=80=98ffmpeg_GetFormat=E2=80=99= defined but not used [-Wunused-function] static enum PixelFormat ffmpeg_GetFormat( AVCodecContext *p_context, ^ cc1: some warnings being treated as errors Makefile:7735: recipe for target 'codec/avcodec/libavcodec_plugin_la-vide= o.lo' failed make[4]: *** [codec/avcodec/libavcodec_plugin_la-video.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory '/tmp/guix-build-vlc-2.2.1.drv-0/vlc-2.2.1/mod= ules' Makefile:9652: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/tmp/guix-build-vlc-2.2.1.drv-0/vlc-2.2.1/mod= ules' Makefile:4526: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/tmp/guix-build-vlc-2.2.1.drv-0/vlc-2.2.1/mod= ules' Makefile:2262: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/tmp/guix-build-vlc-2.2.1.drv-0/vlc-2.2.1' Makefile:2147: recipe for target 'all' failed make: *** [all] Error 2 phase `build' failed after 44.6 seconds builder for `/gnu/store/bpa68ylz20k6mczni69w2dmfcbkf12a7-vlc-2.2.1.drv' f= ailed wi th exit code 1 @ build-failed /gnu/store/bpa68ylz20k6mczni69w2dmfcbkf12a7-vlc-2.2.1.drv = - 1 buil der for `/gnu/store/bpa68ylz20k6mczni69w2dmfcbkf12a7-vlc-2.2.1.drv' faile= d with e xit code 1 guix build: error: build failed: build of `/gnu/store/bpa68ylz20k6mczni69= w2dmfcbk f12a7-vlc-2.2.1.drv' failed From unknown Sun Aug 17 10:21:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23256: vlc not building after update to ffmpeg 3.0 Resent-From: Christopher Allan Webber Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 09 Apr 2016 19:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23256 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 23256@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.146023004121997 (code B ref -1); Sat, 09 Apr 2016 19:28:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Apr 2016 19:27:21 +0000 Received: from localhost ([127.0.0.1]:56377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aoyXR-0005ij-GL for submit@debbugs.gnu.org; Sat, 09 Apr 2016 15:27:21 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33659) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aoyXQ-0005iX-DM for submit@debbugs.gnu.org; Sat, 09 Apr 2016 15:27:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aoyXK-0000K8-B2 for submit@debbugs.gnu.org; Sat, 09 Apr 2016 15:27:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoyXK-0000K4-7s for submit@debbugs.gnu.org; Sat, 09 Apr 2016 15:27:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoyXJ-0005yY-9P for bug-guix@gnu.org; Sat, 09 Apr 2016 15:27:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aoyXI-0000JJ-CA for bug-guix@gnu.org; Sat, 09 Apr 2016 15:27:13 -0400 Received: from dustycloud.org ([2600:3c02::f03c:91ff:feae:cb51]:48956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoyXI-0000JF-7c for bug-guix@gnu.org; Sat, 09 Apr 2016 15:27:12 -0400 Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id B9F802667C for ; Sat, 9 Apr 2016 15:27:11 -0400 (EDT) References: <87y48mvb98.fsf@dustycloud.org> User-agent: mu4e 0.9.13; emacs 24.5.1 From: Christopher Allan Webber In-reply-to: <87y48mvb98.fsf@dustycloud.org> Date: Sat, 09 Apr 2016 14:27:11 -0500 Message-ID: <87wpo6vb00.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Christopher Allan Webber writes: > vlc is failing to build after the update recently to ffmpeg 3.0. I > verified that it builds prior to this change. > > Should we include an older version of ffmpeg to build vlc with for now? > Or should we try to figure out what to do to to get vlc to build with > ffmpeg 3.0? Maybe for now we should do the former for the aim of the latter. It looks like this is not unique to us: https://trac.macports.org/ticket/50697 From unknown Sun Aug 17 10:21:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23256: vlc not building after update to ffmpeg 3.0 Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 09 Apr 2016 20:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23256 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Allan Webber Cc: 23256@debbugs.gnu.org Received: via spool by 23256-submit@debbugs.gnu.org id=B23256.146023518430031 (code B ref 23256); Sat, 09 Apr 2016 20:54:02 +0000 Received: (at 23256) by debbugs.gnu.org; 9 Apr 2016 20:53:04 +0000 Received: from localhost ([127.0.0.1]:56423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aozsN-0007oJ-SN for submit@debbugs.gnu.org; Sat, 09 Apr 2016 16:53:04 -0400 Received: from flashner.co.il ([178.62.234.194]:36068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aozsM-0007nv-CC for 23256@debbugs.gnu.org; Sat, 09 Apr 2016 16:53:02 -0400 Received: from debian-netbook (85.65.229.31.dynamic.barak-online.net [85.65.229.31]) by flashner.co.il (Postfix) with ESMTPSA id 0E0B540035; Sat, 9 Apr 2016 20:53:00 +0000 (UTC) Date: Sat, 9 Apr 2016 23:52:58 +0300 From: Efraim Flashner Message-ID: <20160409205258.GD7587@debian-netbook> References: <87y48mvb98.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="19uQFt6ulqmgNgg1" Content-Disposition: inline In-Reply-To: <87y48mvb98.fsf@dustycloud.org> User-Agent: Mutt/1.6.0 (2016-04-01) X-Spam-Score: -1.0 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --19uQFt6ulqmgNgg1 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 09, 2016 at 02:21:39PM -0500, Christopher Allan Webber wrote: > vlc is failing to build after the update recently to ffmpeg 3.0. I > verified that it builds prior to this change. >=20 > Should we include an older version of ffmpeg to build vlc with for now? > Or should we try to figure out what to do to to get vlc to build with > ffmpeg 3.0? Maybe for now we should do the former for the aim of the lat= ter. >=20 vlc-2.2.2 depends on an update to qt-5.6 which we haven't been able to do yet. I seems we have a number of programs that don't currently build with ffmpeg-3.0, so including 2.8.6 and using that version for the programs that need it is probably a good idea. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --19uQFt6ulqmgNgg1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJXCWumAAoJEPTB05F+rO6TIfkP/3WAwXwS1h0BrijJZ5/sADbe 4GnINlzGXktOlPfxS8hdGSqhYEyN5494VYklVQZ2qzZNX9+SSODYv3lRu56jaAc6 dOpwBJHfETUZ1MZne1tMaFaV+Qf+NyspHVEYmPrPDZCmq4F+shnZWzmS5Ad7t0Ul 1K1Yd3KCMCkd8aq9laF6EWHDOvZwhOi970qRiBju88KNA963vqIaLoOv3aeGm+FN Qfzu+4utiy0/wkoJnLP/LYTts2vmzvY8AehcharCi5sKA+L1oRvH3b0Dd0L7ranF eODSfFJAW75HbYb7YXNvjbqwBuMKfxXtfzL4pd7e5g2Pb0RM0WsaAAgUj45kovuZ /vnMZiPUMb+oQk/cZ9PJ1sj3pjMPKflLsjeuotdJsJRkYkCa8t/tkYynT6e50haj Ml+6zbBMBpKJQybnzo1Dy5ZJaYK321Gvbo4agkOvat7JZcUpMDE7s+RlMCLD6vzY aSCmU8j1aN2RspR3aZgBu19t8lP/kEOppJaC7J5h3k8895hyOoRSFWHRC7txaFwm 3vWh15f6nj/kueHdTpPMybApkG41NhPIS9gNsreuWtz+ebN08nHHiELU2PYb63zZ q/m3K5NWQSFrBV9Wjgy+BjlYXH7Q8ZQFzXHFBgr1YTARCLgF+rQuPEXAY1ktVS82 0Sq4y/lwKkutQv7i+zAy =xih9 -----END PGP SIGNATURE----- --19uQFt6ulqmgNgg1-- From unknown Sun Aug 17 10:21:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23256: vlc not building after update to ffmpeg 3.0 Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 13 Apr 2016 21:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23256 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Efraim Flashner Cc: Christopher Allan Webber , 23256@debbugs.gnu.org Received: via spool by 23256-submit@debbugs.gnu.org id=B23256.146058176822652 (code B ref 23256); Wed, 13 Apr 2016 21:10:01 +0000 Received: (at 23256) by debbugs.gnu.org; 13 Apr 2016 21:09:28 +0000 Received: from localhost ([127.0.0.1]:34103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aqS2S-0005tI-4j for submit@debbugs.gnu.org; Wed, 13 Apr 2016 17:09:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aqS2Q-0005t5-Mp for 23256@debbugs.gnu.org; Wed, 13 Apr 2016 17:09:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqS2G-0001xJ-O4 for 23256@debbugs.gnu.org; Wed, 13 Apr 2016 17:09:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqS2G-0001xF-L7; Wed, 13 Apr 2016 17:09:16 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:55282 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aqS2F-0002p5-VL; Wed, 13 Apr 2016 17:09:16 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87y48mvb98.fsf@dustycloud.org> <20160409205258.GD7587@debian-netbook> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 25 Germinal an 224 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Wed, 13 Apr 2016 23:09:13 +0200 In-Reply-To: <20160409205258.GD7587@debian-netbook> (Efraim Flashner's message of "Sat, 9 Apr 2016 23:52:58 +0300") Message-ID: <87vb3lcj2e.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.0 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Efraim Flashner skribis: > I seems we have a number of programs that don't currently build with > ffmpeg-3.0, so including 2.8.6 and using that version for the programs > that need it is probably a good idea. Indeed. Could you add 2.8.6 alongside 3.0 for now, and have vlc and other packages that broke depend on 2.8.6? That=E2=80=99d be awesome. :-) Thanks, Ludo=E2=80=99. From unknown Sun Aug 17 10:21:02 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Christopher Allan Webber Subject: bug#23256: closed (Re: bug#23256: vlc not building after update to ffmpeg 3.0) Message-ID: References: <87fuuj8byu.fsf@gnu.org> <87y48mvb98.fsf@dustycloud.org> X-Gnu-PR-Message: they-closed 23256 X-Gnu-PR-Package: guix Reply-To: 23256@debbugs.gnu.org Date: Mon, 18 Apr 2016 10:10:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1460974202-19697-1" This is a multi-part message in MIME format... ------------=_1460974202-19697-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #23256: vlc not building after update to ffmpeg 3.0 which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 23256@debbugs.gnu.org. --=20 23256: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D23256 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1460974202-19697-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 23256-done) by debbugs.gnu.org; 18 Apr 2016 10:10:01 +0000 Received: from localhost ([127.0.0.1]:38930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1as680-00057Q-Ot for submit@debbugs.gnu.org; Mon, 18 Apr 2016 06:10:00 -0400 Received: from eggs.gnu.org ([208.118.235.92]:32968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1as67z-00057D-2I for 23256-done@debbugs.gnu.org; Mon, 18 Apr 2016 06:09:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1as67t-0002Sr-1b for 23256-done@debbugs.gnu.org; Mon, 18 Apr 2016 06:09:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43541) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1as67o-0002NT-1n; Mon, 18 Apr 2016 06:09:48 -0400 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:48196 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1as67n-0005Pd-Aa; Mon, 18 Apr 2016 06:09:47 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Efraim Flashner Subject: Re: bug#23256: vlc not building after update to ffmpeg 3.0 References: <87y48mvb98.fsf@dustycloud.org> <20160409205258.GD7587@debian-netbook> <87vb3lcj2e.fsf@gnu.org> Date: Mon, 18 Apr 2016 12:09:45 +0200 In-Reply-To: <87vb3lcj2e.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 13 Apr 2016 23:09:13 +0200") Message-ID: <87fuuj8byu.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 23256-done Cc: Christopher Allan Webber , 23256-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Efraim Flashner skribis: > >> I seems we have a number of programs that don't currently build with >> ffmpeg-3.0, so including 2.8.6 and using that version for the programs >> that need it is probably a good idea. > > Indeed. Could you add 2.8.6 alongside 3.0 for now, and have vlc and > other packages that broke depend on 2.8.6? Done in b4dff935500abc5aceb3fc0e13fb7cabb5f756c0. Ludo'. ------------=_1460974202-19697-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 Apr 2016 19:21:55 +0000 Received: from localhost ([127.0.0.1]:56372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aoySA-0005aU-N8 for submit@debbugs.gnu.org; Sat, 09 Apr 2016 15:21:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aoyS8-0005aH-QN for submit@debbugs.gnu.org; Sat, 09 Apr 2016 15:21:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aoyS2-0007fj-EI for submit@debbugs.gnu.org; Sat, 09 Apr 2016 15:21:47 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41369) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoyS2-0007ff-B4 for submit@debbugs.gnu.org; Sat, 09 Apr 2016 15:21:46 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoyS1-00087b-4a for bug-guix@gnu.org; Sat, 09 Apr 2016 15:21:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aoyRz-0007ey-GR for bug-guix@gnu.org; Sat, 09 Apr 2016 15:21:45 -0400 Received: from dustycloud.org ([2600:3c02::f03c:91ff:feae:cb51]:48940) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoyRz-0007er-Aq for bug-guix@gnu.org; Sat, 09 Apr 2016 15:21:43 -0400 Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id AD0462667C for ; Sat, 9 Apr 2016 15:21:40 -0400 (EDT) User-agent: mu4e 0.9.13; emacs 24.5.1 From: Christopher Allan Webber To: bug-guix@gnu.org Subject: vlc not building after update to ffmpeg 3.0 Date: Sat, 09 Apr 2016 14:21:39 -0500 Message-ID: <87y48mvb98.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) vlc is failing to build after the update recently to ffmpeg 3.0. I verified that it builds prior to this change. Should we include an older version of ffmpeg to build vlc with for now? Or should we try to figure out what to do to to get vlc to build with ffmpeg 3.0? Maybe for now we should do the former for the aim of the lat= ter. Here's the output while attempting to build. CC codec/libvorbis_plugin_la-vorbis.lo CC codec/avcodec/libavcodec_plugin_la-video.lo codec/avcodec/video.c: In function =E2=80=98InitVideoDec=E2=80=99: codec/avcodec/video.c:226:5: error: implicit declaration of function =E2=80= =98avcodec_alloc_frame=E2=80=99 [-Werror=3Dimplicit-function-declaration] p_sys->p_ff_pic =3D avcodec_alloc_frame(); ^ codec/avcodec/video.c:226:21: warning: assignment makes pointer from inte= ger without a cast p_sys->p_ff_pic =3D avcodec_alloc_frame(); ^ codec/avcodec/video.c:308:34: warning: assignment from incompatible point= er type p_sys->p_context->get_format =3D ffmpeg_GetFormat; ^ codec/avcodec/video.c:438:9: error: implicit declaration of function =E2=80= =98avcodec_free_frame=E2=80=99 [-Werror=3Dimplicit-function-declaration] avcodec_free_frame( &p_sys->p_ff_pic ); ^ codec/avcodec/video.c: In function =E2=80=98lavc_dr_GetFrame=E2=80=99: codec/avcodec/video.c:996:25: error: =E2=80=98PIX_FMT_PAL8=E2=80=99 undec= lared (first use in this function) if (ctx->pix_fmt =3D=3D PIX_FMT_PAL8) ^ codec/avcodec/video.c:996:25: note: each undeclared identifier is reporte= d only once for each function it appears in codec/avcodec/video.c: At top level: codec/avcodec/video.c:1305:25: error: return type is an incomplete type static enum PixelFormat ffmpeg_GetFormat( AVCodecContext *p_context, ^ codec/avcodec/video.c:1305:25: error: conflicting types for =E2=80=98ffmp= eg_GetFormat=E2=80=99 codec/avcodec/video.c:111:25: note: previous declaration of =E2=80=98ffmp= eg_GetFormat=E2=80=99 was here static enum PixelFormat ffmpeg_GetFormat( AVCodecContext *, ^ codec/avcodec/video.c: In function =E2=80=98ffmpeg_GetFormat=E2=80=99: codec/avcodec/video.c:1317:5: error: invalid use of undefined type =E2=80= =98enum PixelFormat=E2=80=99 for( size_t i =3D 0; pi_fmt[i] !=3D PIX_FMT_NONE; i++ ) ^ codec/avcodec/video.c:1317:30: error: dereferencing pointer to incomplete= type for( size_t i =3D 0; pi_fmt[i] !=3D PIX_FMT_NONE; i++ ) ^ codec/avcodec/video.c:1317:37: error: =E2=80=98PIX_FMT_NONE=E2=80=99 unde= clared (first use in this function) for( size_t i =3D 0; pi_fmt[i] !=3D PIX_FMT_NONE; i++ ) ^ codec/avcodec/video.c:1319:9: error: invalid use of undefined type =E2=80= =98enum PixelFormat=E2=80=99 const AVPixFmtDescriptor *dsc =3D av_pix_fmt_desc_get(pi_fmt[i])= ; ^ codec/avcodec/video.c:1319:67: error: dereferencing pointer to incomplete= type const AVPixFmtDescriptor *dsc =3D av_pix_fmt_desc_get(pi_fmt[i])= ; ^ codec/avcodec/video.c:1324:9: error: invalid use of undefined type =E2=80= =98enum PixelFormat=E2=80=99 msg_Dbg( p_dec, "available %sware decoder output format %d (%s)"= , ^ In file included from ../include/vlc_common.h:908:0, from codec/avcodec/video.c:32: codec/avcodec/video.c:1325:51: error: dereferencing pointer to incomplete= type hwaccel ? "hard" : "soft", pi_fmt[i], dsc->name ); ^ ../include/vlc_messages.h:78:63: note: in definition of macro =E2=80=98ms= g_Dbg=E2=80=99 vlc_Log( VLC_OBJECT(p_this), VLC_MSG_DBG, MODULE_STRING, __VA_ARGS_= _ ) ^ codec/avcodec/video.c:1344:5: error: invalid use of undefined type =E2=80= =98enum PixelFormat=E2=80=99 for( size_t i =3D 0; pi_fmt[i] !=3D PIX_FMT_NONE; i++ ) ^ codec/avcodec/video.c:1344:30: error: dereferencing pointer to incomplete= type for( size_t i =3D 0; pi_fmt[i] !=3D PIX_FMT_NONE; i++ ) ^ codec/avcodec/video.c:1346:9: error: invalid use of undefined type =E2=80= =98enum PixelFormat=E2=80=99 if( p_va->pix_fmt !=3D pi_fmt[i] ) ^ codec/avcodec/video.c:1346:36: error: dereferencing pointer to incomplete= type if( p_va->pix_fmt !=3D pi_fmt[i] ) ^ codec/avcodec/video.c:1370:9: error: invalid use of undefined type =E2=80= =98enum PixelFormat=E2=80=99 return pi_fmt[i]; ^ codec/avcodec/video.c:1370:22: error: dereferencing pointer to incomplete= type return pi_fmt[i]; ^ codec/avcodec/video.c:1370:9: warning: =E2=80=98return=E2=80=99 with a va= lue, in function returning void return pi_fmt[i]; ^ codec/avcodec/video.c:1378:51: warning: passing argument 2 of =E2=80=98av= codec_default_get_format=E2=80=99 from incompatible pointer type return avcodec_default_get_format( p_context, pi_fmt ); ^ In file included from codec/avcodec/video.c:38:0: /gnu/store/p202gwk3i870jwdwa72j08x9q8n1n2qs-ffmpeg-3.0/include/libavcodec= /avcodec.h:5010:20: note: expected =E2=80=98const enum AVPixelFormat *=E2= =80=99 but argument is of type =E2=80=98const enum Pix elFormat *=E2=80=99 enum AVPixelFormat avcodec_default_get_format(struct AVCodecContext *s, = const enum AVPixelFormat * fmt); ^ codec/avcodec/video.c:1378:5: warning: =E2=80=98return=E2=80=99 with a va= lue, in function returning void return avcodec_default_get_format( p_context, pi_fmt ); ^ codec/avcodec/video.c: At top level: codec/avcodec/video.c:111:25: warning: =E2=80=98ffmpeg_GetFormat=E2=80=99= used but never defined static enum PixelFormat ffmpeg_GetFormat( AVCodecContext *, ^ codec/avcodec/video.c:1305:25: warning: =E2=80=98ffmpeg_GetFormat=E2=80=99= defined but not used [-Wunused-function] static enum PixelFormat ffmpeg_GetFormat( AVCodecContext *p_context, ^ cc1: some warnings being treated as errors Makefile:7735: recipe for target 'codec/avcodec/libavcodec_plugin_la-vide= o.lo' failed make[4]: *** [codec/avcodec/libavcodec_plugin_la-video.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory '/tmp/guix-build-vlc-2.2.1.drv-0/vlc-2.2.1/mod= ules' Makefile:9652: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/tmp/guix-build-vlc-2.2.1.drv-0/vlc-2.2.1/mod= ules' Makefile:4526: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/tmp/guix-build-vlc-2.2.1.drv-0/vlc-2.2.1/mod= ules' Makefile:2262: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/tmp/guix-build-vlc-2.2.1.drv-0/vlc-2.2.1' Makefile:2147: recipe for target 'all' failed make: *** [all] Error 2 phase `build' failed after 44.6 seconds builder for `/gnu/store/bpa68ylz20k6mczni69w2dmfcbkf12a7-vlc-2.2.1.drv' f= ailed wi th exit code 1 @ build-failed /gnu/store/bpa68ylz20k6mczni69w2dmfcbkf12a7-vlc-2.2.1.drv = - 1 buil der for `/gnu/store/bpa68ylz20k6mczni69w2dmfcbkf12a7-vlc-2.2.1.drv' faile= d with e xit code 1 guix build: error: build failed: build of `/gnu/store/bpa68ylz20k6mczni69= w2dmfcbk f12a7-vlc-2.2.1.drv' failed ------------=_1460974202-19697-1--