Current controller fails to build on i386
Bug #1457444 reported by
Martin Gerhard Loschwitz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenContrail |
New
|
Undecided
|
Unassigned |
Bug Description
While trying to have Launchpad automatically build packages for the Controller on i386, I realized that i386 builds will currently fail due to improper usage of format specifiers.
This happens in two occasions:
controller/
snprintf(start, sizeof(start), "Communities: %lu [", communities.
controller/
snprintf(repr, sizeof(repr), "OriginVnPath <code: %d, flags: %02x> : %lu",
The problem is %lu here, which needs to be replaced by "%z"u to make the build work properly on amd64 and i386.
To post a comment you must log in.