> On 5/12/2012 9:44 AM, Michael C Voorhis wrote: >> >> This morning's new portupgrade-devel *appears* to define WITH_PKGNG in >> spite of its not being in /etc/make.conf. Many portupgrades this >> morning are hanging at the pkgdb update, with the process list showing: >> >> root 32920 0.0 0.0 3200 616 0 SN+ 9:33AM 0:00.01 make -V >> WITH_PKGNG >> root 33169 0.0 0.0 3200 692 0 SN+ 9:33AM 0:00.01 make -V >> _JAVA_PORTS_INSTALLED USE_JAVA=1 -f /usr/ports/Mk/bsd.port.mk >> >> This process which used to take seconds is now taking many minutes. >
The problem is that it's just going to take a *long time*. Submitting a PR to update the port snapshot. Thanks for the report! This patch fixes in the meantime. Apply to your /usr/local/lib/ruby/1.8/site_ruby/pkgtools/pkgdb.rb: --- a/lib/pkgtools/pkgdb.rb +++ b/lib/pkgtools/pkgdb.rb @@ -105,6 +105,7 @@ class NeedsPkgNGSupport < StandardError def with_pkgng? if @with_pkgng.nil? @with_pkgng = $portsdb.make_var('WITH_PKGNG') + @with_pkgng = false unless @with_pkgng STDERR.puts "USING PKGNG" if @with_pkgng end @with_pkgng
signature.asc
Description: OpenPGP digital signature