Open Bug 1789216 Opened 3 years ago Updated 3 months ago

USE_LIBS contains "dav1d", which does not match any LIBRARY_NAME in the tree [--disable-av1]

Categories

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

Firefox 106
defect

Tracking

()

ASSIGNED

People

(Reporter: herrtimson, Assigned: jhorak)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file, 2 obsolete files)

Attached file build.log.gz

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0

Steps to reproduce:

I downloaded latest git sources and configured them on amd64-linux.

Actual results:

I got this error:

0:24.30 Creating config.status
0:24.63 Reticulating splines...
0:25.26 0:00.67 File already read. Skipping: /var/tmp/portage/www-client/firefox-9999-r1/work/firefox/intl/components/moz.build
0:25.69 0:01.10 File already read. Skipping: /var/tmp/portage/www-client/firefox-9999-r1/work/firefox/gfx/angle/targets/angle_common/moz.build
0:30.12 Traceback (most recent call last):
0:30.12 File "/var/tmp/portage/www-client/firefox-9999-r1/work/firefox/configure.py", line 350, in <module>
0:30.12 sys.exit(main(sys.argv))
0:30.12 File "/var/tmp/portage/www-client/firefox-9999-r1/work/firefox/configure.py", line 162, in main
0:30.12 return config_status(config)
0:30.12 File "/var/tmp/portage/www-client/firefox-9999-r1/work/firefox/configure.py", line 301, in config_status
0:30.12 return config_status(args=[], **sanitized_config)
0:30.12 File "/var/tmp/portage/www-client/firefox-9999-r1/work/firefox/python/mozbuild/mozbuild/config_status.py", line 162, in config_status
0:30.12 definitions = list(definitions)
0:30.12 File "/var/tmp/portage/www-client/firefox-9999-r1/work/firefox/python/mozbuild/mozbuild/frontend/emitter.py", line 174, in emit
0:30.12 objs = list(self._emit_libs_derived(contexts))
0:30.12 File "/var/tmp/portage/www-client/firefox-9999-r1/work/firefox/python/mozbuild/mozbuild/frontend/emitter.py", line 256, in _emit_libs_derived
0:30.12 self._link_libraries(context, obj, variable, idl_sources)
0:30.12 File "/var/tmp/portage/www-client/firefox-9999-r1/work/firefox/python/mozbuild/mozbuild/frontend/emitter.py", line 373, in _link_libraries
0:30.12 self._link_library(context, obj, variable, path)
0:30.12 File "/var/tmp/portage/www-client/firefox-9999-r1/work/firefox/python/mozbuild/mozbuild/frontend/emitter.py", line 464, in _link_library
0:30.12 raise SandboxValidationError(
0:30.12 mozbuild.frontend.reader.SandboxValidationError:
0:30.12 ==============================
0:30.12 FATAL ERROR PROCESSING MOZBUILD FILE
0:30.12 ==============================
0:30.12
0:30.12 The error occurred while processing the following file or one of the files it includes:
0:30.12
0:30.12 /var/tmp/portage/www-client/firefox-9999-r1/work/firefox/media/ffvpx/libavcodec/moz.build
0:30.12
0:30.12 The error occurred when validating the result of the execution. The reported error is:
0:30.12
0:30.12 USE_LIBS contains "dav1d", which does not match any LIBRARY_NAME in the tree.
0:30.12

Expected results:

I expect the configure to pass smothly and be able to compile the source code after

I'm very bad with reading python errors, so not sure if this is due to the drop of configure.in file and thus eautoconf, or if its a bug independend of that in one of the involved moz.build files.

the full build.log is attached

The Bugbug bot thinks this bug should belong to the 'Firefox Build System::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → General
Product: Firefox → Firefox Build System

it seems this is because I export --disable-av1

Regressed by: 1745285
Component: General → Audio/Video: Playback
Product: Firefox Build System → Core

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

For more information, please visit auto_nag documentation.

Flags: needinfo?(stransky)

Jan, I expect you have patches for it?

Flags: needinfo?(stransky) → needinfo?(jhorak)
Priority: -- → P3
Summary: USE_LIBS contains "dav1d", which does not match any LIBRARY_NAME in the tree. → USE_LIBS contains "dav1d", which does not match any LIBRARY_NAME in the tree [--disable-av1]
Assignee: nobody → jhorak
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

Depends on D163593

Thank you, I tested locally and the initial bug is fixed with your patches.

Attachment #9306228 - Attachment is obsolete: true
Attachment #9306227 - Attachment is obsolete: true
Flags: needinfo?(jhorak)
Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: