From owner-freebsd-ports@FreeBSD.ORG Fri Jul 11 16:43:43 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FC111065680; Fri, 11 Jul 2008 16:43:43 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (77-99-36-42.cable.ubr04.chap.blueyonder.co.uk [77.99.36.42]) by mx1.freebsd.org (Postfix) with ESMTP id B5EFE8FC1E; Fri, 11 Jul 2008 16:43:42 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (localhost [127.0.0.1]) by dns1.vizion2000.net (Postfix) with ESMTP id D2E6D1CC62; Fri, 11 Jul 2008 10:05:11 -0700 (PDT) Received: from localhost (localhost [[UNIX: localhost]]) by dns1.vizion2000.net (8.14.2/8.14.2/Submit) id m6BH5BY4001816; Fri, 11 Jul 2008 10:05:11 -0700 (PDT) (envelope-from david@vizion2000.net) X-Authentication-Warning: dns1.vizion2000.net: david set sender to david@vizion2000.net using -f From: David Southwell Organization: Voice and Vision To: freebsd-ports@freebsd.org, gary.jennejohn@freenet.de Date: Fri, 11 Jul 2008 10:05:10 -0700 User-Agent: KMail/1.9.7 References: <200807101120.41134.david@vizion2000.net> <200807110623.55343.david@vizion2000.net> <20080711162439.06036517@peedub.jennejohn.org> In-Reply-To: <20080711162439.06036517@peedub.jennejohn.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200807111005.11452.david@vizion2000.net> Cc: Garrett Cooper , Shields , Wesley@freebsd.org Subject: Re: cvsup after upgrade to 6.3 coredump SOLVED X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2008 16:43:43 -0000 On Friday 11 July 2008 07:24:39 Gary Jennejohn wrote: > On Fri, 11 Jul 2008 06:23:54 -0700 > > David Southwell wrote: > > On Friday 11 July 2008 01:57:37 Gary Jennejohn wrote: > > > On Thu, 10 Jul 2008 14:14:42 -0700 > > > > > > "Garrett Cooper" wrote: > > > > On Thu, Jul 10, 2008 at 11:47 AM, David Southwell > > > > > > > > wrote: > > > > > On Thursday 10 July 2008 11:43:20 David Southwell wrote: > > > > >> On Thursday 10 July 2008 11:09:23 Wesley Shields wrote: > > > > >> > On Thu, Jul 10, 2008 at 11:20:40AM -0700, David Southwell wrote: > > > > >> > > Can anyone help me out here.. > > > > >> > > > > > > >> > > Obviously I have missed something in the upgrade to 6.3 from > > > > >> > > 6.1 > > > > >> > > > > > > >> > > I seem to have a working system but cvsup is falling down. > > > > >> > > Mail is working fine, so is kde. > > > > >> > > > > > > >> > > After upgrade from 6.1 to 6.3 I got a core dump from cvsup > > > > >> > > UNAME: > > > > >> > > [root@dns1 /usr/ports/net/cvsup]# uname -a > > > > >> > > FreeBSD dns1.vizion2000.net 6.3-STABLE FreeBSD 6.3-STABLE #1: > > > > >> > > Thu Jul 10 09:41:47 PDT 2008 > > > > >> > > root@:/usr/obj/usr/src/sys/GENERIC amd64 [root@dns1 > > > > >> > > /usr/ports/net/cvsup]# > > > > >> > > > > > > >> > > RECOMPILED cvsup after core dump: > > > > >> > > [root@dns1 /usr/ports/net/cvsup]# make clean > > > > >> > > ===> Cleaning for cvsup-without-gui-16.1h_4 > > > > >> > > [root@dns1 /usr/ports/net/cvsup]# make > > > > >> > > [root@dns1 /usr/ports/net/cvsup]# make deinstall > > > > >> > > ===> Deinstalling for net/cvsup > > > > >> > > ===> Deinstalling cvsup-without-gui-16.1h_4 > > > > >> > > [root@dns1 /usr/ports/net/cvsup]# make reinstall > > > > >> > > [root@dns1 /usr/ports/net/cvsup]# make deinstall > > > > >> > > ===> Deinstalling for net/cvsup > > > > >> > > ===> Deinstalling cvsup-without-gui-16.1h_4 > > > > >> > > [root@dns1 /usr/ports/net/cvsup]# make reinstall > > > > >> > > > > > > >> > > BUT STILL GOT: > > > > >> > > > > > > >> > > cvsup /var/cvsupconfig/ports-supfile > > > > >> > > Connected to cvsup10.FreeBSD.org > > > > >> > > Bus error: 10 (core dumped) > > > > >> > > [root@dns1 /usr/ports/net/cvsup]# > > > > >> > > > > > > >> > > Can anyone point me in the right direction please > > > > >> > > > > > >> > Not sure if you're cutting out the relevant parts but did you > > > > >> > actually rebuild cvsup (ie: was it cleaned)? I'm not even sure > > > > >> > if that's going to matter or not. > > > > >> > > > > > >> > Your other option is to just use csup (it's in 6.3). > > > > >> > > > > >> Yes I cleaned (twice) and ran make config before make. > > > > >> > > > > >> This is weird why a core dump & why a Bus error?? > > > > >> > > > > >> Strange > > > > >> > > > > >> David > > > > > > > > > > Humph weirder stil csup is working - no problem > > > > > > > > > > However there must be a problem somewhere for cvsup to fail.. If I > > > > > ignore it it sure will not go away > > > > > > > > > > David > > > > > > > > (Forgive me if the last make targets aren't correct because I don't > > > > have a machine to test with, but the rest of the steps should be > > > > proper). > > > > > > > > Try the following... > > > > > > > > rm -R /var/obj; cd /usr/src && make cleandir clean && cd > > > > usr.sbin/cvsup && make depend all > > > > > > > > ... to clean out your object directories, start fresh, and compile > > > > cvsup from scratch. > > > > > > cvsup is not part of the base system. > > > > > > --- > > > Gary Jennejohn > > > > Agreed. To keep this thread together I thought I would bring the > > substance of my last report into this reply. > > > > I have just done a portupgrade -Rf cvsup but still have the core dump. > > > > However I notice an oddity. > > > > Despite having installed cvsup, turning X11 support on via config, > > pkg_info reports that > > cvsup-without-gui-16.1h_4 > > is installed. > > > > It does not look right. > > > > Whilst cvsup is not part of the base system I am nonethesless totally > > puzzled why cvsup should begin core dumping only after upgrading from 6.1 > > to 6.3 and despite a portupgrade -Rf under 6.3. > > > > I do not really want to complete my upgrading to 7.0 stable until I am > > sure not to be dragging a current vulnerability into the new system !!! > > > > Does anyone have any idea what may be going on here and/or whether > > someone is willing to take a look at the core dump and make sense of it. > > Well, this probably won't help much, but I'm using cvsup/cvsupd on > 8-current (amd64) with no problems. However, my binaries are from > October, 2007, so this doesn't preclude a regression since then. > > BTW the Makefile automatically turns off GUI support for amd64, which > is what you're running. > > --- > Gary Jennejohn > _______________________________________________ BRILLIANT You gave me an idea I Did make deinstall. cd /usr/ports/net/cvsup-without-gui then make clean make make install and ran cvsup NO problem no core dump[ Sounds like a good candidate for an entry in UPDATING In 6.1 the automatic turnoff of GUI support for amd64 works BUT if you run the same code or install from cvsup on amd64 under 6.3 it produces a core dump!! Problem sorted Thanks everyone David