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: *** [_xpidlgen/xpcom_base.xpt] Error 1 Reproducible: Always
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?
(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.
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.
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 ?
Yeah, might as well keep them in sync for now.