Open Bug 1684231 Opened 3 years ago Updated 4 months ago

Build warning spam when NSPR is folded into NSS

Categories

(Firefox Build System :: General, task)

task

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: emk, Assigned: emk)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

Attached file buildlog.txt
No description provided.
Assignee: nobody → VYV03354
Status: NEW → ASSIGNED
Pushed by VYV03354@nifty.ne.jp:
https://hg.mozilla.org/integration/autoland/rev/7a7372cdf019
Fix build warnings about importing local symbols. r=glandium

Backed out for causing build bustages in security/moz.build.

Backout link: https://hg.mozilla.org/integration/autoland/rev/cc35e75fbace0c9155941a113104a340a5da1ea5

Push with failures: https://treeherder.mozilla.org/jobs?repo=autoland&resultStatus=success%2Ctestfailed%2Cbusted%2Cexception%2Crunning%2Cpending%2Crunnable&searchStr=os%2Cx%2Ccross%2Ccompiled%2Copt%2Cbuild-macosx64%2Fopt%2Cb&revision=7a7372cdf019983c034cef3b411626fea878ef4b&selectedTaskRun=bDrlol8ISse3LdvbvEHPRQ.0

Failure log: https://treeherder.mozilla.org/logviewer?job_id=326066709&repo=autoland&lineNumber=1144

"INFO - Creating config.status
[task 2021-01-07T12:47:50.745Z] 12:47:50 INFO - Reticulating splines...
[task 2021-01-07T12:47:51.133Z] 12:47:51 ERROR - Traceback (most recent call last):
[task 2021-01-07T12:47:51.134Z] 12:47:51 INFO - File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/sandbox.py", line 211, in exec_function
[task 2021-01-07T12:47:51.134Z] 12:47:51 INFO - func(*args, **kwargs)
[task 2021-01-07T12:47:51.134Z] 12:47:51 INFO - File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/sandbox.py", line 188, in execute
[task 2021-01-07T12:47:51.134Z] 12:47:51 INFO - exec_(code, self)
[task 2021-01-07T12:47:51.134Z] 12:47:51 INFO - File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/util.py", line 55, in exec_
[task 2021-01-07T12:47:51.134Z] 12:47:51 INFO - exec(object, globals, locals)
[task 2021-01-07T12:47:51.134Z] 12:47:51 INFO - File "/builds/worker/checkouts/gecko/security/moz.build", line 149, in <module>
[task 2021-01-07T12:47:51.135Z] 12:47:51 INFO - sandbox_vars["CFLAGS"] += ["-D_NSPR_BUILD_"]
[task 2021-01-07T12:47:51.135Z] 12:47:51 INFO - KeyError: 'CFLAGS'
[task 2021-01-07T12:47:51.135Z] 12:47:51 INFO - During handling of the above exception, another exception occurred:
[task 2021-01-07T12:47:51.135Z] 12:47:51 ERROR - Traceback (most recent call last):
[task 2021-01-07T12:47:51.135Z] 12:47:51 INFO - File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/reader.py", line 1097, in read_mozbuild
[task 2021-01-07T12:47:51.135Z] 12:47:51 INFO - path, config, descend=descend, metadata=metadata
[task 2021-01-07T12:47:51.135Z] 12:47:51 INFO - File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/reader.py", line 1168, in _read_mozbuild
[task 2021-01-07T12:47:51.135Z] 12:47:51 INFO - sandbox.exec_file(path)
[task 2021-01-07T12:47:51.135Z] 12:47:51 INFO - File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/reader.py", line 239, in exec_file
[task 2021-01-07T12:47:51.136Z] 12:47:51 INFO - Sandbox.exec_file(self, path)
[task 2021-01-07T12:47:51.136Z] 12:47:51 INFO - File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/sandbox.py", line 165, in exec_file
[task 2021-01-07T12:47:51.136Z] 12:47:51 INFO - self.exec_source(source, path)
[task 2021-01-07T12:47:51.136Z] 12:47:51 INFO - File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/sandbox.py", line 192, in exec_source
[task 2021-01-07T12:47:51.136Z] 12:47:51 INFO - self.exec_function(execute, path=path)
[task 2021-01-07T12:47:51.136Z] 12:47:51 INFO - File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/sandbox.py", line 244, in exec_function
[task 2021-01-07T12:47:51.136Z] 12:47:51 INFO - raise SandboxExecutionError(source_stack, exc[0], exc[1], exc[2])
[task 2021-01-07T12:47:51.137Z] 12:47:51 INFO - mozbuild.frontend.sandbox.SandboxExecutionError: (['/builds/worker/checkouts/gecko/security/moz.build'], <class 'KeyError'>, KeyError('CFLAGS'), <traceback object at 0x7ffaa8db6e08>)
[task 2021-01-07T12:47:51.137Z] 12:47:51 INFO - During handling of the above exception, another exception occurred:
[task 2021-01-07T12:47:51.137Z] 12:47:51 ERROR - Traceback (most recent call last):
[task 2021-01-07T12:47:51.137Z] 12:47:51 INFO - File "/builds/worker/checkouts/gecko/configure.py", line 231, in <module>"

Flags: needinfo?(VYV03354)

Since nssckbi.dll is not folded into nss3.dll, it still has to import NSPR symbols. Same for freebl3.dll and softokn3.dll.

Flags: needinfo?(VYV03354)

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:emk, could you have a look please?
For more information, please visit auto_nag documentation.

Flags: needinfo?(VYV03354)
Attachment #9194731 - Attachment is obsolete: true

I have withdrawn the patch until the problem described in comment #5 is resolved.

Flags: needinfo?(VYV03354)

Sorry, there was a problem with the detection of inactive users. I'm reverting the change.

Assignee: nobody → VYV03354
Status: NEW → ASSIGNED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: