Date: Sat, 11 Feb 2023 08:08:48 +0100 From: =?UTF-8?Q?Jos=C3=A9_P=C3=A9rez?= <fbl@aoek.com> To: ports@freebsd.org Cc: bofh@freebsd.org Subject: net/liblinphone fails to biuld on 14.0-CURRENT 1400079 Message-ID: <f53f75c496e35061ee16e9b34838dfba@mail.yourbox.net>
next in thread | raw e-mail | index | archive | help
Hi, I get the following error when poudriere building net/liblinphone on 14.0-CURRENT 1400079:q /wrkdirs/usr/ports/net/liblinphone/work/liblinphone-c5d52f725840bceca36874f480d86bdbb91f5b7e/console/linphonec.c:968:21: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] linphonec_idle_call () ^ void /wrkdirs/usr/ports/net/liblinphone/work/liblinphone-c5d52f725840bceca36874f480d86bdbb91f5b7e/console/linphonec.c:978:3: warning: 'linphone_core_accept_call' is deprecated [-Wdeprecated-declarations] linphone_core_accept_call(opm, linphone_core_get_current_call(opm)); ^ /wrkdirs/usr/ports/net/liblinphone/work/liblinphone-c5d52f725840bceca36874f480d86bdbb91f5b7e/include/linphone/core.h:6474:17: note: 'linphone_core_accept_call' has been explicitly marked deprecated here LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus linphone_core_accept_call(LinphoneCore *core, LinphoneCall *call); ^ /wrkdirs/usr/ports/net/liblinphone/work/liblinphone-c5d52f725840bceca36874f480d86bdbb91f5b7e/include/linphone/defs.h:48:29: note: expanded from macro 'LINPHONE_DEPRECATED' #define LINPHONE_DEPRECATED MS2_DEPRECATED ^ /usr/local/include/mediastreamer2/mscommon.h:47:40: note: expanded from macro 'MS2_DEPRECATED' #define MS2_DEPRECATED __attribute__ ((deprecated)) ^ /wrkdirs/usr/ports/net/liblinphone/work/liblinphone-c5d52f725840bceca36874f480d86bdbb91f5b7e/console/linphonec.c:1277:28: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] handle_configfile_migration() ^ void 12 warnings and 2 errors generated. ninja: build stopped: subcommand failed. *** Error code 1 Stop. make: stopped in /usr/ports/net/liblinphone Is this known? Thank you. -- José Pérez
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f53f75c496e35061ee16e9b34838dfba>