On Thu, Aug 4, 2016 at 12:24 PM, Pete Zaitcev <zaitcev(a)redhat.com> wrote:
Hi, All:
I'm trying to package something that's written in Go, and as soon as
I have the compiled binary installed, the rpmbuild blows up like this:
+ /usr/lib/rpm/check-buildroot
Binary file
/q/zaitcev/rpms/BUILDROOT/openstack-swift-2.9.0-1.z5.x86_64/usr/lib/debug/usr/bin/hummingbird.debug
matches
Binary file
/q/zaitcev/rpms/BUILDROOT/openstack-swift-2.9.0-1.z5.x86_64/usr/bin/hummingbird matches
Found '/q/zaitcev/rpms/BUILDROOT/openstack-swift-2.9.0-1.z5.x86_64' in installed
files; aborting
error: Bad exit status from /var/tmp/rpm-tmp.9NyAWC (%install)
When I showed this error to people on #fedora-devel, they suspected
that I managed to get the path to buildroot into %files, but it clearly
is not the case. I added the installation of the binary without any
changes to %files. Such build would normally break at the end in such
case, when it complains about unpackaged files found. But this case is
different, as above.
Does anyone have any guesses about what's going on?
That error means that the string
"/q/zaitcev/rpms/BUILDROOT/openstack-swift-2.9.0-1.z5.x86_64" appears
in one of the files listed in %files. Grep for BUILDROOT in your
installed file tree to find the culprit(s).
--
Jerry James
http://www.jamezone.org/