You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build cerebro RPMs on a vanilla RHEL 7.4 node for use with LMT. I am working with commit 34257dd on master. An rpmbuild using a configure-generated .spec file errors out after failing to find a service file:
$ ./configure
<snip>
$ make dist
<snip>
$ mv ./cerebro-1.18.tar.gz /root/rpmbuild/SOURCES/
$ rpmbuild -bb ./cerebro.spec
<snip>
extracting debug info from /root/rpmbuild/BUILDROOT/cerebro-1.18-1.x86_64/usr/lib64/cerebro/cerebro_metric_bytesout.so
extracting debug info from /root/rpmbuild/BUILDROOT/cerebro-1.18-1.x86_64/usr/lib64/cerebro/cerebro_metric_packetsin.so
extracting debug info from /root/rpmbuild/BUILDROOT/cerebro-1.18-1.x86_64/usr/lib64/cerebro/cerebro_metric_packetsout.so
extracting debug info from /root/rpmbuild/BUILDROOT/cerebro-1.18-1.x86_64/usr/lib64/cerebro/cerebro_metric_rxerrs.so
extracting debug info from /root/rpmbuild/BUILDROOT/cerebro-1.18-1.x86_64/usr/lib64/cerebro/cerebro_metric_txerrs.so
extracting debug info from /root/rpmbuild/BUILDROOT/cerebro-1.18-1.x86_64/usr/sbin/cerebro-admin
extracting debug info from /root/rpmbuild/BUILDROOT/cerebro-1.18-1.x86_64/usr/sbin/cerebro-stat
extracting debug info from /root/rpmbuild/BUILDROOT/cerebro-1.18-1.x86_64/usr/sbin/cerebrod
/usr/lib/rpm/sepdebugcrcfix: Updated 23 CRC32s, 0 CRC32s did match.
symlinked /usr/lib/debug/usr/lib64/libcerebro_error.so.0.0.0.debug to /usr/lib/debug/usr/lib64/libcerebro_error.so.0.debug
symlinked /usr/lib/debug/usr/lib64/libcerebro_error.so.0.0.0.debug to /usr/lib/debug/usr/lib64/libcerebro_error.so.debug
symlinked /usr/lib/debug/usr/lib64/libcerebro.so.1.0.1.debug to /usr/lib/debug/usr/lib64/libcerebro.so.1.debug
symlinked /usr/lib/debug/usr/lib64/libcerebro.so.1.0.1.debug to /usr/lib/debug/usr/lib64/libcerebro.so.debug
cpio: cerebro-1.18/libltdl/.libs/libltdlcS.c: Cannot stat: No such file or directory
2388 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: cerebro-1.18-1.x86_64
error: File not found: /root/rpmbuild/BUILDROOT/cerebro-1.18-1.x86_64/usr/lib/systemd/system/cerebrod.service
error: Directory not found: /root/rpmbuild/BUILDROOT/cerebro-1.18-1.x86_64/var/run/cerebro
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Y4lL2h
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd cerebro-1.18
+ DOCDIR=/root/rpmbuild/BUILDROOT/cerebro-1.18-1.x86_64/usr/share/doc/cerebro-1.18
+ export DOCDIR
+ /usr/bin/mkdir -p /root/rpmbuild/BUILDROOT/cerebro-1.18-1.x86_64/usr/share/doc/cerebro-1.18
+ cp -pr README /root/rpmbuild/BUILDROOT/cerebro-1.18-1.x86_64/usr/share/doc/cerebro-1.18
+ cp -pr NEWS /root/rpmbuild/BUILDROOT/cerebro-1.18-1.x86_64/usr/share/doc/cerebro-1.18
+ cp -pr ChangeLog /root/rpmbuild/BUILDROOT/cerebro-1.18-1.x86_64/usr/share/doc/cerebro-1.18
+ cp -pr DISCLAIMER /root/rpmbuild/BUILDROOT/cerebro-1.18-1.x86_64/usr/share/doc/cerebro-1.18
+ cp -pr DISCLAIMER.UC /root/rpmbuild/BUILDROOT/cerebro-1.18-1.x86_64/usr/share/doc/cerebro-1.18
+ cp -pr COPYING /root/rpmbuild/BUILDROOT/cerebro-1.18-1.x86_64/usr/share/doc/cerebro-1.18
+ exit 0
RPM build errors:
File not found: /root/rpmbuild/BUILDROOT/cerebro-1.18-1.x86_64/usr/lib/systemd/system/cerebrod.service
Directory not found: /root/rpmbuild/BUILDROOT/cerebro-1.18-1.x86_64/var/run/cerebro
A manual ./configure; make; make install seems to work but fails to install the necessary service files. What am I missing?
The text was updated successfully, but these errors were encountered:
I am trying to build cerebro RPMs on a vanilla RHEL 7.4 node for use with LMT. I am working with commit 34257dd on master. An rpmbuild using a configure-generated
.spec
file errors out after failing to find a service file:A manual
./configure; make; make install
seems to work but fails to install the necessary service files. What am I missing?The text was updated successfully, but these errors were encountered: