Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2011 15:09:03 -0400
From:      Pierre-Luc Drouin <pldrouin@gmail.com>
To:        Mage <mage@mage.hu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: kernel and buildworld questions
Message-ID:  <BANLkTinTyMmBOcmEdFrSt6SZDJjb7yW5Hw@mail.gmail.com>
In-Reply-To: <4DC98B05.7080503@mage.hu>
References:  <4DC97839.6010108@mage.hu> <BANLkTi=1GiVgq4Uzd=yuAXpym59gPAzmyg@mail.gmail.com> <4DC982B2.6090303@mage.hu> <BANLkTik8Lu35DpHaGFiaVbB4tFgVe-uYAw@mail.gmail.com> <4DC98B05.7080503@mage.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 10, 2011 at 2:59 PM, Mage <mage@mage.hu> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTinTyMmBOcmEdFrSt6SZDJjb7yW5Hw>