On Fri, Jul 30, 2010 at 2:56 PM, Todd Zullinger <t...@pobox.com> wrote:
> Douglas Garstang wrote:
>> The spec file for for (whatever version this actually is), doesn't
>> cleanly build an RPM either.
>>
>> + /usr/lib/rpm/find-debuginfo.sh /usr/src/redhat/BUILD/puppet-2.6.0
>> find: debug: No such file or directory
>> + /usr/lib/rpm/redhat/brp-compress
>> + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
>> + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
>> + /usr/lib/rpm/brp-python-bytecompile
>> + /usr/lib/rpm/redhat/brp-java-repack-jars
>> error: Bad file: /usr/src/redhat/SOURCES/rundir-perms.patch: No such
>> file or directory
>> error: Bad file: /usr/src/redhat/SOURCES/puppet-2.6.0.tar.gz.sign: No
>> such file or directory
>>
>> There's nothing on the download page about those two files. Where do I
>> get them? I don't know what the earlier find error is about.
>
> Any reason to not use the packages from:
>
>    http://tmz.fedorapeople.org/repo/puppet/epel/
>

None, except you'd kind of think that the place that publishes the
software would generally speaking, be the best place to get it from.

> The spec file included in the tarballs is not automatically synced up
> with each relesae, it's there simply as a convenience for folks that
> don't want to have to rewrite it from scratch.
>
> Personally, until 2.6.x is beat on a little more, we probably won't
> push it into EPEL.  But until then, I plan to update my fedorapeople
> repo with the latest releases and release candidates.  You could grab
> the yum repo file from there and then install puppet-2.6.0 explicitly
> if you don't want to run 2.6.1rc1.
>
> Or, grab the srpm and rebuild it if you like.  You'll need to pass in
> some definitions that the Fedora/EPEL build system uses.
>
>    rpmbuild --rebuild --define 'dist .el5' --define 'rhel 5' \
>        --define 'el5 1' /path/to/puppet*.src.rpm
>
> You can pass some options to disable augeas and selinux if you like as
> well.
>
> Also, from the /usr/src/redhat paths in your output, it looks like
> you're building as root.  That's generally not a good idea.  If you're
> on RHEL/CentOS, install rpmdevtools and run rpmdev-setuptree to setup
> a local user account for building.

I'm not building as root.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to