Date: Sat, 12 May 2012 10:10:52 -0400 From: Bryan Drewery <bryan@shatow.net> To: Michael C Voorhis <mvoorhis@cs.wpi.edu> Cc: ports@freebsd.org Subject: Re: portupgrade-devel / WITH_PKGNG Message-ID: <4FAE6F6C.8020506@shatow.net> In-Reply-To: <4FAE6BCE.1050107@shatow.net> References: <6ctxzlpl8g.fsf@cs.wpi.edu> <4FAE6BCE.1050107@shatow.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig17B036687494DACAA253044F Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable > 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=3D1 -f /usr/ports/Mk/bsd.port.mk >> >> This process which used to take seconds is now taking many minutes. >=20 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 =3D $portsdb.make_var('WITH_PKGNG') + @with_pkgng =3D false unless @with_pkgng STDERR.puts "USING PKGNG" if @with_pkgng end @with_pkgng --------------enig17B036687494DACAA253044F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJPrm9zAAoJEG54KsA8mwz5GrkQALjtUU2xEJ4EqxmuWN9XRpPi bAc2/7oL6A4DkSNmRdznjm0bXKkheSHP+WxwwTuvhIbNwNbibnK9sU2f1w/0B1BN hSW1gZhBN7w96MZJXIWdutgTEXleML6aLc+vXdO4WcrcmCC3Ed1IbMwlLfQ2aAk9 Dfo4VxMC3DyLVa4Cy2ABd4RZNzneT3g1uFpid5aO5bfH4NrPU/ul6/I/8f1topUh Rwffh/ucL3u9WUYJ5qLmMe64y+bqvTLFu9hOeRlZE2SwN3apezcK7j7YPq5Nxp4m HX1LSCpm33rDqITw7H/ha+HAOaDrqWs9lsgT7qyocZnwr9UAceSb2tjQYSrRbJ9q bQiWCwI1WvyoaSKHGhjOvE1qfDO7/2pYhFLWodbsDjdia6TG3Asd4BGu89B66pjL BTCOLmsQlIYS3fBmC6ZD85Fq0SBy/6W840ifOmdk4JM1iZlhbQN+81MYv0TnyIpR mx86Csljov3jQbKutTmZNGfOh5Th7GGcRl/m2QpxtaGFeZ907YPkOeg6q3I5bEcM kffGTjy3vlv4dZJpZuckWI3H8oF5kcxVPzKUfZKe3DNAo9avOTLp1uAlC/ILvMid FfE6ZPGSIiSLR25/kFDrXHTlH/J+6U/ZUwQmMsYdJvpYe/qEd+XJbGzurkwJhDbY LdRqSOhzibOJfgDDfFGE =v4M0 -----END PGP SIGNATURE----- --------------enig17B036687494DACAA253044F--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FAE6F6C.8020506>