Fedora's 'mock' tool provides a much more convenient way to build RPMs than using 'rpmbuild'. It creates a chroot environment for your target OS and will install required dependencies. I've been running into limitations on the version of CollectD that ships with Amazon Linux, so I thought it wouldn't be that difficult to use mock to build an updated version complete with some missing plugins. I knew that it generally worked, as I was able to use the specfile from the project to build for EPEL6 using Fedora 26. Man, was I wrong about how easy it would be for Amazon Linux. I won't go into details here, but it's worth mentioning that the CollectD project documentation calls out that the specfile in their contrib directory is generally out of date. That is 100% correct, so you'll need to budget some time for tweaking it. The first issue is that there are some packages in EPEL that can't be installed in Amazon Linux. The most aggravatin...
Comments
Thanks for your development work with the Streak.