Date: Wed, 28 Mar 2007 15:05:17 +0200 (CEST) From: Michael Nottebrock <lofi@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/110974: [Patch] foomatic-db fails to install due to maxargs limits Message-ID: <200703281305.l2SD5HL2047853@kiste.my.domain> Resent-Message-ID: <200703281650.l2SGo3eA047538@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703281305.l2SD5HL2047853>