compilation failure for scons vrouter:test failure on centos

Bug #1793324 reported by Prabhjot Singh Sethi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Undecided
Prabhjot Singh Sethi

Bug Description

missing dependency for cmocka for centos

[root@00e05d08b4a5 contrail]# scons vrouter:test
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
Install file: "build/debug/tools/sandesh/compiler/sandesh" as "build/bin/sandesh"
gcc -o build/debug/vrouter/test/common_test.o -c -O0 -DDEBUG -g -g -Ivrouter/include -Ibuild/debug/vrouter/sandesh/gen-c -Ivrouter/sandesh/gen-c -Isrc/contrail-common -Isrc/contra
il-common/sandesh/library/c -Ibuild/debug/vrouter/dpdk/x86_64-native-linuxapp-gcc/include -Ivrouter/dpdk/x86_64-native-linuxapp-gcc/include vrouter/test/common_test.c
gcc -o build/debug/vrouter/test/dp_core_test.o -c -O0 -DDEBUG -g -g -Ivrouter/include -Ibuild/debug/vrouter/sandesh/gen-c -Ivrouter/sandesh/gen-c -Isrc/contrail-common -Isrc/contr
ail-common/sandesh/library/c -Ibuild/debug/vrouter/dpdk/x86_64-native-linuxapp-gcc/include -Ivrouter/dpdk/x86_64-native-linuxapp-gcc/include vrouter/test/dp_core_test.c
vrouter/test/dp_core_test.c:6:20: fatal error: cmocka.h: No such file or directory
 #include <cmocka.h>
                    ^
compilation terminated.
scons: *** [build/debug/vrouter/test/dp_core_test.o] Error 1

Tags: build
Changed in juniperopenstack:
assignee: nobody → Prabhjot Singh Sethi (prabhjot)
information type: Proprietary → Public
tags: added: build
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/46315
Submitter: Prabhjot Singh Sethi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/46315
Committed: http://github.com/Juniper/contrail-packages/commit/59f401b47230f025924523ce82799b34ec655e6c
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 59f401b47230f025924523ce82799b34ec655e6c
Author: Prabhjot Singh Sethi <email address hidden>
Date: Wed Sep 19 14:43:30 2018 +0000

fix vrouter:test compilation for centos

include dep for cmocka as part of make dep

Change-Id: I86d5e004d21b4cddcdb99ab11fa68b633178ded5
Closes-Bug: 1793324

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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