Bug 36836

Summary: "make package-depends" fails with "argument list too long" (bsd.port.mk)
Product: Ports & Packages Reporter: Murray Stokely <murray>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Murray Stokely freebsd_committer freebsd_triage 2002-04-07 08:20:01 UTC
bsd.port.mk uses the shell when it should be using xargs(1).
The long package dependency lists of gnome is too much for the shell
to handle.

Fix: 

Use xargs, or document the kernel tweak necessary to make this work.
How-To-Repeat: cd /usr/ports/x11/gnome
make package-depends

or

sh /usr/src/release/scripts/print-cdrom-packages.sh 1
Comment 1 Maxim Sobolev freebsd_committer freebsd_triage 2002-04-07 09:58:13 UTC
Should be already fixed in rev.1.409 of bsd.port.mk. Please let me know if
the problem persists after applying this delta, or close the PR if it is
resolved.

Thanks!

-Maxim

> 
> 
> >Number:         36836
> >Category:       ports
> >Synopsis:       "make package-depends" fails with "argument list too long" (bsd.port.mk)
> >Confidential:   no
> >Severity:       serious
> >Priority:       medium
> >Responsible:    freebsd-ports
> >State:          open
> >Quarter:        
> >Keywords:       
> >Date-Required:
> >Class:          sw-bug
> >Submitter-Id:   current-users
> >Arrival-Date:   Sat Apr 06 23:20:01 PST 2002
> >Closed-Date:
> >Last-Modified:
> >Originator:     Murray Stokely
> >Release:        Any
> >Organization:
> FreeBSD Project
> >Environment:
> -CURRENT      
> >Description:
> bsd.port.mk uses the shell when it should be using xargs(1).
> The long package dependency lists of gnome is too much for the shell
> to handle.	
> >How-To-Repeat:
> cd /usr/ports/x11/gnome
> make package-depends
> 
> or
> 
> sh /usr/src/release/scripts/print-cdrom-packages.sh 1
> >Fix:
>       
> Use xargs, or document the kernel tweak necessary to make this work.
> >Release-Note:
> >Audit-Trail:
> >Unformatted:
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-ports" in the body of the message
> 
>
Comment 2 Murray Stokely freebsd_committer freebsd_triage 2002-04-07 10:00:56 UTC
State Changed
From-To: open->closed

This was fixed in r1.409.  Thanks Maxim!