Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2013 16:29:20 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        "bw.mail.lists" <bw.mail.lists@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: ruby 1.9 upgrade and puppet
Message-ID:  <51A91630.1080907@FreeBSD.org>
In-Reply-To: <51A9152D.2030409@FreeBSD.org>
References:  <51A88F42.5010503@gmail.com> <51A9152D.2030409@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51A91630.1080907>