Closed Bug 1810269 Opened 2 years ago Closed 2 years ago

Perma [tier 2] bp-clang-trunk /media/ffvpx/libavutil/video_enc_params.c:31:9: error: 'struct (unnamed at /builds/worker/checkouts/gecko/media/ffvpx/libavutil/video_enc_params.c:30:34)' cannot be defined in 'offsetof'

Categories

(Core :: Audio/Video: Playback, defect, P5)

defect

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox109 --- unaffected
firefox110 --- disabled
firefox111 --- fixed

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure, regression)

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


[task 2023-01-14T03:53:49.474Z] 03:53:49     INFO -  gmake[4]: Entering directory '/builds/worker/workspace/obj-build/media/ffvpx/libavutil'
[task 2023-01-14T03:53:49.474Z] 03:53:49     INFO -  media/ffvpx/libavutil/video_enc_params.o
[task 2023-01-14T03:53:49.477Z] 03:53:49     INFO -  /builds/worker/fetches/clang/bin/clang --sysroot /builds/worker/fetches/sysroot-x86_64-linux-gnu -Qunused-arguments -std=gnu99 -o video_enc_params.o -c  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fstack-clash-protection -DNDEBUG=1 -DTRIMMED=1 -DHAVE_AV_CONFIG_H -DASSERT_LEVEL=1 -I/builds/worker/checkouts/gecko/media/ffvpx/libavutil -I/builds/worker/workspace/obj-build/media/ffvpx/libavutil -I/builds/worker/checkouts/gecko/media/mozva -I/builds/worker/checkouts/gecko/media/ffvpx -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 -include /builds/worker/workspace/obj-build/mozilla-config.h -DMOZILLA_CLIENT -fPIC -ffunction-sections -fdata-sections -fno-math-errno -pthread -pipe -gdwarf-4 -Xclang -load -Xclang /builds/worker/workspace/obj-build/build/clang-plugin/libclang-plugin.so -Xclang -add-plugin -Xclang moz-check -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 -Wtype-limits -Wno-error=tautological-type-limit-compare -Wunreachable-code -Wunreachable-code-return -Wunused-but-set-parameter -Wclass-varargs -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wno-range-loop-analysis -Wenum-compare-conditional -Wenum-float-conversion -Wstring-conversion -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wno-error=atomic-alignment -Wno-error=deprecated-builtins -Wformat -Wformat-security -Werror=implicit-function-declaration -Wno-psabi -Wthread-safety -Wno-unknown-warning-option -Wno-parentheses -Wno-pointer-sign -Wno-sign-compare -Wno-switch -Wno-type-limits -Wno-unused-function -Wno-deprecated-declarations -Wno-absolute-value -Wno-incompatible-pointer-types -Wno-string-conversion -Wno-visibility -include libavutil_visibility.h -fno-strict-aliasing -ffp-contract=off  -MD -MP -MF .deps/video_enc_params.o.pp   /builds/worker/checkouts/gecko/media/ffvpx/libavutil/video_enc_params.c
[task 2023-01-14T03:53:49.478Z] 03:53:49    ERROR -  /builds/worker/checkouts/gecko/media/ffvpx/libavutil/video_enc_params.c:31:9: error: 'struct (unnamed at /builds/worker/checkouts/gecko/media/ffvpx/libavutil/video_enc_params.c:30:34)' cannot be defined in 'offsetof'
[task 2023-01-14T03:53:49.478Z] 03:53:49     INFO -          struct {
[task 2023-01-14T03:53:49.478Z] 03:53:49     INFO -          ^
[task 2023-01-14T03:53:49.478Z] 03:53:49     INFO -  1 error generated.
[task 2023-01-14T03:53:49.478Z] 03:53:49    ERROR -  gmake[4]: *** [/builds/worker/checkouts/gecko/config/rules.mk:589: video_enc_params.o] Error 1
[task 2023-01-14T03:53:49.478Z] 03:53:49     INFO -  gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/media/ffvpx/libavutil'
[task 2023-01-14T03:53:49.478Z] 03:53:49     INFO -  gmake[4]: Target 'target-objects' not remade because of errors.
[task 2023-01-14T03:53:49.478Z] 03:53:49    ERROR -  gmake[3]: *** [/builds/worker/checkouts/gecko/config/recurse.mk:72: media/ffvpx/libavutil/target-objects] Error 2
Flags: needinfo?(apehrson)
Flags: needinfo?(apehrson) → needinfo?(mh+mozilla)
No longer regressed by: 1806605

See https://reviews.llvm.org/D133574#4053502 and following. IOW, this should fix itself in the coming days.

Flags: needinfo?(mh+mozilla)

Fixed upstream.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in before you can comment on or make changes to this bug.