./mach package fails locally referencing devtools/client/toolbox.dtd
Categories
(Firefox Build System :: General, defect, P3)
Tracking
(firefox75 fixed)
Tracking | Status | |
---|---|---|
firefox75 | --- | fixed |
People
(Reporter: emilio, Assigned: chmanchester)
References
Details
(Keywords: in-triage)
Attachments
(1 file)
On clean central debug build, running ./mach package
after ./mach build
I get:
0:34.93 Traceback (most recent call last):
0:34.93 File "/usr/lib64/python2.7/runpy.py", line 174, in _run_module_as_main
0:34.93 "__main__", fname, loader, pkg_name)
0:34.93 File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
0:34.93 exec code in run_globals
0:34.93 File "/home/emilio/src/moz/gecko-4/python/mozbuild/mozbuild/action/zip.py", line 46, in <module>
0:34.93 main(sys.argv[1:])
0:34.93 File "/home/emilio/src/moz/gecko-4/python/mozbuild/mozbuild/action/zip.py", line 42, in main
0:34.93 jarrer.copy(mozpath.join(args.C, args.zip))
0:34.93 File "/home/emilio/src/moz/gecko-4/python/mozbuild/mozpack/copier.py", line 597, in copy
0:34.93 file.copy(deflater, skip_if_older)
0:34.93 File "/home/emilio/src/moz/gecko-4/python/mozbuild/mozpack/files.py", line 227, in copy
0:34.93 shutil.copyfileobj(self.open(), dest)
0:34.93 File "/home/emilio/src/moz/gecko-4/python/mozbuild/mozpack/files.py", line 256, in open
0:34.93 return _open(self.path, mode=mode)
0:34.93 File "/home/emilio/src/moz/gecko-4/python/mozbuild/mozpack/files.py", line 83, in _open
0:34.93 return open(path, mode)
0:34.93 IOError: [Errno 2] No such file or directory: u'../../dist/xpi-stage/locale-en-US/browser/chrome/en-US/locale/en-US/devtools/client/toolbox.dtd'
This used to work not long ago, and is what I used to pull built-firefoxes for testing from my build machine when working over ssh :)
Reporter | ||
Comment 1•6 years ago
|
||
There's a file in a slightly different path: obj-debug/dist/xpi-stage/locale-en-US/browser/chrome/en-US/locale/en-US/devtools/client/toolbox.dtd
Reporter | ||
Comment 2•6 years ago
|
||
Oh, same path I guess... Though file is empty.
Reporter | ||
Comment 3•6 years ago
|
||
If I remove the empty file then packaging succeeds...
Assignee | ||
Comment 4•6 years ago
|
||
I wasn't able to reproduce this from a clean build. Were you editing something in particular when this happened?
Reporter | ||
Comment 5•6 years ago
|
||
No, not really. But I think I had built before bug 1608022 (which removed that file) landed, then rebased, then built again.
Assignee | ||
Comment 7•5 years ago
|
||
Ah, I had thought this happened starting from an entirely clean build. This seems to be the langpack machinery's version of bug 1614136.
Assignee | ||
Comment 8•5 years ago
|
||
I suppose we can add a similar workaround here to make the copier ignore broken links, but it also looks like clobbering the output dir before making a langpack might be reasonable...
Assignee | ||
Comment 9•5 years ago
|
||
Assignee | ||
Comment 10•5 years ago
|
||
These steps don't seem to be doing anything meaningfully incremental in the first place, so I posted a patch to just clobber the output dir each time.
Updated•5 years ago
|
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
bugherder |
Description
•