Skip site navigation (1)Skip section navigation (2)
Date:      13 Jan 2003 05:56:53 -0000
From:      Gordon Broom <gjbroom@alumni.uwaterloo.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47010: make install in ports can overflow /bin/sh argument list
Message-ID:  <20030113055653.43330.qmail@mail.selfstyled.dyndns.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030113055653.43330.qmail>