While 1.2.23 works perfectly with rpmbuild, 1.2.24 does not

Bernd <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <[email protected]>
Hi,

building 1.2.23 using rpmbuild works perfectly fine.

Seems 1.2.24 had a regression somewhere, as it fails. Excerpt following.

Best regards,

Bernd

---

Making all in doc
make[1]: Entering directory 
`/home/tis/rpmbuild/BUILD/keepalived-1.2.24/doc'
make[1]: Leaving directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/doc'
Making all in genhash
make[1]: Entering directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/genhash'
   CC       main.o
   CC       sock.o
   CC       layer4.o
   CC       http.o
   CC       ssl.o
   CCLD     genhash
make[1]: Leaving directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/genhash'
Making all in bin_install
make[1]: Entering directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/bin_install'
make[1]: Leaving directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/bin_install'
make[1]: Entering directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.T7R1fq
+ umask 022
+ cd /home/bernd/rpmbuild/BUILD
+ '[' /home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64 '!=' / 
']'
+ rm -rf /home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64
++ dirname /home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64
+ mkdir -p /home/bernd/rpmbuild/BUILDROOT
+ mkdir /home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64
+ cd keepalived-1.2.24
+ /usr/bin/rm -rf 
/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64
+ /usr/bin/make install 
DESTDIR=/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64
Making install in lib
make[1]: Entering directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/lib'
/usr/bin/make  install-am
make[2]: Entering directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/lib'
make[3]: Entering directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/lib'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/lib'
make[2]: Leaving directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/lib'
make[1]: Leaving directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/lib'
Making install in keepalived
make[1]: Entering directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/keepalived'
Making install in core
make[2]: Entering directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/keepalived/core'
make[3]: Entering directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/keepalived/core'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/keepalived/core'
make[2]: Leaving directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/keepalived/core'
Making install in vrrp
make[2]: Entering directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/keepalived/vrrp'
make[3]: Entering directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/keepalived/vrrp'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/keepalived/vrrp'
make[2]: Leaving directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/keepalived/vrrp'
Making install in check
make[2]: Entering directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/keepalived/check'
make[3]: Entering directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/keepalived/check'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/keepalived/check'
make[2]: Leaving directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/keepalived/check'
make[2]: Entering directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/keepalived'
make[3]: Entering directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/keepalived'
  /usr/bin/mkdir -p 
'/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64/usr/sbin'
   /usr/bin/install -c keepalived 
'/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64/usr/sbin'
  /usr/bin/mkdir -p 
'/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64/etc/keepalived'
  /usr/bin/install -c -m 644 etc/keepalived/keepalived.conf 
'/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64/etc/keepalived'
  /usr/bin/mkdir -p 
'/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64/etc/rc.d/init.d'
  /usr/bin/install -c -m 644 etc/init.d/keepalived.init 
'/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64/etc/rc.d/init.d'
  /usr/bin/mkdir -p 
'/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64/etc/sysconfig'
  /usr/bin/install -c -m 644 etc/init.d/keepalived.sysconfig 
'/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64/etc/sysconfig'
  /usr/bin/mkdir -p 
'/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64/usr/lib/systemd/system'
  /usr/bin/install -c -m 644 keepalived.service 
'/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64/usr/lib/systemd/system'
/usr/bin/make  install-data-hook
make[4]: Entering directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/keepalived'
mv 
/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64//etc/rc.d/init.d/keepalived.init 
/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64//etc/rc.d/init.d/keepalived
mv 
/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64//etc/sysconfig/keepalived.sysconfig 
/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64//etc/sysconfig/keepalived
make[4]: Leaving directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/keepalived'
make[3]: Leaving directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/keepalived'
make[2]: Leaving directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/keepalived'
make[1]: Leaving directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/keepalived'
Making install in doc
make[1]: Entering directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/doc'
make[2]: Entering directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/doc'
make[2]: Nothing to be done for `install-exec-am'.
  /usr/bin/mkdir -p 
'/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64/usr/share/man/man1'
  /usr/bin/install -c -m 644 man/man1/genhash.1 
'/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64/usr/share/man/man1'
  /usr/bin/mkdir -p 
'/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64/usr/share/man/man5'
  /usr/bin/install -c -m 644 man/man5/keepalived.conf.5 
'/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64/usr/share/man/man5'
  /usr/bin/mkdir -p 
'/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64/usr/share/man/man8'
  /usr/bin/install -c -m 644 man/man8/keepalived.8 
'/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64/usr/share/man/man8'
  /usr/bin/mkdir -p 
'/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64/usr/share/snmp/mibs'
  /usr/bin/mkdir -p 
'/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64/etc/keepalived/samples'
  /usr/bin/install -c -m 644 ./samples/client.pem ./samples/dh1024.pem 
./samples/keepalived.conf.HTTP_GET.port ./samples/keepalived.conf.IPv6 
./samples/keepalived.conf.SMTP_CHECK ./samples/keepalived.conf.SSL_GET 
./samples/keepalived.conf.fwmark ./samples/keepalived.conf.inhibit 
./samples/keepalived.conf.misc_check 
./samples/keepalived.conf.misc_check_arg 
./samples/keepalived.conf.quorum ./samples/keepalived.conf.sample 
./samples/keepalived.conf.status_code 
./samples/keepalived.conf.track_interface 
./samples/keepalived.conf.virtual_server_group 
./samples/keepalived.conf.virtualhost ./samples/keepalived.conf.vrrp 
./samples/keepalived.conf.vrrp.localcheck 
./samples/keepalived.conf.vrrp.lvs_syncd 
./samples/keepalived.conf.vrrp.routes 
./samples/keepalived.conf.vrrp.rules 
./samples/keepalived.conf.vrrp.scripts 
./samples/keepalived.conf.vrrp.static_ipaddress 
./samples/keepalived.conf.vrrp.sync ./samples/root.pem 
./samples/sample.misccheck.smbcheck.sh 
'/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64/etc/keepalived/samples'
make[2]: Leaving directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/doc'
make[1]: Leaving directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/doc'
Making install in genhash
make[1]: Entering directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/genhash'
make[2]: Entering directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/genhash'
  /usr/bin/mkdir -p 
'/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64/usr/bin'
   /usr/bin/install -c genhash 
'/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64/usr/bin'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/genhash'
make[1]: Leaving directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/genhash'
Making install in bin_install
make[1]: Entering directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/bin_install'
make[2]: Entering directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/bin_install'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/bin_install'
make[1]: Leaving directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24/bin_install'
make[1]: Entering directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24'
make[2]: Entering directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24'
make[1]: Leaving directory 
`/home/bernd/rpmbuild/BUILD/keepalived-1.2.24'
+ /usr/bin/rm -rf 
/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64/etc/keepalived/samples/
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz 
--dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 
/home/bernd/rpmbuild/BUILD/keepalived-1.2.24
extracting debug info from 
/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64/usr/sbin/keepalived
extracting debug info from 
/home/bernd/rpmbuild/BUILDROOT/keepalived-1.2.24-1.x86_64/usr/bin/genhash
dwz: Too few files for multifile optimization
/usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 2 CRC32s did match.
+ /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
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.tvvRWf
+ umask 022
+ cd /home/bernd/rpmbuild/BUILD
+ cd keepalived-1.2.24
+ grep -q 'IPVS_SUPPORT='\''_WITH_LVS_'\''' config.log
+ echo 'ERROR: We do not want keeepalived lacking LVS support.'
ERROR: We do not want keeepalived lacking LVS support.
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.tvvRWf (%check)


RPM build errors:
     Bad exit status from /var/tmp/rpm-tmp.tvvRWf (%check)

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.