From owner-freebsd-ports Mon Aug 5 6:27:12 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC75437B400 for ; Mon, 5 Aug 2002 06:27:08 -0700 (PDT) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 295A443E6E for ; Mon, 5 Aug 2002 06:27:08 -0700 (PDT) (envelope-from evenson@panix.com) Received: from panix3.panix.com (panix3.panix.com [166.84.1.3]) by mail1.panix.com (Postfix) with ESMTP id 4AACB489D4 for ; Mon, 5 Aug 2002 09:27:07 -0400 (EDT) Received: (from evenson@localhost) by panix3.panix.com (8.11.3nb1/8.8.8/PanixN1.0) id g75DR7Y24860; Mon, 5 Aug 2002 09:27:07 -0400 (EDT) X-Authentication-Warning: panix3.panix.com: evenson set sender to evenson@panix.com using -f To: ports@freebsd.org Subject: [comp.unix.bsd.freebsd.misc] Problems building certain ports From: Mark Evenson Date: 05 Aug 2002 09:27:07 -0400 Message-ID: Lines: 65 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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 --=-=-= Content-Type: message/rfc822 Content-Disposition: inline Path: reader2.panix.com!panix!not-for-mail From: Mark Evenson Newsgroups: comp.unix.bsd.freebsd.misc Subject: Problems building certain ports Date: 05 Aug 2002 09:21:39 -0400 Organization: PANIX Public Access Internet and UNIX, NYC Lines: 39 Sender: evenson@panix3.panix.com Message-ID: NNTP-Posting-Host: panix3.panix.com X-Trace: reader2.panix.com 1028553699 897 166.84.1.3 (5 Aug 2002 13:21:39 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Mon, 5 Aug 2002 13:21:39 +0000 (UTC) User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Xref: panix comp.unix.bsd.freebsd.misc:215288 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I have been having a problem building ports depending on the "in place" features of sed: quid:/usr/ports/lang/guile$ make ===> Extracting for guile-1.4.1_2 >> Checksum OK for guile-1.4.1.tar.gz. ===> guile-1.4.1_2 depends on executable: libtool - found ===> guile-1.4.1_2 depends on shared library: ltdl.1 - found ===> Patching for guile-1.4.1_2 ===> Applying FreeBSD patches for guile-1.4.1_2 sed: stdout: Bad file descriptor *** Error code 1 Stop in /usr/ports/lang/guile. I have read what I could find about others having a similar problem, but it seems that I am experiencing something different. My system is a freshly built STABLE-20020722, and my ports tree is also current, which should get me around the problems I have been able to find by searching the FreeBSD mailing list archives about not having the version of sed installed that takes the "-i" argument. The one thing I did notice was that if I run the same command as root, it succeeds, which lead me to suspect that I was running into some sort of "limits" like restriction. No amount of fooling with "limits", "ulimits", and the 'login.conf' database seems to allow me to get the port to compile as a regular user, so I have more or less given up on this line of thinking (unless root can *always* use as much resources as it needs regardless of the various settings of limits). Also for the guile port, only some 105 files are passed to the "xargs sed ..." part of the command, which if invoked "manually" (i.e. by cutting and pasting the arguments to sed rather than using xargs) succeeds, so it seems more like there is some bad interaction between 'xargs' and 'sed' here. Can anyone shed some light on this problem? Thanks, Mark --=-=-= -- Mark Evenson "A screaming comes across the sky. It has happened before, but there is nothing to compare to it now." --=-=-=-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message