Bug 261302

Summary: multimedia/ffmpeg: update to 6.0
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: Port Management Team <portmgr>
Status: Closed FIXED    
Severity: Affects Only Me CC: 2khramtsov, Alexander88207, diizzy, eduardo, fluffy, george, kai, lbfoo, marietto2008, mfburdett, milios, mmel, multimedia, omatsuda000, osa, riggs, tcberner, void, vvd, yzrh
Priority: --- Keywords: needs-qa, patch
Version: LatestFlags: tcberner: maintainer-feedback+
jbeich: exp-run?
Hardware: Any   
OS: Any   
URL: https://github.com/FFmpeg/FFmpeg/blob/n6.0/Changelog
Bug Depends on: 270021, 270179, 270187, 270192, 270194, 270196, 270197, 270198, 270199, 270200, 270201, 270202, 270205, 270206, 270207, 270208, 270212, 270213, 270214, 270217, 270218, 270220, 270226, 270248, 270251, 270255, 270256, 270257, 270275, 270276, 270281, 270293, 270294, 270295, 270296, 270297, 270301, 270303, 270309, 270310, 270313, 270314, 270315, 270316, 270324, 270325, 270569, 271120, 271145, 271360    
Bug Blocks:    
Attachments:
Description Flags
v1 (apply via "git am")
none
v1 (apply via "git am")
none
v1 (apply via "git am")
none
v1.1 (apply via "git am")
none
v1.1 (apply via "git am")
none
v1.1 (apply via "git am")
none
v2 (apply via "git am")
none
v2.1 ("git am")
none
v2.2 ("git am")
none
v2.3 (apply via "git am")
none
v2.4 (apply via "git am")
none
v2.5 (apply via "git am")
none
v2.5 (apply via "git am")
none
v2.5 (apply via "git am")
none
v2.5 (apply via "git am")
none
v2.5 (apply via "git am")
none
v2.5 (apply via "git am")
none
v2.6 (apply via "git am")
none
v3 (apply via "git am")
none
v3 (apply via "git am")
none
v3 (apply via "git am")
none
Patch for exp-run
none
ffmpeg-6.0,1.log none

Description Jan Beich freebsd_committer freebsd_triage 2022-01-18 10:39:49 UTC
Created attachment 231123 [details]
v1 (apply via "git am")

API removed deprecated stuff, so all consumers need build testing.
ABI is incompatible, so all consumers have to be force-rebuilt.
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-01-18 13:02:30 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b5fd7267c3cf0f5ed7de9a0e6b0934ea46e9dd7a

commit b5fd7267c3cf0f5ed7de9a0e6b0934ea46e9dd7a
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-01-18 12:58:03 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-01-18 13:01:10 +0000

    multimedia/gstreamer1-libav: unbreak with ffmpeg 5.0

    gstavdemux.c:486:26: error: no member named 'index_entries' in 'struct AVStream'
          fftarget = stream->index_entries[keyframeidx].timestamp;
                     ~~~~~~  ^

    PR:             261302
    Regressed by:   https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/cea7c19cda0e

 multimedia/gstreamer1-libav/Makefile | 3 +++
 multimedia/gstreamer1-libav/distinfo | 2 ++
 2 files changed, 5 insertions(+)
Comment 2 Antoine Brodin freebsd_committer freebsd_triage 2022-01-22 19:36:53 UTC
Some new failure logs:

http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/DDNet-15.8.1.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/QtAV-1.13.0_3.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/RetroArch-1.9.7.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/alephone-20190331_2.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/aqualung-1.0_17.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/aubio-0.4.9_1.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/audacious-plugins-4.1_3.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/audacious-plugins-gtk2-4.1_3.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/av1an-0.3.1.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/bino-1.6.5_6.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/blender-2.91.0_16.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/blender-lts28-2.83.15_10.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/bliss-music-analyzer-1.2.0.6.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/ccextractor-0.85_22.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/cfdg-3.3_1.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/chromaprint-1.5.0.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/citra-qt5-s20220108.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/citra-s20220108.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/corsixth-0.65.1.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/cyanrip-0.7.0.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/dolphin-emu-5.0.12716_3.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/dvbcut-0.7.3_6.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/electricsheep-3.0.2.20191005_2,1.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/electron13-13.6.7.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/emu64-5.0.19_1.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/ffmpeg2theora-0.30_6.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/ffmpegthumbnailer-2.2.2.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/freeswitch-1.10.3_2.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/fs2open-21.4.1.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/gnash-0.8.10_47.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/goldendict-1.5.0.g20210115.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/guacamole-server-1.4.0.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/haruna-0.7.3_1.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/harvid-0.8.2_3.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/hedgewars-1.0.0_6.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/ignition-common-3.0.0_5.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/kcemu-0.5.1_20.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/kdemultimedia-ffmpegthumbs-21.12.1.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/kodi-19.3_2.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/libdlna-0.2.3_12.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/libextractor-1.11.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/libquicktime-1.2.4_31.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/libretro-ppsspp-1.12.3.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/libxine-1.2.11_7.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/lms-3.25.2.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/mediastreamer-2.16.1_6.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/mlt6-6.26.1_4.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/mlt7-7.0.1_1.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/motion-4.3.2_3.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/musikcube-0.96.10_1.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/mythplugin-mythmusic-31.0.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/nginx-full-1.20.2_7,2.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/nordlicht-0.4.5_5.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/octave-forge-video-2.0.2.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/olive-video-editor-0.1.2_1.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/opal-3.10.10_29.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/opencascade-7.6.0_1.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/openjfx14-14.0.2.1+1_4.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/osg-3.6.5_33.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/osg34-3.4.1_33.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/pangolin-0.6_1.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/pcsxr-1.9.95.20180604_5.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/pianobar-2020.11.28.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/ppsspp-1.12.3.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/ppsspp-qt5-1.12.3.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/py38-av-8.0.3.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/py38-libopenshot-0.2.7_1.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/qTox-1.17.4.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/qt5-webengine-5.15.2_5.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/rpcs3-0.0.20.13200.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/scrcpy-1.21.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/simplescreenrecorder-0.4.3_2.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/siren-0.9_4.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/spek-0.8.2_17.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/squeezelite-1.9.7.1253.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/subtitlecomposer-0.7.1_1.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/telegram-desktop-3.4.3.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/timg-1.4.0.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/transcode-1.1.7_48.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/unpaper-6.1.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/vapoursynth-l-smash-works-0.0.940.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/vdr-plugin-markad-0.1.4_10.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/vdr-plugin-osdpip-0.1.2_9.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/vice-3.5_2.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/vlc-3.0.16_9,4.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/wdune-1.926_3.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/webcamoid-8.8.0_2.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/wf-recorder-0.2.1.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/wxsvg-1.5.23.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/zoneminder-1.36.12.log
Comment 3 Jan Beich freebsd_committer freebsd_triage 2022-01-22 20:47:49 UTC
(In reply to Antoine Brodin from comment #2)
> http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/rpcs3-0.0.20.13200.log

Fixed by ports 814fc6db724a. Looks like ~200 ports are hidden by dependencies:

$ fetch -qo- 'http://www.ipv6proxy.net/go.php?u=http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/.data.json' |
  jq '.skipped | to_entries | sort_by(.value) | reverse | .[:20] | from_entries'
{
  "qt5-webengine-5.15.2_5": 96,
  "chromaprint-1.5.0": 36,
  "accountsservice-0.6.55_1": 31,     # bug 260943 fallout
  "vlc-3.0.16_9,4": 24,
  "opencascade-7.6.0_1": 24,
  "kodi-19.3_2": 16,
  "py38-httpx-0.21.1": 13,            # ignore (unrelated to ffmpeg)
  "mlt6-6.26.1_4": 6,
  "openjfx14-14.0.2.1+1_4": 6,
  "zathura-0.4.5": 5,                 # bug 260943 fallout
  "gucharmap-14.0.1": 5,              # bug 260943 fallout
  "mediastreamer-2.16.1_6": 4,
  "mlt7-7.0.1_1": 4,
  "logitechmediaserver-7.9.2.g2018.12.10": 4, # ignore (missing auto-accept in LICENSE_PERMS)
  "ffms2-2.40": 4,                    # related but not in comment 2 list
  "aubio-0.4.9_1": 4,
  "libxine-1.2.11_7": 4,
  "osg34-3.4.1_33": 4,
  "unpaper-6.1": 4,
  "osg-3.6.5_33": 4
}
Comment 5 commit-hook freebsd_committer freebsd_triage 2022-02-22 00:57:20 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c414aed9d58f1f300d1cb9f1ca0ba1220035f80b

commit c414aed9d58f1f300d1cb9f1ca0ba1220035f80b
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-02-21 15:07:11 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-02-22 00:56:54 +0000

    emulators/citra: update to s20220221 (unbreaks ffmpeg 5.0)

    Changes:        https://github.com/citra-emu/citra/compare/54a36bc54...db5edf549
    PR:             261302

 emulators/citra/Makefile | 4 ++--
 emulators/citra/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
Comment 6 commit-hook freebsd_committer freebsd_triage 2022-02-22 00:58:21 UTC
A commit in branch 2022Q1 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=70bca8ccd5f4f3118feed10069b40bbc4ec6dbc3

commit 70bca8ccd5f4f3118feed10069b40bbc4ec6dbc3
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-02-21 15:07:11 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-02-22 00:57:21 +0000

    emulators/citra: update to s20220221 (unbreaks ffmpeg 5.0)

    Changes:        https://github.com/citra-emu/citra/compare/54a36bc54...db5edf549
    PR:             261302
    (cherry picked from commit c414aed9d58f1f300d1cb9f1ca0ba1220035f80b)

 emulators/citra/Makefile | 4 ++--
 emulators/citra/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
Comment 7 Jan Beich freebsd_committer freebsd_triage 2022-03-06 10:45:25 UTC
Need to unbreak at least qt5-webengine before continuing with exp-run.
Comment 8 Jan Beich freebsd_committer freebsd_triage 2022-03-06 10:46:56 UTC
Created attachment 232276 [details]
v1 (apply via "git am")

Rebase after ports d8e2f9a0e8e6 + bug 262368 + dav1d 1.0.0 update
Comment 9 Jan Beich freebsd_committer freebsd_triage 2022-03-27 20:40:12 UTC
Created attachment 232765 [details]
v1 (apply via "git am")

Rebase after ports 1c6198d6c673
Comment 10 Jan Beich freebsd_committer freebsd_triage 2022-04-14 01:08:29 UTC
Created attachment 233207 [details]
v1.1 (apply via "git am")

Rebase after ports 152bbb33232b and update to 5.0.1.
Comment 11 Tobias C. Berner freebsd_committer freebsd_triage 2022-04-14 05:11:57 UTC
lgtm
Comment 12 Jan Beich freebsd_committer freebsd_triage 2022-04-24 03:21:30 UTC
Created attachment 233428 [details]
v1.1 (apply via "git am")

Rebase after ports c4014afccfc5 .
Comment 13 Jan Beich freebsd_committer freebsd_triage 2022-05-18 15:50:26 UTC
Created attachment 234023 [details]
v1.1 (apply via "git am")

Rebase after ports 04363fa19ecf .
Comment 15 Jan Beich freebsd_committer freebsd_triage 2022-08-04 17:41:46 UTC
Created attachment 235680 [details]
v2 (apply via "git am")

Update to 5.1 and rebase after ports 7d7c819ad05e.
Comment 16 Evgenii Khramtsov 2022-08-06 20:22:58 UTC
Created attachment 235729 [details]
v2.1 ("git am")

Rebase after ports 2bc24ba7f2d7 and ports 8fb4d0364995.
Comment 17 Jan Beich freebsd_committer freebsd_triage 2022-08-06 20:56:38 UTC
(In reply to Evgeniy Khramtsov from comment #16)
This rebase accidentally removed WEBP from OPTIONS_DEFAULT added by ports 2bc24ba7f2d7.
Comment 18 Evgenii Khramtsov 2022-08-06 21:07:42 UTC
Created attachment 235731 [details]
v2.2 ("git am")

Restore WEBP after ports 2bc24ba7f2d7.
Comment 19 Jan Beich freebsd_committer freebsd_triage 2022-08-09 16:31:35 UTC
Created attachment 235805 [details]
v2.3 (apply via "git am")

Rebase after ports 7ea47cecaa27.
Comment 20 Jan Beich freebsd_committer freebsd_triage 2022-09-14 11:25:24 UTC
Created attachment 236550 [details]
v2.4 (apply via "git am")

Update to 5.1.1 and rebase after ports 16655b80c735.
Comment 21 Jan Beich freebsd_committer freebsd_triage 2022-10-05 13:33:36 UTC
Created attachment 237100 [details]
v2.5 (apply via "git am")

Update to 5.1.2 and rebase after ports a13276651ffe.
Comment 22 Jan Beich freebsd_committer freebsd_triage 2022-10-10 18:33:21 UTC
Created attachment 237192 [details]
v2.5 (apply via "git am")

Rebase after ports c1e0a52d1a75
Comment 23 Jan Beich freebsd_committer freebsd_triage 2022-10-19 18:04:04 UTC
Created attachment 237463 [details]
v2.5 (apply via "git am")

Rebase after ports 9db4ec993805.
Comment 24 Jan Beich freebsd_committer freebsd_triage 2023-01-06 17:06:48 UTC
Created attachment 239307 [details]
v2.5 (apply via "git am")

Rebase after ports ec2a856e9b96
Comment 25 Thomas Zander freebsd_committer freebsd_triage 2023-01-13 21:07:41 UTC
Can we exp-run and commit?
Comment 26 Jan Beich freebsd_committer freebsd_triage 2023-01-14 00:18:38 UTC
(In reply to Thomas Zander from comment #25)
If you have time to fix consumers - go ahead. For example, www/qt5-webengine is likely still broken but maybe possible to fix via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/31841

I directly maintain >200 ports and have growing backlog, so this is very low priority for me.
Comment 27 Jan Beich freebsd_committer freebsd_triage 2023-01-14 06:38:04 UTC
Created attachment 239460 [details]
v2.5 (apply via "git am")

Rebase after ports 8855990a698e
Comment 28 Jan Beich freebsd_committer freebsd_triage 2023-01-14 06:44:41 UTC
Created attachment 239461 [details]
v2.5 (apply via "git am")

Fix rebase mistake: sort OPTIONS_DEFAULT via ports-mgmt/portfmt.
Comment 29 Vladimir Druzenko freebsd_committer freebsd_triage 2023-01-14 09:32:43 UTC
(In reply to Antoine Brodin from comment #2)
Can't download any logs.
Comment 30 Jan Beich freebsd_committer freebsd_triage 2023-01-14 11:19:28 UTC
(In reply to VVD from comment #29)
Package builders no longer have IPv4 addresses. Try "online" IPv6 proxy, tunnel like stf(4), security/tor or pkg-status e.g.,

$ pkg install tor curl
$ service tor onestart
$ SOCKS5_PROXY=localhost:9050 fetch http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/qt5-webengine-5.15.2_5.log
$ curl -O --compressed --socks5-hostname localhost:9050 http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/qt5-webengine-5.15.2_5.log

vs.

$ echo http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/qt5-webengine-5.15.2_5.log |
  sed -E 's,http://([^.]*)\.?([^.]*)?\.freebsd\.org,https://pkg-status.freebsd.org/\1,' | xargs -o fetch

$ pkg install curl
$ echo http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/qt5-webengine-5.15.2_5.log |
  sed -E 's,http://([^.]*)\.?([^.]*)?\.freebsd\.org,https://pkg-status.freebsd.org/\1,' | xargs -o curl -O --compressed
Comment 31 Vladimir Druzenko freebsd_committer freebsd_triage 2023-01-14 14:59:36 UTC
(In reply to Jan Beich from comment #30)
Thanks. Tried via different ipv4toipv6 online proxies without result.
I have tor installed - it help.


About zoneminder.
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2022-01-20_18h39m40s/logs/errors/zoneminder-1.36.12.log
Support of ffmpeg 5 was added in 1.36.15:
https://github.com/ZoneMinder/zoneminder/commit/d1395dab9a989690ad5763e004ed1d9b6d05b734
https://github.com/ZoneMinder/zoneminder/commit/34d7f192b4d10da46294185c97db73c5371c2c7c
So we need to update to more recent version, but it have other issue:
https://github.com/ZoneMinder/zoneminder/issues/3505
Comment 32 Jan Beich freebsd_committer freebsd_triage 2023-01-14 15:20:26 UTC
Created attachment 239469 [details]
v2.6 (apply via "git am")

Unbreak VULKAN=on (now default) after ports 93b836bc9e65

libavutil/hwcontext_vulkan.c:364:7: error: use of undeclared identifier 'VK_EXT_VIDEO_DECODE_H265_EXTENSION_NAME'
    { VK_EXT_VIDEO_DECODE_H265_EXTENSION_NAME,                FF_VK_EXT_NO_FLAG                },
      ^
libavutil/hwcontext_vulkan.c:469:29: error: invalid application of 'sizeof' to an incomplete type 'const VulkanOptExtension[]' (aka 'const struct VulkanOptExtension[]')
        optional_exts_num = FF_ARRAY_ELEMS(optional_device_exts);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavutil/macros.h:53:34: note: expanded from macro 'FF_ARRAY_ELEMS'
#define FF_ARRAY_ELEMS(a) (sizeof(a) / sizeof((a)[0]))
                                 ^~~
libavutil/hwcontext_vulkan.c:1444:29: error: invalid application of 'sizeof' to an incomplete type 'const VulkanOptExtension[]' (aka 'const struct VulkanOptExtension[]')
        for (int j = 0; j < FF_ARRAY_ELEMS(optional_device_exts); j++) {
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavutil/macros.h:53:34: note: expanded from macro 'FF_ARRAY_ELEMS'
#define FF_ARRAY_ELEMS(a) (sizeof(a) / sizeof((a)[0]))
                                 ^~~
4 errors generated.
Comment 33 Jan Beich freebsd_committer freebsd_triage 2023-01-14 16:23:55 UTC
(In reply to VVD from comment #31)
> So we need to update to more recent version, but it have other issue:

Backporting only ffmpeg fixes should be fine (e.g., comment 1). Simple fixes (like adding "const") only need build testing with old and new ffmpeg and approval is covered by "portmgr blanket". For complex patches, especially those that change behavior with old ffmpeg, runtime testing and maintainer approval maybe required.
Comment 34 Osamu Matsuda 2023-01-25 08:39:15 UTC
(In reply to Jan Beich from comment #32)
As an negative approach, we can put --disable_vulkan to CONFIGURE_ARGS in Makefile to build it.

Interestingly, ffmpeg-4.4.3_4,1 of multimedia/ffmpeg can be built with VULKAN option ON.  The sources related to FF_ARRAY_ELEMS look very similar though.
Comment 35 Osamu Matsuda 2023-01-25 08:52:00 UTC
(In reply to Osamu Matsuda from comment #34)
Sorry.  I intended to put the previous comment for bug 269090.
Comment 36 Daniel Engberg freebsd_committer freebsd_triage 2023-01-30 13:14:45 UTC
Given that ffmpeg 6 is apparently around the corner perhaps we should target that instead and be more a bit agressive regarding marking consumers as broken?
https://fosdem.org/2023/schedule/event/om_vlc/
Comment 37 Vladimir Druzenko freebsd_committer freebsd_triage 2023-02-24 19:36:35 UTC
(In reply to Jan Beich from comment #33)
Attached patch for update zoneminder to new version with ffmpeg 5 support:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267304#c9
Comment 39 Daniel Engberg freebsd_committer freebsd_triage 2023-03-07 07:29:37 UTC
Fwiw, both Alpine and Arch seems to have moved to ffmpeg 6.0 now
Comment 40 Jan Beich freebsd_committer freebsd_triage 2023-03-08 00:21:34 UTC
Created attachment 240656 [details]
v3 (apply via "git am")

Update to 6.0: adds VPL option (same as MFX but modern API)
Comment 41 Jan Beich freebsd_committer freebsd_triage 2023-03-08 00:51:37 UTC
Created attachment 240658 [details]
v3 (apply via "git am")

Oops, don't remove ports 4a0ff775305d.
Comment 42 Jan Beich freebsd_committer freebsd_triage 2023-03-08 02:43:12 UTC
(In reply to VVD from comment #37)
Maybe you can land it yourself after ports 092af62ab1f6. I don't use zoneminder and not familar with USES=php, so my review won't be more than a rubberstamp based on poudriere.
Comment 43 Jan Beich freebsd_committer freebsd_triage 2023-03-08 02:46:24 UTC
Let's see if anything has changed after ~1 year since comment 2. Also, ffmpeg 5 -> 6 may break more consumers.
Comment 44 Antoine Brodin freebsd_committer freebsd_triage 2023-03-10 21:07:39 UTC
Some new failure logs:


https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/aqualung-1.0_22.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/aubio-0.4.9_1.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/bliss-music-analyzer-1.2.0.6.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/chromaprint-1.5.1.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/cmus-2.10.0_2.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/py39-soxr-0.3.4.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/spek-0.8.2_17.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/squeezelite-1.9.7.1253_1.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/opencascade-7.7.0_1.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/opencascade740-7.4.0_1.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/ignition-common-3.0.0_5.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/libdlna-0.2.3_12.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/opendht-2.4.12.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/emu64-5.0.19_2.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/libretro-ppsspp-1.14.4.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/mgba-0.10.1.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/pcsxr-1.9.95.20180604_6.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/ppsspp-1.14.4.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/ppsspp-qt5-1.14.4.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/vice-3.7_1.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/alephone-20190331_6.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/cfdg-3.3_4.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/gnash-0.8.10_54.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/osg-3.6.5_51.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/osg34-3.4.1_46.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/unpaper-6.1.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/wdune-1.926_4.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/wxsvg-1.5.23_1.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/openjfx14-14.0.2.1+1_9.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/QtAV-1.13.0_3.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/av1an-0.4.0_2.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/bino-1.6.5_6.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/ffmpegthumbnailer-2.2.2.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/ffms2-2.40.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/gstreamer1-libav-1.20.5.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/harvid-0.8.2_3.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/kodi-20.0_1.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/libquicktime-1.2.4_33.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/libxine-1.2.12_5.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/mencoder-1.5.0.20220924.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/mlt6-6.26.1_7.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/motion-4.3.2_3.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/mplayer-1.5.0.20220924_1.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/nordlicht-0.4.5_5.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/olive-video-editor-0.1.2_1.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/pHash-0.9.6_16.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/py39-av-9.0.1.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/ringrtc-2.25.0.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/simplescreenrecorder-0.4.4.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/subtitlecomposer-0.7.1_4.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/vapoursynth-l-smash-works-0.0.940.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/vdr-plugin-osdpip-0.1.2_9.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/vlc-3.0.18_1,4.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/webcamoid-8.8.0_2.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/zoneminder-1.36.12_1.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/nheko-0.11.3_1.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/fastnetmon-1.2.4.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/guacamole-server-1.5.0.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/mediastreamer-5.1.55_1.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/opal-3.10.10_30.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/libextractor-1.11_4.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/firefox-111.0,2.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/nginx-full-1.22.1_2,3.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/qt5-webengine-5.15.8.log
https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-09_13h46m09s/logs/pangolin-0.8.log
Comment 45 Daniel Engberg freebsd_committer freebsd_triage 2023-03-11 06:59:26 UTC
(In reply to Antoine Brodin from comment #44)

First quick review of top half of the list reported (in the order ports are mentioned), I'll try to do the rest later today.

aqualung:
https://github.com/jeremyevans/aqualung/issues/29
Outdated version in ports, drop / mark broken

audio/aubio:
https://github.com/aubio/aubio/issues/353
Bump to latest commit?

audio/bliss:
Deprecated upstream, drop and migrate to bliss-rs?
https://github.com/Polochon-street/bliss --> https://github.com/Polochon-street/bliss-rs

audio/chromaprint:
Bump to latest commit and/or backport commits
https://github.com/acoustid/chromaprint/compare/v1.5.1...master

audio/cmus:
https://git.alpinelinux.org/aports/tree/community/cmus/ffmpeg6.patch

audio/py-soxr:
Mark broken / poke upstream (active upstream)

audio/spek:
Bump to latest commit and/or backport commits
https://github.com/alexkay/spek/commit/b956c1fd78cea3a79d0cbfa91e9d5c1b0a71229e
https://github.com/alexkay/spek/commit/44229e94cf66a3a0acc3677cc96aabf0fd0176f2

audio/squeezelite:
Looks like we should be fine with using a newer snapshot of upstream looking at Alpine

cad/opencascade*:
No patch available, disable usage of ffmpeg?

devel/ignition-common: 
Now located here: https://github.com/gazebosim/gz-common/issues/306

devel/libdlna:
Discontinued upstream, drop? Might work with latest version however...
https://libdlna.geexbox.org/

devel/opendht:
Unrelated failure as far as I can tell

emulators/emu64:
No patch available, poke upstream?

emulators/libretro-ppsspp:
https://github.com/hrydgard/ppsspp/issues/15308

emulators/vice:
https://github.com/VICE-Team/svn-mirror/blob/main/vice/configure.ac#L2440
Disable ffmpeg support for now?

games/alephone:
Migrated to https://github.com/Aleph-One-Marathon/alephone
https://github.com/Aleph-One-Marathon/alephone/issues/349

graphics/cfdg:
Mark broken / poke upstream (active upstream)

graphics/gnash:
Abandonware, https://github.com/lightspark/lightspark , https://ruffle.rs/ (neiter are in ports) or VLC

graphics/osg*:
https://github.com/openscenegraph/OpenSceneGraph/issues/1111

graphics/unpaper:
Needs updating, https://github.com/unpaper/unpaper/releases/tag/unpaper-7.0.0

graphics/wdune:
There's a newer version available but I haven't looked at source code, fedora don't include ffmpeg support

graphics/wxsvg:
Needs updating, https://sourceforge.net/projects/wxsvg/files/wxsvg/1.5.24/

java/openjfx14:
No patch available, poke upstream? - Repo: https://github.com/openjfx/openjfx.github.io

multimedia/QtAV:
Backport patch/switch to fork? Arch seems to use latest commit
https://github.com/wang-bin/QtAV/issues/1377
https://github.com/cmguo/QtAV/commits/master

multimedia/av1an:
https://github.com/master-of-zen/Av1an/issues/728

multimedia/bino:
https://github.com/marlam/bino-mirror/issues/12

multimedia/ffmpegthumbnailer:
https://git.alpinelinux.org/aports/tree/community/ffmpegthumbnailer/ffmpeg5.patch

multimedia/ffms2:
Bump to latest commit / backport? https://github.com/FFMS/ffms2/issues/398

multimedia/gstreamer1-libav:
https://github.com/archlinux/svntogit-packages/tree/packages/gstreamer/trunk

multimedia/harvid:
Update to latest commit? https://github.com/x42/harvid/issues/11
Comment 46 Antoine Brodin freebsd_committer freebsd_triage 2023-03-11 09:38:54 UTC
New failure logs on 13.1 amd64:


https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/aqualung-1.0_22.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/aubio-0.4.9_1.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/bliss-music-analyzer-1.2.0.6.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/chromaprint-1.5.1.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/cmus-2.10.0_2.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/spek-0.8.2_17.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/squeezelite-1.9.7.1253_1.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/opencascade-7.7.0_1.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/opencascade740-7.4.0_1.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/ignition-common-3.0.0_5.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/libdlna-0.2.3_12.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/opendht-2.4.12.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/emu64-5.0.19_2.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/libretro-ppsspp-1.14.4.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/mgba-0.10.1.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/pcsxr-1.9.95.20180604_6.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/ppsspp-1.14.4.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/ppsspp-qt5-1.14.4.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/vice-3.7_1.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/alephone-20190331_6.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/hedgewars-1.0.2.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/blender-3.4.1_4.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/cfdg-3.3_4.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/gnash-0.8.10_54.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/osg-3.6.5_51.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/osg34-3.4.1_46.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/unpaper-6.1.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/wdune-1.926_4.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/wxsvg-1.5.23_1.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/openjfx14-14.0.2.1+1_9.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/octave-forge-video-2.0.2_2.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/QtAV-1.13.0_3.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/av1an-0.4.0_2.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/bino-1.6.5_6.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/ffmpegthumbnailer-2.2.2.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/ffms2-2.40.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/gstreamer1-libav-1.20.5.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/harvid-0.8.2_3.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/kodi-20.0_1.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/libquicktime-1.2.4_33.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/libxine-1.2.12_5.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/mencoder-1.5.0.20220924.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/mlt6-6.26.1_7.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/motion-4.3.2_3.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/mplayer-1.5.0.20220924_1.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/nordlicht-0.4.5_5.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/olive-video-editor-0.1.2_1.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/pHash-0.9.6_16.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/py39-av-9.0.1.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/simplescreenrecorder-0.4.4.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/subtitlecomposer-0.7.1_4.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/vapoursynth-l-smash-works-0.0.940.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/vdr-plugin-osdpip-0.1.2_9.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/vlc-3.0.18_1,4.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/webcamoid-8.8.0_2.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/zoneminder-1.36.12_1.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/neochat-22.11_2.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/freeswitch-1.10.3_2.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/guacamole-server-1.5.0.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/mediastreamer-5.1.55_1.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/opal-3.10.10_30.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/nix-2.3.11_1.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/libextractor-1.11_4.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/nginx-full-1.22.1_2,3.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/qt5-webengine-5.15.8.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-03-09_13h46m14s/logs/pangolin-0.8.log
Comment 47 Daniel Engberg freebsd_committer freebsd_triage 2023-03-12 06:51:09 UTC
(In reply to Antoine Brodin from comment #44)
Second half...

multimedia/kodi:
https://github.com/xbmc/xbmc/issues/21766
Use bundled ffmpeg?

multimedia/libquicktime:
Abandonware, drop? (gmerlin is also ancient)...

multimedia/libxine:
Update to 1.2.13? https://sourceforge.net/projects/xine/files/xine-lib/1.2.13/

multimedia/mencoder:
Update to latest commit?
http://git.mplayerhq.hu/gitweb/mplayer.git/commit/5757020cb065e5ee415cd0fab66efdd2e14276e6

multimedia/mlt6:
https://aur.archlinux.org/cgit/aur.git/tree/ffmpeg5.patch?h=mlt6

multimedia/motion:
Update to latest release
https://github.com/Motion-Project/motion/releases

multimedia/mplayer:
Update to latest commit?
http://git.mplayerhq.hu/gitweb/mplayer.git/commit/5757020cb065e5ee415cd0fab66efdd2e14276e6

multimedia/nordlicht:
Abandonware, drop?

multimedia/olive:
Mark broken / poke upstream (somewhat active upstream)

multimedia/pHash:
Latest commit might work
Mark broken / poke upstream (somewhat active upstream)

multimedia/py-av:
Update to latest release
https://github.com/PyAV-Org/PyAV/tree/v10.0.0

multimedia/ringrtc:
Mark broken / poke upstream

multimedia/simplescreenrecorder:
Update to latest commit and/or backport
https://github.com/MaartenBaert/ssr/issues/949

multimedia/subtitlecomposer:
Upstream mentions ffmpeg compatibility fixes in commits so perhaps bump to latest commit?
https://invent.kde.org/multimedia/subtitlecomposer/-/commit/12f4d7f49d0b1a7fc02b0836521a285e7b6bac9d
https://invent.kde.org/multimedia/subtitlecomposer/-/commit/d8f9797d9c0d45fa9f4402f79c539544b74d2cc7
https://invent.kde.org/multimedia/subtitlecomposer/-/commit/f06ffe60c5b2ba761d8dad61ffba6ba05f6dbf6b
https://invent.kde.org/multimedia/subtitlecomposer/-/commit/54df1dacadc5eab73c48cda5c110e66fe5a7ae14

multimedia/vapoursynth-l-smash-works:
Abandonware, drop? https://tsduck.io/ might be an indirect alternative?

multimedia/vdr-plugin-osdpip:
Abandonware for over a decade, drop

multimedia/vlc:
Might work if we drop VAAPI for now?
https://code.videolan.org/videolan/vlc/-/merge_requests/1245
https://code.videolan.org/videolan/vlc/-/merge_requests/3366

multimedia/webcamoid:
Update to latest release
https://github.com/webcamoid/webcamoid/pull/560

multimedia/zoneminder:
Needs updating, Looking at Alpine recent releases works ootb

net-im/nheko:
Doesn't seem to be related to ffmpeg

net-mgmt/fastnetmon:
Doesn't seem to be related to ffmpeg

net/guacamole-server:
Backport commit https://github.com/apache/guacamole-server/commit/5cf408ebbba9544fb5dfb297d98d5a1e1751a56d ?

net/mediastreamer:
Mark broken / poke upstream (active upstream)

net/opal:
There are some vague references in upstream commit log but it doesn't seem to be complete
Mark broken / poke upstream (active upstream)

textproc/libextractor:
Drop ffmpeg support
https://git.gnunet.org/libextractor.git/commit/?id=2332716ae48d6b899e4d2bb07f468e8c076d2608

www/firefox:
Patches available
https://github.com/archlinux/svntogit-packages/tree/packages/firefox/trunk
https://git.alpinelinux.org/aports/tree/community/firefox?h=master

www/nginx-full:
Needs updating
https://github.com/wandenberg/nginx-video-thumbextractor-module/commit/71534966ebc6dfc6a2a865ef7f53a9b51cafcd5c

www/qt5-webengine:
Patches available
https://github.com/archlinux/svntogit-packages/blob/packages/qt5-webengine/trunk/qt5-webengine-ffmpeg5.patch
https://git.alpinelinux.org/aports/tree/community/qt5-qtwebengine/ffmpeg5.patch

x11-toolkits/pangolin:
Update to latest commit / backport ?
https://github.com/stevenlovegrove/Pangolin/issues/737
Comment 48 Daniel Engberg freebsd_committer freebsd_triage 2023-03-14 10:11:58 UTC
If someone wants to help out fixing build failures I'm working from the top  so feel free to start from the bottom of the list and work your way up
Comment 49 Daniel Engberg freebsd_committer freebsd_triage 2023-03-14 12:35:05 UTC
I've created PRs for www/firefox and www/qt5-webengine from the second list as these ports are stopblockers and may be complicated to fix

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270208
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270209
Comment 50 Daniel Engberg freebsd_committer freebsd_triage 2023-03-14 21:50:26 UTC
java/openjfx14:

I got the repo wrong, the correct one and relevant commit is this:
https://github.com/openjdk/jfx/commit/ac8382bd378c7b51ccd625af46bdf10d24176692

Unfortunately our version in tree seems to be ancient and carries a ton of patches...

multimedia/av1an:
Fixed as of eb4e80c6bbbf71887d362b91d6d2f0060214e535
Comment 51 Daniel Engberg freebsd_committer freebsd_triage 2023-03-17 06:29:52 UTC
multimedia/libquicktime:
Indirectly depends on https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263526

emulators/pcsxr:
Unrelated, expires 2023-03-31

net-im/neochat:
Appears to be unrelated
Comment 52 Daniel Engberg freebsd_committer freebsd_triage 2023-03-17 06:33:43 UTC
sysutils/nix:
Appears to be unrelated
Comment 53 Daniel Engberg freebsd_committer freebsd_triage 2023-03-17 06:54:35 UTC
graphics/gnash:
Mark port broken during update of FFmpeg 6.0
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270206

...a bit of an update:
I apologize about the flood of mails, I'm working on this on spare (free) time so it's a bit sporadic and I prefer to push things as soon as possible rather that letting notes sit for days. 

Anyhow, I'd suggest that we're going to be a bit more aggressive on this update otherwise we'll still be stuck with 4.4 until infinity. By that I mean we'll likely going to mark some packages as broken and/or need to create a separate port for FFmpeg 4.X. This will however conflict with any other version of FFmpeg so its really a "no other way" solution and needs to be justified with good reasoning more than port X is broken.

As for timeline I'd suggest that we commit 6.0 somewhere around 1 week efter q2 branching unless there major issues discovered.

I'll try to get around during the weekend creating the last batch of PRs ports being reported as broken namely a few listed here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261302#c47

Due to limited resources and time it would very helpful if people could look though PRs and do runtime testing. I would also be nice if you could test patches with FFmpeg 4 (current version in tree, I've only done testing with 6.0) and see if we can merge these before landing 6.0.

Best regards,
Daniel
Comment 54 commit-hook freebsd_committer freebsd_triage 2023-03-17 21:04:32 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f0dadc529fe9c4ee69dd96db92e2d0572d2092aa

commit f0dadc529fe9c4ee69dd96db92e2d0572d2092aa
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-03-17 18:58:47 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-03-17 20:59:23 +0000

    multimedia/ffmpeg: fork 4.* into a pinned port

    Mainly for leaf consumers: applications but not plugins or libraries.
    Otherwise, indirectly mixing different versions of ffmpeg libraries at
    runtime can lead to crashes.

    To use simply add the following before <bsd.port.mk> or <bsd.port.pre.mk>

      .include "${.CURDIR:H:H}/multimedia/ffmpeg4/override.mk"

    PR:             261302
    Inspired by:    c717faa5c764

 multimedia/Makefile                                |   1 +
 multimedia/ffmpeg4/Makefile (new)                  | 655 ++++++++++++++
 multimedia/ffmpeg4/distinfo (new)                  |   9 +
 multimedia/ffmpeg4/files/patch-configure (new)     |  26 +
 multimedia/ffmpeg4/files/patch-doc-Makefile (new)  |  11 +
 .../ffmpeg4/files/patch-libavdevice_v4l2.c (new)   |  18 +
 .../files/patch-libavfilter_vf__lensfun.c (new)    |  51 ++
 .../ffmpeg4/files/patch-libavformat_rtsp.c (new)   |  44 +
 .../ffmpeg4/files/patch-libavutil-common.h (new)   |  13 +
 .../ffmpeg4/files/patch-libavutil-x86-asm.h (new)  |  11 +
 .../files/patch-libavutil_hwcontext__drm.c (new)   |  24 +
 .../patch-libswscale_ppc_yuv2rgb__altivec.c (new)  |  15 +
 multimedia/ffmpeg4/files/patch-svtav1 (new)        | 437 ++++++++++
 multimedia/ffmpeg4/files/patch-vmaf (new)          | 951 +++++++++++++++++++++
 multimedia/ffmpeg4/override.mk (new)               |   8 +
 multimedia/ffmpeg4/pkg-descr (new)                 |   3 +
 multimedia/ffmpeg4/pkg-plist (new)                 | 220 +++++
 17 files changed, 2497 insertions(+)
Comment 55 commit-hook freebsd_committer freebsd_triage 2023-03-18 12:55:37 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=91a3c4def796cf45e6c2c404a2f8808e14ae7355

commit 91a3c4def796cf45e6c2c404a2f8808e14ae7355
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-03-18 12:51:27 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-03-18 12:51:30 +0000

    textproc/libextractor: Remove FFmpeg support

    Breaks build with FFmpeg 6.0 and support is removed upstream

    Reference:
    https://git.gnunet.org/libextractor.git/commit/?id=2332716ae48d6b899e4d2bb07f468e8c076d2608

    PR:             261302

 textproc/libextractor/Makefile  | 11 +++++------
 textproc/libextractor/pkg-plist |  4 ----
 2 files changed, 5 insertions(+), 10 deletions(-)
Comment 56 commit-hook freebsd_committer freebsd_triage 2023-03-18 14:57:02 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1db489e2c8962687dffececed57f374e3cf9afa8

commit 1db489e2c8962687dffececed57f374e3cf9afa8
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-03-18 14:37:01 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-03-18 14:56:02 +0000

    multimedia/xawtv: Remove (lib)QuickTime support and disable optional libraries

    libquicktime is abandoned by upstream with last release over a
    decade ago and doesn't compile with newer versions of FFmpeg
    While at it disable autodetection of alsa and OpenGL support

    PR:             261302
    Approved by:    portmgr (blanket, build fix)

 multimedia/xawtv/Makefile  | 12 +++---------
 multimedia/xawtv/pkg-plist |  2 --
 2 files changed, 3 insertions(+), 11 deletions(-)
Comment 57 commit-hook freebsd_committer freebsd_triage 2023-03-18 14:57:04 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=82e003109db3c3f36060f3e3a6cffbc5034265ae

commit 82e003109db3c3f36060f3e3a6cffbc5034265ae
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-03-18 14:11:49 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-03-18 14:56:01 +0000

    multimedia/mjpegtools: Remove (lib)QuickTime support

    libquicktime is abandoned by upstream with last release over a
    decade ago and doesn't compile with newer versions of FFmpeg

    PR:             261302
    Approved by:    portmgr (blanket, build fix)

 multimedia/mjpegtools/Makefile  | 6 ++----
 multimedia/mjpegtools/pkg-plist | 2 --
 2 files changed, 2 insertions(+), 6 deletions(-)
Comment 58 commit-hook freebsd_committer freebsd_triage 2023-03-18 14:57:06 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fa9ef3f08ea762a46166b31a1f48d4cb8d399eaa

commit fa9ef3f08ea762a46166b31a1f48d4cb8d399eaa
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-03-18 13:52:38 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-03-18 14:56:01 +0000

    multimedia/gmerlin: Remove (lib)QuickTime support

    libquicktime is abandoned by upstream with last release over a
    decade ago and doesn't compile with newer versions of FFmpeg

    PR:             261302

 multimedia/gmerlin/Makefile  | 10 ++++------
 multimedia/gmerlin/pkg-plist |  2 --
 2 files changed, 4 insertions(+), 8 deletions(-)
Comment 59 Daniel Engberg freebsd_committer freebsd_triage 2023-03-18 15:14:37 UTC
New updates:

multimedia/libquicktime:
Removed from tree in 190dd89650b4b9e058d5eac1ca10565a49a8484d
*pointy hat to myself* I forgot to reference PR... sorry!

emulators/pcsxr:
No need to fix, expires 2023-03-31

net-im/neochat:
Appears to be unrelated

multimedia/vdr-plugin-osdpip:
Abandonware for over a decade, drop?
No PR
Note: All VDR ports should probably be dropped by now...

textproc/libextractor
FFmpeg support removed in 91a3c4def796cf45e6c2c404a2f8808e14ae7355

Looking at my notes we should now have bug reports for all known build issues however there's still some work to do. 

Maintainers: Please try determine if port is able to support both 4.x and 6.0 as I've only compile tested 6.0 due to time and limited resources. If only 6.0 is supported move PR status from blocks to depends so it makes it easier for everyone to know what do before and after 6.0 lands also and add a comment in bug report regarding testing (OS version, arch, ports and/or Poudriere).

jbeich has created a ffmpeg4 port however you're strongly encouraged to either patch your port or deprecated it rather than switching. Please also read the additional notes provided by Jan. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261302#c54
Comment 60 Kai Knoblich freebsd_committer freebsd_triage 2023-03-21 12:36:43 UTC
Regarding www/qt5-webengine:

The patches for FFmpeg 6.0 compatibility cannot be applied before multimedia/ffmpeg in the ports tree is at 6.0+.

FFmpeg 6.0 also needs another small patch that adds the symbols for "av_stream_get_first_dts" to a successful build of www/qt5-webengine.

See bug #270209 comment #5 for further details.

@multimedia: Can you please try the patches of bug #270209 for the next exp-run?
Comment 61 Daniel Engberg freebsd_committer freebsd_triage 2023-04-08 12:47:42 UTC
Latest status update,

270194 - audio/aqualung
Move to ffmpeg4 and/or drop/mark broken?

270197 - cad/opencascade (and cad/opencascade740)
Move to ffmpeg4 (?)

270198 - devel/ignition-common
Maintainer working on it

270199 - devel/libdlna
Discontinued upstream and no users in tree, drop?

270207 - graphics/osg and graphics/osg34
No response from maintainer, user games/openmw depends on ffmpeg, move all to ffmpeg4 (?)
Move to osg34 to ffmpeg4 (?)

270212 - graphics/wdune
Still fails to build, move to ffmpeg4 (?)

270213 - multimedia/QtAV
No response from KDE Team (possible workaround available see ticket), graphics/digikam depends on ffmpeg (optional)

270214 - multimedia/bino
No response from maintainer, outdated, move to ffmpeg4 and/or drop?

270248 - games/hedgewars
Maintainer working on it, drop option or move to ffmpeg4

270251 - multimedia/webcamoid
Maintainer working with upstream

270255 - multimedia/gstreamer1-libav
Patch available, appreciated if someone who knows the workings of gstreamer in framework could adjust framework and commit it

270276 - net/freeswitch
No response from maintainer, patch available (move to ffmpeg4)

270281 - math/octave-forge-video
Maintainer busy, move to ffmpeg4 (?)

270293 - multimedia/mlt6
Only 2 leaf users, 270701 moves other consumer(s) to mlt7 

270295 - multimedia/motion
No response from maintainer, outdated, move to ffmpeg4 or drop (?)

270301 - multimedia/subtitlecomposer
Patch available, needs some tweaking for port complicance. Asked maintainer to look at final touches

270303 - multimedia/vapoursynth-l-smash-works
No response from maintainer, pinged

270309 - multimedia/zoneminder
New version in PR 267304 which possibly fixes it, review needed

270310 - multimedia/py-av
No response from maintainer, move to ffmpeg4 (?)
Some work done upstrea, https://github.com/PyAV-Org/PyAV/issues/1106

270313 - net/guacamole-server
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270313
Patch available, maintainer busy, preferably needs some runtime testing

270314 - net/mediastreamer
Maintainer working on it, likely needs to depend on ffmpeg4 for now

270325 - net/opal
~Unmaintained, very old release might have some user(s)? Move to ffmpeg4 or drop(?)

java/openjfx14:
Unfortunately our version in tree seems to be ancient and carries a ton of patches...
multimedia/filebot depends on ffmpeg
Comment 62 Jan Beich freebsd_committer freebsd_triage 2023-04-12 21:24:42 UTC
Created attachment 241448 [details]
v3 (apply via "git am")

Rebase after ports 36e6a486872f
Comment 63 Daniel Engberg freebsd_committer freebsd_triage 2023-04-15 19:39:01 UTC
I don't think we're going to get the tree in better shape within reasonable time from this point. The remaining unpatched ports are either abandoned by maintainer/upstream or simply not supporting anything newer than 4.x for now.

tcberner recommended that we request a final exp-run. 

Antoine, is that something you do arrange?

Best regards,
Daniel
Comment 64 Antoine Brodin freebsd_committer freebsd_triage 2023-04-15 20:44:18 UTC
(In reply to Daniel Engberg from comment #63)
I will apply the patch from bug #270180 too
Comment 65 Daniel Engberg freebsd_committer freebsd_triage 2023-04-15 21:03:19 UTC
(In reply to Antoine Brodin from comment #64)
fwiw, all listed as blocks are patches that requires FFmpeg 6.0 to build and are incompatible with 4.4
Comment 66 Antoine Brodin freebsd_committer freebsd_triage 2023-04-16 07:00:31 UTC
(In reply to Daniel Engberg from comment #65)
Please provide a full patch in this case,  I can't grab patches in a dozen PR then check how they have to be applied and everything.
Comment 67 Daniel Engberg freebsd_committer freebsd_triage 2023-04-16 18:14:52 UTC
Created attachment 241531 [details]
Patch for exp-run

Apply using "git am" on top of jbeich's v3 patch
Comment 68 Daniel Engberg freebsd_committer freebsd_triage 2023-04-16 18:16:23 UTC
(In reply to Antoine Brodin from comment #66)
Tha exp-run patch should have all PRs "bundled" that depends on ffmpeg6
Comment 69 Antoine Brodin freebsd_committer freebsd_triage 2023-04-19 13:38:14 UTC
Some new failure logs:

https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/aqualung-1.0_22.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/essentia-2.1.b5.859.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/libgroove-4.3.0_8.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/opencascade-7.7.0_1.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/opencascade740-7.4.0_1.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/ignition-common-3.0.0_5.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/libdlna-0.2.3_12.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/gnash-0.8.10_56.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/osg-3.6.5_52.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/osg34-3.4.1_46.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/wdune-1.956.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/openjfx14-14.0.2.1+1_10.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/octave-forge-video-2.0.2_2.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/QtAV-1.13.0_3.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/bino-1.6.5_6.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/lives-3.2.0_15.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/mlt6-6.26.1_7.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/motion-4.3.2_3.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/nordlicht-0.4.5_5.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/NymphCast-v0.1_1.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/obs-studio-29.0.2.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/py39-av-10.0.0.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/vapoursynth-l-smash-works-0.0.940.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/vdr-plugin-osdpip-0.1.2_9.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/mediastreamer-5.2.37.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/opal-3.10.10_30.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/nginx-full-1.24.0,3.log
https://pkg-status.freebsd.org/package22/data/131amd64-default-foo/2023-04-18_12h28m37s/logs/errors/qt5-webengine-5.15.8.log


www/qt5-webengine causes 112 skipped,  cad/opencascade causes 31 skipped
Comment 70 Daniel Engberg freebsd_committer freebsd_triage 2023-04-21 14:15:37 UTC
Looks like I managed to botch www/qt5-webengine in the exp-run patch. I've run one separately for qt5-webengine users and it looks fine (13.2 amd64) so I propose that we push this to the tree.

Here's my proposal:

--== Move to legacy version (FFmpeg 4) ==--

audio/aqualung		- Move to ffmpeg4 (PR 270194)
audio/essentia		- Move to ffmpeg4 (no PR)
audio/libgroove		- Move to ffmpeg4 and deprecate (no PR)
cad/opencascade		- Move all variants to ffmpeg4 (PR 270197)
  cad/PrusaSlicer	- Move to ffmpeg4 due to opencascade (No PR)
  graphics/f3d		- Move to ffmpeg4 due to opencascade (No PR)
cad/opencascade740	- See above (PR 270197)
devel/ignition-common	- Move to ffmpeg4 (PR 270198)
devel/libdlna		- Deprecate and move to ffmpeg4 (PR 270199)
graphics/gnash		- Move to ffmpeg4 (PR 270206)
graphics/osg		- Move all variants to ffmpeg4 (PR 270207)
  games/openmw		- Move to ffmpeg4 due to osg (No PR)
graphics/osg34		- See above (PR 270207)
graphics/wdune		- Move to ffmpeg4 (PR 270212)
java/openjfx14		- Move to ffmpeg4 (No PR)
multimedia/QtAV		- Move to ffmpeg4 (possibly fixable, see PR 270213)
  graphics/digikam	- Move to ffmpeg4 due to QtAV (No PR)
multimedia/bino		- Move to ffmpeg4 and deprecate (possibly fixable, see PR 270214)
multimedia/lives	- Move to ffmpeg (no PR)
multimedia/nordlicht	- Move to ffmpeg4 and deprecate (dead upstream, NO PR)
games/hedgewars		- Disable VIDEOREC option (PR 270248)
math/octave-forge-video - Move to ffmpeg4 (PR 270281)
multimedia/mlt6		- Move to ffmpeg4, deprecate port and remaing users (PR 270293)
multimedia/motion	- Move to ffmpeg4 (fixable, see PR 270295)
multimedia/vapoursynth-l-smash-works: Mark BROKEN (PR 270303)
multimedia/py-av	- Move to ffmpeg4 (PR 270310)
multimedia/vdr-plugin-osdpip - Move to ffmpeg4, deprecate port
net/mediastreamer	- Move to ffmpeg4 (PR 270314)
net/opal		- Move to ffmpeg4 and deprecate (PR 270325)

--== Commit after FFmpeg 6 lands ==--

audio/chromaprint	- PR 270180
audio/spek		- PR 270193
graphics/synfig*	- PR 270701
multimedia/ffmpegthumbnailer - PR 270224
multimedia/kodi		- PR 270237
multimedia/libxine	- PR 270291
multimedia/nymphcast	- PR 270973
multimedia/obs-studio	- PR 270968
multimedia/vlc		- PR 270308
www/qt5-webengine	- PR 270209

Jan, do you want to take care of committing FFmpeg 6 (and moving ports to FFmpeg 4)? I can take care of the remaining PRs once FFmpeg 6 is in if you want.

Please raise any other concerns promptly as it would be preferable to land this soon (during the weekend or so?) to avoid further rebasing of patches etc.

Best regards,
Daniel
Comment 71 Jan Beich freebsd_committer freebsd_triage 2023-04-21 19:10:08 UTC
(In reply to Daniel Engberg from comment #70)
> Jan, do you want to take care of committing FFmpeg 6 (and moving ports to FFmpeg 4)?

No. Thanks for the help.
Comment 72 Daniel Engberg freebsd_committer freebsd_triage 2023-04-23 08:21:32 UTC
One issue I don't really know how to solve is when we have both versions of FFmpeg installed. While we can point the port in the right direction it doesn't necessarily mean that it'll pick up the legacy version first. Perhaps temporarily "hide" one version somehow?
Comment 73 Jan Beich freebsd_committer freebsd_triage 2023-04-23 09:09:57 UTC
(In reply to Daniel Engberg from comment #72)
> it doesn't necessarily mean that it'll pick up the legacy version first

override.mk was designed primarily for Meson which standardized pkg-config but should also work for autotools where pkg-config is common. Unfortunately, CMake prefers its own module system instead of pkg-config with standard modules being those shipped with CMake itself. To support USES=cmake in override.mk someone needs to catalogue third-party CMake modules used to find FFmpeg and figure out the common workaround.

$ pkg info -l cmake-core | fgrep .cmake | xargs fgrep -Hi avcodec || echo Exit $?
Exit 1

Note, USES=localbase in override.mk reorders -I/usr/local/include if added by another dependency to the end of the search order but it doesn't affect -L/usr/local/lib as there's no equivalent for -I vs. -isystem i.e., to enforce -L/path -lfoo one is supposed to pass /path/libfoo.so instead. 

> Perhaps temporarily "hide" one version somehow?

Depends on what is used to find ffmpeg. If pkg-config then PKG_CONFIG_LIBDIR can override the primary location for *.pc files. However, doing so will break search for other dependencies via pkg-config and not necessary because PKG_CONFIG_PATH *prepends* the location e.g.,

$ pkg install ffmpeg ffmpeg4
$ pkg-config --path libavcodec
/usr/local/libdata/pkgconfig/libavcodec.pc
$ PKG_CONFIG_PATH=/usr/local/ffmpeg4/libdata/pkgconfig pkg-config --path libavcodec
/usr/local/ffmpeg4/libdata/pkgconfig/libavcodec.pc
Comment 74 Daniel Engberg freebsd_committer freebsd_triage 2023-04-23 09:31:26 UTC
Hi,

I started by looking at audio/aqualung which uses Autotools which runs into this issue. I actually think CMake and Meson would be the least of our troubles in that regard. :/

I actually tried messing around with various PKG related variables but from what I can tell depending on what first gets detected as dependency you may get "standard" PREFIX listed before the custom ffmpeg4 one.

Best regards,
Daniel
Comment 75 Jan Beich freebsd_committer freebsd_triage 2023-04-23 10:01:51 UTC
(In reply to Daniel Engberg from comment #74)
Try reordering -L paths via Clang-specific knob:

CCC_OVERRIDE_OPTIONS+= \# ^-L${LOCALBASE}/ffmpeg${FF_SUFFIX}/lib
.export CCC_OVERRIDE_OPTIONS

See also https://github.com/llvm/llvm-project/blob/llvmorg-13.0.1/clang/tools/driver/driver.cpp#L79-L100

This seems to break net/freeswitch, so cannot be used in override.mk
Comment 76 Jan Beich freebsd_committer freebsd_triage 2023-04-23 10:19:05 UTC
In audio/aqualung case plain LDFLAGS also helps, so no need for CCC_OVERRIDE_OPTIONS.
Comment 77 George Mitchell 2023-04-23 20:56:39 UTC
Bug #270569 should be added to "Depends on" because mplayer can no longer play any files with ffmpeg 6 installed -- though there is no compile error, just a runtime failuer.
Comment 78 George Mitchell 2023-04-23 20:58:19 UTC
(In reply to George Mitchell from comment #77)
s/failuer/failure/
And I added #270569.
Comment 79 Daniel Engberg freebsd_committer freebsd_triage 2023-04-24 08:57:39 UTC
Thanks Jan, that helped!

@ All

I'm slowly working my way through the list of ports to migrate to ffmpeg4. The reason why it's taking time is because most ports aren't really prepared to cope with multiple variants of FFmpeg installed (both 4 and 6). I'm currently on graphics/osg (counting from the top) so any help is appreciated.
Comment 80 Daniel Engberg freebsd_committer freebsd_triage 2023-04-26 07:12:10 UTC
If someone can take a look at multimedia/QtAV and multimedia/lives because I can't these to compile with a "dirty" environment (both ffmpeg4 and ffmpeg6 insytalled).
I'll try math/octave-forge-video once I have the rest of the patches in place because dependencies fails to compile (dirt env).

Another option is to ditch multimedia/QtAV and update graphics/digikam which forked their own variant (using CMake) into the project itself.
Comment 81 commit-hook freebsd_committer freebsd_triage 2023-04-27 12:05:11 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3eb37f13c4a7bd86efa6cb42e49dfa2df8aaee4d

commit 3eb37f13c4a7bd86efa6cb42e49dfa2df8aaee4d
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-04-27 10:22:10 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-04-27 12:01:43 +0000

    multimedia/vdr-plugin-osdpip: Mark BROKEN

    Fails to build with FFmpeg 6

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

 multimedia/vdr-plugin-osdpip/Makefile | 2 ++
 1 file changed, 2 insertions(+)
Comment 82 commit-hook freebsd_committer freebsd_triage 2023-04-27 12:05:19 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e4591316fcda1cb483fd04d60d03bd2ba40b1e7b

commit e4591316fcda1cb483fd04d60d03bd2ba40b1e7b
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-04-27 10:02:00 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-04-27 12:01:42 +0000

    multimedia/lives: Mark BROKEN

    Fails to build with FFmpeg 6 and I can't figure out how to fix it

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

 multimedia/lives/Makefile | 2 ++
 1 file changed, 2 insertions(+)
Comment 83 commit-hook freebsd_committer freebsd_triage 2023-04-27 12:05:23 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f1a196b59cb5d07606ce3dd7da8d54aaef74b9aa

commit f1a196b59cb5d07606ce3dd7da8d54aaef74b9aa
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-04-27 10:04:36 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-04-27 12:01:43 +0000

    multimedia/nordlicht: Move to FFmpeg 4

    Fails to build with FFmpeg 6

    PR:             261302
    Reported by:    antoine (via exp-run)
    Approved by:    portmgr (blanket, build fix)
    Sponsored by:   Blinkinblox

 multimedia/nordlicht/Makefile                                 | 11 ++++++-----
 multimedia/nordlicht/files/patch-cmake_FindFFmpeg.cmake (new) | 11 +++++++++++
 2 files changed, 17 insertions(+), 5 deletions(-)
Comment 84 commit-hook freebsd_committer freebsd_triage 2023-04-27 12:05:30 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1c4a5a439be18241f9c356261f3275bc0e68cc1e

commit 1c4a5a439be18241f9c356261f3275bc0e68cc1e
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-04-27 09:50:28 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-04-27 12:01:42 +0000

    java/openjfx14: Move to FFmpeg 4

    Fails to build with FFmpeg 6

    PR:             261302
    Reported by:    antoine (via exp-run)
    Approved by:    portmgr (blanket, build fix)
    Sponsored by:   Blinkinblox

 java/openjfx14/Makefile                            |  5 ++-
 ...streamer_projects_linux_avplugin_Makefile (new) | 37 ++++++++++++++++++++++
 2 files changed, 41 insertions(+), 1 deletion(-)
Comment 85 commit-hook freebsd_committer freebsd_triage 2023-04-27 12:05:34 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6fcbf43cefc8f75d0ef55ef154e86bc566c6f0dd

commit 6fcbf43cefc8f75d0ef55ef154e86bc566c6f0dd
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-04-27 09:19:36 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-04-27 12:01:41 +0000

    audio/libgroove: Move to FFmpeg 4

    Fails to build with FFmpeg 6

    PR:             261302
    Reported by:    antoine (via exp-run)
    Approved by:    portmgr (blanket, build fix)
    Sponsored by:   Blinkinblox

 audio/libgroove/Makefile                                |  6 +++++-
 audio/libgroove/files/patch-cmake_FindLibAV.cmake (new) | 11 +++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)
Comment 86 commit-hook freebsd_committer freebsd_triage 2023-04-27 12:05:40 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=685e477b807c7662670de46b042141939af7555e

commit 685e477b807c7662670de46b042141939af7555e
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-04-12 21:21:46 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-04-27 12:01:40 +0000

    multimedia/ffmpeg: update to 6.0

    * --enable-avresample is gone per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/420cedd49745
    * SHADERC replaces GLSLANG per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/da72aca7b025
    * VULKAN is enabled per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/fa2e460f635
    * LIBPLACEBO is enabled to have even more Vulkan goodies
    * LCMS2 is enabled for better ICC profile support
    * JXL is enabled for https://github.com/mpv-player/mpv/commit/1345977f9976

    Changes:        https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n6.0:/Changelog
    PR:             261302
    Reported by:    Repology
    Exp-run by:     antoine
    Approved by:    tcberner

 multimedia/ffmpeg/Makefile                         |  46 +-
 multimedia/ffmpeg/distinfo                         |   6 +-
 .../ffmpeg/files/patch-libavutil_thread.h (new)    |  14 +
 multimedia/ffmpeg/files/patch-svtav1 (gone)        | 437 ----------
 multimedia/ffmpeg/files/patch-vmaf (gone)          | 951 ---------------------
 multimedia/ffmpeg/pkg-plist                        |  77 +-
 6 files changed, 93 insertions(+), 1438 deletions(-)
Comment 87 commit-hook freebsd_committer freebsd_triage 2023-04-27 12:05:46 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=de595bdfccf4c7a80a67ff947705cdd6bdb4a7d8

commit de595bdfccf4c7a80a67ff947705cdd6bdb4a7d8
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-04-27 09:15:52 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-04-27 12:01:40 +0000

    audio/essentia: Move to FFmpeg 4

    Fails to build with FFmpeg 6

    PR:             261302
    Reported by:    antoine (via exp-run)
    Approved by:    portmgr (blanket, build fix)
    Sponsored by:   Blinkinblox

 audio/essentia/Makefile                  |  6 +++++-
 audio/essentia/files/patch-wscript (new) | 11 +++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)
Comment 88 Vladimir Druzenko freebsd_committer freebsd_triage 2023-04-27 13:15:27 UTC
(In reply to Daniel Engberg from comment #80)
Maybe this helps to fix lives use ffmpeg4: https://github.com/salsaman/LiVES/issues/49#issuecomment-1175114359
Comment 89 Vladimir Druzenko freebsd_committer freebsd_triage 2023-04-27 13:33:37 UTC
===>  Patching for ffmpeg-6.0,1
===>  Applying distribution patches for ffmpeg-6.0,1
3 out of 4 hunks failed--saving rejects to configure.rej
1 out of 1 hunks failed--saving rejects to libavcodec/allcodecs.c.rej
===>  FAILED Applying distribution patch 0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch with -p1
*** Error code 1
Comment 90 Daniel Engberg freebsd_committer freebsd_triage 2023-04-27 15:20:06 UTC
(In reply to VVD from comment #88)
I should've phrased it better, I can't figure out a good way of making LiVES pick the "correct" FFmpeg library in a dirty environment (if you have both ffmpeg and ffmpeg4 installed).

(In reply to VVD from comment #89)
Local issues, dirty/broken tree
Comment 91 Matthew Wener 2023-04-27 15:20:58 UTC
=======================<phase: configure      >============================
===>  Configuring for ffmpeg-6.0,1
ERROR: libplacebo >= 4.192.0 not found using pkg-config

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
===>  Script "configure" failed unexpectedly.
Please report the problem to multimedia@FreeBSD.org [maintainer] and attach
the "/wrkdirs/usr/ports/multimedia/ffmpeg/work/ffmpeg-6.0/ffbuild/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Getting above error via Poudriere
Comment 92 Vladimir Druzenko freebsd_committer freebsd_triage 2023-04-27 15:28:40 UTC
(In reply to Daniel Engberg from comment #90)

Quote from my link look like description how to do this:
If multiple versions are the cause then this can easily be resolved. You just need to specify which version to use, so for example:

./configure LIBAVCODEC_LIBS="-L /usr/lib/x86_64-linux-gnu" LIBAVFORMAT_LIBS=..... LIBAVUTIL_LIBS=..... LIBSWSCALE_LIBS=..... LIBSWRESAMPLE_LIBS=....

or possibly even ./configure LDFLAGS=-L/p/a/t/h

If there are multiple versions in the same directory then the file can be specified with -l/path_to_lib.so.x.y.z


> Local issues, dirty/broken tree
portsnap fetch update
Look like not updated "0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch".
Comment 93 Daniel Engberg freebsd_committer freebsd_triage 2023-04-27 16:01:40 UTC
(In reply to Matthew Wener from comment #91)
Can't reproduce using default settings and enabling LIBPLACEBO on top

Tested on 12.4 (amd64) in Poudriere
Comment 94 commit-hook freebsd_committer freebsd_triage 2023-04-27 16:20:29 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fd58bfbadc37f8e42d81b194ecb3926c2b913c7d

commit fd58bfbadc37f8e42d81b194ecb3926c2b913c7d
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-04-27 15:19:47 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-04-27 16:19:03 +0000

    multimedia/ffmpeg: unbreak SVTVP9=on after 685e477b807c

    ===>  Applying distribution patches for ffmpeg-6.0,1
    1 out of 1 hunks failed--saving rejects to libavcodec/allcodecs.c.rej
    1 out of 3 hunks failed--saving rejects to libavformat/dashenc.c.rej
    3 out of 9 hunks failed--saving rejects to libavformat/matroskaenc.c.rej
    ===>  FAILED Applying distribution patch master-0001-Add-ability-for-ffmpeg-to-run-svt-vp9.patch with -p1

    PR:             261302

 multimedia/ffmpeg/Makefile | 2 +-
 multimedia/ffmpeg/distinfo | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
Comment 95 commit-hook freebsd_committer freebsd_triage 2023-04-27 16:20:34 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9073b14666cded630f4b6e4063406b4df865a9f3

commit 9073b14666cded630f4b6e4063406b4df865a9f3
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-04-27 15:19:47 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-04-27 16:19:02 +0000

    multimedia/ffmpeg: unbreak SVTHEVC=on after 685e477b807c

    ===>  Applying distribution patches for ffmpeg-6.0,1
    3 out of 4 hunks failed--saving rejects to configure.rej
    1 out of 1 hunks failed--saving rejects to libavcodec/allcodecs.c.rej
    ===>  FAILED Applying distribution patch 0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch with -p1

    PR:             261302
    Reported by:    VVD

 multimedia/ffmpeg/Makefile | 4 ++--
 multimedia/ffmpeg/distinfo | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)
Comment 96 Jan Beich freebsd_committer freebsd_triage 2023-04-27 16:33:35 UTC
(In reply to commit-hook from comment #86)
ABI has changed e.g., libavcodec.so.58 -> libavcodec.so.60. Requires bumping PORTREVISION en masse in non-BROKEN consumers, including where the dependency is disabled by default via OPTIONS_*.

portmaster/portupgrade rely on PORTREVISION bumps but poudriere may also do in future per https://github.com/freebsd/poudriere/issues/822 Note, pkg-upgrade(8) tracks SONAME via shlib_required.
Comment 97 Matthew Wener 2023-04-27 16:48:38 UTC
Created attachment 241793 [details]
ffmpeg-6.0,1.log

(In reply to Daniel Engberg from comment #93)
Always reproducible on 13.1 and 13.2 amd64
Log attached.
Comment 98 Daniel Engberg freebsd_committer freebsd_triage 2023-04-27 17:12:31 UTC
(In reply to Matthew Wener from comment #97)
You need to have vulkan support enabled
https://github.com/FFmpeg/FFmpeg/blob/n6.0/configure#L3687
Comment 99 commit-hook freebsd_committer freebsd_triage 2023-04-27 17:12:52 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=94ed2ba9cf738a0f57616ea7cf1bd4eb1e000816

commit 94ed2ba9cf738a0f57616ea7cf1bd4eb1e000816
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-04-27 17:07:08 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-04-27 17:11:07 +0000

    multimedia/ffmpeg: unbreak VULKAN=off after 685e477b807c

    ERROR: libplacebo >= 4.192.0 not found using pkg-config

    /usr/local/include/libplacebo/vulkan.h:21:10: fatal error: 'vulkan/vulkan.h' file not found
     #include <vulkan/vulkan.h>
              ^~~~~~~~~~~~~~~~~

    PR:             261302
    Reported by:    Matthew Wener

 multimedia/ffmpeg/Makefile | 1 +
 1 file changed, 1 insertion(+)
Comment 100 Antoine Brodin freebsd_committer freebsd_triage 2023-04-27 17:37:02 UTC
ffmpeg fails to build with recent llvm on i386:

https://pkg-status.freebsd.org/gohan04/data/maini386PR271072-default/2023-04-27_13h20m00s/logs/errors/ffmpeg-6.0,1.log
Comment 101 Jan Beich freebsd_committer freebsd_triage 2023-04-27 19:45:43 UTC
(In reply to Jan Beich from comment #96)
Nevermind. I've only checked multimedia/vlc which was missed in ports f7accb23bf4c.

(In reply to Antoine Brodin from comment #100)
Clang 15 isn't part of any -RELEASE base until FreeBSD 13.3/14.0. It's caused by VK_USE_64_BIT_PTR_DEFINES and also affects armv6, armv7, powerpc but all 32-bit archs are Tier2. This may take some time: upstream report, proper fix that works fine (not just builds).

Possible workarounds:
- CFLAGS_i386=	-Wno-error=int-conversion
- OPTIONS_EXCLUDE_i386+=	LIBPLACEBO VULKAN
Comment 102 Jan Beich freebsd_committer freebsd_triage 2023-04-27 20:14:35 UTC
On a second thought, I'll apply -Wno-error=... workaround for consistency with potentially broken VULKAN runtime on FreeBSD < 13.3 i386/armv7/etc.
Comment 103 commit-hook freebsd_committer freebsd_triage 2023-04-27 20:15:34 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e7f276b2099aee34cbb73dc1dcbd099196b8f3b2

commit e7f276b2099aee34cbb73dc1dcbd099196b8f3b2
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-04-27 17:54:50 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-04-27 20:15:06 +0000

    multimedia/ffmpeg: unbreak with clang 15 on i386 after 685e477b807c

    ./libavutil/vulkan.c:1173:70: error: incompatible integer to pointer conversion assigning to 'void *' from 'VkDescriptorSetLayout' (aka 'unsigned long long') [-Wint-conversion]
                pl->desc_staging[spawn_pipeline_layout.setLayoutCount++] = pl->desc_layout[i];
                                                                         ^ ~~~~~~~~~~~~~~~~~~
    ./libavutil/vulkan.c:1272:29: error: incompatible integer to pointer conversion assigning to 'void *' from 'VkDescriptorSet' (aka 'unsigned long long') [-Wint-conversion]
            pl->desc_staging[i] = pl->desc_set[i*pl->qf->nb_queues + pl->qf->cur_queue];
                                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    PR:             261302
    Reported by:    antoine

 multimedia/ffmpeg/Makefile | 1 +
 1 file changed, 1 insertion(+)
Comment 104 Michal Meloun freebsd_committer freebsd_triage 2023-04-30 05:11:58 UTC
(In reply to commit-hook from comment #103)
armv6 and armv7 have exactly the same problem. Can you please disable 'int-conversion' on these architectures as well?
Comment 105 commit-hook freebsd_committer freebsd_triage 2023-04-30 16:52:42 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=734199369dfe50c12b71579540e3202aa6461a40

commit 734199369dfe50c12b71579540e3202aa6461a40
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-04-30 16:51:58 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-04-30 16:51:58 +0000

    multimedia/ffmpeg: apply e7f276b2099a to armv6 and armv7

    PR:             261302
    Requested by:   mmel

 multimedia/ffmpeg/Makefile | 2 ++
 1 file changed, 2 insertions(+)
Comment 106 Vladimir Druzenko freebsd_committer freebsd_triage 2023-06-14 12:32:51 UTC
(In reply to Daniel Engberg from comment #90)
> I should've phrased it better, I can't figure out a good way of making LiVES pick the "correct" FFmpeg library in a dirty environment (if you have both ffmpeg and ffmpeg4 installed).
I found how to build it in system with ffmpeg4 installed and without ffmpeg-6 installed. So build work in poudriere with minimal changes in Makefile.

But for build on live system with both ffmpegs installed I found only one way - make symlinks on all ffmpeg4 libs with digit "4" and end:
libavutil4.so -> libavutil.so
libavutil4.so.56 -> libavutil.so.56
libavutil4.so.56.70.100 -> libavutil.so.56.70.100
And use something like this in Makefile:
CONFIGURE_ARGS+= LIBAVCODEC_LIBS="-L${LOCALBASE}/ffmpeg4/lib -lavcodec4"
Comment 107 Daniel Engberg freebsd_committer freebsd_triage 2024-01-25 21:17:01 UTC
Migration completed in 2023-04
Comment 108 mario felicioni 2024-01-25 21:36:05 UTC
Hello. Can you explain how to install ffmpeg 4 on FreeBSD 14.0-RELEASE without removing ffmpeg 6 ? Thanks.
Comment 109 George Mitchell 2024-01-25 21:43:36 UTC
(In reply to mario felicioni from comment #108)
There shouldn't be any conflict between the two packages; multimedia/ffmpeg4 installs into /usr/local/ffmpeg4/{bin,include,lib,manshare}.
Comment 110 mario felicioni 2024-01-25 22:10:14 UTC
ok. I have installed it,but I haven't found anywhere the libraries mentioned on comment #106. Why ? 

mario@marietto:/usr/ports/multimedia/ffmpeg4 # make install

===>  Installing for ffmpeg4-4.4.4_9
===>  Checking if ffmpeg4 is already installed
===>   Registering installation for ffmpeg4-4.4.4_9
Installing ffmpeg4-4.4.4_9...
===> SECURITY REPORT: 
      This port has installed the following files which may act as network
      servers and may therefore pose a remote security risk to the system.

/usr/local/ffmpeg4/lib/libavformat.so.58.76.100

      If there are vulnerabilities in these programs there may be a security
      risk to the system. FreeBSD makes no guarantee about the security of
      ports included in the Ports Collection. Please type 'make deinstall'
      to deinstall the port if this is a concern.

      For more information, and contact details about the security
      status of this software, see the following webpage: 
https://ffmpeg.org/

mario@marietto:/usr/ports/multimedia/ffmpeg4 # find / -type f -name "libavutil4*"
nothing.
Comment 111 mario felicioni 2024-01-25 22:16:31 UTC
I don't see any ffmpeg4 libs with digit "4" as an end :

mariuccio@marietto:/usr/local/ffmpeg4/lib # ls

libavcodec.so                   libavformat.so                  libpostproc.so
libavcodec.so.58                libavformat.so.58               libpostproc.so.55
libavcodec.so.58.134.100        libavformat.so.58.76.100        libpostproc.so.55.9.100
libavdevice.so                  libavresample.so                libswresample.so
libavdevice.so.58               libavresample.so.4              libswresample.so.3
libavdevice.so.58.13.100        libavresample.so.4.0.0          libswresample.so.3.9.100
libavfilter.so                  libavutil.so                    libswscale.so
libavfilter.so.7                libavutil.so.56                 libswscale.so.5
libavfilter.so.7.110.100        libavutil.so.56.70.100          libswscale.so.5.9.100

So,I don't know which files should I simlink.
Comment 112 George Mitchell 2024-01-25 22:26:55 UTC
(In reply to mario felicioni from comment #111)
May I suggest reading my comment #109.  Look in /usr/local/ffmpeg4/... (e.g. /usr/local/ffmpeg4/lib/libavformat.so.58.76.100, which was even mentioned in the warning you saw in comment #110).
Comment 113 mario felicioni 2024-01-25 23:10:03 UTC
I understand that the libraries that I should copy to the directory /usr/local/lib are the following ones (some ffmpeg4 libs):

libavutil.so
libavutil.so.56
libavutil.so.56.70.100

So,what I did has been to rename one lib,related to ffmpeg6,like this :

cd /usr/local/lib
mv libavutil.so.58.29.100 _libavutil.so.59.29.100

and then I copied one ffmpeg4 lib from /usr/local/ffmpeg4/lib to /usr/local/lib :

cp /usr/local/ffmpeg4/lib/libavutil.so.56.70.100 /usr/local/libavutil.so.59.29.100

and finally :

cd /usr/local/bin
mv ffmpeg _ffmpeg
mv ffprobe _ffprobe
cd /usr/local/ffmpeg4/bin/
cp ffmpeg /usr/local/bin
cp ffprobe /usr/local/bin

et voila' :

marietto@marietto:/usr/local/bin # ffmpeg -version

ffmpeg version 4.4.4 Copyright (c) 2000-2023 the FFmpeg developers
built with FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)
configuration: --prefix=/usr/local/ffmpeg4 --mandir=/usr/local/ffmpeg4/man --datadir=/usr/local/ffmpeg4/share/ffmpeg4 --docdir=/usr/local/ffmpeg4/share/doc/ffmpeg4 --pkgconfigdir=/usr/local/ffmpeg4/libdata/pkgconfig --disable-static --disable-libcelt --enable-shared --enable-pic --enable-gpl --enable-avresample --cc=cc --cxx=c++ --enable-alsa --disable-libopencore-amrnb --disable-libopencore-amrwb --enable-libaom --disable-libaribb24 --enable-asm --enable-libass --disable-libbs2b --disable-libcaca --disable-libcdio --disable-libcodec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 --disable-debug --enable-htmlpages --enable-libdrm --disable-libfdk-aac --disable-libflite --enable-fontconfig --enable-libfreetype --enable-frei0r --disable-libfribidi --disable-gcrypt --disable-libglslang --disable-libgme --enable-gmp --enable-gnutls --enable-version3 --disable-libgsm --enable-iconv --disable-libilbc --disable-libjack --disable-libklvanc --disable-libkvazaar --disable-ladspa --enable-libmp3lame --disable-liblensfun --disable-libbluray --disable-librsvg --disable-librtmp --enable-libxml2 --disable-lto --disable-lv2 --disable-mbedtls --disable-libmfx --disable-libmodplug --disable-libmysofa --enable-network --disable-nonfree --enable-nvenc --disable-openal --disable-opencl --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenmpt --disable-openssl --disable-libopenvino --enable-optimizations --enable-libopus --disable-pocketsphinx --disable-libpulse --disable-librabbitmq --disable-librav1e --disable-librist --enable-runtime-cpudetect --disable-librubberband --disable-sdl2 --disable-libsmbclient --disable-libsnappy --disable-sndio --disable-libsoxr --disable-libspeex --disable-libsrt --disable-libssh --enable-libsvtav1 --disable-libtensorflow --disable-libtesseract --disable-libtheora --disable-libtwolame --disable-libuavs3d --enable-libv4l2 --enable-vaapi --disable-vapoursynth --enable-vdpau --disable-libvidstab --enable-libvmaf --enable-libvorbis --disable-libvo-amrwbenc --enable-libvpx --disable-vulkan --enable-libwebp --enable-libx264 --enable-libx265 --disable-libxavs2 --enable-libxcb --disable-libxvid --disable-outdev=xv --disable-libzimg --disable-libzmq --disable-libzvbi
libavutil      56. 70.100 / 56. 70.100
libavcodec     58.134.100 / 58.134.100
libavformat    58. 76.100 / 58. 76.100
libavdevice    58. 13.100 / 58. 13.100
libavfilter     7.110.100 /  7.110.100
libavresample   4.  0.  0 /  4.  0.  0
libswscale      5.  9.100 /  5.  9.100
libswresample   3.  9.100 /  3.  9.100
libpostproc    55.  9.100 / 55.  9.100

sorry,my solution has been more tricky than your,but I didn't know how to apply your. My ignorance.
Comment 114 mario felicioni 2024-01-25 23:16:01 UTC
Sorry for the typo. libavutil.so.59.29.100 is libavutil.so.58.29.100 :

cd /usr/local/lib
mv libavutil.so.58.29.100 _libavutil.so.58.29.100

and then I copied one ffmpeg4 lib from /usr/local/ffmpeg4/lib to /usr/local/lib :

cp /usr/local/ffmpeg4/lib/libavutil.so.56.70.100 /usr/local/libavutil.so.58.29.100