From nobody Wed May 10 05:39:38 2023 X-Original-To: ports-bugs@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 4QGP3v2fgHz4B5rw for ; Wed, 10 May 2023 05:39:39 +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 4QGP3v0Kg4z4DHC for ; Wed, 10 May 2023 05:39:39 +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=1683697179; 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=ol41oP6Ap6qimDsOgXRYk4HGbY403IDPavBfBHnhTBs=; b=nl7h/pXvk9YzHwRqf28L25kY/mo/7cGqFrAtdQf8cPGC655l6hqLnNFOj5mVPCCWCbQCc9 38CShr085L5J//7cmCK7qfYtwusdYR8KbE8/o3E6i6FBMhGbOcLq9QsjZZhsFiuvy4mNOE JTc3bFac5Vqmb+7OOV7M4FK+/J2SEq25qv8q377m0AMXTbVR9n39FQDz2VIAtcSgcLYjtY K/EwfAV8Oy4WRdMUScamZnM87izvpdy7YlXfUJ0IBf34PxQROFusbO3/HzuIrKCxhxMG3g hO0J7kAeppGzJdlgQwTFBd9MpBqrZ4n9ubJT+edeanR0ReKoODPFewvmG57X1A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683697179; a=rsa-sha256; cv=none; b=g8NpOB449lfYCh8SjaRRQLJtDT4G9WLFxcV8uke0sph5GuBVYsoucEA5E9X4UbM5bQ5jsS H3ls9dbJfuL3MJcfijtFsqGhiXjakmitffJ1yaGlH6az1ULmIupgz9phWN+62EFODjHU/2 6tMVfn4iUAGXPxJVpMalFLZFAdnvBHFipBK2YVyktsPTQIKW3wTQv3Z/TSpOCIEy9vwyU7 rHoFVlPMTvA7UWWtiX0omQAbA+YGKRB9k8TXLU5v+jfhqrfI+x2fxWffeUUX7J6OcyonKh 8pNUsIPeFO5kt2FTyxHW71KXUxA7zLGasEqRiddxlkYK2cW1SdesTUyBAWfMUw== 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 4QGP3t6N7dzyHT for ; Wed, 10 May 2023 05:39:38 +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 34A5dcum045247 for ; Wed, 10 May 2023 05:39:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34A5dcQF045246 for ports-bugs@FreeBSD.org; Wed, 10 May 2023 05:39:38 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: ports-bugs@FreeBSD.org Subject: [Bug 271337] net/trafshow - Build fails on 14-CURRENT Date: Wed, 10 May 2023 05:39:38 +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 Only Me X-Bugzilla-Who: cy@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@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 cc 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271337 Bug ID: 271337 Summary: net/trafshow - Build fails on 14-CURRENT Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: cy@FreeBSD.org CC: portmaster@bsdforge.com CC: portmaster@bsdforge.com Flags: maintainer-feedback?(portmaster@bsdforge.com) Build fails on 14-CURRENT with the following errors; trafshow.c:63:12: error: static declaration of 'pcap_init' follows non-stat= ic declaration static int pcap_init(PCAP_HANDLER **ph_list, pcap_if_t *dp); ^ /usr/include/pcap/pcap.h:386:14: note: previous declaration is here PCAP_API int pcap_init(unsigned int, char *); ^ trafshow.c:177:22: error: incompatible pointer to integer conversion passing 'PCAP_HANDLER **' (aka 'struct pcap_handler **') to parameter of type 'unsi= gned int' [-Wint-conversion] if ((op =3D pcap_init(&ph_list, dev_list)) < 1) { ^~~~~~~~ /usr/include/pcap/pcap.h:386:36: note: passing argument to parameter here PCAP_API int pcap_init(unsigned int, char *); ^ trafshow.c:177:32: warning: incompatible pointer types passing 'pcap_if_t *' (aka 'struct pcap_if *') to parameter of type 'char *' [-Wincompatible-pointer-types] if ((op =3D pcap_init(&ph_list, dev_list)) < 1) { ^~~~~~~~ /usr/include/pcap/pcap.h:386:44: note: passing argument to parameter here PCAP_API int pcap_init(unsigned int, char *); ^ trafshow.c:100:12: warning: variable 'show_thr' set but not used [-Wunused-but-set-variable] pthread_t show_thr, sig_thr, pcap_thr; ^ trafshow.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ trafshow.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] catch_signals(arg) ^ trafshow.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trafshow.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcap_matchdev(dp, name) ^ trafshow.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trafshow.c:303:1: error: static declaration of 'pcap_init' follows non-stat= ic declaration pcap_init(ph_list, dp) ^ /usr/include/pcap/pcap.h:386:14: note: previous declaration is here PCAP_API int pcap_init(unsigned int, char *); ^ trafshow.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcap_init(ph_list, dp) ^ trafshow.c:420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcaph_create(top, nh) ^ trafshow.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcaph_close(ph) ^ trafshow.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcap_setexpr(ph, expr) ^ trafshow.c:518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcap_feed(arg) ^ trafshow.c:518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trafshow.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcap_feed2(arg) ^ trafshow.c:553:6: warning: variable 'npkt' set but not used [-Wunused-but-set-variable] int npkt =3D -1, ndev, op; ^ trafshow.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcap_feed2(arg) ^ trafshow.c:605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse_feed(a, h, p) ^ trafshow.c:605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trafshow.c:627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcap_save(ph, ns) ^ trafshow.c:663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcap_show(arg) ^ trafshow.c:709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcap_purge(arg) ^ trafshow.c:730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcap_clear(arg) ^ trafshow.c:743:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcap_get_selected(ph) ^ trafshow.c:756:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcap_set_selected(ph, idx) ^ trafshow.c:773:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] traf_show(arg) ^ trafshow.c:773:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 26 warnings and 3 errors generated. *** [trafshow.o] Error code 1 make[1]: stopped in /wrkdirs/usr/ports/net/trafshow/work/trafshow-5.2.3 --- screen.o --- In file included from screen.c:24: /usr/include/sys/termios.h:3:2: warning: "this file includes which is deprecated, use instead" [-W#warnings] #warning "this file includes which is deprecated, use instead" ^ screen.c:49:1: warning: a function definition without a prototype is deprec= ated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototyp= e] screen_open(resize) ^ screen.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] screen_dock_cursor(y, x) ^ 3 warnings generated. --- getkey.o --- getkey.c:54:1: warning: a function definition without a prototype is deprec= ated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototyp= e] getkey_init(ph) ^ getkey.c:69:1: warning: a function definition without a prototype is deprec= ated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototyp= e] read_key(sd, data, len) ^ getkey.c:69:1: warning: a function definition without a prototype is deprec= ated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototyp= e] getkey.c:83:1: warning: a function definition without a prototype is deprec= ated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototyp= e] get_selector(ph_list) ^ getkey.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse_key(key, ph_list) ^ getkey.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getkey.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scan_key(buf, len) ^ getkey.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getkey.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] init_edit_string(prompter, charset, size) ^ getkey.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getkey.c:536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] edit_string(ch) ^ getkey.c:536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 12 warnings generated. --- colormask.o --- colormask.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] colormask(nh) ^ 1 warning generated. 1 error make[1]: stopped in /wrkdirs/usr/ports/net/trafshow/work/trafshow-5.2.3 =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/net/trafshow =3D>> Cleaning up wrkdir =3D=3D=3D> Cleaning for trafshow-5.2.3_3,1 build of net/trafshow | trafshow-5.2.3_3,1 ended at Tue May 9 22:11:17 PDT 2023 build time: 00:00:44 !!! build failure encountered !!! --=20 You are receiving this mail because: You are the assignee for the bug.=