From owner-freebsd-ports@FreeBSD.ORG Sun Nov 27 18:40:49 2011 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 61BDC106566B for ; Sun, 27 Nov 2011 18:40:49 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id E74618FC12 for ; Sun, 27 Nov 2011 18:40:48 +0000 (UTC) Received: by wwe5 with SMTP id 5so7006828wwe.31 for ; Sun, 27 Nov 2011 10:40:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=VFYkJXv0GTbbc11jsT20jEm0NtnFCcyh5zg/dImnv2o=; b=Une/L6nqZpshJyeZ9DaHr6FXgy924PhcC3YVFYMOxynWhPhUfr7+8ac5ro//ZOiXku 2iEce4etFXOdNyPb1Pb/SCsIGqL8ch80bLbytiak+oLJMDYostBj1iy75//wrSpR8uYW ggIuPSgCXW283QQ87ECfFqUJGw9wEK69c9AYE= Received: by 10.180.89.5 with SMTP id bk5mr41497483wib.60.1322419247742; Sun, 27 Nov 2011 10:40:47 -0800 (PST) Received: from Hp2230s.localhost (81-178-2-118.dsl.pipex.com. [81.178.2.118]) by mx.google.com with ESMTPS id em4sm36167240wbb.20.2011.11.27.10.40.45 (version=SSLv3 cipher=OTHER); Sun, 27 Nov 2011 10:40:46 -0800 (PST) Message-ID: <4ED2842C.7050405@gmail.com> Date: Sun, 27 Nov 2011 20:40:44 +0200 From: Kaya Saman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <4ECF9B06.1090602@gmail.com> <201111251506.pAPF609d081562@fire.js.berklix.net> <4ED1B626.8010700@gmail.com> <4ED22C20.90605@gmail.com> <20111127080136.7e2f0d0a@scorpio> In-Reply-To: <20111127080136.7e2f0d0a@scorpio> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Strange issues while upgrading ports 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: Sun, 27 Nov 2011 18:40:49 -0000 On 11/27/2011 03:01 PM, Jerry wrote: > On Sun, 27 Nov 2011 14:25:04 +0200 > Kaya Saman articulated: > >> On 11/27/2011 08:03 AM, Kevin Oberman wrote: >> >>> When it has been this long, you might want to completely delete and >>> re-install all ports following the instructions in the portmaster >>> man page examples. This will assure that EVERYTHING is properly >>> cleaned up. No obsolete libraries, header files, data files, or >>> anything else. It's the 11 step process and please read the >>> relevant example in its entirety to make sure you don't waste too >>> much time. If your system has a very large number of ports >>> installed, consider using the -P option to use packages when they >>> are available. >>> >>> I do see some ports that might benefit from CPU specific >>> optimizations. If you feel that these are important, re-install >>> these after you finish the basic re-installation. >> I discovered in the UPDATING file that it claims the same thing: >> >> 20100409: >> AFFECTS: users of lang/php5 >> AUTHOR: ale@FreeBSD.org >> >> As of PHP 5.3, a few extensions were removed from or included into >> the core >> PHP5 package. Follow the steps below to update your installation. >> >> 1) Delete the following packages (if installed): >> >> - php5-dbase >> - php5-ncurses >> - php5-pcre >> - php5-spl >> - php5-ming >> - php5-mhash >> >> 2) Rebuild lang/php5 and all ports that depend on it. >> >> >> The only problem is how to go about it? >> >> I mean I have quite a few web based monitoring apps (cacti, zabbix, >> munin, etc) which all depend on PHP5 + apache22 so am not really sure >> if running: >> >> make deinstall on each port is wise.... especially since I don't want >> the config files do be deleted (even though backed up) or backend >> database information to be get lost either. > That was quite a while ago; however, I remember simply deinstalling > each of those ports. Then after updating the ports tree I ran > "portmanager -u -l -y -p" to update and rebuild the ports as required. > It works like a charm. I know others recommend "portupgrade" and I use > that from time to time also but it just seems to fail to update all > required ports sometimes in cases like this. Personally, "portmaster" > always seems to get my ass in a sling when I have attempted to use it > so I leave it alone. Obviously, YMMV. > > BTW, if you use "portmanager" you will find a log file > "/var/log/portmanager.log" that will give you a complete list of what > it did if you should experience any problems.. > Ok I got this one worked out: Officially I want to thank Kevin Oberman for his offline help too :-) Basically I ran: cd /usr/ports/*/php5-* make deinstall make install clean ---------------php5 sorted out! Then: cd /usr/ports/www/apache22 make deinstall make install clean - came up with errors so here's the next step: cat Makefile | more - check the library dependencies cd /usr/ports/*/{each lib depend} make deinstall make install clean cd /usr/ports/www/apache22 make install clean Then ran: portmanager -u -l -y -p and now the only errornous ports I have are these: skipping squid-2.7.7 /www/squid marked IGNORE reason: failed during make skipping libltdl-2.2.6a /devel/libltdl22 marked IGNORE reason: port marked IGNORE skipping gtk-2.16.6 /x11-toolkits/gtk20 marked IGNORE reason: performed (6) emergancy restore skipping oss-4.2.b2000 /audio/oss until dependency gtk-2.24.6 updated skipping zabbix-1.6.6,1 /net-mgmt/zabbix marked IGNORE reason: failed during make skipping mutt-1.4.2.3_3 /mail/mutt marked IGNORE reason: failed during make Few!!! :-D all fine and installed - now to fix the rest. Thanks everyone for all your help!!!!!!!! I really appreciate that even though I felt like a total noobie but hey this is the first time I've ever updated/upgraded a FreeBSD system. My nerves were a bit on edge as there are many ports installed and I was quite worried that I was gona loose the installed config files as linux is quite prone to doing. Anyway, with everyone's patience and effort everything went more or less smoothly and was in fact quite painless and quick :-) Best Regards to all.