Building openvswitch-2.3.0 third party fails

Bug #1486720 reported by Filip Pytloun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenContrail
Incomplete
Undecided
Hari Prasad Killi

Bug Description

When building latest version of Opencontrail 2.20, build fails on openvswitch third party.

/bin/bash ./libtool --tag=CC --mode=link gcc -Wstrict-prototypes -Wall -Wextra -Wno-sign-compare -Wpointer-arith -Wdeclaration-after-statement -Wformat-security -Wno-format-zero-length -Wswitch-enum -Wunused-parameter -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wmissing-prototypes -Wmissing-field-initializers -DOPEN_CONTRAIL_CLIENT -g -o utilities/ovs-appctl utilities/ovs-appctl.o lib/libopenvswitch.la -latomic -lpthread -lrt -lm
libtool: link: gcc -Wstrict-prototypes -Wall -Wextra -Wno-sign-compare -Wpointer-arith -Wdeclaration-after-statement -Wformat-security -Wno-format-zero-length -Wswitch-enum -Wunused-parameter -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wmissing-prototypes -Wmissing-field-initializers -DOPEN_CONTRAIL_CLIENT -g -o utilities/ovs-appctl utilities/ovs-appctl.o lib/.libs/libopenvswitch.a -lssl -lcrypto -latomic -lpthread -lrt -lm
lib/.libs/libopenvswitch.a: error adding symbols: Archive has no index; run ranlib to add one
collect2: error: ld returned 1 exit status

Openvstorage third party was introduced by this change: https://github.com/Juniper/contrail-third-party/commit/cce2f272fb79811cb43524bf08cdd199681799b9

I have no idea how this could work on Opencontrail CI (if it works).

Output of openvstorage build is attached.

Tags: vrouter
Revision history for this message
Filip Pytloun (fpytloun) wrote :
Raj Reddy (rajreddy)
tags: added: vrouter
Changed in opencontrail:
assignee: nobody → Hari Prasad Killi (haripk)
Revision history for this message
Filip Pytloun (fpytloun) wrote :

Hm, it's strange. Another build from just the same source went fine.
Maybe some race condition, eruption on the sun or something? :-)

Closing the issue for now until I have a reproducer.

Changed in opencontrail:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.