Closed Bug 1588283 Opened 5 years ago Closed 5 years ago

Incorrect build failure reported

Categories

(Developer Infrastructure :: Source Code Analysis, defect, P1)

defect

Tracking

(firefox72 fixed)

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: Sylvestre, Assigned: andi)

Details

Attachments

(1 file)

Working on my regular reformat of the tree:
https://phabricator.services.mozilla.com/D49056#change-uV2apxZFhyBu
I received a build failure notification (email)

Code Review bot found 1 build errors on D49056

Message: use of undeclared identifier 'MOZ_APP_VERSION'
Location: toolkit/mozapps/update/updater/updater.cpp:2522

Full log:
https://taskcluster-artifacts.net/fdccGXWmQaK0fEXOMH5YFw/0/public/logs/live_backing.log

Seems to be caused by:
[task 2019-10-12T07:31:32.901Z] [WARNING] Argument not recognized by Coverity compiler: '-DMOZ_APP_VERSION="71.0a1"'

Side note: 1 build error(s)

Andi, Any idea what is going on here?

Flags: needinfo?(bpostelnicu)

I've opened a ticket to Coverity for this issue. Definitely it's an issue with cov-translate.

Assignee: nobody → bpostelnicu
Flags: needinfo?(bpostelnicu)

The emails are going back and forward with Synopsys Support, we've provided them with everything that they asked but unfortunately we don't have a resolution yet.

Synopsys confirmed this is a bug on their side and they assigned a ticket for this, #CMPCPP-952m. I'm pursuing a workaround for this since we don't know how long it will take to have this fixed.

We have this workaround for this issue, but this by far is not a fix, Coverity should be fully compatible with the formatting of compile_commands.json.

Pushed by bpostelnicu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1ee997d2152a
Incorrect build failure reported by coverity when using inline definitions. r=bastien
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: