From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 00:44:00 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0D6816A4CF for ; Thu, 12 Aug 2004 00:44:00 +0000 (GMT) Received: from mtiwmhc13.worldnet.att.net (mtiwmhc13.worldnet.att.net [204.127.131.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DBC643D2F for ; Thu, 12 Aug 2004 00:44:00 +0000 (GMT) (envelope-from duanewinner@worldnet.att.net) Received: from [10.10.0.101] (pcp04355855pcs.glstrt01.nj.comcast.net[68.45.111.171]) by worldnet.att.net (mtiwmhc13) with ESMTP id <2004081200432911300rbglqe> (Authid: duanewinner); Thu, 12 Aug 2004 00:43:39 +0000 Message-ID: <411ABD41.6050705@att.net> Date: Wed, 11 Aug 2004 20:43:45 -0400 From: Duane Winner User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040809 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Will References: <411AACD4.10405@att.net> <411AB61E.5010000@crime.ctf.edu> In-Reply-To: <411AB61E.5010000@crime.ctf.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: what's wrong with my ports??? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Aug 2004 00:44:00 -0000 Will wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Duane Winner wrote: > | Hello all, > | > | This problem has been recurring on my laptop (5.2.1-RELEASE-p9) for the > | past few weeks and I'm scratching my head. > | > | Very frequently, I'll go to portinstall something, and I'll get several > | stop errors, and the build will fail. > | > | But if I do a "rm -rf /usr/ports", then re-cvsup my ports collection, I > | can successfully build whatever port I was trying at the time. However, > | a few days later (or whatever), I'll try to build another port, and it > | will start all over. I delete /usr/ports, cvsup again, then I'm fine. > | This has happened several times over the past few weeks and the whole > | manual cvsup'ing to refresh my entire /usr/ports every time is getting > | old. (Although I've noticed I can sometimes get away with just deleting > | the /usr/ports/... directory of the port I'm trying to build and > | cvsup'ing again.) > | > | I'm keeping my ports current the same way on a workstation in at work, > | and I've had no problems there, so I know it has to be something that's > | wrong on my laptop. > | > | Here is the output of the latest port failure (fwbuilder): > | > | ===> Applying FreeBSD patches for net-snmp-5.1.2 > | 2 out of 4 hunks failed--saving rejects to > | agent/mibgroup/ucd-snmp/diskio.c.rej > | >> Patch patch-diskio.c failed to apply cleanly. > | >> Patch(es) patch-Makefile.in patch-aa patch-auto_nlist.c > | patch-configure.in applied cleanly. > | *** Error code 1 > | > | Stop in /usr/ports/net-mgmt/net-snmp. > | *** Error code 1 > | > | Stop in /usr/ports/security/libfwbuilder. > | *** Error code 1 > | > | Stop in /usr/ports/security/fwbuilder. > | ** Command failed [exit code 1]: /usr/bin/script -qa > | /tmp/portinstall79078.0 make > | ** Fix the problem and try again. > | ** Listing the failed packages (*:skipped / !:failed) > | ! security/fwbuilder (patch error) > | ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed > | > | > | Thank for any feedback! > | > | -Duane > | > | _______________________________________________ > | 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" > | > | > I'm abit confused, just syncing your port tree via cvsup does'nt work? > ie. things wont build after that, but after removing your entire ports > tree they will? Are you sure it couldn'nt be a disc problem with the > ports files being corrupted? Yeah, I'm confused too :), but that's what's going on. I have a cronjob that syncs my ports tree every day at noon. It does: /usr/local/bin/cvsup -L 2 /usr/sup/supfile /usr/local/sbin/portsdb -Uu /usr/sbin/pkg_version -v | grep "needs" My supfile is: *default host=cvsup11.us.freebsd.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_5_2 *default use-rel-suffix compress src-all ports-all tag=. doc-all tag=. Additionally, I should mention that the problem isn't consistent. For instance, yesterday, the cronjob ran and I was notified (pkg_version -v) that there were updates to XFree86 et.al. I got home last night, and did a portupgrade -a. No problem. Today at noon, cvsup (via cronjob) ran again. I got home tonight and finally decided to install xmms. So I did a "portinstall xmms" and it installed fine. Later on, I decided I wanted to install fwbuilder. "portinstall fwbuilder" started, then eventually bombed with the patch errors. So I "rm -rf /usr/ports", did cvsup again which sucked in a virgin ports tree again, then tried "portinstall fwbuilder" again. I'ts humming along nicely now. I'll entertain the possiblity of disk errors, but I am not having any other noticeable issues, and I have just one big filesystem (/). Is it possible portsdb -Uu is hosing things? -Duane > > - -- > Do yourself a favor, don't use IE! > www.mozilla.org/products/firefox/ > > PGP is Preferable for Email, Public > key available off PGP Key Server. > GPG Key ID: 0x787AD6A9 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.5 (FreeBSD) > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > > iQCVAwUBQRq2Fgx4IHh4etapAQIBiAP/UPczhmA2vnigt8b1oxM9Ko1RubDeSp1/ > 774R3bLk5sA/Rob+Co+cYEK1leoffdCRTJTZ4nQXeRyT1dUEJfjTxwdcjkR4utAY > yt0t9paJgbQenRCcdYMVftYwRlFDXnS5u/ifxkNfjgOflTLuVImLVjJ852D0D5ad > mUAHLDeIbxM= > =wE69 > -----END PGP SIGNATURE----- > _______________________________________________ > 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" >