From nobody Sat Nov 27 23:11:35 2021 X-Original-To: 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 C383618A4725 for ; Sat, 27 Nov 2021 23:11:35 +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 4J1nRq2zG9z3Jpl for ; Sat, 27 Nov 2021 23:11:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4722524587 for ; Sat, 27 Nov 2021 23:11:35 +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 1ARNBZsh030205 for ; Sat, 27 Nov 2021 23:11:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1ARNBZ06030204 for bugs@FreeBSD.org; Sat, 27 Nov 2021 23:11:35 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: bugs@FreeBSD.org Subject: [Bug 260082] sbin/ping fails if WITHOUT_INET and WITHOUT_INET6 are set Date: Sat, 27 Nov 2021 23:11:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: editor@callfortesting.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638054695; 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=6cA3IKkMuzR+GC2btyIOQ9zjbBbz+cTyid13ZuiNI2Y=; b=Ppoi7OTIAZCnnkd8oKKkMKXOy9lRfbOwMuc2DSEAeGO07ESvMkYH4NnGd0mMr+dMJjB8wF GMJW+NyGul5W0wk/MBpxcd+y/w8v9XIzFkayP9PvmDUwVAk1fvk5HcJHhyn0hBFi91sCmP Daa5mKQrobgyQ06ZA6Rjzt1oNDTUQGnpSbzZRgSUQy2SaVSYASvVkt2Gv4Bav3fuoE0/Da hEkPfJiF+C+n7rCVqZS0VknK7JSTKLtcDLXHW27xDO/Oc7lgRaIQKlixBqUDyhm2vuKKeW wiVp1jS4TS0ABex/BWc3HlErT1+eb1RlO4lnG/mHJv9vH38O+7H3EEm3XgWwwg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638054695; a=rsa-sha256; cv=none; b=v50A7kR7gWF86KNFAotI7kWPK9IUJ72CIRFZGEPQLcpQ6P5+G6LtFjOGSTTyOHjcC/8GYs brb/cpHdj06l88b2l/Sr6SXBuLsWsImJzkTD0xZp4XtwyWtp6mhMm0of1h7MY+LG7pen+3 fKiN1OyoPVw2wHEeBHg2Sz+9rRaDm1sE+BgUHx00/Bg+JlVl0CHEfuJ01zRNvWigXJEgSL 0F5YcTE24g+LFzL4FEgbpP4M1B+wju0pqzyiTjWvIDRATB6TebxJoop3KY/4f75VO+UhlS 4SkvgcQEnK7Lac5p8VBW9Ir/GvU2uvR/EKDJ9FYaENk5I/QzTQBKcl3V05fydw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260082 Bug ID: 260082 Summary: sbin/ping fails if WITHOUT_INET and WITHOUT_INET6 are set Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: editor@callfortesting.org This commit appears to cause sbin/ping to fail of both the WITHOUT_INET and WITHOUT_INET6 build options are set: https://github.com/freebsd/freebsd-src/commit/9ce201f2ee3ca340032d9cc71d91a= 36b3b45a4c3#diff-07afc5f05fc4879c80f36cee3bf6fdb5f19d233084824b8f517c18d205= f6d23f The error: cc -target x86_64-unknown-freebsd14.0 --sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -fno-common -DORDER= =20=20 -DN DEBUG -MD -MF.depend.ealloc.o -MTealloc.o -std=3Dgnu99 -Wno-format-zero-le= ngth -n obuiltininc -idirafter /usr/lib/clang/11.0.1/include -Qunused-arguments -c /us r/src/sbin/rcorder/ealloc.c -o ealloc.o --- all_subdir_sbin/ping --- /usr/src/sbin/ping/main.c:83:38: error: expected ')' while ((ch =3D getopt(argc, argv, ":" OPTSTR)) !=3D -1) { ^ /usr/src/sbin/ping/main.c:83:21: note: to match this '(' while ((ch =3D getopt(argc, argv, ":" OPTSTR)) !=3D -1) { ^ 1 error generated. Reverting to the previous commit of /usr/src/sbin/ping/main.c does not prod= uce the error. --=20 You are receiving this mail because: You are the assignee for the bug.=