From owner-freebsd-questions Sat Feb 2 8: 7:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp05.retemail.es (smtp05.iddeo.es [62.81.186.15]) by hub.freebsd.org (Postfix) with ESMTP id 486B037B404 for ; Sat, 2 Feb 2002 08:07:16 -0800 (PST) Received: from conway.localdomain ([62.174.23.127]) by smtp05.retemail.es (InterMail vM.5.01.03.02 201-253-122-118-102-20010403) with SMTP id <20020202160651.MLOD1011.smtp05.retemail.es@conway.localdomain> for ; Sat, 2 Feb 2002 17:06:51 +0100 Date: Sat, 2 Feb 2002 17:09:20 +0100 From: F.Xavier Noria To: freebsd-questions@freebsd.org Subject: Re: Problems with /usr/ports/Mk/bsd.port.mk (solved) Message-Id: <20020202170920.37310107.fxn@retemail.es> In-Reply-To: <20020202133940.1e7eabc5.fxn@retemail.es> References: <20020202133940.1e7eabc5.fxn@retemail.es> X-Mailer: Sylpheed version 0.7.0 (GTK+ 1.2.10; i386--freebsd4.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 2 Feb 2002 13:39:40 +0100 F. Xavier Noria wrote: : I have updated the ports tree and portsdb -uU gives lots of segmentation : faults, I've tried to build some ports but make stops with errors. I am : lost because AFAICT I have not touched /usr/ports/Mk/bsd.port.mk and : have no clue about what could be happening, what do you think from this : output of portsdb -uU (there are lots of lines like these)? : : Updating the ports index ...Segmentation fault - core dumped: malformed entry: Segmentation fault - core dumped : Segmentation fault - core dumped: malformed entry: Segmentation fault - core dumped : "/usr/ports/Mk/bsd.port.mk", line 609: warning: "/usr/bin/uname -r : malformed entry: "/usr/ports/Mk/bsd.port.mk", line 609: warning: "/usr/bin/uname -r | /usr/bin/sed -e 's/[-(].*//'" returned non-zero status Just as a matter of feedback, the problem is solved, though I don't understand why (which is a shame). In the very command line # /usr/bin/uname -r | /usr/bin/sed -e 's/[-(].*//' gave a nice sed.core. As I hadn't a clue about what to do, fsck /usr reported nothing special, and this is my desktop at home, I decided to reboot the machine. After that everythig is find again. Hmmm.... -- fxn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message