Closed Bug 1759346 Opened 4 years ago Closed 4 years ago

[Compilation] xpidl python error

Categories

(Firefox Build System :: General, enhancement, P5)

Firefox 98
enhancement

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: u699911, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0

Steps to reproduce:

Checkout old commit prior to 2016 and start building the specific commit and ./mach build it.

Actual results:

1:32.08 Traceback (most recent call last):
1:32.08 File "/mozilla-unified/config/pythonpath.py", line 56, in <module>
1:32.08 main(sys.argv[1:])
1:32.08 File "/mozilla-unified/config/pythonpath.py", line 48, in main
1:32.08 execfile(script, frozenglobals)
1:32.08 File "/mozilla-unified/xpcom/idl-parser/header.py", line 507, in <module>
1:32.08 p = xpidl.IDLParser(outputdir=options.cachedir)
1:32.08 AttributeError: 'module' object has no attribute 'IDLParser'

Expected results:

Proper initialization of the IDLParser object in python

The Bugbug bot thinks this bug should belong to the 'Firefox Build System::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → General
Product: Firefox → Firefox Build System

Checkout old commit prior to 2016 and start building the specific commit and ./mach build it.

Hmm, why are you building a Firefox that's so old? Can you build the current central (or, at oldest, the current ESR 91.7.1) instead?

Flags: needinfo?(luca.mayr)
Priority: -- → P5

(In reply to Mitchell Hentges [:mhentges] 🦀 from comment #2)

Checkout old commit prior to 2016 and start building the specific commit and ./mach build it.

Hmm, why are you building a Firefox that's so old? Can you build the current central (or, at oldest, the current ESR 91.7.1) instead?

I need old versions for compatibility/legacy testing suites. However, this issue can be closed, after carefully going through the whole build files, I saw, all dependencies are shipped with the commit (using git) however one has to delete all .git ignore files, otherwise files get mixed up with different commits.

Flags: needinfo?(luca.mayr)
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.