From nobody Fri Aug 18 05:17:53 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 4RRqrd3XVgz4qhPK for ; Fri, 18 Aug 2023 05:17:53 +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 4RRqrd0BfYz4LTS for ; Fri, 18 Aug 2023 05:17:53 +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=1692335873; 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=po56/6sDrJGDqS/lrlsyEwgwjpUa926p/0PL1Xnk3Ys=; b=sygn/GJb5ZgxE+cKH2Ise90EbNznxrAPGuMX4tOciOjj2GfAaYS8NIqSFDI8QVHP6T1tnG ozg41Um1QXF7dHXaG1ookeIaTpZ/xrw2OAs43JonYhR+VLcUW51YT7VjnFGGkq1I/KL1xy HzHedzBZfQ/u/65D8PdYVSEADSHq9bTqtKeIox3jnvkE1BTn6whnC0muVO/8why7NJyYkX c/wF1URPJLIlE8W5EhC/LdL+5mPhXVAfaRaD/Mjut0ykHe2cLXfGT8phcIpu1H+jfnvHWS xrFovm8MdS3PH3c8Pi+SWHg+5qoMEviBc78ioO+hfOWkdSUZkK7FobqhkdAlcQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692335873; a=rsa-sha256; cv=none; b=vStMte8LWmVJMn300woXlUhX+5tCPkFNGsZBLt4J/wsCnDO6CNQF65FnbepJgYZhZUiJR3 BEMJopoxYY5MPvFq0SAvXeZK1zxobejDVwrQJ9Fs9zOn/fX+ZX611NIoHClf2rZM37bLgX jtDmh6BtdmDdzrdXFmz5zImy7CFJa8GWJjIpYhyYHA2vggpkJqfw2VN8Lls5227bDioO3L dPeZ9oPDBXRwhM3hMobeOo6+LsGF8baircBdaxg7dG4qBS12vXT9fzvzujdp3BsxX4HNXC WTs6amxqINSPSYl8BQ2J7nEXI3edgKppnlkGhU2WBVOmqlzvk+Hn2OkbrP4Y/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RRqrc6BHRz13bH for ; Fri, 18 Aug 2023 05:17:52 +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 37I5HqHf042380 for ; Fri, 18 Aug 2023 05:17:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 37I5Hq9r042378 for ports-bugs@FreeBSD.org; Fri, 18 Aug 2023 05:17:52 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 273196] xargs(1) fails for a command line shorter than 200 chars: xargs: command line cannot be assembled, too long Date: Fri, 18 Aug 2023 05:17:53 +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: yuri@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273196 Bug ID: 273196 Summary: xargs(1) fails for a command line shorter than 200 chars: xargs: command line cannot be assembled, too long 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: yuri@freebsd.org This script: > echo aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa= aaaaaaaaaaaa | \ > xargs -I '{}' echo "'{}' xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx '{}'" fails: > xargs: command line cannot be assembled, too long The resulting command line has only 3 arguments: 80, 100, and 80 characters. This is quite a short command line, but xargs(1) fails for some reason. xargs(1) should be able to assemble commands as long as they can be execute= d, which is much longer than the above example. FreeBSD 13.2 --=20 You are receiving this mail because: You are the assignee for the bug.=