Closed
Bug 651975
Opened 14 years ago
Closed 14 years ago
[OS/2] pyxpt doesn't work - no python mmap module found
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla6
People
(Reporter: wuno, Assigned: glandium)
References
Details
Attachments
(1 file)
|
2.22 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (OS/2; Warp 4.5; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Build Identifier:
E:/python26/python.exe ../../dist/sdk/bin/xpt.py link _xpidlgen/xpcom_base.xpt _xpidlgen/nsIConsoleListener.xpt _xpidlgen/nsIConsoleMessage.xpt _xpidlgen/nsIConsoleService.xpt _xpidlgen/nsICycleCollectorListener.xpt _xpidlgen/nsIDebug2.xpt _xpidlgen/nsIErrorService.xpt _xpidlgen/nsIException.xpt _xpidlgen/nsIExceptionService.xpt _xpidlgen/nsIVersionComparator.xpt _xpidlgen/nsIUUIDGenerator.xpt _xpidlgen/nsIMutable.xpt _xpidlgen/nsIMemoryReporter.xpt _xpidlgen/nsIDebug.xpt _xpidlgen/nsIInterfaceRequestor.xpt _xpidlgen/nsIMemory.xpt _xpidlgen/nsIProgrammingLanguage.xpt _xpidlgen/nsISupports.xpt _xpidlgen/nsITraceRefcnt.xpt _xpidlgen/nsIWeakReference.xpt _xpidlgen/nsrootidl.xpt
Traceback (most recent call last):
File "../../dist/sdk/bin/xpt.py", line 69, in <module>
import mmap
ImportError: No module named mmap
make.exe[6]: *** [_xpidlgen/xpcom_base.xpt] Error 1
Reproducible: Always
| Assignee | ||
Comment 1•14 years ago
|
||
This passes the unit tests, but could you check if that works properly with a full build?
| Reporter | ||
Comment 2•14 years ago
|
||
(In reply to comment #1)
> Created attachment 527740 [details] [diff] [review]
> possible patch
>
> This passes the unit tests, but could you check if that works properly with a
> full build?
Yep, this patch works for building on OS/2 and linux.
| Assignee | ||
Updated•14 years ago
|
Attachment #527740 -
Flags: review?(ted.mielczarek)
Comment 3•14 years ago
|
||
Comment on attachment 527740 [details] [diff] [review]
possible patch
Review of attachment 527740 [details] [diff] [review]:
I guess this is fine. I liked the conceptual purity of the mmap, but in practice XPT files are small so it doesn't matter much.
Attachment #527740 -
Flags: review?(ted.mielczarek) → review+
Updated•14 years ago
|
Assignee: nobody → mh+mozilla
| Assignee | ||
Comment 4•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/eebcd14c9c46
ted, do you want this landed on http://hg.mozilla.org/users/tmielczarek_mozilla.com/pyxpt/, too ?
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla6
Comment 5•14 years ago
|
||
Yeah, might as well keep them in sync for now.
| Assignee | ||
Comment 6•14 years ago
|
||
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•