ports/110974: [Patch] foomatic-db fails to install due to maxargs limits

Michael Nottebrock lofi at FreeBSD.org
Wed Mar 28 16:50:03 UTC 2007


>Number:         110974
>Category:       ports
>Synopsis:       [Patch] foomatic-db fails to install due to maxargs limits
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 28 16:50:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Michael Nottebrock
>Release:        FreeBSD 5.5-RELEASE-p11 i386
>Organization:
>Environment:
System: FreeBSD kiste 5.5-RELEASE-p11 FreeBSD 5.5-RELEASE-p11 #1: Sun Mar 25 14:55:10 CEST 2007 root at kiste:/usr/obj/usr/src/sys/KISTE-SMP i386


	
>Description:
	foomatic-db tries to install some 2000+ files with 'cp' and shell
	globbing.
	At least on my system, this is beyond what maxargs is set to 
	and thus fails.

>How-To-Repeat:
	
>Fix:

--- foomatic-db.diff begins here ---
Index: files/patch-Makefile.in
===================================================================
RCS file: files/patch-Makefile.in
diff -N files/patch-Makefile.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-Makefile.in	28 Mar 2007 13:00:15 -0000
@@ -0,0 +1,13 @@
+--- Makefile.in.orig	Wed Mar 28 14:47:22 2007
++++ Makefile.in	Wed Mar 28 14:48:40 2007
+@@ -66,7 +66,9 @@
+ 	install -d $(DESTDIR)$(LIBDIR)/db/source/opt
+ 	install -d $(DESTDIR)$(LIBDIR)/db/source/PPD
+ 	cp db/oldprinterids $(DESTDIR)$(LIBDIR)/db
+-	cp db/source/printer/*.xml $(DESTDIR)$(LIBDIR)/db/source/printer
++	( for file in `find db/source/printer/ -name \*.xml`; do \
++	   cp $$file $(DESTDIR)$(LIBDIR)/db/source/printer; \
++	  done )
+ 	( cd db/source/driver/; \
+ 	  for d in $(DRIVERXMLS); do \
+ 	    cp $$d $(DESTDIR)$(LIBDIR)/db/source/driver; \
--- foomatic-db.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list