From owner-freebsd-questions@FreeBSD.ORG Tue Jun 12 03:37:36 2012 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 45E361065672 for ; Tue, 12 Jun 2012 03:37:36 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id E226C8FC0C for ; Tue, 12 Jun 2012 03:37:35 +0000 (UTC) Received: from r56.edvax.de (port-92-195-32-177.dynamic.qsc.de [92.195.32.177]) by mx01.qsc.de (Postfix) with ESMTP id 646973CEBE; Tue, 12 Jun 2012 05:37:28 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q5C3bRD9002025; Tue, 12 Jun 2012 05:37:27 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 12 Jun 2012 05:37:27 +0200 From: Polytropon To: Gary Kline Message-Id: <20120612053727.496f4688.freebsd@edvax.de> In-Reply-To: <20120612003110.GA2394@thought.org> References: <20120611220232.GA29749@thought.org> <20120612003110.GA2394@thought.org> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org, Robert Simmons Subject: Re: any way to grab just One port to upgrade? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2012 03:37:36 -0000 On Mon, 11 Jun 2012 17:31:10 -0700, Gary Kline wrote: > On Mon, Jun 11, 2012 at 06:14:52PM -0400, Robert Simmons wrote: > > Date: Mon, 11 Jun 2012 18:14:52 -0400 > > From: Robert Simmons > > Subject: Re: any way to grab just One port to upgrade? > > To: freebsd-questions@freebsd.org > >=20 > > On Mon, Jun 11, 2012 at 6:02 PM, Gary Kline wrote: > > > it is easy to cvs or cvsup ports and get a whole slew of ports in > > > /usr/ports/distfiles, but too often, using portmaster [or another > > > tool], I'll have only one of two ports that fail because they are > > > either 1) broken, or 2) out of date. =A0is there any way I can grab > > > just the ones that fail to compile? =A0I'm down to fewer than 50 > > > ports. > > > and wedged. > >=20 > > You don't want to have /usr/ports out of sync. You want to let > > cvsup/portsnap do it's thing. It's ideal to have the whole ports > > collection up-to-date. You may want to start with a clean slate and > > cvsup/portsnap a fresh copy of the ports collection if you think that > > something is amiss. You can make a backup of /usr/ports for peace of > > mind too. > >=20 > > Also, can you please supply exactly what ports you're talking about > > and what commands you are running to upgrade? Error output for the > > ports you say are broken would be another good thing to supply. >=20 > something in x11-toolkits/gtk20 blew up. SOOOO. > lolngstoryshrt, I rebuilt from scratch [[ from the very > beginning ]] around 2 hours ago. it Just died. here are > the last 20 lines:: >=20 >=20 > gmake[2]: Leaving directory > `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/modules' > Making all in demos > gmake[2]: Entering directory > `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/demos' > /usr/local/bin/gdk-pixbuf-csource --raw --build-list \ > apple_red ./apple-red.png \ > gnome_foot ./gnome-foot.png \ > > test-inline-pixbufs.h \ > || (rm -f test-inline-pixbufs.h && false) > failed to load "./apple-red.png": Couldn't recognize the image file > format for file './apple-red.png' > gmake[2]: *** [test-inline-pixbufs.h] Error 1 > gmake[2]: Leaving directory > `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/demos' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory > `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6' > gmake: *** [all] Error 2 > *** Error code 1 >=20 > Stop in /usr/ports/x11-toolkits/gtk20. > *** Error code 1 >=20 > Stop in /usr/ports/x11-toolkits/gtk20. > root@ethic:/tmp#=20 >=20 > unless this port is known to be broken, I'll cvsup the ports > tree. If you're using csup instead of portsnap, you can get "faster" updates of your ports tree (as portsnap transmits snapshots which are less frequently taken). In case you intendedly need to DOWNgrade a port (maybe because the newer version doesn't work anymore, like the xzgv image viewer), use the "portdowngrade" tool. As it as been mentioned, having an out-of-sync ports tree is not recommended and can lead to trouble. So for example, if gtk20 fails, remove its cruft ("make clean" for this port and maybe its dependencies; maybe also remove the distfiles it downloaded), and update via CVS some hours after the incident. It sometimes happens that the problems magically resolve. :-) It's recommended to restart port builds in a somewhat clean environment, that's why it sometimes really helps to delete files of a previous build. Are you using a port management tool (e. g. portmaster) or do you operate "on bare ports")? --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...