From nobody Sun Apr 30 10:54:57 2023 X-Original-To: desktop@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q8NXL2NQ6z46fyh for ; Sun, 30 Apr 2023 10:54:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q8NXL0tG8z488Z for ; Sun, 30 Apr 2023 10:54:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682852098; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UE4nUxoBVLx6/orHPVf6y+W8oxVSsTfeQf2azEF/cOw=; b=AfAOSLIV1J+RT++90eWtL6U1GjHqeyQay9eX5Y8GNfOgx0nVT35+/LfBaTMqNzTi7eVBBm CF0ebMSeaC1xhXpE33hUuo/eaq7Cw/7ohXAuPNS6HfyI3segVgxhZpw51BGBkASFlk+x+5 IcOn+Fm8j71vHt+CSDR3890+0vagApn/JA2DYkv8a4cvUTlrlOUnlRlcAfO86mJN0MqQ91 Cm3oVDtmtbgir8ZizzH2XjPVM0/dDf+xBKxTUANyFK/JfA+aOFvzIYlQQ250jOafDEIex6 bU67UcQgxTHJABFNsnx6Fol98hRO+puUcxZwuIsotOUZ9DeKEbNzLmoNGi2Rtw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682852098; a=rsa-sha256; cv=none; b=T1pxHpXEChsFZ5w8J5htXsboHrjDJcmjGAHe9HbxU0pk4eS2sW0bD28OvVj/MNOee3OTDu yc76Rns53Bx3OaG4C3wKg3BbrzG/AwYlh4jY2BIqx2s6yN3jmZQMLqnkgvhyTh+8ADF/j8 hmvMl8g4Ucscal/Y60T2oEzYHO/pJMaFLhR6JvF+XOX8mi0HTxk+80BXbo6yeNaGT6nJrD Nu5nvwFaJlRGPJW5Adp7R7MimvbR9pCFRDF91p/GisdLfR+nJTb7qOBUIqoDcFfsR/6Isi F3kzf13/4tQCzxlHasNzGbw3jas+Y0TYLuEAiwvJUkM0zH0Td/e17sEizWZspg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q8NXK72wszLVg for ; Sun, 30 Apr 2023 10:54:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 33UAsv6Q037121 for ; Sun, 30 Apr 2023 10:54:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33UAsvlI037120 for desktop@FreeBSD.org; Sun, 30 Apr 2023 10:54:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [Bug 271145] x11-toolkits/gtk40: ffmpeg multimedia backend enabled with ffmpeg 6 breaks compilation Date: Sun, 30 Apr 2023 10:54:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: xxjack12xx@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Using and improving FreeBSD on the desktop List-Archive: https://lists.freebsd.org/archives/freebsd-desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271145 Bug ID: 271145 Summary: x11-toolkits/gtk40: ffmpeg multimedia backend enabled with ffmpeg 6 breaks compilation Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: desktop@FreeBSD.org Reporter: xxjack12xx@gmail.com Assignee: desktop@FreeBSD.org Flags: maintainer-feedback?(desktop@FreeBSD.org) Having ffmpeg-6.0,1 installed and trying to compile gtk40 with ffmpeg multimedia backend enabled results in the following error: [ 34% 576/1610] cc -Imodules/media/libmedia-ffmpeg.so.p -Imodules/media -I../modules/media -I. -I.. -Igtk -I../gtk -Igdk/x11 -I../gdk/x11 -Igdk -I../gdk -Igtk/css -Igsk -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/graphene-1.0 -I/usr/local/lib/graphene-1.0/include -I/usr/local/include/libepoll-shim -fno-color-diagnostics -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -std=3Dgnu99 -O3 -DG_LOG_USE_STRUCTURED=3D1 -DGLIB_DISABLE_DEPRECATION_WARNINGS '-DGTK_VERSION=3D"4.10.3"' -D_GNU_SOURCE -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -O2 -pipe -march=3Dhaswell -fstack-protector-strong -isy= stem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -mfpmath=3Dsse -msse -msse2 -D_THREAD_SAFE -DGTK_COMPILATION -fno-strict-aliasing -Wno-c++11-extensions -Wno-missing-include-dirs -Wno-typedef-redefinition -Wno-tautological-constant-out-of-range-compare -Wformat=3D2 -Wformat-nonliteral -Wformat-security -Wignored-qualifiers -Wimplicit-function-declaration -Wmisleading-indentation -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wuninitialized -Wunused -Waddress -Warray-bounds -Wempty-body -Wimplicit -Wimplicit-fallthrough -Winit-self -Wint-to-pointer-cast -Wmain -Wmissing-braces -Wmissing-declarations -Wmissing-prototypes -Wnonnull -Wpointer-to-int-cast -Wredundant-decls -Wreturn-type -Wsequence-point -Wtrigraphs -Wvla -Wwrite-strings -fvisibility=3Dhidden -MD -MQ modules/media/libmedia-ffmpeg.so.p/gtkffmediafile.c.o -MF modules/media/libmedia-ffmpeg.so.p/gtkffmediafile.c.o.d -o modules/media/libmedia-ffmpeg.so.p/gtkffmediafile.c.o -c ../modules/media/gtkffmediafile.c FAILED: modules/media/libmedia-ffmpeg.so.p/gtkffmediafile.c.o=20 cc -Imodules/media/libmedia-ffmpeg.so.p -Imodules/media -I../modules/media = -I. -I.. -Igtk -I../gtk -Igdk/x11 -I../gdk/x11 -Igdk -I../gdk -Igtk/css -Igsk -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/graphene-1.0 -I/usr/local/lib/graphene-1.0/include -I/usr/local/include/libepoll-shim -fno-color-diagnostics -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -std=3Dgnu99 -O3 -DG_LOG_USE_STRUCTURED=3D1 -DGLIB_DISABLE_DEPRECATION_WARNINGS '-DGTK_VERSION=3D"4.10.3"' -D_GNU_SOURCE -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -O2 -pipe -march=3Dhaswell -fstack-protector-strong -isy= stem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -mfpmath=3Dsse -msse -msse2 -D_THREAD_SAFE -DGTK_COMPILATION -fno-strict-aliasing -Wno-c++11-extensions -Wno-missing-include-dirs -Wno-typedef-redefinition -Wno-tautological-constant-out-of-range-compare -Wformat=3D2 -Wformat-nonliteral -Wformat-security -Wignored-qualifiers -Wimplicit-function-declaration -Wmisleading-indentation -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wuninitialized -Wunused -Waddress -Warray-bounds -Wempty-body -Wimplicit -Wimplicit-fallthrough -Winit-self -Wint-to-pointer-cast -Wmain -Wmissing-braces -Wmissing-declarations -Wmissing-prototypes -Wnonnull -Wpointer-to-int-cast -Wredundant-decls -Wreturn-type -Wsequence-point -Wtrigraphs -Wvla -Wwrite-strings -fvisibility=3Dhidden -MD -MQ modules/media/libmedia-ffmpeg.so.p/gtkffmediafile.c.o -MF modules/media/libmedia-ffmpeg.so.p/gtkffmediafile.c.o.d -o modules/media/libmedia-ffmpeg.so.p/gtkffmediafile.c.o -c ../modules/media/gtkffmediafile.c ../modules/media/gtkffmediafile.c:379:14: warning: 'channel_layout' is deprecated [-Wdeprecated-declarations] codec_ctx->channel_layout =3D codec->channel_layouts ? codec->channel_layouts[0] : AV_CH_LAYOUT_STEREO; ^ /usr/local/include/libavcodec/avcodec.h:1099:5: note: 'channel_layout' has = been explicitly marked deprecated here attribute_deprecated ^ /usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ ../modules/media/gtkffmediafile.c:379:38: warning: 'channel_layouts' is deprecated [-Wdeprecated-declarations] codec_ctx->channel_layout =3D codec->channel_layouts ? codec->channel_layouts[0] : AV_CH_LAYOUT_STEREO; ^ /usr/local/include/libavcodec/codec.h:213:5: note: 'channel_layouts' has be= en explicitly marked deprecated here attribute_deprecated ^ /usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ ../modules/media/gtkffmediafile.c:379:63: warning: 'channel_layouts' is deprecated [-Wdeprecated-declarations] codec_ctx->channel_layout =3D codec->channel_layouts ? codec->channel_layouts[0] : AV_CH_LAYOUT_STEREO; ^ /usr/local/include/libavcodec/codec.h:213:5: note: 'channel_layouts' has be= en explicitly marked deprecated here attribute_deprecated ^ /usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ ../modules/media/gtkffmediafile.c:380:14: warning: 'channels' is deprecated [-Wdeprecated-declarations] codec_ctx->channels =3D av_get_channel_layout_nb_channels (codec_ctx->channel_layout); ^ /usr/local/include/libavcodec/avcodec.h:1041:5: note: 'channels' has been explicitly marked deprecated here attribute_deprecated ^ /usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ ../modules/media/gtkffmediafile.c:380:25: warning: 'av_get_channel_layout_nb_channels' is deprecated [-Wdeprecated-declaration= s] codec_ctx->channels =3D av_get_channel_layout_nb_channels (codec_ctx->channel_layout); ^ /usr/local/include/libavutil/channel_layout.h:473:1: note: 'av_get_channel_layout_nb_channels' has been explicitly marked deprecated h= ere attribute_deprecated ^ /usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ ../modules/media/gtkffmediafile.c:380:71: warning: 'channel_layout' is deprecated [-Wdeprecated-declarations] codec_ctx->channels =3D av_get_channel_layout_nb_channels (codec_ctx->channel_layout); ^ /usr/local/include/libavcodec/avcodec.h:1099:5: note: 'channel_layout' has = been explicitly marked deprecated here attribute_deprecated ^ /usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ ../modules/media/gtkffmediafile.c:448:10: warning: 'channel_layout' is deprecated [-Wdeprecated-declarations] frame->channel_layout =3D channel_layout; ^ /usr/local/include/libavutil/frame.h:523:5: note: 'channel_layout' has been explicitly marked deprecated here attribute_deprecated ^ /usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ ../modules/media/gtkffmediafile.c:486:73: warning: 'channel_layout' is deprecated [-Wdeprecated-declarations] =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 codec_ctx->channel_layout, ^ /usr/local/include/libavcodec/avcodec.h:1099:5: note: 'channel_layout' has = been explicitly marked deprecated here attribute_deprecated ^ /usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ ../modules/media/gtkffmediafile.c:835:68: warning: 'channels' is deprecated [-Wdeprecated-declarations] av_opt_set_int (self->swr_ctx, "in_channel_count", in_codec_ctx->channels, 0); ^ /usr/local/include/libavcodec/avcodec.h:1041:5: note: 'channels' has been explicitly marked deprecated here attribute_deprecated ^ /usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ ../modules/media/gtkffmediafile.c:838:70: warning: 'channels' is deprecated [-Wdeprecated-declarations] av_opt_set_int (self->swr_ctx, "out_channel_count", out_codec_ctx->channe= ls, 0); ^ /usr/local/include/libavcodec/avcodec.h:1041:5: note: 'channels' has been explicitly marked deprecated here attribute_deprecated ^ /usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ ../modules/media/gtkffmediafile.c:864:22: error: no member named 'control_message' in 'struct AVOutputFormat' if (candidate->control_message) ~~~~~~~~~ ^ ../modules/media/gtkffmediafile.c:942:102: warning: 'channel_layout' is deprecated [-Wdeprecated-declarations] =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 self->output_audio_stream->codec_ctx->channel_layout, =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ /usr/local/include/libavcodec/avcodec.h:1099:5: note: 'channel_layout' has = been explicitly marked deprecated here attribute_deprecated ^ /usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ 11 warnings and 1 error generated. --=20 You are receiving this mail because: You are the assignee for the bug.=