Closed Bug 1577707 Opened 5 years ago Closed 5 years ago

RUSTC_WRAPPER now requires a full path definition because of Bug 1577351 fix.

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1577749

People

(Reporter: jsearle3, Unassigned)

Details

Attachments

(1 file)

Attached file mozconfig

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18362

Steps to reproduce:

export PATH=$PATH:~/.cargo/bin
./mach build

Actual results:

0:30.24 checking for ccache... c:/Users/NateJoe/.cargo/bin/sccache.exe
0:30.48 Traceback (most recent call last):
0:30.48 File "c:/mozilla-source/mozilla-central/configure.py", line 164, in <module>
0:30.48 sys.exit(main(sys.argv))
0:30.48 File "c:/mozilla-source/mozilla-central/configure.py", line 40, in main
0:30.48 sandbox.run(os.path.join(os.path.dirname(file), 'moz.configure'))
0:30.48 File "c:\mozilla-source\mozilla-central\python\mozbuild\mozbuild\configure_init_.py", line 498, in run
0:30.48 func(*args)
0:30.48 File "c:\mozilla-source\mozilla-central\python\mozbuild\mozbuild\configure_init_.py", line 542, in _value_for
0:30.48 return self.value_for_depends(obj)
0:30.48 File "c:\mozilla-source\mozilla-central\python\mozbuild\mozbuild\util.py", line 963, in method_call
0:30.49 cache[args] = self.func(instance, *args)
0:30.49 File "c:\mozilla-source\mozilla-central\python\mozbuild\mozbuild\configure_init
.py", line 551, in value_for_depends
0:30.49 value = obj.result()
0:30.49 File "c:\mozilla-source\mozilla-central\python\mozbuild\mozbuild\util.py", line 963, in method_call
0:30.49 cache[args] = self.func(instance, *args)
0:30.49 File "c:\mozilla-source\mozilla-central\python\mozbuild\mozbuild\configure_init
.py", line 157, in result
0:30.50 return self.func(*resolved_args)
0:30.50 File "c:\mozilla-source\mozilla-central\python\mozbuild\mozbuild\configure_init
.py", line 1149, in wrapped
0:30.50 return new_func(*args, **kwargs)
0:30.50 File "c:/mozilla-source/mozilla-central/build/moz.configure/toolchain.configure", line 323, in check_sccache_version
0:30.50 (os.path.splitext(os.path.basename(rustc_wrapper[0]))[0].lower() ==
0:30.50 AttributeError: 'ReadOnlyNamespace' object has no attribute 'splitext'
0:30.56 *** Fix above errors and then restart with
0:30.56 "./mach build"
0:30.59 mozmake.EXE: *** [client.mk:115: configure] Error 1

Expected results:

Should have verified that I have the latest version of sccache installed.

For what it's worth, Bug 1577749 has fixed my problem with sccache usage to build firefox.

I will set a component to it, further someone from dev team could give us a hand with this. Thanks
Regards,
Liviu

Component: Untriaged → General
Product: Firefox → Firefox Build System
Version: other → unspecified
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: