From nobody Thu Dec 07 22:13:23 2023 X-Original-To: multimedia@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 4SmT774hMcz53hLK for ; Thu, 7 Dec 2023 22:13:23 +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 4SmT772bSlz3Kwt for ; Thu, 7 Dec 2023 22:13:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701987203; a=rsa-sha256; cv=none; b=ssYDAZ1kifGyhDgOoZy9lGdX2ihgq7BBXYoGKUJQWykq8odbA2f6tacdnW6bw5qATSXiLC 6EpAdUw/NM7X3dEa0zgeC4zJIWktYp76kerrIgyZ4C6udD+zvvVCAacNHP4cvmJ5VAIs0R DD5EvwjxuuUIOGRY2W8ayIpHCdD3/PqMvuCCHF7b2lZUfMkiDqhKvB3aGBwSgJl2yeVwgK TJY5pdxAIDNzRAbQkb8GgTYMs/cPHiJTEulFt5YtHvjkfH8pCw5IxPX21rLzR3+D1Hb+L6 /E4GnWunPzl0pRdDNS8DCEpiN725fbj5W9ATNfwm2ws0Aw+9evwDPbVJHj+ZaQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701987203; 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: in-reply-to:in-reply-to:references:references; bh=hyzP4i98rY9weGo3yJ4dT3+g5bjT7mMzQ7enQQSGKW8=; b=bk9HaHI48H151+WoeCLOyorWfbU+hLtGLZL0hb9384y2f2owBc4asA+W6NjNx51snjMDf/ DAkzSgucbhWzCD56Rjmf+PztjYdDMV5ORAawlHjBJfke/2bUT//oYC5bvU82MbBnA69NvI SPu0De8huPstW4WkL2Cv2C23hLvb7IXnXCeTvd68i5T6z9Ks2arP3OLNMV5jhXQ/KVdOWz Hm7wGtyWk0dQ+VIhF4lvneZdqfkDeqi4jNbp/BRi+iVCQ2FR/sRjE04byZxS26RVVyq7R6 j9+SlufEPMFqCi+1apP1V+nnAnlvSoKtGgdfGyY6R+sokxB3rG2qBEilbgCOwQ== 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 4SmT771fHjzvGp for ; Thu, 7 Dec 2023 22:13:23 +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 3B7MDNHi032505 for ; Thu, 7 Dec 2023 22:13:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3B7MDNfg032504 for multimedia@FreeBSD.org; Thu, 7 Dec 2023 22:13:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: maintainer-feedback requested: [Bug 275615] multimedia/ffmpeg: compilation failure in libavcodec/librsvgdec.c Date: Thu, 07 Dec 2023 22:13:23 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@freebsd.org MIME-Version: 1.0 Bugzilla Automation has asked freebsd-multimedia (Nobody) for maintainer-feedback: Bug 275615: multimedia/ffmpeg: compilation failure in libavcodec/librsvgdec= .c https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275615 --- Description --- Compilation fails at this point: cc -I. -I./ -DLIBICONV_PLUG -isystem /usr/local/include -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H -DBUILDING_avcodec -O2 -pipe -march=3Dbroadwell=20 -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=3Dc11 -fomit-frame-pointer -fPIC -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/openjpeg-2.5 -I/usr/local/include/librsvg-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/cairo -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -D_THREAD_S= AFE -I/usr/local/include/libpng16 -I/usr/local/include/pixman-1 -pthread -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/webp -I/usr/local/include -I/usr/local/include/webp -I/usr/local/include -DX264_API_IMPORTS -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -Wdeclaration-after-statement -Wa= ll -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-bool-operation -Wno-char-subscripts -O3 -fno-math-errno -fno-signed-zeros -flto -mstack-alignment=3D16 -Qunused-arg= uments -Werror=3Dimplicit-function-declaration -Werror=3Dmissing-prototypes -Werror=3Dreturn-type -MMD -MF libavcodec/librsvgdec.d -MT libavcodec/librsvgdec.o -c -o libavcodec/librsvgdec.o libavcodec/librsvgdec= .c libavcodec/librsvgdec.c:93:5: error: use of undeclared identifier 'viewport' viewport.width =3D dimensions.width; ^ libavcodec/librsvgdec.c:94:5: error: use of undeclared identifier 'viewport' viewport.height =3D dimensions.height; ^ 2 errors generated. gmake[2]: *** [ffbuild/common.mak:81: libavcodec/librsvgdec.o] Error 1 gmake[2]: Leaving directory '/usr/ports/multimedia/ffmpeg/work/ffmpeg-6.1' Earlier references to viewport in the same file, including its declaration,= but not those in lines 93 and 94, are conditional on #if LIBRSVG_MAJOR_VERSION > 2 || LIBRSVG_MAJOR_VERSION =3D=3D 2 && LIBRSVG_MINOR_VER SION >=3D 52 which probably is not true with the build starting with this message: =3D=3D=3D>>> The dependency for graphics/librsvg2-rust seems to be handled by librsvg2-2.40.21_3