From owner-freebsd-ports Sun Jan 12 22: 0:10 2003 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4918A37B405 for ; Sun, 12 Jan 2003 22:00:08 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4B4143F1E for ; Sun, 12 Jan 2003 22:00:06 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0D606NS008908 for ; Sun, 12 Jan 2003 22:00:06 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0D606li008907; Sun, 12 Jan 2003 22:00:06 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6425537B401 for ; Sun, 12 Jan 2003 21:57:00 -0800 (PST) Received: from mail.selfstyled.dyndns.org (245.97.174.204.adsl.island.net [204.174.97.245]) by mx1.FreeBSD.org (Postfix) with SMTP id C714843F5B for ; Sun, 12 Jan 2003 21:56:59 -0800 (PST) (envelope-from gord@selfstyled.dyndns.org) Received: (qmail 43331 invoked by uid 1001); 13 Jan 2003 05:56:53 -0000 Message-Id: <20030113055653.43330.qmail@mail.selfstyled.dyndns.org> Date: 13 Jan 2003 05:56:53 -0000 From: Gordon Broom Reply-To: Gordon Broom To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/47010: make install in ports can overflow /bin/sh argument list Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 47010 >Category: ports >Synopsis: make install in ports can overflow /bin/sh argument list >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 12 22:00:06 PST 2003 >Closed-Date: >Last-Modified: >Originator: Gordon Broom >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD ardbeg.selfstyled.dyndns.org 4.7-STABLE FreeBSD 4.7-STABLE #1: Fri Jan 10 07:26:12 PST 2003 root@ardbeg.selfstyled.dyndns.org:/data/ardbeg/1/obj/data/ardbeg/1/src/sys/ARDBEG i386 >Description: Trying to install the /usr/ports/x11/gnome2 port results in the following: # make install [...] ===> Generating temporary packing list ===> Registering installation for gnome2-2.0_6 /bin/sh:Argument list too long so, some pieces of this port have not been registered in /var/db/pkg (I think, I don't know how I can tell for sure). If gnome2-2.0_6 is ever uninstalled those files will not be removed. At that point, I could use "pkg_info -W" to find them and delete them by hand. However, I can't use "pkg_info -W" *before* I uninstall gnome2 in order to find bogus files in the /usr/local tree which I can prune, since valid files from gnome2 will show up too and there's no way to tell the difference :-( That's why I think this is a serious bug, as you can now accidentally hose yourself. However, I've only seen it with the gnome2 port, so it's not urgent. >How-To-Repeat: # cd /usr/ports/x11/gnome2 # make install >Fix: Consider using xargs in /usr/ports/Mk/bsd.port.mk instead. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message