From owner-freebsd-ports@FreeBSD.ORG Fri May 31 21:29:14 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B9DB6E0B for ; Fri, 31 May 2013 21:29:14 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id A1BA3DD0 for ; Fri, 31 May 2013 21:29:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4VLTESb050719 for ; Fri, 31 May 2013 21:29:14 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4VLTEtI050717 for freebsd-ports@freebsd.org; Fri, 31 May 2013 21:29:14 GMT (envelope-from bdrewery) Received: (qmail 87695 invoked from network); 31 May 2013 16:29:12 -0500 Received: from unknown (HELO ?173.160.118.90?) (freebsd@shatow.net@173.160.118.90) by sweb.xzibition.com with ESMTPA; 31 May 2013 16:29:12 -0500 Message-ID: <51A91630.1080907@FreeBSD.org> Date: Fri, 31 May 2013 16:29:20 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: "bw.mail.lists" Subject: Re: ruby 1.9 upgrade and puppet References: <51A88F42.5010503@gmail.com> <51A9152D.2030409@FreeBSD.org> In-Reply-To: <51A9152D.2030409@FreeBSD.org> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2OLXENLXEKVSKUXPLVHSA" Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 21:29:14 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2OLXENLXEKVSKUXPLVHSA Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Actually the problem is just the facter port. Steve Wills is working on a fix. You can skip deleting the ruby packages; just delete the facter package or wait for the fix to be committed. Bryan On 5/31/2013 4:25 PM, Bryan Drewery wrote: > Delete the built ruby-1.8 and ruby-1.9 packages from your package > repository. The bulk build your set again. This will fix all ports > depending on ruby to rebuild with the new default. >=20 > Poudriere is supposed to catch this case by default in 3.0.x, but > somehow missed it. Historically this was needed for default version > changes, such as PERL, RUBY. >=20 > Looking into why this case did not work still. >=20 > On 5/31/2013 6:53 AM, bw.mail.lists wrote: >> Moving to ruby 1.9 by following the instructions in UPDATING breaks pu= ppet. >> >> When updating with portmaster, at install time it says 'could not load= >> facter; cannot install' and exits. I had to manually run 'gem install >> facter', then puppet installed. However, 'service puppetmaster status'= >> was reporting puppet as not running even though it was, so I had to ki= ll >> the running process before 'service puppetmaster start'. I assume this= >> is related to $command_interpreter in the rc script being changed from= >> ruby18 to ruby19? Although, /usr/local/bin/ruby and >> /usr/local/bin/ruby19 are identical, can't the script use plain ruby >> instead of ruby19? >> >> For poudriere, puppet failed, still facter: >> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<= phase: install >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> =3D=3D=3D> Installing for puppet-3.1.1_2 >> =3D=3D=3D> Generating temporary packing list >> =3D=3D=3D> Checking if sysutils/puppet already installed >> =3D=3D=3D> Creating users and/or groups. >> Creating group `puppet' with gid `814'. >> Creating user `puppet' with uid `814'. >> ftools not found. Using FileUtils instead.. >> Could not load facter; cannot install >> *** [do-install] Error code 255 >> >> Stop in /usr/ports/sysutils/puppet. >> =3D=3D=3D> Cleaning for puppet-3.1.1_2 >> build of /usr/ports/sysutils/puppet ended at Fri May 31 11:37:10 CEST = 2013 >> >> Rebuilding everything with 'poudriere bulk -c' worked fine. I'm aware >> that rebuilding everything isn't needed, but it didn't take that long.= >> >> But then, when upgrading with pkg, again I had to 'gem install facter'= >> manually and kill the running script before puppet would restart. >> _______________________________________________ >> freebsd-ports@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.or= g" >=20 >=20 --=20 Regards, Bryan Drewery ------enig2OLXENLXEKVSKUXPLVHSA 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.9 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJRqRYwAAoJEG54KsA8mwz5y+YP/R2+A6y8D08rYOGKue7L86A/ YXVPEc36J5DEP+Kr/PcFVEBwyvX+/tzMsbmdd0FuLwuv175BMnImEH/pAVamPJ3O iHLH9NU78xIa78Ke0Wsotro4OU1w/MQCJefdVoP1kaiUn/VaVCe5wLsfAr2ISuau LA6pNW2v2LWfUrSoJylIE5/6niSnr1qgs4bzw6AAw1wm11rB4pP+Qpa/hdWB7pjz 045BOFl1pz5/31A7AVLU56FWJyG/LdXsGQ3GOsghXKrI6lr3f90i1eoeQyWu3F5t VBZHhAY1V9+7LqM25SlxZr2i7fux5WxCcEPqW0/RXEGh2f5LsUVFGCu7C5CxFjNl uPhyBPi4/C36BOu61sTTCL+XYcnQL6pWZCS5LGt/sV7Fq7gjBb17tDxPtOLNXwFZ 51h0zjBMWJjDITIIo4Ey5cwqdbM5a1NJtPE+dHfgGqawyvr0OQcHBJNcTPM7MiNo 0fF7l0l+lya3C9p+wWQhA9H/53hQfJSTUI1ozDA2IwmVF34PuYXU1NtdtWJXIAJk sYvR6WS1Xy56MM6QD1weqMq2Hu5g08SCDPbsicCXDQb7rtyYr0OaaUdEd0xBGtG7 +94igr7Mk/q/G22UGrv8lVYh5THnhiV4Ipe7pgCIiXwvlAycmeOz/9lg/CBBrKDC Wg9RnVuaLq38Jh5Uts8J =Y1qu -----END PGP SIGNATURE----- ------enig2OLXENLXEKVSKUXPLVHSA--