Yeah, once I got it sorted out I was going to try to push any fixes upstream into Chef's omnibus creation code. It would be best if they created new omnibus installs when they created new versions, rather than make the pkgsrc maintainers always reverse engineer their changes on every new version of Chef.
My current guess is that the omnibus build chain changed between Ben's version and the current master to check that there are no leaked dependencies. I think some of it needs to be fixed to not explode on SmartOS—some of the failing dependencies are actually ok. I just haven't had time to continue working on this since the last commit in that repo. On Fri, May 23, 2014 at 9:59 AM, Elijah Wright via smartos-discuss < [email protected]> wrote: > > Looking at where my build blew up, it looks like Eric Saxby produced some > patches a couple months ago that get us closer: > > https://github.com/sax/omnibus-chef-smartos/issues/1 > > > https://github.com/sax/omnibus-chef-smartos/commit/51cfce74c23c1f7e4a7a63cc9c067f9741c38b5b > > > In my first hack at trying to make the omnibus build, the first thing it > blows up is an attempt to link to the platform's libumem - clearly we want > it to not do that, as that's the opposite of self-contained. :) > > It looks like sax's patch fixes that - I'll be trying that next. > > Props to jperkin for being willing to wire all the packages up in pkgsrc > too - that will make running everything in VMs much simpler... no need for > the omnibus there, when you have all the right bits as native packages. > > --e > > --e > > > > > On Fri, May 23, 2014 at 10:57 AM, Jonathan Perkin <[email protected]>wrote: > >> * On 2014-05-23 at 14:59 BST, Bryan Horstmann-Allen via smartos-discuss >> wrote: >> >> > >> +------------------------------------------------------------------------------ >> > | On 2014-05-23 07:49:03, Elijah Wright via smartos-discuss wrote: >> > | >> > | That version of omnibus is way less hacked up than it used to be; I >> know >> > | Ben's still working on improvements there, as time permits. From >> what I >> > | recall, there's a bit or two that doesn't build properly by default. >> It's >> > | definitely not a pkgtrans of the Sol11 bits - it's a real build. >> > | >> > | I'm gonna take a whack at building it right now; I'll go file bugs >> as I >> > | find stuff. Working with a checkout of >> > | https://github.com/opscode/omnibus-chef from 5 minutes ago, in a >> base64 >> > | 13.4.1 zone. >> > | >> > | If chef-on-SmartOS is important to you, make sure you keep mentioning >> it so >> > | folks at both Joyent and Chef-nee-Opscode know how useful proper >> support is >> > | ;-) >> > >> > If you want to go the pkgtrans route, you'll just need to make sure you >> symlink >> > link to something linkable. That's done as part of the pkgmap, which >> doesn't >> > happy without pkgadd. >> > >> > Thus far that's the only issue I've had using the Solaris 11 packages on >> > SmartOS. >> > >> > I certainly wouldn't cry if there were a real pkgsrc package, either. >> :-) >> >> I have an initial pkgsrc package now working for it: >> >> $ chef-solo --version >> Chef: 11.12.4 >> >> I'll get this integrated for 2014Q2 (I'm out next week). >> >> One thing which was discussed on IRC was a pkgsrc bootstrap and set of >> packages built for e.g. /opt/confmgt, which can be used as a separate >> area for executing configuration management tools outside of the >> normal system directories. >> >> You would unpack the bootstrap, pkg_add/pkgin your preferred >> configuration manager, then tar it up as a fully self-contained >> directory for executing on any host. >> >> If people want to let me know if a) this would be useful b) what tools >> they want in it, then I'll produce a bulk build for it. Initial set >> would be chef, puppet, salt, ansible, etc. >> >> Cheers, >> >> -- >> Jonathan Perkin - Joyent, Inc. - www.joyent.com >> > > *smartos-discuss* | > Archives<https://www.listbox.com/member/archive/184463/=now> > <https://www.listbox.com/member/archive/rss/184463/24423351-9edae294> | > Modify<https://www.listbox.com/member/?&>Your Subscription > <http://www.listbox.com> > -- ---- e s ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
