AttributeError: symbols_link_arg
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
People
(Reporter: fabrixx2, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0
Steps to reproduce:
Download tarball&unzip of release:
https://codeload.github.com/mozilla/gecko-dev/zip/release
execute:
./mach build
Dependences all ok (./mach bootstrap)
Actual results:
0:19.47 js/src> updating cache /dev/disco2/gecko-dev-release/obj-x86_64-pc-linux-gnu/./config.cache
0:19.47 js/src> creating ./config.data
0:19.48 js/src> Creating config.status
0:19.51 Creating config.status
0:19.67 Reticulating splines...
0:20.67 0:01.02 File already read. Skipping: /dev/disco2/gecko-dev-release/gfx/angle/targets/angle_common/moz.build
0:23.93 Traceback (most recent call last):
0:23.93 File "/dev/disco2/gecko-dev-release/configure.py", line 181, in <module>
0:23.93 sys.exit(main(sys.argv))
0:23.93 File "/dev/disco2/gecko-dev-release/configure.py", line 57, in main
0:23.93 return config_status(config)
0:23.93 File "/dev/disco2/gecko-dev-release/configure.py", line 176, in config_status
0:23.93 return config_status(args=[], **normalize(sanitized_config))
0:23.93 File "/dev/disco2/gecko-dev-release/python/mozbuild/mozbuild/config_status.py", line 148, in config_status
0:23.93 the_backend.consume(definitions)
0:23.93 File "/dev/disco2/gecko-dev-release/python/mozbuild/mozbuild/backend/base.py", line 130, in consume
0:23.93 if (not self.consume_object(obj) and
0:23.93 File "/dev/disco2/gecko-dev-release/python/mozbuild/mozbuild/backend/recursivemake.py", line 619, in consume_object
0:23.93 self._process_shared_library(obj, backend_file)
0:23.93 File "/dev/disco2/gecko-dev-release/python/mozbuild/mozbuild/backend/recursivemake.py", line 1279, in _process_shared_library
0:23.93 if libdef.symbols_link_arg:
0:23.93 AttributeError: symbols_link_arg
0:24.45 *** Fix above errors and then restart with
0:24.46 "./mach build"
0:24.46 make: *** [client.mk:115: configure] Errore 1
Tryed with & without my mozconfig
After second ./mach build command:
[fabrixx@archlinux gecko-dev-release]$ ./mach build
Build configuration changed. Regenerating backend.
0:00.25 /dev/disco2/gecko-dev-release/obj-x86_64-pc-linux-gnu/_virtualenvs/init/bin/python /dev/disco2/gecko-dev-release/obj-x86_64-pc-linux-gnu/config.status
Reticulating splines...
0:01.27 File already read. Skipping: /dev/disco2/gecko-dev-release/gfx/angle/targets/angle_common/moz.build
Traceback (most recent call last):
File "/dev/disco2/gecko-dev-release/obj-x86_64-pc-linux-gnu/config.status", line 1026, in <module>
config_status(**args)
File "/dev/disco2/gecko-dev-release/python/mozbuild/mozbuild/config_status.py", line 148, in config_status
the_backend.consume(definitions)
File "/dev/disco2/gecko-dev-release/python/mozbuild/mozbuild/backend/base.py", line 130, in consume
if (not self.consume_object(obj) and
File "/dev/disco2/gecko-dev-release/python/mozbuild/mozbuild/backend/recursivemake.py", line 619, in consume_object
self._process_shared_library(obj, backend_file)
File "/dev/disco2/gecko-dev-release/python/mozbuild/mozbuild/backend/recursivemake.py", line 1279, in _process_shared_library
if libdef.symbols_link_arg:
AttributeError: symbols_link_arg
Error running mach:
['build']
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
Exception: Process executed with non-0 exit code 1: ['/dev/disco2/gecko-dev-release/obj-x86_64-pc-linux-gnu/_virtualenvs/init/bin/python', '/dev/disco2/gecko-dev-release/obj-x86_64-pc-linux-gnu/config.status']
File "/dev/disco2/gecko-dev-release/python/mozbuild/mozbuild/build_commands.py", line 130, in build
return driver.build(
File "/dev/disco2/gecko-dev-release/python/mozbuild/mozbuild/controller/building.py", line 1099, in build
self.run_process(args, cwd=self.topobjdir, pass_thru=True)
File "/dev/disco2/gecko-dev-release/python/mach/mach/mixin/process.py", line 159, in run_process
raise Exception('Process executed with non-0 exit code %d: %s' % (status, args))
[fabrixx@archlinux gecko-dev-release]$
Updated•4 years ago
|
Comment 2•4 years ago
|
||
This issue is the one currently being investigated in 1643162. Let's continue the investigation there
Comment 3•4 years ago
|
||
The symbols_link_arg
error is different than hg checkout errors, and it should have been addressed by bug 1637957...but I suppose gecko-dev is too old to have picked up that fix. :(
Comment 4•4 years ago
|
||
There's a bunch of information about the "hg checkout" errors in bug 1643162, but a different bug was created to represent those issues over in bug 1643823.
But, I think you're right about bug 1637957
potentially being the cause of the symbols_link_arg
error! I think fabrixx2
should compare the results of ./mach build
between gecko-dev
and the "real" mozilla-central
. I don't think we'll be able to do that comparison until fabrix22
is able to do an hg clone
again.
Description
•