From owner-freebsd-questions@FreeBSD.ORG Tue May 10 19:09:05 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22A85106566B for ; Tue, 10 May 2011 19:09:05 +0000 (UTC) (envelope-from pldrouin@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id E98E98FC12 for ; Tue, 10 May 2011 19:09:04 +0000 (UTC) Received: by pvg11 with SMTP id 11so3884957pvg.13 for ; Tue, 10 May 2011 12:09:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=uqn0RlHmkevufXIiuhUFzqdJz1aYPfjLt5bdoQuDF6k=; b=cIouRCfS3P4zbnRwq8rlKkMjNQJicVl5z60SG8lkDl63pdQ9xHhimvlAdoIpxyQr+S uZmtsDvlcoi9fuvK8yy8KzPXOpT98zlDWDHl5qQDRTwvACCBJuMWf8BmDw+OzjKtGhAA kHoqShZ5GvlEk9/QShzperbH5ZepVviUyUp5Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=MhyoifMnAkYO1dm7B2VCInIyQAYrYL24fSLrZINoE1i+tgJT/3jUcSxY3LSpi4T079 VDN365VZ941VNw55FS1uqYHg7JQcWeyYrkvbFwD6Wo6AkDor+Wqz1HotnmiN4XCiTgNV yf8hFh2mTy/zminucmr3B1YiilznjdV1tOApA= MIME-Version: 1.0 Received: by 10.68.39.39 with SMTP id m7mr6953558pbk.39.1305054543549; Tue, 10 May 2011 12:09:03 -0700 (PDT) Received: by 10.68.64.4 with HTTP; Tue, 10 May 2011 12:09:03 -0700 (PDT) In-Reply-To: <4DC98B05.7080503@mage.hu> References: <4DC97839.6010108@mage.hu> <4DC982B2.6090303@mage.hu> <4DC98B05.7080503@mage.hu> Date: Tue, 10 May 2011 15:09:03 -0400 Message-ID: From: Pierre-Luc Drouin To: Mage Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: kernel and buildworld questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2011 19:09:05 -0000 On Tue, May 10, 2011 at 2:59 PM, Mage wrote: > On 05/10/2011 08:35 PM, Pierre-Luc Drouin wrote: > > > > > > By the way you don't really need to use the cvsup package anymore, as > > there is now the csup command that is part of FreeBSD. Regarding the > > core dumps, maybe you should tried running portsclean -PLD to remove > > old packages, libraries and distfiles from your system.If you can > > reproduce easily the core dumps, maybe you can find which libraries > > causes the processes to crash using gdb > > > Thank you for helping. > > I tried: > > [root@eden ~]# cvsup sup_standard > Connected to cvsup.de.FreeBSD.org > Updating collection src-all/cvs > Edit src/bin/sh/expand.c > Illegal instruction: 4 (core dumped) > > [root@eden ~]# portsclean -PLD > Detecting unreferenced distfiles... > no unreferenced distfiles found. > Cleaning out /usr/ports/packages... > Delete /usr/ports/packages/All/ezm3-1.1_2.tbz > > [root@eden ~]# cvsup sup_standard > Connected to cvsup.de.FreeBSD.org > Updating collection src-all/cvs > Edit src/bin/sh/expand.c > Illegal instruction: 4 (core dumped) > > > All my packages must be binary now as this system didn't exist in April: > > [mage@eden ~]$ cd /usr/ports/packages/All/ > [mage@eden /usr/ports/packages/All]$ ls -l | grep Apr | wc > 351 3159 24777 > [mage@eden /usr/ports/packages/All]$ ls -l | grep May | wc > 0 0 0 > > Any of them would have date from May if built from ports. > > Where can I see the core dump? In dmesg I see only this: > > pid 12239 (cvsup), uid 0: exited on signal 4 (core dumped) > > (Or 'miniruby' when I try to build ruby 1.9.2) > > Mage > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Since it core dumps with "Illegal instruction", it looks like there cvsup is still using some of the ports you compiled with the wrong flags. I would try the following: 1) Rename your file /etc/make.conf such that the system stops using it (just in case there is still something wrong with it 2) run pkg_deinstall -Rf cvsup (or cvsup-without-gui, depending on what you installed exactly) 3) cd /usr/ports/cvsup (or cvsup-without-gui) 4) make clean install 5) Try cvsup again