Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2013 16:25:01 -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:  <51A9152D.2030409@FreeBSD.org>
In-Reply-To: <51A88F42.5010503@gmail.com>
References:  <51A88F42.5010503@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
------enig2JOMFBHACQDBXTEWABBSK
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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.

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.

Looking into why this case did not work still.

On 5/31/2013 6:53 AM, bw.mail.lists wrote:
> Moving to ruby 1.9 by following the instructions in UPDATING breaks pup=
pet.
>=20
> 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 kil=
l
> 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?
>=20
> For poudriere, puppet failed, still facter:
>=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<p=
hase: 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
>=20
> 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 2=
013
>=20
> Rebuilding everything with 'poudriere bulk -c' worked fine. I'm aware
> that rebuilding everything isn't needed, but it didn't take that long.
>=20
> 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.org=
"


--=20
Regards,
Bryan Drewery


------enig2JOMFBHACQDBXTEWABBSK
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/

iQIcBAEBAgAGBQJRqRUwAAoJEG54KsA8mwz5fyEP/0/sJTQOUDBjZ0z6UUKLCjXN
cbBdG1a5tSr0MTjJfiAgEr5b66Zj8EYAqpy1Z2PhNgNf32Y4mrjSPGWvUSddE3oB
VU1zghuhE44lxd3Gy+uFH11Jkj+0ndLjc/Vmrv+SejROqW4/nazUUqGO6zfVbEtC
9vNOO8fcEOewW1Zpc04dMrl2K1Q7oOSP+AdjrhH9E60o5yGVBz+s9Vj+XFo9OE5i
PaB2HhtM19rhr9PSRq1Hjswr3PIYD0Vb4C9Zu0K5FbCEvfBTqUpnTZh46xIc+eSB
PskiXjLQ+f7Ih0PNeuUQoPFAWyeGFa4JW0BdjH8L+F4HGmqe7BDQXeod1H3xVv5+
SzTldzv8MREGFl+8fpTPyCBPcZSyJHN2pB4Gc3oIzprAgKOkYIP9h36wMe4/NuLd
w/8OMcnjVFgu5rH9k2Zc7SNWzXcPhqUIe0j/iEDUKxuIE6LimRok5szMP4nLnKPM
ziGhywpywq3s9DIw14O5MH06u6XN0hK+VtL1tSKD8y8SqdNNmyHq+rSHmXwCBbpC
1IB/7gOkSXV7jLz2QUm38NUU2HTaqgEFQuVNqTu68v+eCgINuWIuenFn2E3S8Phi
/oyYlUPIoUtRhIAAyuciKZIbx6NoV1Ve24CZ3i08R0cSu7dtPsgC/z0JFXXvEY8H
HpbBxUk2wxIy2RqLB5pG
=ZDVP
-----END PGP SIGNATURE-----

------enig2JOMFBHACQDBXTEWABBSK--



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