On Thu, 2012-12-20 at 19:12 -0500, Nathan Scott wrote:
> Hi Ken,
>
> From your earlier mail re RPM packaging pain and python,
> [ http://oss.sgi.com/archives/pcp/2012-11/msg00084.html ]
> the attached patch may help to work around it, not sure,
> give it a crack and let me know. Its a hack.
>
> With your last set of changes, I see this in RPM builds
> (this from a RHEL6.3 build):
Nathan,
Do you have my second commit from this morning (a84cd74)? This has a
fix for the first botched recipe for stitching the rpm spec file
together from pieces.
My guess would be pcp.spec is wrongly created ... the makefile should do
something like
cat pcp.spec.head ../../debian/cleanconfigs pcp.spec.tail >pcp.spec
(ditto for fedora.spec if you're using that one)
I can't do any rpm builds until Sun night or Mon morning ... I'll try
your patch then.
Thanks, Ken.
> ...
> === tar ===
> Wrote:
> /source/build/debug-info-path/git/golden-pcp/build/tar/pcp-3.6.11-1.tar.gz
> === rpm ===
> DEFS=`grep '^--define' rpmmacros`; \
> eval /usr/bin/rpmbuild -ba $DEFS \
> --target x86_64-unknown-linux \
> --clean pcp.spec fedora.spec
> error: line 10: Empty tag: BuildRoot:
> Building target platforms: x86_64-unknown-linux
> Building for target x86_64-unknown-linux
> gmake[1]: *** [pack_pcp] Error 1
> make: *** [pack_pcp] Error 2
> make: Leaving directory `/source/build/debug-info-path/git/golden-pcp/build'
>
>
> cheers.
>
> --
> Nathan
|