From owner-freebsd-gnome@FreeBSD.ORG Tue Nov 9 20:56:08 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBB2C16A4CE for ; Tue, 9 Nov 2004 20:56:08 +0000 (GMT) Received: from smtp.unsam.edu.ar (smtp.unsam.edu.ar [170.210.48.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF3A343D45 for ; Tue, 9 Nov 2004 20:55:57 +0000 (GMT) (envelope-from fernan@iib.unsam.edu.ar) Received: from pi.iib.unsam.edu.ar (pi.iib.unsam.edu.ar [192.168.10.11]) by smtp.unsam.edu.ar (8.12.6/8.12.6) with ESMTP id iA9L0wls021570 for ; Tue, 9 Nov 2004 18:00:58 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: from pi.iib.unsam.edu.ar (localhost.iib.unsam.edu.ar [127.0.0.1]) by pi.iib.unsam.edu.ar (8.12.11/8.12.9) with ESMTP id iA9Knnrd006670 for ; Tue, 9 Nov 2004 17:49:49 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: (from fernan@localhost) by pi.iib.unsam.edu.ar (8.12.11/8.12.11/Submit) id iA9KnmZf006531 for gnome@freebsd.org; Tue, 9 Nov 2004 17:49:48 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) X-Authentication-Warning: pi.iib.unsam.edu.ar: fernan set sender to fernan@iib.unsam.edu.ar using -f Date: Tue, 9 Nov 2004 17:49:48 -0300 From: Fernan Aguero To: gnome@freebsd.org Message-ID: <20041109204948.GA1732@iib.unsam.edu.ar> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.6i Subject: fixes and comments on the upgrade script procedure X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 20:56:08 -0000 --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Hi! I'm running the upgrade script since yesterday ... I hoped to have it finished by now, but anyway ... since I had some spare time, and lacking a better thing to do I decided to read the upgrade script :) Attached is a diff with what I think should be corrected. Also, it seems that though not explicitly specified in the script, the upgrade procedure tried to rebuild openoffice. This together with mozilla and firefox helps explain the long time it is taking. Apart from the time issue, what happened is that the attempt to build OOo made the upgrade fail when /usr filled up. I never build OOo from sources, and always use packages. I just don't have the space to build such a monster. Perhaps it may be possible to perform a 'dry-run' of the script, just checking what would be done and thus allow the user to exclude some beasts? Fernan -- Fernán Agüero | Instituto de Investigaciones Biotecnológicas email | fernan at { iib.unsam.edu.ar , mail.retina.ar } wwww | http://genoma.unsam.edu.ar/~fernan phone, fax | +54 11 { 4580-7255 ext 310, 4752-9639 } --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="gnome_upgrade.sh.diff" --- gnome_upgrade.sh.orig Tue Nov 9 17:33:51 2004 +++ gnome_upgrade.sh Tue Nov 9 17:36:41 2004 @@ -4,7 +4,7 @@ # ################################################################## # ## If you want to upgrade your GNOME desktop from 2.6 to 2.8, ## # ## you're on the right track! Read our upgrade FAQ at ## -# ## http://www.freebsd.org/gnome/docs/faq26.html for complete ## +# ## http://www.freebsd.org/gnome/docs/faq28.html for complete ## # ## instructions! ## # ################################################################## # ################################################################## @@ -396,7 +396,7 @@ for i in ${POSTINSTALL_PORTS}; do echo -n "===> Installing ${i} ..." echo "===> Installing ${i} ..." >> ${logfile} - run_portupgrade ${logfile} ${logfile} + run_portupgrade ${logfile} ${i} if [ $? != 0 ]; then echo "FAILED." echo "===> Failed to install ${i}. Please install this port by hand. The output of the failed build is in ${logfile}. If you require additional assistance reinstalling this port, please compress ${logfile} and send it to ${SUPPORT_EMAIL}." | /usr/bin/fmt 75 79 --G4iJoqBmSsgzjUCe--