On Wed, 21 Dec 2011 00:49:59 -0500, EHC (Eric) wrote:
File not found:
/root/rpmbuild/BUILDROOT/tudu-0.8.1-1.fc17.x86_64/usr/bin/tudu
In the future, avoid building as superuser root. Your ordinary user account
should suffice.
File not found by glob:
/root/rpmbuild/BUILDROOT/tudu-0.8.1-1.fc17.x86_64/usr/share/man/man1/tudu*
File not found: /root/rpmbuild/BUILDROOT/tudu-0.8.1-1.fc17.x86_64/usr/share/tudu
File not found by glob: /root/rpmbuild/BUILDROOT/tudu-0.8.1-1.fc17.x86_64/etc/*
File not found: /root/rpmbuild/BUILDROOT/tudu-0.8.1-1.fc17.x86_64/etc/tudurc
You can also see the entire build log[1] as I'm sure that will be helpful.
The error messages are obvious, however. Your buildroot does not contain
the files specified in the %files section. That means they either have not
been installed to the specified locations, or the %install section has not
installed them at all.
g++ -Wall -O2 -c tudu.cc
It doesn't build with Fedora's global optflags. The packaging guidelines
contain a section about that.
+ make install
mkdir -p /usr/local/bin
/usr/bin/install -m 755 -s tudu /usr/local/bin
It doesn't install into buildroot, but directly into /usr/local, and
that didn't fail because you've built as "root". You need to figure out
whether it just ignored your DESTDIR= definition (or whether the linked
spec file is not the one that produced your tudu.error log file) and
whether it needs patching (or whether %makeinstall would be a work-around).
Consult the Fedora packaging guidelines about %makeinstall.