On 12/11/2012 10:24 PM, AN wrote: > FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #5 r244122: Tue Dec 11 > 15:24:02 EST 2012 root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL amd64 > > While running portupgrade due to (The pcre library has been updated to > version 8.32. Please rebuild all ports that depend on it.) I had the > following failure: > > The command I ran was :portupgrade -vfr devel/pcre > > and it failed with: > ===> Cleaning for gnome-screensaver-2.30.2_3 > ---> Removing temporary files and directories > ---> Removing old package' > ---> Installation of x11/gnome-screensaver ended at: Tue, 11 Dec 2012 > 23:01:06 -0500 (consumed 00:00:15) > ---> Cleaning out obsolete shared libraries > [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... USING PKGNG > - 798 packages found (-0 +1) . done] > ---> Reinstallation of x11/gnome-screensaver ended at: Tue, 11 Dec 2012 > 23:01:08 -0500 (consumed 00:01:40) > ---> ** Upgrade tasks 278: 200 done, 0 ignored, 7 skipped and 2 failed > ** No origin recorded: libreoffice-3.5.7 > ** Specify one with -o option, or run 'pkgdb -F' to interactively fix it. > ---> Session ended at: Tue, 11 Dec 2012 23:01:08 -0500 (consumed 04:51:07) > /usr/local/lib/ruby/site_ruby/1.8/pkgtools/pkgtools.rb:964:in > `initialize': ArgumentError (ArgumentError) > from /usr/local/sbin/portupgrade:1060:in `new' > from /usr/local/sbin/portupgrade:1060:in `do_upgrade' > from /usr/local/sbin/portupgrade:855:in `main' > from /usr/local/sbin/portupgrade:850:in `each' > from /usr/local/sbin/portupgrade:850:in `main' > from /usr/local/lib/ruby/1.8/optparse.rb:791:in `initialize' > from /usr/local/sbin/portupgrade:237:in `new' > from /usr/local/sbin/portupgrade:237:in `main' > from /usr/local/sbin/portupgrade:2371 > > > I deleted Libreoffice with: > pkg -d delete libreoffice-3.5.7 > > # pkgdb -vF > USING PKGNG > pkgdb -F not supported with PKGNG yet. Use 'pkg check' directly. > [root@FBSD10 ~]# pkg check > usage: pkg check [-Bdsr] [-vy] [-a | -gxX <pattern>]
Sorry for the bad direction here. 'pkg check' only works on binary packages. I need to update 'pkg check' to support sending a list of problems back to stdout, so portupgrade can recompile/install the missing deps. > > For more information see 'pkg help check'. > > Not sure how to proceed now, any help is appreciated. > > Once I get this fixed, how can I restart portupgrade from where it ended > and not recompile the ports that were already updated? I'm not aware of a good way to do this. If you know which have already been rebuilt you can specify them with -x portupgrade -vfr devel/pcre -x 'pkg' -x 'pkg2' This might work to recompile anything touched not on yesterday, but I'm not confident: portupgrade -vfr devel/pcre -x '<2012-12-11' Try with -n to see what is listed. If you enable ccache, this becomes less of a problem. In your /etc/make.conf: WITH_CCACHE_BUILD=yes, and install devel/ccache -- Regards, Bryan Drewery bdrewery@freenode/EFNet
signature.asc
Description: OpenPGP digital signature
