Closed Bug 1924631 Opened 1 month ago Closed 1 month ago

Perma Win MinGW /builds/worker/checkouts/gecko/netwerk/system/win32/nsNotifyAddrListener.cpp:513:16: error: use of undeclared identifier 'IN6_IS_ADDR_LINKLOCAL'

Categories

(Firefox Build System :: Android Studio and Gradle Integration, defect, P5)

defect

Tracking

(firefox-esr128 unaffected, firefox131 unaffected, firefox132 unaffected, firefox133 fixed)

RESOLVED FIXED
133 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox131 --- unaffected
firefox132 --- unaffected
firefox133 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

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


In file included from /builds/worker/workspace/obj-build/dist/include/mozilla/TimeStamp.h:27:
[task 2024-10-15T04:42:40.936Z] 04:42:40  WARNING -  /builds/worker/workspace/obj-build/dist/include/mozilla/TimeStamp_windows.h:62:26: warning: 'dllimport' attribute ignored on inline function [-Wignored-attributes]
[task 2024-10-15T04:42:40.936Z] 04:42:40     INFO -     62 |   constexpr MOZ_IMPLICIT MFBT_API TimeStampValue(uint64_t aGTCAndQPC)
[task 2024-10-15T04:42:40.936Z] 04:42:40     INFO -        |                          ^
[task 2024-10-15T04:42:40.936Z] 04:42:40     INFO -  /builds/worker/workspace/obj-build/dist/include/mozilla/Types.h:101:24: note: expanded from macro 'MFBT_API'
[task 2024-10-15T04:42:40.936Z] 04:42:40     INFO -    101 | #      define MFBT_API MOZ_IMPORT_API
[task 2024-10-15T04:42:40.936Z] 04:42:40     INFO -        |                        ^
[task 2024-10-15T04:42:40.936Z] 04:42:40     INFO -  /builds/worker/workspace/obj-build/dist/include/mozilla/Types.h:63:39: note: expanded from macro 'MOZ_IMPORT_API'
[task 2024-10-15T04:42:40.936Z] 04:42:40     INFO -     63 | #    define MOZ_IMPORT_API __declspec(dllimport)
[task 2024-10-15T04:42:40.936Z] 04:42:40     INFO -        |                                       ^
[task 2024-10-15T04:42:40.936Z] 04:42:40    ERROR -  /builds/worker/checkouts/gecko/netwerk/system/win32/nsNotifyAddrListener.cpp:513:16: error: use of undeclared identifier 'IN6_IS_ADDR_LINKLOCAL'
[task 2024-10-15T04:42:40.936Z] 04:42:40     INFO -    513 |           if (!IN6_IS_ADDR_LINKLOCAL(&ipv6->sin6_addr) &&
[task 2024-10-15T04:42:40.936Z] 04:42:40     INFO -        |                ^
[task 2024-10-15T04:42:40.936Z] 04:42:40    ERROR -  /builds/worker/checkouts/gecko/netwerk/system/win32/nsNotifyAddrListener.cpp:514:16: error: use of undeclared identifier 'IN6_IS_ADDR_LOOPBACK'
[task 2024-10-15T04:42:40.936Z] 04:42:40     INFO -    514 |               !IN6_IS_ADDR_LOOPBACK(&ipv6->sin6_addr)) {
[task 2024-10-15T04:42:40.936Z] 04:42:40     INFO -        |                ^
[task 2024-10-15T04:42:40.937Z] 04:42:40     INFO -  2 warnings and 2 errors generated.
[task 2024-10-15T04:42:40.937Z] 04:42:40    ERROR -  gmake[4]: *** [/builds/worker/checkouts/gecko/config/rules.mk:676: nsNotifyAddrListener.o] Error 1
[task 2024-10-15T04:42:40.937Z] 04:42:40     INFO -  gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/netwerk/system/win32'
[task 2024-10-15T04:42:40.937Z] 04:42:40     INFO -  gmake[4]: Target 'target-objects' not remade because of errors.
[task 2024-10-15T04:42:40.937Z] 04:42:40    ERROR -  gmake[3]: *** [/builds/worker/checkouts/gecko/config/recurse.mk:72: netwerk/system/win32/target-objects] Error 2
[task 2024-10-15T04:42:40.939Z] 04:42:40     INFO -  gmake[4]: Entering directory '/builds/worker/workspace/obj-build/netwerk/wifi'
[task 2024-10-15T04:42:40.939Z] 04:42:40     INFO -  mkdir -p '.deps/'
[task 2024-10-15T04:42:40.940Z] 04:42:40     INFO -  gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/netwerk/wifi'
[task 2024-10-15T04:42:40.943Z] 04:42:40     INFO -  gmake[4]: Entering directory '/builds/worker/workspace/obj-build/netwerk/wifi'
[task 2024-10-15T04:42:40.944Z] 04:42:40     INFO -  netwerk/wifi/Unified_cpp_netwerk_wifi0.o
[task 2024-10-15T04:42:40.944Z] 04:42:40     INFO -  gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/netwerk/wifi'
[task 2024-10-15T04:42:42.388Z] 04:42:42     INFO -  gmake[4]: Entering directory '/builds/worker/workspace/obj-build/netwerk/protocol/viewsource'
[task 2024-10-15T04:42:42.391Z] 04:42:42     INFO -  /builds/worker/fetches/sccache/sccache /builds/worker/fetches/clang/bin/x86_64-w64-mingw32-clang++ -o Unified_cpp_protocol_viewsource0.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 -fstrict-flex-arrays=1 -DDEBUG=1 -DUNICODE -D_UNICODE -D_CRT_RAND_S -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -D_SECURE_ATL -DCHROMIUM_BUILD -DU_STATIC_IMPLEMENTATION -DWIN32 -D_WIN32 -D_WINDOWS -DWIN32_LEAN_AND_MEAN -DWINAPI_NO_BUNDLED_LIBRARIES -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DMOZ_SUPPORT_LEAKCHECKING -DSTATIC_EXPORTABLE_JS_API -I/builds/worker/checkouts/gecko/netwerk/protocol/viewsource -I/builds/worker/workspace/obj-build/netwerk/protocol/viewsource -I/builds/worker/checkouts/gecko/netwerk/base -I/builds/worker/checkouts/gecko/netwerk/protocol/http -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 -Wno-incompatible-ms-struct -fno-rtti -fno-sized-deallocation -fno-aligned-new -ffunction-sections -fdata-sections -fno-math-errno -fno-exceptions -D_HAS_EXCEPTIONS=0 -fms-extensions -fcrash-diagnostics-dir=/builds/worker/artifacts -include _mingw.h -g -gcodeview -O2 -fno-omit-frame-pointer -funwind-tables -Wall -Wbitfield-enum-conversion -Wempty-body -Wformat-type-confusion -Wignored-qualifiers -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtautological-constant-in-range-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 -Wenum-compare-conditional -Wenum-float-conversion -Wno-deprecated-anon-enum-enum-conversion -Wno-deprecated-enum-enum-conversion -Wno-deprecated-this-capture -Wcomma -Wimplicit-fallthrough -Wstring-conversion -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wno-error=atomic-alignment -Wno-error=deprecated-builtins -Wno-unknown-pragmas -Wno-unused-function -Wno-conversion-null -Wno-switch -Wno-enum-compare -Wno-psabi -Wthread-safety -Wno-error=builtin-macro-redefined -Wno-vla-cxx-extension -Wno-unknown-warning-option -fno-strict-aliasing -ffp-contract=off  -MD -MP -MF .deps/Unified_cpp_protocol_viewsource0.o.pp   Unified_cpp_protocol_viewsource0.cpp
[task 2024-10-15T04:42:42.391Z] 04:42:42     INFO -  In file included from Unified_cpp_protocol_viewsource0.cpp:2:
[task 2024-10-15T04:42:42.393Z] 04:42:42     INFO -  In file included from /builds/worker/checkouts/gecko/netwerk/protocol/viewsource/nsViewSourceChannel.cpp:7:
[task 2024-10-15T04:42:42.393Z] 04:42:42     INFO -  In file included from /builds/worker/checkouts/gecko/netwerk/protocol/viewsource/nsViewSourceChannel.h:10:
[task 2024-10-15T04:42:42.393Z] 04:42:42     INFO -  In file included from /builds/worker/workspace/obj-build/ipc/ipdl/_ipdlheaders/mozilla/net/NeckoChannelParams.h:15:
[task 2024-10-15T04:42:42.393Z] 04:42:42     INFO -  In file included from /builds/worker/workspace/obj-build/dist/include/mozilla/MozPromise.h:17:
[task 2024-10-15T04:42:42.393Z] 04:42:42     INFO -  In file included from /builds/worker/workspace/obj-build/dist/include/mozilla/Monitor.h:10:
[task 2024-10-15T04:42:42.393Z] 04:42:42     INFO -  In file included from /builds/worker/workspace/obj-build/dist/include/mozilla/CondVar.h:11:
[task 2024-10-15T04:42:42.394Z] 04:42:42     INFO -  In file included from /builds/worker/workspace/obj-build/dist/include/mozilla/PlatformConditionVariable.h:16:
[task 2024-10-15T04:42:42.394Z] 04:42:42     INFO -  In file included from /builds/worker/workspace/obj-build/dist/include/mozilla/TimeStamp.h:27:
[task 2024-10-15T04:42:42.394Z] 04:42:42  WARNING -  /builds/worker/workspace/obj-build/dist/include/mozilla/TimeStamp_windows.h:53:13: warning: 'dllimport' attribute ignored on inline function [-Wignored-attributes]
[task 2024-10-15T04:42:42.395Z] 04:42:42     INFO -     53 |   constexpr MFBT_API TimeStampValue(uint64_t aGTC, uint64_t aQPC, bool aHasQPC)

@Valentin, could you look into this perma win mingw failure coming from bug 1122907, on central? Ty

Flags: needinfo?(valentin.gosu)

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

Flags: needinfo?(valentin.gosu)

Defines IN6_IS_ADDR_LINKLOCAL and IN6_IS_ADDR_LOOPBACK when the symbols
aren't known.

Assignee: nobody → valentin.gosu
Status: NEW → ASSIGNED
Pushed by valentin.gosu@gmail.com: https://hg.mozilla.org/integration/autoland/rev/a8d9f3b68a31 Fix Win MinGW build r=necko-reviewers,kershaw

Fix in progress...

Flags: needinfo?(valentin.gosu)
Pushed by valentin.gosu@gmail.com: https://hg.mozilla.org/integration/autoland/rev/de11207ec647 Fix Win MinGW build r=necko-reviewers,kershaw
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: