Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Bug 227726] multimedia/ffmpeg: update to 4.0

34 views
Skip to first unread message

bugzilla...@freebsd.org

unread,
Apr 23, 2018, 4:21:20 PM4/23/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

Bug ID: 227726
Summary: multimedia/ffmpeg: update to 4.0
Product: Ports & Packages
Version: Latest
Hardware: Any
URL: https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.0:/Ch
angelog
OS: Any
Status: New
Keywords: patch
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: multi...@FreeBSD.org
Reporter: jbe...@FreeBSD.org
Depends on: 207547
Assignee: multi...@FreeBSD.org
Flags: maintainer-feedback?(multi...@FreeBSD.org)

New major release: lots of deprecated APIs are gone. See review D15175 for the
patch.

https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.0:/doc/APIchanges
https://abi-laboratory.pro/tracker/objects_report/ffmpeg/3.4.2/4.0/report.html


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207547
[Bug 207547] [exp-run] Update ffmpeg to 3.2
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-m...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
To unsubscribe, send any mail to "freebsd-multime...@freebsd.org"

bugzilla...@freebsd.org

unread,
Apr 23, 2018, 5:41:30 PM4/23/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

Jan Beich <jbe...@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Depends on| |227346


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227346
[Bug 227346] emulators/mgba: update to 0.6.2, build libretro core

bugzilla...@freebsd.org

unread,
Apr 23, 2018, 8:17:58 PM4/23/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #1 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Tue Apr 24 00:16:15 UTC 2018
New revision: 468156
URL: https://svnweb.freebsd.org/changeset/ports/468156

Log:
emulators/rpcs3: unbreak with ffmpeg 4.0 by updating to 0.0.5.215

rpcs3/Emu/Cell/Modules/cellAdec.cpp:232:40: error: use of undeclared
identifier 'FF_INPUT_BUFFER_PADDING_SIZE'
data =
(u8*)av_calloc(1, size + FF_INPUT_BUFFER_PADDING_SIZE);

^
rpcs3/Emu/Cell/Modules/cellAdec.cpp:233:28: error: use of undeclared
identifier 'FF_INPUT_BUFFER_PADDING_SIZE'
this->size = size +
FF_INPUT_BUFFER_PADDING_SIZE;
^
^

Changes: https://github.com/RPCS3/rpcs3/compare/eb3dfb6bb...bd1d4de42
PR: 227726

Changes:
head/emulators/rpcs3/Makefile
head/emulators/rpcs3/distinfo

bugzilla...@freebsd.org

unread,
Apr 23, 2018, 8:18:58 PM4/23/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #2 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Tue Apr 24 00:17:35 UTC 2018
New revision: 468157
URL: https://svnweb.freebsd.org/changeset/ports/468157

Log:
graphics/opencv: unbreak with ffmpeg 4.0

In file included from modules/highgui/src/cap_ffmpeg.cpp:45:
modules/highgui/src/cap_ffmpeg_impl.hpp:1481:21: error: use of undeclared
identifier 'CODEC_FLAG_GLOBAL_HEADER'
c->flags |= CODEC_FLAG_GLOBAL_HEADER;
^
modules/highgui/src/cap_ffmpeg_impl.hpp:1505:30: error: use of undeclared
identifier 'AVFMT_RAWPICTURE'
if (oc->oformat->flags & AVFMT_RAWPICTURE) {
^
modules/highgui/src/cap_ffmpeg_impl.hpp:1679:35: error: use of undeclared
identifier 'AVFMT_RAWPICTURE'
if( (oc->oformat->flags & AVFMT_RAWPICTURE) == 0 )
^
modules/highgui/src/cap_ffmpeg_impl.hpp:1913:32: error: use of undeclared
identifier 'AVFMT_RAWPICTURE'
if (!(oc->oformat->flags & AVFMT_RAWPICTURE)) {
^
modules/highgui/src/cap_ffmpeg_impl.hpp:2207:25: error: use of undeclared
identifier 'CODEC_FLAG_GLOBAL_HEADER'
c->flags |= CODEC_FLAG_GLOBAL_HEADER;
^

PR: 227726
Obtained from: upstream (via Homebrew)

Changes:
head/graphics/opencv/files/patch-modules_highgui_src_cap__ffmpeg__impl.hpp

bugzilla...@freebsd.org

unread,
Apr 23, 2018, 8:19:08 PM4/23/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #3 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Tue Apr 24 00:17:54 UTC 2018
New revision: 468158
URL: https://svnweb.freebsd.org/changeset/ports/468158

Log:
graphics/openimageio: unbreak with ffmpeg 4.0

src/ffmpeg.imageio/ffmpeginput.cpp:333:72: error: use of undeclared
identifier 'CODEC_CAP_DELAY'
m_codec_cap_delay = (bool) (m_codec_context->codec->capabilities &
CODEC_CAP_DELAY);
^

PR: 227726
Obtained from: upstream

Changes:
head/graphics/openimageio/files/patch-src_ffmpeg.imageio_ffmpeginput.cpp

bugzilla...@freebsd.org

unread,
Apr 23, 2018, 8:20:04 PM4/23/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #4 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Tue Apr 24 00:18:15 UTC 2018
New revision: 468159
URL: https://svnweb.freebsd.org/changeset/ports/468159

Log:
www/firefox: unbreak h264/aac/mp3 with ffmpeg 4.0

PR: 227726
Obtained from: upstream

Changes:
head/www/firefox/Makefile
head/www/firefox/files/patch-bug1435212
head/www/waterfox/Makefile
head/www/waterfox/files/patch-bug1435212

bugzilla...@freebsd.org

unread,
Apr 23, 2018, 8:20:48 PM4/23/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #5 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Tue Apr 24 00:18:52 UTC 2018
New revision: 468161
URL: https://svnweb.freebsd.org/changeset/ports/468161

Log:
lang/beignet: install CL/cl_inet.h

/tmp/ffconf.XXXXXXXX/test.c:1:10: fatal error: 'CL/cl_intel.h' file not found
#include <CL/cl_intel.h>
^~~~~~~~~~~~~~~

https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/ac993e73deca

PR: 227726

Changes:
head/lang/beignet/Makefile
head/lang/beignet/pkg-plist

bugzilla...@freebsd.org

unread,
Apr 23, 2018, 8:37:51 PM4/23/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #6 from Jan Beich <jbe...@FreeBSD.org> ---
Err, comment 5 was supposed to reference when Cl/cl_intel.h was first used.

https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/eb3e9f469a52

bugzilla...@freebsd.org

unread,
Apr 24, 2018, 9:58:26 AM4/24/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #8 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Tue Apr 24 13:56:29 UTC 2018
New revision: 468203
URL: https://svnweb.freebsd.org/changeset/ports/468203

Log:
graphics/gegl: unbreak with ffmpeg 4.0

./ff-load.c:312:36: error: use of undeclared identifier 'CODEC_CAP_TRUNCATED'
if (p->codec->capabilities & CODEC_CAP_TRUNCATED)
^
./ff-load.c:313:26: error: use of undeclared identifier
'CODEC_FLAG_TRUNCATED'
p->enc->flags |= CODEC_FLAG_TRUNCATED;

PR: 227726

Changes:
head/graphics/gegl/files/patch-operations_external_ff-load.c

--
You are receiving this mail because:
You are on the CC list for the bug.

bugzilla...@freebsd.org

unread,
Apr 24, 2018, 9:58:31 AM4/24/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #10 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Tue Apr 24 13:56:53 UTC 2018
New revision: 468205
URL: https://svnweb.freebsd.org/changeset/ports/468205

Log:
audio/cmus: unbreak with ffmpeg 4.0

checking for FFMPEG_LIBS (pkg-config)... -L/usr/local/lib -lavformat
-lavcodec
checking for FFMPEG_CFLAGS (pkg-config)... -I/usr/local/include
checking for header <libavcodec/avcodec.h>... yes
checking for successful build of ffmpeg.c... no
[...]
ip/ffmpeg.c:255:29: error: use of undeclared identifier 'CODEC_CAP_TRUNCATED'
if (codec->capabilities & CODEC_CAP_TRUNCATED)
^
ip/ffmpeg.c:256:17: error: use of undeclared identifier
'CODEC_FLAG_TRUNCATED'
cc->flags |= CODEC_FLAG_TRUNCATED;
^

PR: 227726
Obtained from: upstream (via Greg V)

Changes:
head/audio/cmus/files/patch-ip_ffmpeg.c

--
You are receiving this mail because:
You are on the CC list for the bug.

bugzilla...@freebsd.org

unread,
Apr 24, 2018, 9:58:35 AM4/24/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #9 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Tue Apr 24 13:56:41 UTC 2018
New revision: 468204
URL: https://svnweb.freebsd.org/changeset/ports/468204

Log:
graphics/gegl3: unbreak with ffmpeg 4.0

./ff-save.c:293:17: error: use of undeclared identifier
'CODEC_FLAG_GLOBAL_HEADER'
c->flags |= CODEC_FLAG_GLOBAL_HEADER;
^
./ff-save.c:634:18: error: use of undeclared identifier
'CODEC_FLAG_GLOBAL_HEADER'
c->flags |= CODEC_FLAG_GLOBAL_HEADER;
^
./ff-save.c:702:30: error: use of undeclared identifier 'AVFMT_RAWPICTURE'
if (!(oc->oformat->flags & AVFMT_RAWPICTURE))
^
./ff-save.c:806:28: error: use of undeclared identifier 'AVFMT_RAWPICTURE'
if (oc->oformat->flags & AVFMT_RAWPICTURE)
^

PR: 227726

Changes:
head/graphics/gegl3/files/
head/graphics/gegl3/files/patch-operations_external_ff-save.c

--
You are receiving this mail because:
You are on the CC list for the bug.

bugzilla...@freebsd.org

unread,
Apr 24, 2018, 9:59:15 AM4/24/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #12 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Tue Apr 24 13:57:16 UTC 2018
New revision: 468207
URL: https://svnweb.freebsd.org/changeset/ports/468207

Log:
devel/renpy6: unbreak with ffmpeg 4.0

ffdecode.c:840:67: error: use of undeclared identifier 'CODEC_CAP_DELAY'
if (!pkt_temp->data && dec->codec->capabilities &
CODEC_CAP_DELAY)
^
ffdecode.c:1246:29: error: use of undeclared identifier 'CODEC_FLAG2_FAST'
if(fast) enc->flags2 |= CODEC_FLAG2_FAST;
^

PR: 227726

Changes:
head/devel/renpy6/files/patch-module_ffdecode.c

--
You are receiving this mail because:
You are on the CC list for the bug.

bugzilla...@freebsd.org

unread,
Apr 24, 2018, 9:59:18 AM4/24/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #11 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Tue Apr 24 13:57:04 UTC 2018
New revision: 468206
URL: https://svnweb.freebsd.org/changeset/ports/468206

Log:
audio/moc: unbreak with ffmpeg 4.0

ffmpeg.c:996:34: error: use of undeclared identifier 'CODEC_CAP_TRUNCATED'
if (data->codec->capabilities & CODEC_CAP_TRUNCATED)
^
ffmpeg.c:997:23: error: use of undeclared identifier 'CODEC_FLAG_TRUNCATED'
data->enc->flags |= CODEC_FLAG_TRUNCATED;
^
ffmpeg.c:1028:34: error: use of undeclared identifier 'CODEC_CAP_DELAY'
if (data->codec->capabilities & CODEC_CAP_DELAY)
^

PR: 227726
Obtained from: Greg V

Changes:
head/audio/moc/files/
head/audio/moc/files/patch-decoder__plugins_ffmpeg_ffmpeg.c

--
You are receiving this mail because:
You are on the CC list for the bug.

bugzilla...@freebsd.org

unread,
Apr 24, 2018, 9:59:28 AM4/24/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #15 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Tue Apr 24 13:58:03 UTC 2018
New revision: 468210
URL: https://svnweb.freebsd.org/changeset/ports/468210

Log:
www/palemoon: unbreak h264/aac/mp3 with ffmpeg 4.0

PR: 227726
Obtained from: upstream (Firefox 61)

Changes:
head/www/libxul/Makefile
head/www/libxul/files/patch-bug1435212
head/www/palemoon/Makefile
head/www/palemoon/files/patch-bug1435212

--
You are receiving this mail because:
You are on the CC list for the bug.

bugzilla...@freebsd.org

unread,
Apr 24, 2018, 10:00:18 AM4/24/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #13 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Tue Apr 24 13:57:29 UTC 2018
New revision: 468208
URL: https://svnweb.freebsd.org/changeset/ports/468208

Log:
emulators/ppsspp: unbreak with ffmpeg 4.0

Core/HLE/sceMpeg.cpp:890:27: error: use of undeclared identifier
'FF_INPUT_BUFFER_PADDING_SIZE'
u8* str = new u8[size + FF_INPUT_BUFFER_PADDING_SIZE];
^
Core/HLE/sceMpeg.cpp:892:25: error: use of undeclared identifier
'FF_INPUT_BUFFER_PADDING_SIZE'
memset(str + size, 0, FF_INPUT_BUFFER_PADDING_SIZE);
^
Core/HLE/sceMpeg.cpp:893:11: error: use of undeclared identifier
'FF_INPUT_BUFFER_PADDING_SIZE'
size += FF_INPUT_BUFFER_PADDING_SIZE;
^

PR: 227726
Obtained from: upstream

Changes:
head/emulators/ppsspp/Makefile
head/emulators/ppsspp/distinfo

--
You are receiving this mail because:
You are on the CC list for the bug.

bugzilla...@freebsd.org

unread,
Apr 24, 2018, 10:03:31 AM4/24/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #14 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Tue Apr 24 13:57:45 UTC 2018
New revision: 468209
URL: https://svnweb.freebsd.org/changeset/ports/468209

Log:
www/seamonkey: unbreak h264/aac/mp3 with ffmpeg 4.0

PR: 227726
Obtained from: upstream (Firefox 61)

Changes:
head/mail/thunderbird/Makefile
head/mail/thunderbird/files/patch-bug1435212
head/www/firefox-esr/Makefile
head/www/firefox-esr/files/patch-bug1435212
head/www/seamonkey/Makefile
head/www/seamonkey/files/patch-bug1435212

--
You are receiving this mail because:
You are on the CC list for the bug.

bugzilla...@freebsd.org

unread,
Apr 24, 2018, 10:04:19 AM4/24/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #16 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Tue Apr 24 13:58:16 UTC 2018
New revision: 468211
URL: https://svnweb.freebsd.org/changeset/ports/468211

Log:
www/chromium: unbreak with ffmpeg 4.0

../../media/ffmpeg/ffmpeg_common.cc:36:1: error: static_assert failed
"DecoderBuffer padding size does not fit ffmpeg requirement"
static_assert(DecoderBuffer::kPaddingSize >= AV_INPUT_BUFFER_PADDING_SIZE,
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

PR: 227726
Obtained from: upstream

Changes:
head/www/chromium/Makefile
head/www/chromium/files/patch-media_base_decoder__buffer.h

--
You are receiving this mail because:
You are on the CC list for the bug.

bugzilla...@freebsd.org

unread,
Apr 24, 2018, 10:14:25 AM4/24/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

Jan Beich <jbe...@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Depends on| |227745


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227745
[Bug 227745] www/qt5-webengine: fails to build with ffmpeg 4.0
--
You are receiving this mail because:
You are on the CC list for the bug.

bugzilla...@freebsd.org

unread,
Apr 24, 2018, 11:06:18 AM4/24/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

Jan Beich <jbe...@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Depends on| |227748


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227748
[Bug 227748] multimedia/gstreamer1-libav: fails to build with ffmpeg 4.0
--
You are receiving this mail because:
You are on the CC list for the bug.

bugzilla...@freebsd.org

unread,
Apr 24, 2018, 11:31:04 AM4/24/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #17 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Tue Apr 24 15:29:35 UTC 2018
New revision: 468217
URL: https://svnweb.freebsd.org/changeset/ports/468217

Log:
audio/pianobar: unbreak with ffmpeg 4.0

In file included from src/main.c:53:
In file included from src/main.h:30:
src/player.h:37:10: fatal error: 'libavfilter/avfiltergraph.h' file not found
#include <libavfilter/avfiltergraph.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

PR: 227726
Obtained from: upstream (via Homebrew)

Changes:
head/audio/pianobar/Makefile
head/audio/pianobar/distinfo

--
You are receiving this mail because:
You are on the CC list for the bug.

bugzilla...@freebsd.org

unread,
Apr 24, 2018, 12:40:14 PM4/24/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #18 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Tue Apr 24 16:39:11 UTC 2018
New revision: 468220
URL: https://svnweb.freebsd.org/changeset/ports/468220

Log:
games/moonlight-embedded: unbreak with ffmpeg 4.0

src/video/ffmpeg.c:99:27: error: use of undeclared identifier
'CODEC_FLAG_LOW_DELAY'
decoder_ctx->flags |= CODEC_FLAG_LOW_DELAY;
^
src/video/sdl.c:43:48: error: use of undeclared identifier
'FF_INPUT_BUFFER_PADDING_SIZE'
ffmpeg_buffer = malloc(DECODER_BUFFER_SIZE + FF_INPUT_BUFFER_PADDING_SIZE);
^

PR: 227726

Changes:
head/games/moonlight-embedded/files/patch-ffmpeg4

--
You are receiving this mail because:
You are on the CC list for the bug.

bugzilla...@freebsd.org

unread,
Apr 24, 2018, 1:45:39 PM4/24/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #19 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Tue Apr 24 17:44:13 UTC 2018
New revision: 468224
URL: https://svnweb.freebsd.org/changeset/ports/468224

Log:
emulators/kcemu: unbreak with ffmpeg 4.0

ffmpeg.cc:83:30: error: use of undeclared identifier
'CODEC_FLAG_GLOBAL_HEADER'
_stream->codec->flags |= CODEC_FLAG_GLOBAL_HEADER;
^

PR: 227726

Changes:
head/emulators/kcemu/files/patch-src-ui-gtk-ffmpeg.cc

--
You are receiving this mail because:
You are on the CC list for the bug.

bugzilla...@freebsd.org

unread,
Apr 24, 2018, 1:46:28 PM4/24/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #20 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Tue Apr 24 17:44:27 UTC 2018
New revision: 468225
URL: https://svnweb.freebsd.org/changeset/ports/468225

Log:
emulators/vice: unbreak with ffmpeg 4.0

ffmpegdrv.c:363:34: error: use of undeclared identifier
'CODEC_CAP_VARIABLE_FRAME_SIZE'
if (c->codec->capabilities & CODEC_CAP_VARIABLE_FRAME_SIZE) {
^
ffmpegdrv.c:457:21: error: use of undeclared identifier
'CODEC_FLAG_GLOBAL_HEADER'
c->flags |= CODEC_FLAG_GLOBAL_HEADER;
^
ffmpegdrv.c:790:21: error: use of undeclared identifier
'CODEC_FLAG_GLOBAL_HEADER'
c->flags |= CODEC_FLAG_GLOBAL_HEADER;
^
ffmpegdrv.c:970:40: error: use of undeclared identifier 'AVFMT_RAWPICTURE'
if (ffmpegdrv_oc->oformat->flags & AVFMT_RAWPICTURE) {
^

PR: 227726

Changes:
head/emulators/vice/files/patch-src_gfxoutputdrv_ffmpegdrv.c

--
You are receiving this mail because:
You are on the CC list for the bug.

bugzilla...@freebsd.org

unread,
Apr 26, 2018, 4:51:56 AM4/26/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

Jan Beich <jbe...@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Depends on| |227345


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227345
[Bug 227345] games/retroarch: update to 1.7.1, add WAYLAND option
--
You are receiving this mail because:
You are on the CC list for the bug.

bugzilla...@freebsd.org

unread,
Apr 27, 2018, 6:40:22 AM4/27/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #21 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Fri Apr 27 10:39:10 UTC 2018
New revision: 468417
URL: https://svnweb.freebsd.org/changeset/ports/468417

Log:
multimedia/QtAV: unbreak with ffmpeg 4.0

In file included from
/wrkdirs/usr/ports/multimedia/QtAV/work/QtAV-1.12.0/src/AudioResamplerFF.cpp:23:
In file included from
/wrkdirs/usr/ports/multimedia/QtAV/work/QtAV-1.12.0/src/AudioResamplerTemplate.cpp:24:
In file included from
/wrkdirs/usr/ports/multimedia/QtAV/work/QtAV-1.12.0/src/QtAV/private/AudioResampler_p.h:26:
src/QtAV/private/AVCompat.h:82:10: fatal error: 'libavfilter/avfiltergraph.h'
file not found
#include <libavfilter/avfiltergraph.h> /*code is here for old version*/
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

PR: 227726
Obtained from: upstream

Changes:
head/multimedia/QtAV/files/patch-ffmpeg4

--
You are receiving this mail because:
You are on the CC list for the bug.

bugzilla...@freebsd.org

unread,
Apr 27, 2018, 6:41:26 AM4/27/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #22 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Fri Apr 27 10:39:32 UTC 2018
New revision: 468418
URL: https://svnweb.freebsd.org/changeset/ports/468418

Log:
graphics/blender: unbreak with ffmpeg 4.0

intern/audaspace/ffmpeg/AUD_FFMPEGReader.cpp:267:49: error: use of undeclared
identifier 'FF_MIN_BUFFER_SIZE'
m_membuf = reinterpret_cast<data_t*>(av_malloc(FF_MIN_BUFFER_SIZE +
FF_INPUT_BUFFER_PADDING_SIZE));
^
intern/audaspace/ffmpeg/AUD_FFMPEGReader.cpp:267:70: error: use of undeclared
identifier 'FF_INPUT_BUFFER_PADDING_SIZE'
m_membuf = reinterpret_cast<data_t*>(av_malloc(FF_MIN_BUFFER_SIZE +
FF_INPUT_BUFFER_PADDING_SIZE));
^
intern/audaspace/ffmpeg/AUD_FFMPEGReader.cpp:269:47: error: use of undeclared
identifier 'FF_MIN_BUFFER_SIZE'
m_aviocontext = avio_alloc_context(m_membuf, FF_MIN_BUFFER_SIZE, 0,
this,
^

PR: 227726
Obtained from: Arch Linux

Changes:
head/graphics/blender/files/patch-ffmpeg4

--
You are receiving this mail because:
You are on the CC list for the bug.

bugzilla...@freebsd.org

unread,
Apr 27, 2018, 7:10:55 AM4/27/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #23 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Fri Apr 27 11:09:29 UTC 2018
New revision: 468419
URL: https://svnweb.freebsd.org/changeset/ports/468419

Log:
x11/xpra: unbreak with ffmpeg 4.0

xpra/codecs/dec_avcodec2/decoder.c:5656:72: error: use of undeclared
identifier 'CODEC_FLAG2_FAST'
__pyx_v_self->codec_ctx->flags2 = (__pyx_v_self->codec_ctx->flags2 |
CODEC_FLAG2_FAST);
^

PR: 227726
Obtained from: upstream

Changes:
head/x11/xpra/files/patch-xpra_codecs_dec__avcodec2_decoder.pyx
head/x11/xpra/files/patch-xpra_codecs_enc__ffmpeg_encoder.pyx

bugzilla...@freebsd.org

unread,
Apr 27, 2018, 8:54:24 AM4/27/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #24 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Fri Apr 27 12:53:23 UTC 2018
New revision: 468425
URL: https://svnweb.freebsd.org/changeset/ports/468425

Log:
multimedia/vlc: unbreak with ffmpeg 4.0

codec/avcodec/audio.c:99:37: error: use of undeclared identifier
'FF_INPUT_BUFFER_PADDING_SIZE'
av_malloc( i_size + FF_INPUT_BUFFER_PADDING_SIZE );
^
codec/avcodec/subtitle.c:147:50: error: use of undeclared identifier
'FF_INPUT_BUFFER_PADDING_SIZE'
block->i_buffer +
FF_INPUT_BUFFER_PADDING_SIZE);
^
codec/avcodec/video.c:254:36: error: use of undeclared identifier
'CODEC_FLAG_GRAY'
p_sys->p_context->flags |= CODEC_FLAG_GRAY;
^
codec/avcodec/encoder.c:525:20: error: no member named 'border_masking' in
'struct AVCodecContext'
p_context->border_masking = p_sys->f_border_masking;
~~~~~~~~~ ^

codec/avcodec/encoder.c:534:45: error: use of undeclared identifier
'FF_MAX_B_FRAMES'
VLC_CLIP( p_sys->i_b_frames, 0, FF_MAX_B_FRAMES );
^
codec/avcodec/encoder.c:642:45: error: no member named 'lmin' in 'struct
AVCodecContext'; did you mean 'qmin'?
p_context->mb_lmin = p_context->lmin = p_sys->i_qmin *
FF_QP2LAMBDA;
^~~~
codec/avcodec/encoder.c:647:45: error: no member named 'lmax' in 'struct
AVCodecContext'; did you mean 'qmax'?
p_context->mb_lmax = p_context->lmax = p_sys->i_qmax *
FF_QP2LAMBDA;
^~~~
codec/avcodec/encoder.c:660:24: error: no member named 'rc_qsquish' in
'struct AVCodecContext'
p_context->rc_qsquish = 1.0;
~~~~~~~~~ ^
codec/avcodec/encoder.c:674:24: error: no member named
'rc_buffer_aggressivity' in 'struct AVCodecContext'
p_context->rc_buffer_aggressivity =
p_sys->f_rc_buffer_aggressivity;
~~~~~~~~~ ^

PR: 227726
Obtained from: upstream (VLC 3.0.0)

Changes:
head/multimedia/vlc/files/patch-ffmpeg40

bugzilla...@freebsd.org

unread,
Apr 27, 2018, 9:59:25 AM4/27/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #26 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Fri Apr 27 13:57:40 UTC 2018
New revision: 468428
URL: https://svnweb.freebsd.org/changeset/ports/468428

Log:
multimedia/mlt: unbreak with ffmpeg 4.0

consumer_avformat.c:2047:44: error: use of undeclared identifier
'AVFMT_RAWPICTURE'
if ( video_st && !( oc->oformat->flags & AVFMT_RAWPICTURE ) )
for (;;)
^
consumer_avformat.c:837:16: error: use of undeclared identifier
'CODEC_FLAG_QSCALE'
c->flags |= CODEC_FLAG_QSCALE;
^
filter_avresample.c:55:2: error: use of undeclared identifier
'ReSampleContext'
ReSampleContext *resample = mlt_properties_get_data(
filter_properties, "audio_resample", NULL );
^

PR: 227726
Obtained from: upstream (mlt 6.6.0)

Changes:
head/multimedia/mlt/files/patch-git_541b083
head/multimedia/mlt/files/patch-git_9a95592
head/multimedia/mlt/files/patch-git_9ec2ab9

bugzilla...@freebsd.org

unread,
Apr 27, 2018, 10:20:42 AM4/27/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #27 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Fri Apr 27 14:19:33 UTC 2018
New revision: 468429
URL: https://svnweb.freebsd.org/changeset/ports/468429

Log:
net/mediastreamer: unbreak with ffmpeg 4.0

videofilters/nowebcam.c:251:49: error: use of undeclared identifier
'FF_INPUT_BUFFER_PADDING_SIZE'
jpgbuf=(uint8_t*)ms_malloc0(statbuf.st_size +
FF_INPUT_BUFFER_PADDING_SIZE);
^

PR: 227726

Changes:
head/net/mediastreamer/files/patch-src_videofilters_nowebcam.c

bugzilla...@freebsd.org

unread,
Apr 27, 2018, 10:57:18 AM4/27/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #29 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Fri Apr 27 14:56:16 UTC 2018
New revision: 468433
URL: https://svnweb.freebsd.org/changeset/ports/468433

Log:
multimedia/motion: unbreak with ffmpeg 4.0

ffmpeg.c:442:25: error: use of undeclared identifier 'CODEC_FLAG_QSCALE'
c->flags |= CODEC_FLAG_QSCALE;
^
ffmpeg.c:450:17: error: use of undeclared identifier
'CODEC_FLAG_GLOBAL_HEADER'
c->flags |= CODEC_FLAG_GLOBAL_HEADER;
^
ffmpeg.c:492:40: error: use of undeclared identifier 'AVFMT_RAWPICTURE'
if (!(ffmpeg->oc->oformat->flags & AVFMT_RAWPICTURE)) {
^
ffmpeg.c:708:38: error: use of undeclared identifier 'AVFMT_RAWPICTURE'
if (ffmpeg->oc->oformat->flags & AVFMT_RAWPICTURE) {
^

PR: 227726

Changes:
head/multimedia/motion/files/patch-ffmpeg.c

bugzilla...@freebsd.org

unread,
Apr 27, 2018, 11:12:55 AM4/27/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #30 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Fri Apr 27 15:10:49 UTC 2018
New revision: 468434
URL: https://svnweb.freebsd.org/changeset/ports/468434

Log:
multimedia/qmmp: unbreak with ffmpeg 4.0

src/plugins/Input/ffmpeg/decoder_ffmpeg.h:64:43: error: use of undeclared
identifier 'FF_INPUT_BUFFER_PADDING_SIZE'
uchar m_input_buf[INPUT_BUFFER_SIZE + FF_INPUT_BUFFER_PADDING_SIZE];
^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:37:17: error: cannot initialize
object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
return (int)d->input()->read((char*)buf, size);
^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:49:16: error: cannot initialize
object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
return d->input()->size();
^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:54:24: error: cannot initialize
object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
absolute_pos = d->input()->pos() + offset;
^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:57:24: error: cannot initialize
object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
absolute_pos = d->input()->size() - offset;
^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:62:43: error: cannot initialize
object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
if(absolute_pos < 0 || absolute_pos > d->input()->size())
^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:64:12: error: cannot initialize
object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
return d->input()->seek(absolute_pos);
^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:131:19: error: cannot initialize
object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
pd.buf_size = input()->peek((char*)buf, sizeof(buf) -
AVPROBE_PADDING_SIZE);
^~~~~
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:153:27: error: cannot initialize
object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
m_stream->seekable = !input()->isSequential();
^~~~~
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:166:9: error: cannot initialize
object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
if (input()->isSequential())
^~~~~
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:204:9: error: cannot initialize
object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
addMetaData(metaData);
^~~~~~~~~~~
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:209:5: error: cannot initialize
object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
setReplayGainInfo(rg.replayGainInfo());
^~~~~~~~~~~~~~~~~
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:271:19: error: cannot initialize
object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
m_totalTime = input()->isSequential() ? 0 : ic->duration * 1000 /
AV_TIME_BASE;
^~~~~
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:306:5: error: no matching member
function for call to 'configure'
configure(c->sample_rate, m_channels, format);
^~~~~~~~~
src/plugins/Input/ffmpeg/../../../qmmp/decoder.h:177:10: note: candidate
function not viable: no known conversion from 'DecoderFFmpeg' to 'Decoder' for
object argument
void configure(quint32 srate, int channels, Qmmp::AudioFormat f =
Qmmp::PCM_S16LE);
^
src/plugins/Input/ffmpeg/../../../qmmp/decoder.h:170:10: note: candidate
function not viable: no known conversion from 'DecoderFFmpeg' to 'Decoder' for
object argument
void configure(quint32 srate, const ChannelMap &map, Qmmp::AudioFormat f
= Qmmp::PCM_S16LE);
^
src/plugins/Input/ffmpeg/../../../qmmp/decoder.h:182:10: note: candidate
function not viable: requires single argument 'p', but 3 arguments were
provided
void configure(const AudioParameters &p);
^

PR: 227726

Changes:
head/multimedia/qmmp/files/
head/multimedia/qmmp/files/patch-ffmpeg4

bugzilla...@freebsd.org

unread,
Apr 27, 2018, 11:29:56 AM4/27/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #31 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Fri Apr 27 15:28:13 UTC 2018
New revision: 468438
URL: https://svnweb.freebsd.org/changeset/ports/468438

Log:
graphics/gnash: unbreak with ffmpeg 4.0

ffmpeg/MediaHandlerFfmpeg.cpp:152:12: error: use of undeclared identifier
'FF_INPUT_BUFFER_PADDING_SIZE'
return FF_INPUT_BUFFER_PADDING_SIZE;
^
ffmpeg/MediaParserFfmpeg.cpp:67:40: error: use of undeclared identifier
'FF_INPUT_BUFFER_PADDING_SIZE'
const size_t bufSize = probeSize + FF_INPUT_BUFFER_PADDING_SIZE;
^
ffmpeg/MediaParserFfmpeg.cpp:176:35: error: use of undeclared identifier
'FF_INPUT_BUFFER_PADDING_SIZE'
size_t allocSize = packet.size + FF_INPUT_BUFFER_PADDING_SIZE;
^
ffmpeg/MediaParserFfmpeg.cpp:224:35: error: use of undeclared identifier
'FF_INPUT_BUFFER_PADDING_SIZE'
size_t allocSize = packet.size + FF_INPUT_BUFFER_PADDING_SIZE;
^

PR: 227726

Changes:
head/graphics/gnash/files/patch-ffmpeg4

bugzilla...@freebsd.org

unread,
Apr 27, 2018, 11:39:58 AM4/27/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #32 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Fri Apr 27 15:38:48 UTC 2018
New revision: 468439
URL: https://svnweb.freebsd.org/changeset/ports/468439

Log:
graphics/amide: unbreak with ffmpeg 4.0

mpeg_encode.c:301:20: error: no member named 'me_method' in 'struct
AVCodecContext'
encode->context->me_method=5; /* 5 is epzs */
~~~~~~~~~~~~~~~ ^

PR: 227726

Changes:
head/graphics/amide/files/patch-src_mpeg__encode.c

bugzilla...@freebsd.org

unread,
Apr 27, 2018, 1:13:31 PM4/27/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #33 from Jan Beich <jbe...@FreeBSD.org> ---
If there're no major blockers the plan is to land FFmpeg 4.0 shortly after
exp-run, marking some leaves as BROKEN.

bugzilla...@freebsd.org

unread,
Apr 28, 2018, 9:09:06 PM4/28/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #34 from Jan Beich <jbe...@FreeBSD.org> ---
Antoine, try new version of the patch with

multimedia_gstreamer1-libav_UNSET += FFMPEG

bugzilla...@freebsd.org

unread,
Apr 30, 2018, 5:45:21 AM4/30/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #35 from Antoine Brodin <ant...@FreeBSD.org> ---
Exp-run results on 10.4 i386:

http://package23.nyi.freebsd.org/build.html?mastername=104i386-default-PR227726&build=2018-04-30_05h22m48s

New failures on 10.4 i386:

+ {"origin"=>"audio/aubio", "phase"=>"build", "errortype"=>"bad_C++_code"}
+ {"origin"=>"audio/cantata", "phase"=>"build", "errortype"=>"bad_C++_code"}
+ {"origin"=>"audio/forked-daapd", "phase"=>"build",
"errortype"=>"missing_header"}
+ {"origin"=>"audio/idjc", "phase"=>"build", "errortype"=>"compiler_error"}
+ {"origin"=>"audio/libgroove", "phase"=>"build", "errortype"=>"bad_C++_code"}
+ {"origin"=>"cad/netgen", "phase"=>"build", "errortype"=>"bad_C++_code"}
+ {"origin"=>"cad/opencascade", "phase"=>"build", "errortype"=>"bad_C++_code"}
+ {"origin"=>"emulators/mgba", "phase"=>"build", "errortype"=>"bad_C++_code"}
+ {"origin"=>"emulators/visualboyadvance-m", "phase"=>"build",
"errortype"=>"bad_C++_code"}
+ {"origin"=>"games/retroarch", "phase"=>"build", "errortype"=>"bad_C++_code"}
+ {"origin"=>"graphics/php5-ffmpeg", "phase"=>"build",
"errortype"=>"bad_C++_code"}
+ {"origin"=>"math/octave-forge-video", "phase"=>"build",
"errortype"=>"bad_C++_code"}
+ {"origin"=>"multimedia/bino", "phase"=>"build", "errortype"=>"bad_C++_code"}
+ {"origin"=>"multimedia/ccextractor", "phase"=>"build",
"errortype"=>"missing_header"}
+ {"origin"=>"multimedia/dvbcut", "phase"=>"build",
"errortype"=>"bad_C++_code"}
+ {"origin"=>"multimedia/dvdstyler", "phase"=>"build",
"errortype"=>"bad_C++_code"}
+ {"origin"=>"multimedia/libquicktime", "phase"=>"build",
"errortype"=>"bad_C++_code"}
+ {"origin"=>"multimedia/miro", "phase"=>"build", "errortype"=>"bad_C++_code"}
+ {"origin"=>"multimedia/qmmp-qt5", "phase"=>"build",
"errortype"=>"bad_C++_code"}
+ {"origin"=>"multimedia/simplescreenrecorder", "phase"=>"build",
"errortype"=>"bad_C++_code"}
+ {"origin"=>"multimedia/transcode", "phase"=>"build",
"errortype"=>"bad_C++_code"}
+ {"origin"=>"multimedia/tvheadend", "phase"=>"build",
"errortype"=>"bad_C++_code"}
+ {"origin"=>"multimedia/vdr-plugin-markad", "phase"=>"package",
"errortype"=>"bad_C++_code"}
+ {"origin"=>"multimedia/webcamoid", "phase"=>"build",
"errortype"=>"bad_C++_code"}
+ {"origin"=>"multimedia/zoneminder", "phase"=>"build",
"errortype"=>"bad_C++_code"}
+ {"origin"=>"multimedia/zoneminder-h264", "phase"=>"build",
"errortype"=>"bad_C++_code"}
+ {"origin"=>"net-im/qTox", "phase"=>"build", "errortype"=>"bad_C++_code"}
+ {"origin"=>"net-p2p/retroshare", "phase"=>"build",
"errortype"=>"bad_C++_code"}
+ {"origin"=>"net/freerdp", "phase"=>"build", "errortype"=>"bad_C++_code"}
+ {"origin"=>"net/freerdp1", "phase"=>"build", "errortype"=>"bad_C++_code"}
+ {"origin"=>"net/opal", "phase"=>"build", "errortype"=>"bad_C++_code"}
+ {"origin"=>"www/iridium", "phase"=>"build", "errortype"=>"bad_C++_code"}
+ {"origin"=>"x11-toolkits/nucleo", "phase"=>"build",
"errortype"=>"bad_C++_code"}

bugzilla...@freebsd.org

unread,
Apr 30, 2018, 5:46:11 AM4/30/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #36 from Antoine Brodin <ant...@FreeBSD.org> ---
Exp-run results on 10.4 amd64:

http://package22.nyi.freebsd.org/build.html?mastername=104amd64-default-PR227726&build=2018-04-30_05h22m51s

New failures on 10.4 amd64:
+ {"origin"=>"net/freeswitch", "phase"=>"build", "errortype"=>"bad_C++_code"}

bugzilla...@freebsd.org

unread,
Apr 30, 2018, 11:36:27 AM4/30/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726
Bug 227726 depends on bug 227745, which changed state.

Bug 227745 Summary: www/iridium, www/qt5-webengine: fails to build with ffmpeg 4.0
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227745

What |Removed |Added
----------------------------------------------------------------------------
Status|New |Closed
Resolution|--- |FIXED

bugzilla...@freebsd.org

unread,
Apr 30, 2018, 2:52:54 PM4/30/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #38 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Mon Apr 30 18:48:05 UTC 2018
New revision: 468737
URL: https://svnweb.freebsd.org/changeset/ports/468737

Log:
audio/aubio: unbreak with ffmpeg 4.0

../src/io/source_avcodec.c:262:35: error: use of undeclared identifier
'FF_MIN_BUFFER_SIZE'
s->output = (smpl_t *)av_malloc(AUBIO_AVCODEC_MAX_BUFFER_SIZE *
sizeof(smpl_t));
^
../src/io/source_avcodec.c:61:39: note: expanded from macro
'AUBIO_AVCODEC_MAX_BUFFER_SIZE'
#define AUBIO_AVCODEC_MAX_BUFFER_SIZE FF_MIN_BUFFER_SIZE
^
../src/io/source_avcodec.c:360:25: error: use of undeclared identifier
'FF_MIN_BUFFER_SIZE'
int max_out_samples = AUBIO_AVCODEC_MAX_BUFFER_SIZE / avCodecCtx->channels;
^
../src/io/source_avcodec.c:61:39: note: expanded from macro
'AUBIO_AVCODEC_MAX_BUFFER_SIZE'
#define AUBIO_AVCODEC_MAX_BUFFER_SIZE FF_MIN_BUFFER_SIZE
^
../src/io/source_avcodec.c:434:21: error: use of undeclared identifier
'FF_MIN_BUFFER_SIZE'
max_out_samples = AUBIO_AVCODEC_MAX_BUFFER_SIZE / avCodecCtx->channels;
^
../src/io/source_avcodec.c:61:39: note: expanded from macro
'AUBIO_AVCODEC_MAX_BUFFER_SIZE'
#define AUBIO_AVCODEC_MAX_BUFFER_SIZE FF_MIN_BUFFER_SIZE
^

PR: 227726
Reported by: antoine (via exp-run)
Obtained from: upstream

Changes:
head/audio/aubio/Makefile
head/audio/aubio/distinfo

bugzilla...@freebsd.org

unread,
Apr 30, 2018, 3:05:29 PM4/30/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #39 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Mon Apr 30 19:04:19 UTC 2018
New revision: 468739
URL: https://svnweb.freebsd.org/changeset/ports/468739

Log:
net/freerdp: unbreak with ffmpeg 4.0

channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c:210:38: error: use of undeclared
identifier 'CODEC_CAP_TRUNCATED'
if (mdecoder->codec->capabilities & CODEC_CAP_TRUNCATED)
^
channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c:211:37: error: use of undeclared
identifier 'CODEC_FLAG_TRUNCATED'
mdecoder->codec_context->flags |= CODEC_FLAG_TRUNCATED;
^

PR: 227726
Reported by: antoine (via exp-run)
Obtained from: upstream (FreeRDP 2.0.0-rc2)

Changes:
head/net/freerdp/Makefile
head/net/freerdp/distinfo

bugzilla...@freebsd.org

unread,
Apr 30, 2018, 4:42:50 PM4/30/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #40 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Mon Apr 30 20:41:46 UTC 2018
New revision: 468745
URL: https://svnweb.freebsd.org/changeset/ports/468745

Log:
net/opal: unbreak with ffmpeg 4.0

h263-1998.cxx:237:22: error: use of undeclared identifier
'CODEC_FLAG_TRUNCATED'
m_context->flags = CODEC_FLAG_TRUNCATED // Possible missing packets
^
h263-1998.cxx:346:27: error: use of undeclared identifier
'CODEC_FLAG_AC_PRED'
m_context->flags |= CODEC_FLAG_AC_PRED;
^
h263-1998.cxx:348:28: error: use of undeclared identifier
'CODEC_FLAG_AC_PRED'
m_context->flags &= ~CODEC_FLAG_AC_PRED;
^
h263-1998.cxx:356:27: error: use of undeclared identifier
'CODEC_FLAG_LOOP_FILTER'
m_context->flags |= CODEC_FLAG_LOOP_FILTER;
^
h263-1998.cxx:358:28: error: use of undeclared identifier
'CODEC_FLAG_LOOP_FILTER'
m_context->flags &= ~CODEC_FLAG_LOOP_FILTER;
^
h263-1998.cxx:422:14: error: no member named 'lmin' in 'AVCodecContext'; did
you mean 'qmin'?
m_context->lmin = m_context->qmin * FF_QP2LAMBDA;
^~~~
qmin
/usr/local/include/libavcodec/avcodec.h:2355:9: note: 'qmin' declared here
int qmin;
^
h263-1998.cxx:423:14: error: no member named 'lmax' in 'AVCodecContext'; did
you mean 'qmax'?
m_context->lmax = m_context->qmax * FF_QP2LAMBDA;
^~~~
qmax
/usr/local/include/libavcodec/avcodec.h:2362:9: note: 'qmax' declared here
int qmax;
^
h263-1998.cxx:598:24: error: use of undeclared identifier 'CODEC_FLAG_4MV'
m_context->flags &= ~CODEC_FLAG_4MV;
^

PR: 227726
Reported by: antoine (via exp-run)

Changes:
head/net/opal/files/patch-ffmpeg4

bugzilla...@freebsd.org

unread,
Apr 30, 2018, 11:47:31 PM4/30/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #41 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Tue May 1 03:46:23 UTC 2018
New revision: 468752
URL: https://svnweb.freebsd.org/changeset/ports/468752

Log:
net-im/qTox: unbreak with ffmpeg 4.0

src/video/camerasource.cpp:112:5: error: 'av_register_all' is deprecated
[-Werror,-Wdeprecated-declarations]
av_register_all();
^
/usr/local/include/libavformat/avformat.h:2025:6: note: 'av_register_all'
declared here
void av_register_all(void);
^

PR: 227726
Reported by: antoine (via exp-run)
Obtained from: upstream

Changes:
head/net-im/qTox/Makefile
head/net-im/qTox/distinfo

bugzilla...@freebsd.org

unread,
May 1, 2018, 12:56:21 AM5/1/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #42 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Tue May 1 04:54:38 UTC 2018
New revision: 468753
URL: https://svnweb.freebsd.org/changeset/ports/468753

Log:
multimedia/webcamoid: unbreak with ffmpeg 4.0

src/mediawriterffmpeg.cpp:254:47: error: 'CODEC_CAP_EXPERIMENTAL' was not
declared in this scope
if (codec->capabilities & CODEC_CAP_EXPERIMENTAL
^~~~~~~~~~~~~~~~~~~~~~

PR: 227726
Reported by: antoine (via exp-run)

Changes:
head/multimedia/webcamoid/files/patch-ffmpeg4

bugzilla...@freebsd.org

unread,
May 2, 2018, 1:34:29 AM5/2/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #44 from Antoine Brodin <ant...@FreeBSD.org> ---
Exp-run results on 11.1 amd64:

http://package22.nyi.freebsd.org/build.html?mastername=111amd64-default-PR227726&build=2018-05-01_10h36m11s

New failures on 11.1 amd64:

+ {"origin"=>"audio/forked-daapd", "phase"=>"build",
"errortype"=>"missing_header"}
+ {"origin"=>"audio/idjc", "phase"=>"build", "errortype"=>"compiler_error"}
+ {"origin"=>"audio/libgroove", "phase"=>"build", "errortype"=>"clang"}
+ {"origin"=>"cad/netgen", "phase"=>"build", "errortype"=>"clang"}
+ {"origin"=>"cad/opencascade", "phase"=>"build", "errortype"=>"clang"}
+ {"origin"=>"emulators/mgba", "phase"=>"build", "errortype"=>"clang"}
+ {"origin"=>"emulators/visualboyadvance-m", "phase"=>"build",
"errortype"=>"clang"}
+ {"origin"=>"games/retroarch", "phase"=>"build", "errortype"=>"clang"}
+ {"origin"=>"graphics/php5-ffmpeg", "phase"=>"build",
"errortype"=>"bad_C++_code"}
+ {"origin"=>"math/octave-forge-video", "phase"=>"build", "errortype"=>"clang"}
+ {"origin"=>"multimedia/bino", "phase"=>"build", "errortype"=>"clang"}
+ {"origin"=>"multimedia/ccextractor", "phase"=>"build",
"errortype"=>"missing_header"}
+ {"origin"=>"multimedia/dvbcut", "phase"=>"build", "errortype"=>"clang"}
+ {"origin"=>"multimedia/dvdstyler", "phase"=>"build", "errortype"=>"clang"}
+ {"origin"=>"multimedia/libquicktime", "phase"=>"build", "errortype"=>"clang"}
+ {"origin"=>"multimedia/lives", "phase"=>"build", "errortype"=>"clang"}
+ {"origin"=>"multimedia/miro", "phase"=>"build", "errortype"=>"clang"}
+ {"origin"=>"multimedia/qmmp-qt5", "phase"=>"build", "errortype"=>"clang"}
+ {"origin"=>"multimedia/simplescreenrecorder", "phase"=>"build",
"errortype"=>"clang"}
+ {"origin"=>"multimedia/tvheadend", "phase"=>"build", "errortype"=>"clang"}
+ {"origin"=>"multimedia/vdr-plugin-markad", "phase"=>"package",
"errortype"=>"clang"}
+ {"origin"=>"multimedia/zoneminder", "phase"=>"build", "errortype"=>"clang"}
+ {"origin"=>"multimedia/zoneminder-h264", "phase"=>"build",
"errortype"=>"clang"}
+ {"origin"=>"net-p2p/retroshare", "phase"=>"build", "errortype"=>"clang"}
+ {"origin"=>"net/freerdp1", "phase"=>"build", "errortype"=>"clang"}
+ {"origin"=>"net/freeswitch", "phase"=>"build", "errortype"=>"clang"}
+ {"origin"=>"x11-toolkits/nucleo", "phase"=>"build", "errortype"=>"clang"}

bugzilla...@freebsd.org

unread,
May 2, 2018, 9:27:30 AM5/2/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #45 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Wed May 2 13:25:55 UTC 2018
New revision: 468831
URL: https://svnweb.freebsd.org/changeset/ports/468831

Log:
cad/opencascade: unbreak with ffmpeg 4.0

src/Image/Image_VideoRecorder.cxx:279:25: error: use of undeclared identifier
'CODEC_FLAG_GLOBAL_HEADER'
aCodecCtx->flags |= CODEC_FLAG_GLOBAL_HEADER;
^
src/Image/Image_VideoRecorder.cxx:452:38: error: use of undeclared identifier
'AVFMT_RAWPICTURE'
if ((myAVContext->oformat->flags & AVFMT_RAWPICTURE) != 0
^

PR: 227726
Reported by: antoine (via exp-run)

Changes:
head/cad/opencascade/files/patch-src_Image_Image__VideoRecorder.cxx

bugzilla...@freebsd.org

unread,
May 2, 2018, 9:27:39 AM5/2/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #46 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Wed May 2 13:26:23 UTC 2018
math/octave-forge-video: unbreak with ffmpeg 4.0

AVHandler.cc:246:29: error: use of undeclared identifier
'CODEC_CAP_TRUNCATED'
if (codec->capabilities & CODEC_CAP_TRUNCATED)
^
AVHandler.cc:247:30: error: use of undeclared identifier
'CODEC_FLAG_TRUNCATED'
vstream->codec->flags |= CODEC_FLAG_TRUNCATED;
^

PR: 227726
Reported by: antoine (via exp-run)

Changes:
head/math/octave-forge-video/files/
head/math/octave-forge-video/files/patch-src_AVHandler.cc

bugzilla...@freebsd.org

unread,
May 2, 2018, 9:28:30 AM5/2/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #47 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Wed May 2 13:26:36 UTC 2018
emulators/visualboyadvance-m: unbreak with ffmpeg 4.0

src/common/ffmpeg.cpp:288:27: error: use of undeclared identifier
'FF_MIN_BUFFER_SIZE'
audio_buf = (u8 *)malloc(AUDIO_BUF_LEN);
^
src/common/ffmpeg.cpp:88:36: note: expanded from macro 'AUDIO_BUF_LEN'
^
src/common/ffmpeg.cpp:288:27: error: use of undeclared identifier
'FF_MIN_BUFFER_SIZE'
src/common/ffmpeg.cpp:88:69: note: expanded from macro 'AUDIO_BUF_LEN'
^
src/common/ffmpeg.cpp:307:27: error: use of undeclared identifier
'FF_MIN_BUFFER_SIZE'
video_buf = (u8 *)malloc(VIDEO_BUF_LEN);
^
src/common/ffmpeg.cpp:90:24: note: expanded from macro 'VIDEO_BUF_LEN'
^
src/common/ffmpeg.cpp:438:29: error: use of undeclared identifier
'AVFMT_RAWPICTURE'
if(oc->oformat->flags & AVFMT_RAWPICTURE) {
^
src/common/ffmpeg.cpp:447:20: error: use of undeclared identifier
'FF_MIN_BUFFER_SIZE'
pkt.size = VIDEO_BUF_LEN;
^
src/common/ffmpeg.cpp:90:24: note: expanded from macro 'VIDEO_BUF_LEN'
^
src/common/ffmpeg.cpp:463:16: error: use of undeclared identifier
'FF_MIN_BUFFER_SIZE'
if(pkt.size > VIDEO_BUF_LEN) {
^
src/common/ffmpeg.cpp:90:24: note: expanded from macro 'VIDEO_BUF_LEN'
^

PR: 227726
Reported by: antoine (via exp-run)
Obtained from: upstream

Changes:
head/emulators/visualboyadvance-m/files/patch-src_common_ffmpeg.cpp

bugzilla...@freebsd.org

unread,
May 2, 2018, 9:33:38 AM5/2/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #48 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Wed May 2 13:31:46 UTC 2018
New revision: 468835
URL: https://svnweb.freebsd.org/changeset/ports/468835

Log:
multimedia/webcamoid: unbreak with ffmpeg 4.0

ngpkg.cpp:2342:27: error: use of undeclared identifier 'CODEC_FLAG_PSNR'
context->flags |= CODEC_FLAG_PSNR;
^

PR: 227726
Reported by: antoine (via exp-run)

Changes:
head/cad/netgen/files/patch-ng_ngpkg.cpp

bugzilla...@freebsd.org

unread,
May 2, 2018, 10:24:34 AM5/2/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #49 from Jan Beich <jbe...@FreeBSD.org> ---
(In reply to Antoine Brodin from comment #36)
> + {"origin"=>"audio/cantata", "phase"=>"build", "errortype"=>"bad_C++_code"}

Likely fixed by ports r468631.

bugzilla...@freebsd.org

unread,
May 2, 2018, 11:09:04 AM5/2/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #50 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Wed May 2 15:07:36 UTC 2018
New revision: 468844
URL: https://svnweb.freebsd.org/changeset/ports/468844

Log:
multimedia/ffmpeg: update to 4.0

- FFSERVER support was removed upstream
- libressl now uses libtls backend instead of patching openssl one
- Clang i386 no longer uses 16-byte aligned stack

Changes: https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.0:/Changelog
ABI: https://abi-laboratory.pro/tracker/timeline/ffmpeg/
PR: 227726
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D15175

Changes:
head/astro/siril/Makefile
head/audio/acoustid-fingerprinter/Makefile
head/audio/alsa-plugins/Makefile
head/audio/aqualung/Makefile
head/audio/aubio/Makefile
head/audio/audacity/Makefile
head/audio/baresip/Makefile
head/audio/beets/Makefile
head/audio/cantata/Makefile
head/audio/carla/Makefile
head/audio/chromaprint/Makefile
head/audio/cmus/Makefile
head/audio/deadbeef/Makefile
head/audio/forked-daapd/Makefile
head/audio/idjc/Makefile
head/audio/kid3-kde4/Makefile
head/audio/lastfm-desktop/Makefile
head/audio/libgroove/Makefile
head/audio/libsoxr/Makefile
head/audio/moc/Makefile
head/audio/musicpd/Makefile
head/audio/pacpl/Makefile
head/audio/pianobar/Makefile
head/audio/siren/Makefile
head/audio/soundkonverter/Makefile
head/audio/spek/Makefile
head/audio/xmms2/Makefile
head/cad/netgen/Makefile
head/cad/opencascade/Makefile
head/comms/dabstick-radio/Makefile
head/deskutils/libstreamanalyzer/Makefile
head/deskutils/xfce4-tumbler/Makefile
head/devel/kf5-kfilemetadata/Makefile
head/devel/libdlna/Makefile
head/devel/renpy/Makefile
head/devel/renpy6/Makefile
head/devel/synfig/Makefile
head/emulators/dolphin-emu/Makefile
head/emulators/kcemu/Makefile
head/emulators/mgba/Makefile
head/emulators/ppsspp/Makefile
head/emulators/ppsspp-qt5/Makefile
head/emulators/rpcs3/Makefile
head/emulators/vice/Makefile
head/emulators/visualboyadvance-m/Makefile
head/games/alephone/Makefile
head/games/corsix-th/Makefile
head/games/hedgewars/Makefile
head/games/moonlight-embedded/Makefile
head/games/openmw/Makefile
head/games/retroarch/Makefile
head/games/stepmania-devel/Makefile
head/games/wargus/Makefile
head/graphics/amide/Makefile
head/graphics/blender/Makefile
head/graphics/bugle/Makefile
head/graphics/cimg/Makefile
head/graphics/gegl/Makefile
head/graphics/gegl3/Makefile
head/graphics/gimp-gmic-plugin/Makefile
head/graphics/gnash/Makefile
head/graphics/hiptext/Makefile
head/graphics/natron/Makefile
head/graphics/opencv/Makefile
head/graphics/openfx-io/Makefile
head/graphics/openimageio/Makefile
head/graphics/osg/Makefile
head/graphics/osg-devel/Makefile
head/graphics/php5-ffmpeg/Makefile
head/graphics/pqiv/Makefile
head/graphics/py-imageio/Makefile
head/graphics/wxsvg/Makefile
head/java/openjfx8-devel/Makefile
head/math/octave-forge-video/Makefile
head/math/sage/Makefile
head/multimedia/2mandvd/Makefile
head/multimedia/QtAV/Makefile
head/multimedia/audacious-plugins/Makefile
head/multimedia/audacious-plugins-gtk3/Makefile
head/multimedia/bino/Makefile
head/multimedia/ccextractor/Makefile
head/multimedia/devede/Makefile
head/multimedia/dvbcut/Makefile
head/multimedia/dvd-slideshow/Makefile
head/multimedia/dvdstyler/Makefile
head/multimedia/emby-server/Makefile
head/multimedia/ffmpeg/Makefile
head/multimedia/ffmpeg/distinfo
head/multimedia/ffmpeg/files/patch-configure
head/multimedia/ffmpeg/files/patch-libavformat_tls__openssl.c
head/multimedia/ffmpeg/pkg-plist
head/multimedia/ffmpeg2theora/Makefile
head/multimedia/ffmpegthumbnailer/Makefile
head/multimedia/ffms2/Makefile
head/multimedia/gmerlin-avdecoder/Makefile
head/multimedia/gstreamer-ffmpeg/Makefile
head/multimedia/gstreamer1-libav/Makefile
head/multimedia/harvid/Makefile
head/multimedia/imagination/Makefile
head/multimedia/k9copy-kde4/Makefile
head/multimedia/kdemultimedia-ffmpegthumbs/Makefile
head/multimedia/kdemultimedia-ffmpegthumbs-kde4/Makefile
head/multimedia/kdenlive/Makefile
head/multimedia/kdenlive-kde4/Makefile
head/multimedia/kodi-devel/Makefile
head/multimedia/libquicktime/Makefile
head/multimedia/libxine/Makefile
head/multimedia/lives/Makefile
head/multimedia/m2tstoavi/Makefile
head/multimedia/mencoder/Makefile
head/multimedia/miro/Makefile
head/multimedia/mlt/Makefile
head/multimedia/motion/Makefile
head/multimedia/mpeg4ip/Makefile
head/multimedia/mplayer/Makefile
head/multimedia/mps-youtube/Makefile
head/multimedia/mpv/Makefile
head/multimedia/nordlicht/Makefile
head/multimedia/obs-studio/Makefile
head/multimedia/omxplayer/Makefile
head/multimedia/openshot/Makefile
head/multimedia/p5-FFmpeg-Command/Makefile
head/multimedia/pHash/Makefile
head/multimedia/qmmp/Makefile
head/multimedia/qmmp-plugin-pack/Makefile
head/multimedia/qmmp-plugin-pack-qt5/Makefile
head/multimedia/qmmp-qt5/Makefile
head/multimedia/rubygem-streamio-ffmpeg/Makefile
head/multimedia/sabbu/Makefile
head/multimedia/shotcut/Makefile
head/multimedia/simplescreenrecorder/Makefile
head/multimedia/tovid/Makefile
head/multimedia/transcode/Makefile
head/multimedia/tvheadend/Makefile
head/multimedia/vapoursynth/Makefile
head/multimedia/vapoursynth-l-smash-works/Makefile
head/multimedia/vdr-plugin-markad/Makefile
head/multimedia/vdr-plugin-osdpip/Makefile
head/multimedia/vdr-plugin-softhddevice/Makefile
head/multimedia/vdr-plugin-upnp/Makefile
head/multimedia/vdr-plugin-xineliboutput/Makefile
head/multimedia/vlc/Makefile
head/multimedia/webcamoid/Makefile
head/multimedia/winff/Makefile
head/multimedia/x264/Makefile
head/multimedia/zoneminder/Makefile
head/multimedia/zoneminder-h264/Makefile
head/net/freerdp/Makefile
head/net/freerdp1/Makefile
head/net/freeswitch/Makefile
head/net/guacamole-server/Makefile
head/net/mediastreamer/Makefile
head/net/mediatomb/Makefile
head/net/minidlna/Makefile
head/net/opal/Makefile
head/net/pjsip/Makefile
head/net/serviio/Makefile
head/net-im/qTox/Makefile
head/net-im/telegram-desktop/Makefile
head/net-p2p/retroshare/Makefile
head/net-p2p/tribler/Makefile
head/sysutils/k3b-kde4/Makefile
head/sysutils/kfilemetadata-kde4/Makefile
head/sysutils/nepomuk-core-kde4/Makefile
head/sysutils/xvidcap/Makefile
head/textproc/libextractor/Makefile
head/www/cherokee/Makefile
head/www/chromium/Makefile
head/www/gallery2/Makefile
head/www/gallery3/Makefile
head/www/iridium/Makefile
head/www/libresonic-standalone/Makefile
head/www/madsonic/Makefile
head/www/madsonic-standalone/Makefile
head/www/nginx/Makefile
head/www/nginx-devel/Makefile
head/www/qt5-webengine/Makefile
head/www/subsonic-standalone/Makefile
head/www/you-get/Makefile
head/www/youtube_dl/Makefile
head/x11/leechcraft/Makefile
head/x11/xpra/Makefile
head/x11-toolkits/nucleo/Makefile

bugzilla...@freebsd.org

unread,
May 2, 2018, 11:23:59 AM5/2/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

Jan Beich <jbe...@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Flags| |maintainer-feedback?(cpm@fr
| |eebsd.org)
Status|New |In Progress

--- Comment #51 from Jan Beich <jbe...@FreeBSD.org> ---
~25 ports are marked BROKEN, out of ~180 ports. Most are leaves. I'll try to
fix more until burn out.

Carlos, can you update multimedia/mpv to 0.28.2 to serve as a silver lining?

bugzilla...@freebsd.org

unread,
May 2, 2018, 11:32:54 AM5/2/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

Jan Beich <jbe...@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Assignee|por...@FreeBSD.org |multi...@FreeBSD.org

--
You are receiving this mail because:
You are the assignee for the bug.

bugzilla...@freebsd.org

unread,
May 2, 2018, 11:49:30 AM5/2/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #52 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Wed May 2 15:47:51 UTC 2018
New revision: 468847
URL: https://svnweb.freebsd.org/changeset/ports/468847

Log:
multimedia/tvheadend: unbreak with ffmpeg 4.0

src/muxer/muxer_libav.c:177:17: error: use of undeclared identifier
'CODEC_FLAG_GLOBAL_HEADER'
c->flags |= CODEC_FLAG_GLOBAL_HEADER;
^
src/plumbing/transcoding.c:22:10: fatal error: 'libavfilter/avfiltergraph.h'
file not found
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/plumbing/transcoding.c:576:29: error: use of undeclared identifier
'CODEC_FLAG_GLOBAL_HEADER'
octx->flags |= CODEC_FLAG_GLOBAL_HEADER;
^
src/plumbing/transcoding.c:621:22: error: use of undeclared identifier
'CODEC_FLAG_BITEXACT'
octx->flags |= CODEC_FLAG_BITEXACT;
^
src/plumbing/transcoding.c:632:24: error: use of undeclared identifier
'CODEC_FLAG_QSCALE'
octx->flags |= CODEC_FLAG_QSCALE;
^
src/plumbing/transcoding.c:635:24: error: use of undeclared identifier
'CODEC_FLAG_QSCALE'
octx->flags |= CODEC_FLAG_QSCALE;
^
src/plumbing/transcoding.c:1291:30: error: use of undeclared identifier
'CODEC_FLAG_GLOBAL_HEADER'
octx->flags |= CODEC_FLAG_GLOBAL_HEADER;
^
src/plumbing/transcoding.c:1296:33: error: use of undeclared identifier
'CODEC_FLAG_QSCALE'
octx->flags |= CODEC_FLAG_QSCALE;
^
src/plumbing/transcoding.c:1342:30: error: use of undeclared identifier
'CODEC_FLAG_GLOBAL_HEADER'
octx->flags |= CODEC_FLAG_GLOBAL_HEADER;
^
src/plumbing/transcoding.c:1373:30: error: use of undeclared identifier
'CODEC_FLAG_GLOBAL_HEADER'
octx->flags |= CODEC_FLAG_GLOBAL_HEADER;
^
src/plumbing/transcoding.c:2179:29: error: use of undeclared identifier
'CODEC_CAP_EXPERIMENTAL'
if (((p->capabilities & CODEC_CAP_EXPERIMENTAL) && !experimental) ||
^
src/plumbing/transcoding.c:2194:33: error: use of undeclared identifier
'CODEC_CAP_EXPERIMENTAL'
(p->capabilities & CODEC_CAP_EXPERIMENTAL) ?
^

PR: 227726
Reported by: antoine (via exp-run)
Obtained from: upstream

Changes:
head/multimedia/tvheadend/Makefile
head/multimedia/tvheadend/distinfo

--
You are receiving this mail because:

bugzilla...@freebsd.org

unread,
May 2, 2018, 11:58:40 AM5/2/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #53 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Wed May 2 15:57:25 UTC 2018
New revision: 468848
URL: https://svnweb.freebsd.org/changeset/ports/468848

Log:
emulators/mgba: unbreak with ffmpeg 4.0

src/feature/ffmpeg/ffmpeg-encoder.c:232:29: error: use of undeclared
identifier 'CODEC_FLAG_GLOBAL_HEADER'
encoder->audio->flags |= CODEC_FLAG_GLOBAL_HEADER;
^
src/feature/ffmpeg/ffmpeg-encoder.c:294:28: error: use of undeclared
identifier 'CODEC_FLAG_GLOBAL_HEADER'
encoder->video->flags |= CODEC_FLAG_GLOBAL_HEADER;
^

PR: 227726
Reported by: antoine (via exp-run)
Obtained from: upstream (mgba 0.6.2)

Changes:
head/emulators/mgba/Makefile
head/emulators/mgba/distinfo

--
You are receiving this mail because:

bugzilla...@freebsd.org

unread,
May 2, 2018, 11:59:35 AM5/2/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

Jan Beich <jbe...@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Depends on|227346 |


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227346
[Bug 227346] emulators/mgba: update to 0.6.2, build libretro core
--
You are receiving this mail because:

bugzilla...@freebsd.org

unread,
May 2, 2018, 12:35:20 PM5/2/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #54 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Wed May 2 16:33:59 UTC 2018
New revision: 468853
URL: https://svnweb.freebsd.org/changeset/ports/468853

Log:
net/freeswitch: unbreak with ffmpeg 4.0

avcodec.c:194:40: error: use of undeclared identifier
'FF_INPUT_BUFFER_PADDING_SIZE'
static uint8_t ff_input_buffer_padding[FF_INPUT_BUFFER_PADDING_SIZE] = { 0 };
^
avformat.c:471:14: error: use of undeclared identifier
'CODEC_FLAG_LOOP_FILTER'
c->flags|=CODEC_FLAG_LOOP_FILTER; // flags=+loop
^
avformat.c:477:47: error: use of undeclared identifier 'ME_HEX'
av_opt_set_int(c->priv_data, "motion_est", ME_HEX,
0);
^
avformat.c:553:15: error: use of undeclared identifier
'CODEC_FLAG_GLOBAL_HEADER'
c->flags |= CODEC_FLAG_GLOBAL_HEADER;
^
avformat.c:638:31: error: use of undeclared identifier
'CODEC_CAP_VARIABLE_FRAME_SIZE'
if (c->codec->capabilities & CODEC_CAP_VARIABLE_FRAME_SIZE) {
^

PR: 227726
Reported by: antoine (via exp-run)

Changes:
head/net/freeswitch/Makefile
head/net/freeswitch/files/patch-ffmpeg4

--
You are receiving this mail because:

bugzilla...@freebsd.org

unread,
May 2, 2018, 1:42:18 PM5/2/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #56 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Wed May 2 17:41:01 UTC 2018
New revision: 468858
URL: https://svnweb.freebsd.org/changeset/ports/468858

Log:
net-p2p/retroshare: unbreak with ffmpeg 4.0

gui/VideoProcessor.cpp:456:40: error: use of undeclared identifier
'CODEC_CAP_TRUNCATED'
if (encoding_codec->capabilities & CODEC_CAP_TRUNCATED)
^
gui/VideoProcessor.cpp:457:36: error: use of undeclared identifier
'CODEC_FLAG_TRUNCATED'
encoding_context->flags |= CODEC_FLAG_TRUNCATED;
^
gui/VideoProcessor.cpp:458:32: error: use of undeclared identifier
'CODEC_FLAG_PSNR'
encoding_context->flags |= CODEC_FLAG_PSNR;//Peak signal-to-noise ratio
^
gui/VideoProcessor.cpp:459:32: error: use of undeclared identifier
'CODEC_CAP_PARAM_CHANGE'
encoding_context->flags |= CODEC_CAP_PARAM_CHANGE;
^
gui/VideoProcessor.cpp:552:39: error: use of undeclared identifier
'CODEC_CAP_TRUNCATED'
if(decoding_codec->capabilities & CODEC_CAP_TRUNCATED)
^
gui/VideoProcessor.cpp:553:36: error: use of undeclared identifier
'CODEC_FLAG_TRUNCATED'
decoding_context->flags |= CODEC_FLAG_TRUNCATED; // we do not send
complete frames
^
gui/VideoProcessor.cpp:555:33: error: use of undeclared identifier
'CODEC_FLAG2_CHUNKS'
decoding_context->flags2 |= CODEC_FLAG2_CHUNKS;
^

PR: 227726
Reported by: antoine (via exp-run)

Changes:
head/net-p2p/retroshare/Makefile
head/net-p2p/retroshare/files/patch-ffmpeg4

bugzilla...@freebsd.org

unread,
May 2, 2018, 2:31:58 PM5/2/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #57 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Wed May 2 18:30:14 UTC 2018
New revision: 468862
URL: https://svnweb.freebsd.org/changeset/ports/468862

Log:
multimedia/zoneminder{,-h264}: unbreak with ffmpeg 4.0

src/zm_mpeg.cpp:243:19: error: use of undeclared identifier
'CODEC_FLAG_QSCALE'
c->flags |= CODEC_FLAG_QSCALE;
^
src/zm_mpeg.cpp:268:19: error: use of undeclared identifier
'CODEC_FLAG_GLOBAL_HEADER'
c->flags |= CODEC_FLAG_GLOBAL_HEADER;
^
src/zm_mpeg.cpp:428:22: error: use of undeclared identifier
'AVFMT_RAWPICTURE'
if ( !(of->flags & AVFMT_RAWPICTURE) )
^
src/zm_mpeg.cpp:675:20: error: use of undeclared identifier
'AVFMT_RAWPICTURE'
if ( of->flags & AVFMT_RAWPICTURE )
^
src/zm_sdp.cpp:497:38: error: use of undeclared
identifier 'FF_INPUT_BUFFER_PADDING_SIZE'
packet_size, 0, FF_INPUT_BUFFER_PADDING_SIZE);
^
src/zm_videostore.cpp:116:31: error: use of undeclared identifier
'CODEC_FLAG_GLOBAL_HEADER'
video_st->codec->flags |= CODEC_FLAG_GLOBAL_HEADER;
^
src/zm_videostore.cpp:149:35: error: use of undeclared identifier
'CODEC_FLAG_GLOBAL_HEADER'
audio_st->codec->flags |= CODEC_FLAG_GLOBAL_HEADER;
^
src/zm_videostore.cpp:286:74: error: use of undeclared identifier
'AVFMT_RAWPICTURE'
if (video_st->codec->codec_type == AVMEDIA_TYPE_VIDEO && (fmt->flags &
AVFMT_RAWPICTURE)) {
^

PR: 227726
Reported by: antoine (via exp-run)

Changes:
head/multimedia/zoneminder/Makefile
head/multimedia/zoneminder/files/patch-ffmpeg4
head/multimedia/zoneminder-h264/Makefile
head/multimedia/zoneminder-h264/files/patch-ffmpeg4

--
You are receiving this mail because:

bugzilla...@freebsd.org

unread,
May 3, 2018, 12:11:56 PM5/3/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #58 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Thu May 3 16:10:22 UTC 2018
New revision: 468936
URL: https://svnweb.freebsd.org/changeset/ports/468936

Log:
multimedia/lives: unbreak with ffmpeg 4.0

flv_decoder.c:468:44: error: use of undeclared identifier
'FF_INPUT_BUFFER_PADDING_SIZE'
priv->ctx->extradata = av_mallocz(size + FF_INPUT_BUFFER_PADDING_SIZE);
^

PR: 227726
Reported by: antoine (via exp-run)
Obtained from: upstream (LiVES 2.8.8)

Changes:
head/multimedia/lives/Makefile
head/multimedia/lives/files/patch-ffmpeg4

bugzilla...@freebsd.org

unread,
May 3, 2018, 12:36:11 PM5/3/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #59 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Thu May 3 16:34:19 UTC 2018
New revision: 468938
URL: https://svnweb.freebsd.org/changeset/ports/468938

Log:
multimedia/libquicktime: unbreak with ffmpeg 4.0

audio.c:549:37: error: use of undeclared identifier
'FF_INPUT_BUFFER_PADDING_SIZE'
codec->pkt.size = packet_size + FF_INPUT_BUFFER_PADDING_SIZE;
^

PR: 227726
Reported by: antoine (via exp-run)
Obtained from: Gentoo

Changes:
head/multimedia/libquicktime/Makefile
head/multimedia/libquicktime/files/patch-z-ffmpeg4

--
You are receiving this mail because:

bugzilla...@freebsd.org

unread,
May 3, 2018, 2:39:13 PM5/3/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #60 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Thu May 3 18:38:06 UTC 2018
New revision: 468955
URL: https://svnweb.freebsd.org/changeset/ports/468955

Log:
multimedia/dvdstyler: unbreak with ffmpeg 4.0

mediaenc_ffmpeg.cpp:215:18: error: use of undeclared identifier
'CODEC_FLAG_GLOBAL_HEADER'
c->flags |= CODEC_FLAG_GLOBAL_HEADER;
^

PR: 227726
Reported by: antoine (via exp-run)

Changes:
head/multimedia/dvdstyler/Makefile
head/multimedia/dvdstyler/files/patch-src_mediaenc__ffmpeg.cpp

bugzilla...@freebsd.org

unread,
May 3, 2018, 3:03:37 PM5/3/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #61 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Thu May 3 19:02:29 UTC 2018
New revision: 468975
URL: https://svnweb.freebsd.org/changeset/ports/468975

Log:
x11-toolkits/nucleo: unbreak with ffmpeg 4.0

ffmpegImageSink.cxx:137:39: error: use of undeclared identifier
'AVFMT_RAWPICTURE'
} else if (output_format->flags & AVFMT_RAWPICTURE) {
^
ffmpegImageSink.cxx:198:20: error: no member named 'me_method' in
'AVCodecContext'
codec_context->me_method = ME_EPZS ; // ME_ZERO
~~~~~~~~~~~~~ ^
ffmpegImageSink.cxx:198:32: error: use of undeclared identifier 'ME_EPZS'
codec_context->me_method = ME_EPZS ; // ME_ZERO
^
ffmpegImageSink.cxx:212:27: error: use of undeclared identifier
'CODEC_FLAG_GLOBAL_HEADER'
codec_context->flags |= CODEC_FLAG_GLOBAL_HEADER ;
^

PR: 227726
Reported by: antoine (via exp-run)

Changes:
head/x11-toolkits/nucleo/Makefile

head/x11-toolkits/nucleo/files/patch-nucleo__plugins__ffmpeg__ffmpegImageSink.cxx

--
You are receiving this mail because:

bugzilla...@freebsd.org

unread,
May 3, 2018, 3:21:52 PM5/3/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #62 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Thu May 3 19:20:29 UTC 2018
New revision: 468978
URL: https://svnweb.freebsd.org/changeset/ports/468978

Log:
audio/idjc: unbreak with ffmpeg 4.0

avcodec_encoder.c:118:78: error: 'FF_INPUT_BUFFER_PADDING_SIZE' undeclared
(first use in this function)
if (posix_memalign((void *)&s->inbuf, BYTE_ALIGNMENT, s->inbufsize +
FF_INPUT_BUFFER_PADDING_SIZE)) {

^~~~~~~~~~~~~~~~~~~~~~~~~~~~
avcodec_encoder.c:125:68: error: 'FF_MIN_BUFFER_SIZE' undeclared (first use
in this function)
if (posix_memalign((void *)&s->avpkt.data, BYTE_ALIGNMENT,
FF_MIN_BUFFER_SIZE)) {

^~~~~~~~~~~~~~~~~~
avcodec_encoder.c:199:52: error: 'CODEC_CAP_DELAY' undeclared (first use in
this function)
if (final && (s->codec->capabilities | CODEC_CAP_DELAY)) {
^~~~~~~~~~~~~~~
avcodec_encoder.c:212:71: error: 'CODEC_CAP_VARIABLE_FRAME_SIZE' undeclared
(first use in this function)
if (!final || s->codec->capabilities & (CODEC_CAP_DELAY |
CODEC_CAP_VARIABLE_FRAME_SIZE | CODEC_CAP_SMALL_LAST_FRAME)) {

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
avcodec_encoder.c:212:103: error: 'CODEC_CAP_SMALL_LAST_FRAME' undeclared
(first use in this function)
if (!final || s->codec->capabilities & (CODEC_CAP_DELAY |
CODEC_CAP_VARIABLE_FRAME_SIZE | CODEC_CAP_SMALL_LAST_FRAME)) {

^~~~~~~~~~~~~~~~~~~~~~~~~~

PR: 227726
Reported by: antoine (via exp-run)

Changes:
head/audio/idjc/Makefile
head/audio/idjc/files/
head/audio/idjc/files/patch-c_avcodec__encoder.c

--
You are receiving this mail because:

bugzilla...@freebsd.org

unread,
May 3, 2018, 3:52:15 PM5/3/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #63 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Thu May 3 19:50:40 UTC 2018
New revision: 468981
URL: https://svnweb.freebsd.org/changeset/ports/468981

Log:
multimedia/vdr-plugin-markad: unbreak with ffmpeg 4.0

decoder.cpp:175:23: error: use of undeclared identifier
'AV_CODEC_ID_MPEG2VIDEO_XVMC'; did you mean 'AV_CODEC_ID_MPEG2VIDEO'?
video_codecid=AV_CODEC_ID_MPEG2VIDEO_XVMC;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
AV_CODEC_ID_MPEG2VIDEO
/usr/local/include/libavcodec/avcodec.h:220:5: note: 'AV_CODEC_ID_MPEG2VIDEO'
declared here
AV_CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding
^
decoder.cpp:179:43: error: use of undeclared identifier
'AV_CODEC_ID_MPEG2VIDEO_XVMC'; did you mean 'AV_CODEC_ID_MPEG2VIDEO'?
if ((!video_codec) && (video_codecid==AV_CODEC_ID_MPEG2VIDEO_XVMC))
^~~~~~~~~~~~~~~~~~~~~~~~~~~
AV_CODEC_ID_MPEG2VIDEO
/usr/local/include/libavcodec/avcodec.h:220:5: note: 'AV_CODEC_ID_MPEG2VIDEO'
declared here
AV_CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding
^
decoder.cpp:191:45: error: use of undeclared identifier 'CODEC_CAP_TRUNCATED'
if (video_codec->capabilities & CODEC_CAP_TRUNCATED)
^
decoder.cpp:192:39: error: use of undeclared identifier
'CODEC_FLAG_TRUNCATED'
video_context->flags|=CODEC_FLAG_TRUNCATED; // we do not send
complete frames
^
decoder.cpp:194:36: error: use of undeclared identifier 'CODEC_FLAG2_FAST'
video_context->flags2|=CODEC_FLAG2_FAST; // really?
^
decoder.cpp:201:40: error: use of undeclared identifier 'CODEC_FLAG2_CHUNKS'
video_context->flags2|=CODEC_FLAG2_CHUNKS; // needed for
H264!
^
decoder.cpp:214:46: error: use of undeclared identifier
'AV_CODEC_ID_MPEG2VIDEO_XVMC'; did you mean 'AV_CODEC_ID_MPEG2VIDEO'?
if ((ret < 0) && (video_codecid==AV_CODEC_ID_MPEG2VIDEO_XVMC))
^~~~~~~~~~~~~~~~~~~~~~~~~~~
AV_CODEC_ID_MPEG2VIDEO
/usr/local/include/libavcodec/avcodec.h:220:5: note: 'AV_CODEC_ID_MPEG2VIDEO'
declared here
AV_CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding
^
decoder.cpp:224:43: error: no member named 'codec_name' in 'AVCodecContext';
did you mean 'coded_frame'?

memset(video_context->codec_name,0,sizeof(video_context->codec_name));
^~~~~~~~~~
coded_frame
/usr/local/include/libavcodec/avcodec.h:2760:35: note: 'coded_frame' declared
here
attribute_deprecated AVFrame *coded_frame;
^
decoder.cpp:224:78: error: no member named 'codec_name' in 'AVCodecContext'

memset(video_context->codec_name,0,sizeof(video_context->codec_name));
~~~~~~~~~~~~~
^
decoder.cpp:244:22: error: use of undeclared identifier
'AV_CODEC_ID_MPEG2VIDEO_XVMC'; did you mean 'AV_CODEC_ID_MPEG2VIDEO'?
case AV_CODEC_ID_MPEG2VIDEO_XVMC:
^~~~~~~~~~~~~~~~~~~~~~~~~~~
AV_CODEC_ID_MPEG2VIDEO
/usr/local/include/libavcodec/avcodec.h:220:5: note: 'AV_CODEC_ID_MPEG2VIDEO'
declared here
AV_CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding
^
decoder.cpp:247:22: error: duplicate case value 'AV_CODEC_ID_MPEG2VIDEO'
case AV_CODEC_ID_MPEG2VIDEO:
^
decoder.cpp:244:22: note: previous case defined here
case AV_CODEC_ID_MPEG2VIDEO_XVMC:
^
decoder.cpp:305:14: error: use of undeclared identifier
'AV_CODEC_ID_MPEG2VIDEO_XVMC'; did you mean 'AV_CODEC_ID_MPEG2VIDEO'?
case AV_CODEC_ID_MPEG2VIDEO_XVMC:
^~~~~~~~~~~~~~~~~~~~~~~~~~~
AV_CODEC_ID_MPEG2VIDEO
/usr/local/include/libavcodec/avcodec.h:220:5: note: 'AV_CODEC_ID_MPEG2VIDEO'
declared here
AV_CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding
^
decoder.cpp:308:14: error: duplicate case value 'AV_CODEC_ID_MPEG2VIDEO'
case AV_CODEC_ID_MPEG2VIDEO:
^
decoder.cpp:305:14: note: previous case defined here
case AV_CODEC_ID_MPEG2VIDEO_XVMC:
^

PR: 227726
Reported by: antoine (via exp-run)

Changes:
head/multimedia/vdr-plugin-markad/Makefile
head/multimedia/vdr-plugin-markad/files/patch-command_decoder.cpp

--
You are receiving this mail because:

bugzilla...@freebsd.org

unread,
May 4, 2018, 7:41:12 AM5/4/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #64 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Fri May 4 11:39:58 UTC 2018
New revision: 469015
URL: https://svnweb.freebsd.org/changeset/ports/469015

Log:
multimedia/bino: unbreak with ffmpeg 4.0

media_object.cpp:908:60: error: use of undeclared identifier 'CODEC_CAP_DR1'
if (lowres || (codec && (codec->capabilities & CODEC_CAP_DR1)))
^
media_object.cpp:909:37: error: use of undeclared identifier
'CODEC_FLAG_EMU_EDGE'
codec_ctx->flags |= CODEC_FLAG_EMU_EDGE;
^

PR: 227726
Reported by: antoine (via exp-run)

Changes:
head/multimedia/bino/Makefile
head/multimedia/bino/files/patch-src_media__object.cpp

--
You are receiving this mail because:

bugzilla...@freebsd.org

unread,
May 4, 2018, 7:42:08 AM5/4/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #65 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Fri May 4 11:40:15 UTC 2018
New revision: 469016
URL: https://svnweb.freebsd.org/changeset/ports/469016

Log:
multimedia/ccextractor: unbreak with ffmpeg 4.0

src/lib_ccx/ffmpeg_intgr.c:5:10: fatal error: 'libavfilter/avfiltergraph.h'
file not found
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

PR: 227726
Reported by: antoine (via exp-run)

Changes:
head/multimedia/ccextractor/Makefile
head/multimedia/ccextractor/files/patch-src_lib__ccx_ffmpeg__intgr.c

bugzilla...@freebsd.org

unread,
May 4, 2018, 7:42:11 AM5/4/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #67 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Fri May 4 11:40:45 UTC 2018
New revision: 469018
URL: https://svnweb.freebsd.org/changeset/ports/469018

Log:
graphics/php5-ffmpeg: unbreak with ffmpeg 4.0

ffmpeg_movie.c:978:29: error: no member named 'codec_name' in 'struct
AVCodecContext'; did you mean 'coded_frame'?
} else if (decoder_ctx->codec_name[0] != '\0') {
^~~~~~~~~~
coded_frame
/usr/local/include/libavcodec/avcodec.h:2760:35: note: 'coded_frame' declared
here
attribute_deprecated AVFrame *coded_frame;
^
ffmpeg_movie.c:978:43: error: invalid operands to binary expression
('AVFrame' (aka 'struct AVFrame') and 'int')
} else if (decoder_ctx->codec_name[0] != '\0') {
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
ffmpeg_movie.c:979:35: error: no member named 'codec_name' in 'struct
AVCodecContext'
codec_name = decoder_ctx->codec_name;
~~~~~~~~~~~ ^

PR: 227726
Reported by: antoine (via exp-run)

Changes:
head/graphics/php5-ffmpeg/Makefile
head/graphics/php5-ffmpeg/files/patch-ffmpeg_movie.c

bugzilla...@freebsd.org

unread,
May 4, 2018, 7:42:17 AM5/4/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #68 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Fri May 4 11:40:59 UTC 2018
New revision: 469019
URL: https://svnweb.freebsd.org/changeset/ports/469019

Log:
audio/forked-daapd: unbreak with ffmpeg 4.0

artwork.c:448:19: error: use of undeclared identifier
'CODEC_FLAG_GLOBAL_HEADER'
dst->flags |= CODEC_FLAG_GLOBAL_HEADER;
^
transcode.c:29:10: fatal error: 'libavfilter/avfiltergraph.h' file not found
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
transcode.c:562:76: error: use of undeclared identifier 'CODEC_CAP_DELAY'
if (!(ctx->ofmt_ctx->streams[stream_index]->codec->codec->capabilities &
CODEC_CAP_DELAY))
^
transcode.c:807:20: error: use of undeclared identifier
'CODEC_FLAG_GLOBAL_HEADER'
enc_ctx->flags |= CODEC_FLAG_GLOBAL_HEADER;
^

PR: 227726
Reported by: antoine (via exp-run)

Changes:
head/audio/forked-daapd/Makefile
head/audio/forked-daapd/files/patch-ffmpeg4

bugzilla...@freebsd.org

unread,
May 4, 2018, 7:42:27 AM5/4/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #66 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Fri May 4 11:40:30 UTC 2018
New revision: 469017
URL: https://svnweb.freebsd.org/changeset/ports/469017

Log:
multimedia/miro: unbreak with ffmpeg 4.0

linux/miro-segmenter.c:103:48: error: use of undeclared identifier
'CODEC_FLAG_GLOBAL_HEADER'
output_codec_context->flags |= CODEC_FLAG_GLOBAL_HEADER;
^
linux/miro-segmenter.c:270:46: error: no member named 'pts' in 'struct
AVStream'
segment_time = (double)video_st->pts.val *
video_st->time_base.num / video_st->time_base.den;
~~~~~~~~ ^
linux/miro-segmenter.c:273:46: error: no member named 'pts' in 'struct
AVStream'
segment_time = (double)audio_st->pts.val *
audio_st->time_base.num / audio_st->time_base.den;
~~~~~~~~ ^

PR: 227726
Reported by: antoine (via exp-run)

Changes:
head/multimedia/miro/Makefile
head/multimedia/miro/files/patch-linux_miro-segmenter.c

bugzilla...@freebsd.org

unread,
May 4, 2018, 7:43:13 AM5/4/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #69 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Fri May 4 11:41:14 UTC 2018
New revision: 469020
URL: https://svnweb.freebsd.org/changeset/ports/469020

Log:
audio/libgroove: unbreak with ffmpeg 4.0

groove/encoder.c:619:59: error: use of undeclared identifier
'CODEC_CAP_VARIABLE_FRAME_SIZE'
e->sink->buffer_sample_count = (codec->capabilities &
CODEC_CAP_VARIABLE_FRAME_SIZE) ?
^
groove/file.c:284:66: error: use of undeclared identifier
'FF_INPUT_BUFFER_PADDING_SIZE'
uint64_t extra_size = (uint64_t)icodec->extradata_size +
FF_INPUT_BUFFER_PADDING_SIZE;
^
groove/playlist.c:189:63: error: use of undeclared identifier
'CODEC_CAP_DELAY'
if (!pkt_temp->data && dec->codec->capabilities &
CODEC_CAP_DELAY)
^
groove/playlist.c:574:55: error: use of undeclared identifier
'CODEC_CAP_DELAY'
if (f->audio_st->codec->codec->capabilities & CODEC_CAP_DELAY) {
^
groove/playlist.c:990:22: error: assigning to 'AVFilter *' (aka 'struct
AVFilter *') from 'const AVFilter *' (aka 'const struct AVFilter *') discards
qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
p->volume_filter = avfilter_get_by_name("volume");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
groove/playlist.c:997:23: error: assigning to 'AVFilter *' (aka 'struct
AVFilter *') from 'const AVFilter *' (aka 'const struct AVFilter *') discards
qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
p->compand_filter = avfilter_get_by_name("compand");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
groove/playlist.c:1004:23: error: assigning to 'AVFilter *' (aka 'struct
AVFilter *') from 'const AVFilter *' (aka 'const struct AVFilter *') discards
qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
p->abuffer_filter = avfilter_get_by_name("abuffer");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
groove/playlist.c:1011:22: error: assigning to 'AVFilter *' (aka 'struct
AVFilter *') from 'const AVFilter *' (aka 'const struct AVFilter *') discards
qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
p->asplit_filter = avfilter_get_by_name("asplit");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
groove/playlist.c:1018:23: error: assigning to 'AVFilter *' (aka 'struct
AVFilter *') from 'const AVFilter *' (aka 'const struct AVFilter *') discards
qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
p->aformat_filter = avfilter_get_by_name("aformat");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
groove/playlist.c:1025:27: error: assigning to 'AVFilter *' (aka 'struct
AVFilter *') from 'const AVFilter *' (aka 'const struct AVFilter *') discards
qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
p->abuffersink_filter = avfilter_get_by_name("abuffersink");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

PR: 227726
Reported by: antoine (via exp-run)

Changes:
head/audio/libgroove/Makefile
head/audio/libgroove/files/patch-ffmpeg4

--
You are receiving this mail because:

bugzilla...@freebsd.org

unread,
May 4, 2018, 7:43:18 AM5/4/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #70 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Fri May 4 11:41:29 UTC 2018
New revision: 469021
URL: https://svnweb.freebsd.org/changeset/ports/469021

Log:
multimedia/simplescreenrecorder: unbreak with ffmpeg 4.0

src/AV/Output/AudioEncoder.cpp:61:51: error: use of undeclared identifier
'CODEC_CAP_VARIABLE_FRAME_SIZE'
return (GetCodecContext()->codec->capabilities &
CODEC_CAP_VARIABLE_FRAME_SIZE)? DEFAULT_FRAME_SAMPLES :
GetCodecContext()->frame_size;
^
src/AV/Output/AudioEncoder.cpp:125:28: error: use of undeclared identifier
'CODEC_FLAG_QSCALE'
codec_context->flags |= CODEC_FLAG_QSCALE;
^

PR: 227726
Reported by: antoine (via exp-run)

Changes:
head/multimedia/simplescreenrecorder/Makefile
head/multimedia/simplescreenrecorder/files/patch-ffmpeg4

bugzilla...@freebsd.org

unread,
May 4, 2018, 7:44:23 AM5/4/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #71 from Jan Beich <jbe...@FreeBSD.org> ---
(In reply to Antoine Brodin from comment #44)
> + {"origin"=>"multimedia/dvbcut", "phase"=>"build", "errortype"=>"clang"}

Fixed by ports r469010.

bugzilla...@freebsd.org

unread,
May 4, 2018, 4:02:59 PM5/4/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #72 from Antoine Brodin <ant...@FreeBSD.org> ---
It seems that net/guacamole-server now fails to build, which was not noticed
during exp-run (skipped because of freerdp1)

--
You are receiving this mail because:

bugzilla...@freebsd.org

unread,
May 4, 2018, 5:03:11 PM5/4/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #73 from Jan Beich <jbe...@FreeBSD.org> ---
Here's the remaining fallout:
- games/retroarch has an upstream fix and pending update
- graphics/openfx-io landed after exp-run
- net/freerdp1 upstream fix doesn't apply
- net/guacamole-server -Werror usage

Most bustage comes down to:
- libavfilter/avfiltergraph.h -> drop or replace with libavfilter/avfilter.h
- FF_INPUT_BUFFER_PADDING_SIZE -> AV_INPUT_BUFFER_PADDING_SIZE
- FF_MIN_BUFFER_SIZE -> AV_INPUT_BUFFER_MIN_SIZE
- FF_MAX_B_FRAMES -> INT_MAX
- CODEC_(CAP|FLAG)_* -> AV_CODEC_(CAP|FLAG)_*
- CODEC_FLAG_EMU_EDGE and AVFMT_RAWPICTURE can be removed or ifdef'd out
- avctx->foo -> av_opt_set(avctx->priv_data, "foo", ...) but check "foo"
spelling and type
- avctx->codec_name -> avcodec_get_name(avctx->codec_id)
- avstream->pts -> av_stream_get_end_pts(avstream)

multimedia/gstreamer1-libav simply had a very large number of errors.

bugzilla...@freebsd.org

unread,
May 6, 2018, 12:16:22 PM5/6/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #74 from Carlos J. Puga Medina <c...@freebsd.org> ---
(In reply to Jan Beich from comment #51)

Hi Jan,

Please, see bug 227994 for more details.

bugzilla...@freebsd.org

unread,
May 9, 2018, 4:03:23 PM5/9/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #75 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Wed May 9 20:01:33 UTC 2018
New revision: 469464
URL: https://svnweb.freebsd.org/changeset/ports/469464

Log:
net/guacamole-server: unbreak and re-enable GUACENC

PR: 227726
Approved by: ultima (maintainer)

Changes:
head/net/guacamole-server/Makefile

bugzilla...@freebsd.org

unread,
Jun 18, 2018, 9:50:32 AM6/18/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

Jan Beich <jbe...@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Keywords| |security
Depends on|227345, 227748 |
Status|In Progress |Closed

--- Comment #76 from Jan Beich <jbe...@FreeBSD.org> ---
CVE-2018-6912, CVE-2018-7751, CVE-2018-7557 are fixed in 4.0 according to
https://ffmpeg.org/security.html.


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227345
[Bug 227345] games/retroarch: update to 1.7.1, add WAYLAND option
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227748
[Bug 227748] multimedia/gstreamer1-libav: fails to build with ffmpeg 4.0
(blocks 300 ports)
--
You are receiving this mail because:

bugzilla...@freebsd.org

unread,
Jun 18, 2018, 9:52:58 AM6/18/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

Jan Beich <jbe...@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Depends on| |227345, 227748

bugzilla...@freebsd.org

unread,
Jun 18, 2018, 10:08:18 AM6/18/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #77 from commi...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Mon Jun 18 14:07:19 UTC 2018
New revision: 472695
URL: https://svnweb.freebsd.org/changeset/ports/472695

Log:
multimedia/ffmpeg: update to 4.0.1

Changes: https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.0.1:/Changelog
ABI: https://abi-laboratory.pro/tracker/timeline/ffmpeg/
Security: CVE-2018-12458, CVE-2018-12459, CVE-2018-12460
PR: 227726 (for tracking)

Changes:
head/multimedia/ffmpeg/Makefile
head/multimedia/ffmpeg/distinfo

--
You are receiving this mail because:
0 new messages