Closed Bug 1940889 Opened 2 months ago Closed 1 month ago

build failure on OpenBSD/arm64, libvpx mozilla patches not applied to 135

Categories

(Core :: Audio/Video, defect)

Firefox 135
ARM64
OpenBSD
defect

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox134 --- unaffected
firefox135 --- fixed
firefox136 --- fixed

People

(Reporter: gaston, Assigned: chunmin)

References

(Regression)

Details

(Keywords: regression)

Attachments

(4 files, 2 obsolete files)

135.0b2 fails to build on OpenBSD/arm64:

/usr/obj/ports/firefox-135.0beta2/firefox-135.0/media/libvpx/libvpx/vpx_ports/aarch64_cpudetect.c:211:2: error: "Runtime CPU detection selected, but no CPU detection method available" "for your platform. Rerun configure with --disable-runtime-cpu-detect."
#error \
 ^
/usr/obj/ports/firefox-135.0beta2/firefox-135.0/media/libvpx/libvpx/vpx_ports/aarch64_cpudetect.c:219:13: error: call to undeclared function 'arm_get_cpu_caps'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
    flags = arm_get_cpu_caps() & arm_cpu_env_mask();

https://phabricator.services.mozilla.com/D230146 is accepted but didn't land in 135, so the bit readding || defined(__OpenBSD) isn't present in https://searchfox.org/mozilla-beta/source/media/libvpx/libvpx/vpx_ports/aarch64_cpudetect.c#19. It's present in m-c since bug #1940113 correctly applied the patches.

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

:chunmin, since you are the author of the regressor, bug 1933271, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Ooh it's my bad! I'll update the libvpx and apply our patches then uplift them to beta

Flags: needinfo?(cchang)

Import latest sources by running

./mach vendor media/libvpx/moz.yaml --patch-mode=none

Apply mozilla patches by running

./mach vendor media/libvpx/moz.yaml --patch-mode=only
Assignee: nobody → cchang
Status: NEW → ASSIGNED

Import latest sources by running

./mach vendor media/libvpx/moz.yaml --patch-mode=none

Original Revision: https://phabricator.services.mozilla.com/D235035

Apply mozilla patches by running

./mach vendor media/libvpx/moz.yaml --patch-mode=only

Original Revision: https://phabricator.services.mozilla.com/D235036

Depends on D235068

Import latest sources by running

./mach vendor media/libvpx/moz.yaml --patch-mode=none

Original Revision: https://phabricator.services.mozilla.com/D235035

Attachment #9460858 - Flags: approval-mozilla-beta?

Apply mozilla patches by running

./mach vendor media/libvpx/moz.yaml --patch-mode=only

Original Revision: https://phabricator.services.mozilla.com/D235036

Depends on D235072

Attachment #9460859 - Flags: approval-mozilla-beta?
Attachment #9460853 - Attachment is obsolete: true
Attachment #9460854 - Attachment is obsolete: true
Pushed by cchang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/52747b70e7e5 Update libvpx to 05fb2057b00d01cda1ac0d979eaf60ba87c8416e r=media-playback-reviewers,padenot https://hg.mozilla.org/integration/autoland/rev/2cca63071b2e Apply mozilla patches for libvpx r=media-playback-reviewers,padenot
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch

beta Uplift Approval Request

  • User impact if declined: video encoding may occur error for video conferencing in certain cases, build issue on OpenBSD
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: No
  • Risk associated with taking this patch: low
  • Explanation of risk level: it's part of the regular update process
  • String changes made/needed: No
  • Is Android affected?: no

beta Uplift Approval Request

  • User impact if declined: video encoding may have errors during video conferencing in certain cases, build issues on openBSD
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: No
  • Risk associated with taking this patch: low
  • Explanation of risk level: The libvpx update is a routine we have for quite some time
  • String changes made/needed: No
  • Is Android affected?: no

The Beta uplift patches don't apply to the Beta branch. Please rebase and update the revisions.

Flags: needinfo?(cchang)
Flags: needinfo?(cchang)
Attachment #9460858 - Attachment description: Bug 1940889 - Update libvpx to 05fb2057b00d01cda1ac0d979eaf60ba87c8416e → Bug 1940889 - Update libvpx to 05fb2057b00d01cda1ac0d979eaf60ba87c8416e r=padenot
Attachment #9460859 - Attachment description: Bug 1940889 - Apply mozilla patches for libvpx → Bug 1940889 - Apply mozilla patches for libvpx r=padenot
Depends on: 1940113
Attachment #9460858 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9460859 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: