Closed Bug 1264919 Opened 8 years ago Closed 8 years ago

Windows build bustage during configure (AttributeError: 'ReadOnlyNamespace' object has no attribute 'normcase')

Categories

(Firefox Build System :: General, defect)

Unspecified
Windows
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1264831

People

(Reporter: RyanVM, Unassigned)

References

Details

Windows 10 64-bit. MozillaBuild 2.2 (python 2.7.11).

 0:15.47 checking for the target C compiler... 'c:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/BIN/amd64/cl.EXE'
 0:15.48 checking the target C compiler version... Traceback (most recent call last):
 0:15.50   File "c:/Users/Ryan/repos/mozilla-central/configure.py", line 94, in <module>
 0:15.50     sys.exit(main(sys.argv))
 0:15.50   File "c:/Users/Ryan/repos/mozilla-central/configure.py", line 22, in main
 0:15.51     sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
 0:15.51   File "c:\Users\Ryan\repos\mozilla-central\python\mozbuild\mozbuild\configure\__init__.py", line 239, in run
 0:15.51     func(*args)
 0:15.51   File "c:\Users\Ryan\repos\mozilla-central\python\mozbuild\mozbuild\configure\__init__.py", line 281, in _value_for
 0:15.51     return self._value_for_depends(obj)
 0:15.51   File "c:\Users\Ryan\repos\mozilla-central\python\mozbuild\mozbuild\util.py", line 903, in method_call
 0:15.52     cache[args] = self.func(instance, *args)
 0:15.52   File "c:\Users\Ryan\repos\mozilla-central\python\mozbuild\mozbuild\configure\__init__.py", line 308, in _value_for_depends
 0:15.52     return func(*resolved_args)
 0:15.52   File "c:\Users\Ryan\repos\mozilla-central\python\mozbuild\mozbuild\configure\__init__.py", line 496, in wrapper
 0:15.53     ret = template(*args, **kwargs)
 0:15.53   File "c:/Users/Ryan/repos/mozilla-central/build/moz.configure/checks.configure", line 54, in wrapped
 0:15.53     ret = func(*args, **kwargs)
 0:15.53   File "c:/Users/Ryan/repos/mozilla-central/build/moz.configure/toolchain.configure", line 367, in valid_compiler
 0:15.53     if os.path.normcase(find_program(compiler)) != os.path.normcase(
 0:15.54 AttributeError: 'ReadOnlyNamespace' object has no attribute 'normcase'
 0:15.54 *** Fix above errors and then restart with\
 0:15.54                "c:/mozilla-build/mozmake/mozmake.EXE -f client.mk build"
 0:15.54 c:/Users/Ryan/repos/mozilla-central/client.mk:370: recipe for target 'configure' failed
 0:15.54 mozmake.EXE[2]: *** [configure] Error 1
Flags: needinfo?(mh+mozilla)
Keywords: regression
Presumably, this was fixed by bug 1264831
Flags: needinfo?(mh+mozilla)
Yeah, building on inbound rev e4a7a71a1119 is working fine.
Depends on: 1264831
I suspect that updating to the latest version of mozilla-build will also avoid this issue.
From comment 0:

(In reply to Ryan VanderMeulen [:RyanVM] from comment #0)
> Windows 10 64-bit. MozillaBuild 2.2 (python 2.7.11).
(In reply to Bill Gianopoulos [:WG9s] from comment #4)
> I suspect that updating to the latest version of mozilla-build will also
> avoid this issue.

It has nothing to do with the python version.
(In reply to Mike Hommey [:glandium] from comment #6)
> (In reply to Bill Gianopoulos [:WG9s] from comment #4)
> > I suspect that updating to the latest version of mozilla-build will also
> > avoid this issue.
> 
> It has nothing to do with the python version.

Hey, but at least I am now running the latest mozilla-build! ;-)
No longer blocks: 1259382
Status: NEW → RESOLVED
Closed: 8 years ago
No longer depends on: 1264831
Keywords: regression
Resolution: --- → DUPLICATE
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.