[Bug 271162] net/freerdp: compiler error: use of undeclared identifier 'AV_CODEC_CAP_TRUNCATED'

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 01 May 2023 08:25:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271162

            Bug ID: 271162
           Summary: net/freerdp: compiler error: use of undeclared
                    identifier 'AV_CODEC_CAP_TRUNCATED'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: ohartmann@walstatt.org
                CC: vvd@unislabs.com
             Flags: maintainer-feedback?(vvd@unislabs.com)
                CC: vvd@unislabs.com

Host: FreeBSD 14.0-CURRENT #0 main-n262658-b347c228460: Sat Apr 29 13:07:15
CEST 2023 amd64

Host ist running pousdriere jail for 13-STABLE, see below.

The port fails to compile due to the fatal compiler error when FFMPEG option is
ON:

[...]
/wrkdirs/usr/ports/net/freerdp/work/freerdp-2.10.0/libfreerdp/codec/h264_ffmpeg.c:532:41:
error: use of undeclared identifier 'AV_CODEC_CAP_TRUNCATED'; did you mean
'AV_CODEC_ID_TRUEHD'?
                if (sys->codecDecoder->capabilities & AV_CODEC_CAP_TRUNCATED)
                                                      ^~~~~~~~~~~~~~~~~~~~~~
[...]

=>> Building net/freerdp
build started at Sun Apr 30 18:44:11 UTC 2023
port directory: /usr/ports/net/freerdp
package name: freerdp-2.10.0_3
building for: FreeBSD myhost.de 13.2-STABLE FreeBSD 13.2-STABLE 1302505 amd64
maintained by: vvd@unislabs.com
Makefile datestamp: -rw-r--r--  1 root  wheel  5108 Apr 29 05:39
/usr/ports/net/freerdp/Makefile
Ports top last git commit: bd43222195a3
Ports top unclean checkout: no
Port dir last git commit: f7accb23bf4c
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.3.99.20220831
Host OSVERSION: 1400088
Jail OSVERSION: 1302505
Job Id: 01

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1302505
UNAME_v=FreeBSD 13.2-STABLE 1302505
UNAME_r=13.2-STABLE
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.99.20220831
MAKEOBJDIRPREFIX=/pool/sources/13-STABLE/obj/
MASTERMNT=/pool/poudriere/data/.m/13-amd64-head-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/pool/poudriere/data/.m/13-amd64-head-default/01/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=13-amd64-head-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/pool/poudriere/data/.m/13-amd64-head-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.3.99.20220831
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for freerdp-2.10.0_3:
     ALSA=off: ALSA audio architecture support
     BROKENFOCUS=off: Work around focus bug in some WMs (PR #254908)
     CUPS=on: CUPS printing system support
     FAAC=off: FAAC AAC encoder support
     FAAD=off: FAAD AAC decoder support
     FFMPEG=on: FFmpeg support (WMA, AIFF, AC3, APE...)
     GSM=off: GSM codec support
     GSTREAMER=on: Multimedia support via GStreamer
     ICU=on: Unicode support via ICU
     JPEG=off: JPEG image format support
     KERBEROS=on: Kerberos support
     LAME=off: LAME MP3 audio encoder support
     MANPAGES=on: Build and/or install manual pages
     OPENH264=off: H.264 video codec support via OpenH264
     PCSC=on: Smart card support (smart card device redirection)
     PULSEAUDIO=on: PulseAudio sound server support
     SOXR=off: SoX resampler support via libsoxr
     SSE=on: Use SSE optimized routines
     WAYLAND=on: Build FreeRDP Wayland client
     X11=on: Build FreeRDP X11 client
====> Options available for the radio SCALE: you can only select none or one of
them
     CAIRO=off: Use CAIRO image library for screen resizing
     SWSCALE=on: Use SWScale image library for screen resizing (recommended)
===> Use 'make config' to modify these settings
---End OPTIONS List---

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