Closed Bug 1740131 Opened 3 years ago Closed 3 years ago

Perma Windows MinGW all build bustages gmake[4]: *** [/builds/worker/checkouts/gecko/config/rules.mk:662: WMFUtils.o] Error 1 | after <path>: error: use of undeclared identifier 'MFT_MESSAGE_DROP_<something>'

Categories

(Firefox Build System :: General, defect, P5)

defect

Tracking

(firefox-esr91 unaffected, firefox94 unaffected, firefox95 unaffected, firefox96 fixed)

RESOLVED FIXED
96 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox94 --- unaffected
firefox95 --- unaffected
firefox96 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: alwu)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

Filed by: imoraru [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=357410660&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/RVQ61rqzRNW37Sd_8K2_iA/runs/0/artifacts/public/logs/live_backing.log


[task 2021-11-08T21:31:30.509Z] 21:31:30     INFO -  gmake[4]: Entering directory '/builds/worker/workspace/obj-build/dom/media/platforms/wmf'
[task 2021-11-08T21:31:30.516Z] 21:31:30     INFO -  /builds/worker/fetches/sccache/sccache /builds/worker/fetches/clang/bin/x86_64-w64-mingw32-clang++ -std=gnu++17 -o WMFUtils.o -c  -I/builds/worker/workspace/obj-build/dist/stl_wrappers -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -ftrivial-auto-var-init=pattern -DDEBUG=1 -DUNICODE -D_UNICODE -D_CRT_RAND_S -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -D_SECURE_ATL -DCHROMIUM_BUILD -DU_STATIC_IMPLEMENTATION -DOS_WIN=1 -DWIN32 -D_WIN32 -D_WINDOWS -DWIN32_LEAN_AND_MEAN -DWINAPI_NO_BUNDLED_LIBRARIES -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DSTATIC_EXPORTABLE_JS_API -I/builds/worker/checkouts/gecko/dom/media/platforms/wmf -I/builds/worker/workspace/obj-build/dom/media/platforms/wmf -I/builds/worker/checkouts/gecko/gfx/cairo/cairo/src -I/builds/worker/checkouts/gecko/media/libyuv/libyuv/include -I/builds/worker/workspace/obj-build/ipc/ipdl/_ipdlheaders -I/builds/worker/checkouts/gecko/ipc/chromium/src -I/builds/worker/workspace/obj-build/dist/include -I/builds/worker/workspace/obj-build/dist/include/nspr -I/builds/worker/workspace/obj-build/dist/include/nss -DMOZILLA_CLIENT -include /builds/worker/workspace/obj-build/mozilla-config.h -Qunused-arguments -Qunused-arguments -Wall -Wbitfield-enum-conversion -Wdeprecated-this-capture -Wempty-body -Wformat-type-confusion -Wignored-qualifiers -Wpointer-arith -Wshadow-field-in-constructor-modified -Wshadow-uncaptured-local -Wsign-compare -Wtype-limits -Wno-error=tautological-type-limit-compare -Wunreachable-code -Wunreachable-code-return -Wunused-but-set-parameter -Wno-invalid-offsetof -Wclass-varargs -Wempty-init-stmt -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wno-range-loop-analysis -Wc++2a-compat -Wcomma -Wenum-compare-conditional -Wimplicit-fallthrough -Wstring-conversion -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=backend-plugin -Wno-error=free-nonheap-object -Wno-error=return-std-move -Wno-error=atomic-alignment -Wno-error=deprecated-copy -Wno-unknown-pragmas -Wno-unused-function -Wno-conversion-null -Wno-switch -Wno-enum-compare -Wno-gnu-zero-variadic-macro-arguments -Wno-psabi -Wno-unknown-warning-option -fno-sized-deallocation -fno-aligned-new -fms-extensions -fcrash-diagnostics-dir=/builds/worker/artifacts -D_HAS_EXCEPTIONS=0 -fno-exceptions -fno-strict-aliasing -Wno-incompatible-ms-struct -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pipe -g -gcodeview -O2 -fno-omit-frame-pointer -funwind-tables -fexperimental-new-pass-manager  -MD -MP -MF .deps/WMFUtils.o.pp   /builds/worker/checkouts/gecko/dom/media/platforms/wmf/WMFUtils.cpp
[task 2021-11-08T21:31:30.516Z] 21:31:30     INFO -  In file included from /builds/worker/checkouts/gecko/dom/media/platforms/wmf/WMFUtils.cpp:7:
[task 2021-11-08T21:31:30.517Z] 21:31:30     INFO -  In file included from /builds/worker/checkouts/gecko/dom/media/platforms/wmf/WMFUtils.h:11:
[task 2021-11-08T21:31:30.517Z] 21:31:30     INFO -  In file included from /builds/worker/workspace/obj-build/dist/include/TimeUnits.h:12:
[task 2021-11-08T21:31:30.517Z] 21:31:30     INFO -  In file included from /builds/worker/workspace/obj-build/dist/include/Intervals.h:12:
[task 2021-11-08T21:31:30.517Z] 21:31:30  WARNING -  /builds/worker/workspace/obj-build/dist/include/nsTArray.h:3171:19: warning: 'iterator<std::output_iterator_tag, void, void, void, void>' is deprecated [-Wdeprecated-declarations]
[task 2021-11-08T21:31:30.517Z] 21:31:30     INFO -      : public std::iterator<std::output_iterator_tag, void, void, void, void> {
[task 2021-11-08T21:31:30.517Z] 21:31:30     INFO -                    ^
[task 2021-11-08T21:31:30.517Z] 21:31:30     INFO -  /builds/worker/fetches/clang/bin/../x86_64-w64-mingw32/include/c++/v1/__iterator/iterator.h:27:29: note: 'iterator<std::output_iterator_tag, void, void, void, void>' has been explicitly marked deprecated here
[task 2021-11-08T21:31:30.518Z] 21:31:30     INFO -  struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 iterator
[task 2021-11-08T21:31:30.518Z] 21:31:30     INFO -                              ^
[task 2021-11-08T21:31:30.518Z] 21:31:30     INFO -  /builds/worker/fetches/clang/bin/../x86_64-w64-mingw32/include/c++/v1/__config:1016:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
[task 2021-11-08T21:31:30.518Z] 21:31:30     INFO -  #  define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
[task 2021-11-08T21:31:30.518Z] 21:31:30     INFO -                                        ^
[task 2021-11-08T21:31:30.518Z] 21:31:30     INFO -  /builds/worker/fetches/clang/bin/../x86_64-w64-mingw32/include/c++/v1/__config:993:48: note: expanded from macro '_LIBCPP_DEPRECATED'
[task 2021-11-08T21:31:30.518Z] 21:31:30     INFO -  #    define _LIBCPP_DEPRECATED __attribute__ ((deprecated))
[task 2021-11-08T21:31:30.518Z] 21:31:30     INFO -                                                 ^
[task 2021-11-08T21:31:30.519Z] 21:31:30    ERROR -  /builds/worker/checkouts/gecko/dom/media/platforms/wmf/WMFUtils.cpp:179:10: error: use of undeclared identifier 'MFT_MESSAGE_DROP_SAMPLES'
[task 2021-11-08T21:31:30.519Z] 21:31:30     INFO -      case MFT_MESSAGE_DROP_SAMPLES:
[task 2021-11-08T21:31:30.519Z] 21:31:30     INFO -           ^
[task 2021-11-08T21:31:30.519Z] 21:31:30    ERROR -  /builds/worker/checkouts/gecko/dom/media/platforms/wmf/WMFUtils.cpp:181:10: error: use of undeclared identifier 'MFT_MESSAGE_COMMAND_TICK'
[task 2021-11-08T21:31:30.519Z] 21:31:30     INFO -      case MFT_MESSAGE_COMMAND_TICK:
[task 2021-11-08T21:31:30.519Z] 21:31:30     INFO -           ^
[task 2021-11-08T21:31:30.519Z] 21:31:30    ERROR -  /builds/worker/checkouts/gecko/dom/media/platforms/wmf/WMFUtils.cpp:191:10: error: use of undeclared identifier 'MFT_MESSAGE_NOTIFY_RELEASE_RESOURCES'
[task 2021-11-08T21:31:30.519Z] 21:31:30     INFO -      case MFT_MESSAGE_NOTIFY_RELEASE_RESOURCES:
[task 2021-11-08T21:31:30.519Z] 21:31:30     INFO -           ^
[task 2021-11-08T21:31:30.519Z] 21:31:30    ERROR -  /builds/worker/checkouts/gecko/dom/media/platforms/wmf/WMFUtils.cpp:193:10: error: use of undeclared identifier 'MFT_MESSAGE_NOTIFY_REACQUIRE_RESOURCES'
[task 2021-11-08T21:31:30.519Z] 21:31:30     INFO -      case MFT_MESSAGE_NOTIFY_REACQUIRE_RESOURCES:
[task 2021-11-08T21:31:30.519Z] 21:31:30     INFO -           ^
[task 2021-11-08T21:31:30.519Z] 21:31:30    ERROR -  /builds/worker/checkouts/gecko/dom/media/platforms/wmf/WMFUtils.cpp:195:10: error: use of undeclared identifier 'MFT_MESSAGE_NOTIFY_EVENT'
[task 2021-11-08T21:31:30.519Z] 21:31:30     INFO -      case MFT_MESSAGE_NOTIFY_EVENT:
[task 2021-11-08T21:31:30.519Z] 21:31:30     INFO -           ^
[task 2021-11-08T21:31:30.520Z] 21:31:30    ERROR -  /builds/worker/checkouts/gecko/dom/media/platforms/wmf/WMFUtils.cpp:197:10: error: use of undeclared identifier 'MFT_MESSAGE_COMMAND_SET_OUTPUT_STREAM_STATE'
[task 2021-11-08T21:31:30.520Z] 21:31:30     INFO -      case MFT_MESSAGE_COMMAND_SET_OUTPUT_STREAM_STATE:
[task 2021-11-08T21:31:30.520Z] 21:31:30     INFO -           ^
[task 2021-11-08T21:31:30.520Z] 21:31:30    ERROR -  /builds/worker/checkouts/gecko/dom/media/platforms/wmf/WMFUtils.cpp:199:10: error: use of undeclared identifier 'MFT_MESSAGE_COMMAND_FLUSH_OUTPUT_STREAM'
[task 2021-11-08T21:31:30.520Z] 21:31:30     INFO -      case MFT_MESSAGE_COMMAND_FLUSH_OUTPUT_STREAM:
[task 2021-11-08T21:31:30.520Z] 21:31:30     INFO -           ^
[task 2021-11-08T21:31:30.520Z] 21:31:30     INFO -  1 warning and 7 errors generated.
[task 2021-11-08T21:31:30.520Z] 21:31:30    ERROR -  gmake[4]: *** [/builds/worker/checkouts/gecko/config/rules.mk:662: WMFUtils.o] Error 1
[task 2021-11-08T21:31:30.520Z] 21:31:30     INFO -  gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/dom/media/platforms/wmf'
[task 2021-11-08T21:31:30.520Z] 21:31:30    ERROR -  gmake[3]: *** [/builds/worker/checkouts/gecko/config/recurse.mk:72: dom/media/platforms/wmf/target-objects] Error 2
[task 2021-11-08T21:31:30.520Z] 21:31:30     INFO -  gmake[3]: *** Waiting for unfinished jobs....
[task 2021-11-08T21:31:30.524Z] 21:31:30     INFO -  gmake[4]: Entering directory '/builds/worker/workspace/obj-build/dom/media'
[task 2021-11-08T21:31:30.524Z] 21:31:30     INFO -  dom/media/DecoderTraits.o
[task 2021-11-08T21:31:30.524Z] 21:31:30     INFO -  gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/dom/media'

Hi Alastor! This seems to be caused by your latest work on Bug 1739675. Can you please take a look? Thank you!

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

Is it only able to run the task Windows MinGW all on autoland? I couldn't find the same task on the try server, so I couldn't verify if my patch solves the build error on MinGW or not.

Flags: needinfo?(imoraru)

(In reply to Alastor Wu [:alwu] from comment #3)

Is it only able to run the task Windows MinGW all on autoland? I couldn't find the same task on the try server, so I couldn't verify if my patch solves the build error on MinGW or not.

I will pass the question to Aryx. He knows more about this than me.

Flags: needinfo?(imoraru) → needinfo?(aryx.bugmail)

How to get the MinGW clang debug builds:

  • Top right of push menu > "Add new jobs" > Enter "mingw clang debug build" into search box > Click onto the 64-bit build > Click "Trigger new Jobs" > Requested task. Or:
  • Top right of push menu > "Add new jobs (search)" > Check "Use full job list" > Search for "mingw debug build".
  • From the command line when you request the push: ./mach try fuzzy --full
Flags: needinfo?(aryx.bugmail)

Set release status flags based on info from the regressing bug 1739675

Thank you. And I found my patch doesn't solve the issue for MinGw yet, will modify it again.

See Also: → 1740359
Attachment #9249890 - Attachment description: Bug 1740131 - add header declaration in order to MFT related messages. → Bug 1740131 - avoid to use some not-defined MFT related messages in MinGW build.
Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6bc5bd89b9dc
avoid to use some not-defined MFT related messages in MinGW build. r=bryce
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: