Encountered the following error when building RPM for RHEL.

Tarball: http://openvswitch.org/releases/openvswitch-2.9.0.tar.gz

$ rpmbuild -bb rhel/openvswitch.spec

...

libtool: warning: remember to run 'libtool --finish /usr/lib64'
 /usr/bin/mkdir -p 
'/home/greenpau/rpmbuild/BUILDROOT/openvswitch-2.9.0-1.x86_64/usr/bin'
  /bin/sh ./libtool   --mode=install /usr/bin/install -c utilities/ovs-appctl 
utilities/ovs-testcontroller utilities/ovs-dpctl utilities/ovs-ofctl 
utilities/ovs-vsctl ovsdb/ovsdb-tool ovsdb/ovsdb-client vtep/vtep-ctl 
ovn/controller/ovn-controller ovn/controller-vtep/ovn-controller-vtep 
ovn/northd/ovn-northd ovn/utilities/ovn-nbctl ovn/utilities/ovn-sbctl 
ovn/utilities/ovn-trace 
'/home/greenpau/rpmbuild/BUILDROOT/openvswitch-2.9.0-1.x86_64/usr/bin'
libtool: warning: 'lib/libopenvswitch.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -c utilities/.libs/ovs-appctl 
/home/greenpau/rpmbuild/BUILDROOT/openvswitch-2.9.0-1.x86_64/usr/bin/ovs-appctl
libtool: warning: 'lib/libopenvswitch.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -c utilities/.libs/ovs-testcontroller 
/home/greenpau/rpmbuild/BUILDROOT/openvswitch-2.9.0-1.x86_64/usr/bin/ovs-testcontroller
libtool: warning: 'lib/libopenvswitch.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -c utilities/.libs/ovs-dpctl 
/home/greenpau/rpmbuild/BUILDROOT/openvswitch-2.9.0-1.x86_64/usr/bin/ovs-dpctl
libtool: warning: 'ofproto/libofproto.la' has not been installed in '/usr/lib64'
libtool: warning: 'lib/libopenvswitch.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -c utilities/.libs/ovs-ofctl 
/home/greenpau/rpmbuild/BUILDROOT/openvswitch-2.9.0-1.x86_64/usr/bin/ovs-ofctl
libtool: warning: 'lib/libopenvswitch.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -c utilities/.libs/ovs-vsctl 
/home/greenpau/rpmbuild/BUILDROOT/openvswitch-2.9.0-1.x86_64/usr/bin/ovs-vsctl
libtool: warning: 'ovsdb/libovsdb.la' has not been installed in '/usr/lib64'
libtool: warning: 'lib/libopenvswitch.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -c ovsdb/.libs/ovsdb-tool 
/home/greenpau/rpmbuild/BUILDROOT/openvswitch-2.9.0-1.x86_64/usr/bin/ovsdb-tool
libtool: warning: 'ovsdb/libovsdb.la' has not been installed in '/usr/lib64'
libtool: warning: 'lib/libopenvswitch.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -c ovsdb/.libs/ovsdb-client 
/home/greenpau/rpmbuild/BUILDROOT/openvswitch-2.9.0-1.x86_64/usr/bin/ovsdb-client
libtool: warning: 'vtep/libvtep.la' has not been installed in '/usr/lib64'
libtool: warning: 'lib/libopenvswitch.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -c vtep/.libs/vtep-ctl 
/home/greenpau/rpmbuild/BUILDROOT/openvswitch-2.9.0-1.x86_64/usr/bin/vtep-ctl
libtool: warning: 'ovn/lib/libovn.la' has not been installed in '/usr/lib64'
libtool: warning: 'lib/libopenvswitch.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -c ovn/controller/.libs/ovn-controller 
/home/greenpau/rpmbuild/BUILDROOT/openvswitch-2.9.0-1.x86_64/usr/bin/ovn-controller
libtool: warning: 'ovn/lib/libovn.la' has not been installed in '/usr/lib64'
libtool: warning: 'lib/libopenvswitch.la' has not been installed in '/usr/lib64'
libtool: warning: 'vtep/libvtep.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -c 
ovn/controller-vtep/.libs/ovn-controller-vtep 
/home/greenpau/rpmbuild/BUILDROOT/openvswitch-2.9.0-1.x86_64/usr/bin/ovn-controller-vtep
libtool: warning: 'ovn/lib/libovn.la' has not been installed in '/usr/lib64'
libtool: warning: 'ovsdb/libovsdb.la' has not been installed in '/usr/lib64'
libtool: warning: 'lib/libopenvswitch.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -c ovn/northd/.libs/ovn-northd 
/home/greenpau/rpmbuild/BUILDROOT/openvswitch-2.9.0-1.x86_64/usr/bin/ovn-northd
libtool: warning: 'ovn/lib/libovn.la' has not been installed in '/usr/lib64'
libtool: warning: 'ovsdb/libovsdb.la' has not been installed in '/usr/lib64'
libtool: warning: 'lib/libopenvswitch.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -c ovn/utilities/.libs/ovn-nbctl 
/home/greenpau/rpmbuild/BUILDROOT/openvswitch-2.9.0-1.x86_64/usr/bin/ovn-nbctl
libtool: warning: 'ovn/lib/libovn.la' has not been installed in '/usr/lib64'
libtool: warning: 'ovsdb/libovsdb.la' has not been installed in '/usr/lib64'
libtool: warning: 'lib/libopenvswitch.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -c ovn/utilities/.libs/ovn-sbctl 
/home/greenpau/rpmbuild/BUILDROOT/openvswitch-2.9.0-1.x86_64/usr/bin/ovn-sbctl
libtool: warning: 'ovn/lib/libovn.la' has not been installed in '/usr/lib64'
libtool: warning: 'ovsdb/libovsdb.la' has not been installed in '/usr/lib64'
libtool: warning: 'lib/libopenvswitch.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -c ovn/utilities/.libs/ovn-trace 
/home/greenpau/rpmbuild/BUILDROOT/openvswitch-2.9.0-1.x86_64/usr/bin/ovn-trace
 /usr/bin/mkdir -p 
'/home/greenpau/rpmbuild/BUILDROOT/openvswitch-2.9.0-1.x86_64/usr/bin'
 /usr/bin/install -c utilities/ovs-docker utilities/ovs-pki 
utilities/ovs-dpctl-top utilities/ovs-l3ping utilities/ovs-parse-backtrace 
utilities/ovs-pcap utilities/ovs-tcpdump utilities/ovs-tcpundump 
utilities/ovs-test utilities/ovs-vlan-test 
ovn/utilities/ovn-docker-overlay-driver 
ovn/utilities/ovn-docker-underlay-driver ovn/utilities/ovn-detrace 
'/home/greenpau/rpmbuild/BUILDROOT/openvswitch-2.9.0-1.x86_64/usr/bin'
 /usr/bin/mkdir -p 
'/home/greenpau/rpmbuild/BUILDROOT/openvswitch-2.9.0-1.x86_64/usr/sbin'
  /bin/sh ./libtool   --mode=install /usr/bin/install -c 
utilities/ovs-vlan-bug-workaround vswitchd/ovs-vswitchd ovsdb/ovsdb-server 
'/home/greenpau/rpmbuild/BUILDROOT/openvswitch-2.9.0-1.x86_64/usr/sbin'
libtool: warning: 'lib/libopenvswitch.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -c utilities/.libs/ovs-vlan-bug-workaround 
/home/greenpau/rpmbuild/BUILDROOT/openvswitch-2.9.0-1.x86_64/usr/sbin/ovs-vlan-bug-workaround
libtool: warning: 'ofproto/libofproto.la' has not been installed in '/usr/lib64'
libtool: warning: 'lib/libsflow.la' has not been installed in '/usr/lib64'
libtool: warning: 'lib/libopenvswitch.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -c vswitchd/.libs/ovs-vswitchd 
/home/greenpau/rpmbuild/BUILDROOT/openvswitch-2.9.0-1.x86_64/usr/sbin/ovs-vswitchd
libtool: warning: 'ovsdb/libovsdb.la' has not been installed in '/usr/lib64'
libtool: warning: 'lib/libopenvswitch.la' has not been installed in '/usr/lib64'

...

extracting debug info from 
/home/greenpau/rpmbuild/BUILDROOT/openvswitch-2.9.0-1.x86_64/usr/lib64/libopenvswitch-2.9.so.0.0.0
*** ERROR: No build ID note found in 
/home/greenpau/rpmbuild/BUILDROOT/openvswitch-2.9.0-1.x86_64/usr/lib64/libopenvswitch-2.9.so.0.0.0
error: Bad exit status from /var/tmp/rpm-tmp.RZkAHh (%install)

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





The information contained in this e-mail, and any attachment, is confidential 
and is intended solely for the use of the intended recipient. Access, copying 
or re-use of the e-mail or any attachment, or any information contained 
therein, by any other person is not authorized. If you are not the intended 
recipient please return the e-mail to the sender and delete it from your 
computer. Although we attempt to sweep e-mail and attachments for viruses, we 
do not guarantee that either are virus-free and accept no liability for any 
damage sustained as a result of viruses. 

Please refer to http://disclaimer.bnymellon.com/eu.htm for certain disclosures 
relating to European legal entities.
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to