Closed Bug 880981 Opened 11 years ago Closed 11 years ago

Mach build issue with Thunderbird

Categories

(Firefox Build System :: Mach Core, enhancement)

x86_64
Windows 7
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 863409

People

(Reporter: capella, Unassigned)

Details

A new contributor using mach to build Thunderbird found his executable here:
comm-central\obj-i686-pc-mingw32\mozilla\dist\bin

After receiving the completion messages:
    278:06.68 Output: "c:\mozilla-source\comm-central\obj-i686-pc-mingw32\mail\insta
    ller\windows\instgen\maintenanceservice_installer.exe"
    278:06.68 Install: 2 pages (128 bytes), 1 section (16416 bytes), 557 instruction
    s (15596 bytes), 182 strings (4534 bytes), 1 language table (210 bytes).
    278:06.68 Uninstall: 3 pages (192 bytes),
    278:06.68 1 section (16416 bytes), 118 instructions (3304 bytes), 109 strings (3
    936 bytes), 1 language table (250 bytes).
    278:06.68 Datablock optimizer saved 33804 bytes (~18.5%).
    278:06.68
    278:06.68 Using zlib compression.
    278:06.68
    278:06.68 EXE header size:               64000 / 39424 bytes
    278:06.68 Install code:                  37264 / 37260 bytes
    278:06.68 Install data:                  17416 / 51228 bytes
    278:06.70 Uninstall code+data:           67186 / 67178 bytes
    278:06.70 CRC (0xAC9215A8):                  4 / 4 bytes
    278:06.70
    278:06.70 Total size:                   185870 / 195094 bytes (95.2%)
    278:07.90 tools_tier_app
    278:17.10 604 compiler warnings present.
    We know it took a while, but your build finally finished successfully!
    Error running mach:
     
        ['build']
     
    The error occurred in code that was called by the mach command. This is either
    a bug in the called code itself or in the way that mach is calling it.
     
    You should consider filing a bug for this issue.
     
    If filing a bug, please include the full output of mach, including this error
    message.
     
    The details of the failure are as follows:
     
    Exception: Binary expected at c:\mozilla-source\comm-central\obj-i686-pc-mingw32
    \dist\bin\thunderbird.exe does not exist.
     
      File "c:\mozilla-source\comm-central\mozilla\python/mozbuild/mozbuild/mach_com
    mands.py", line 348, in build
        app_path = self.get_binary_path('app')
      File "c:\mozilla-source\comm-central\mozilla\python/mozbuild\mozbuild\base.py"
    , line 279, in get_binary_path
        raise Exception('Binary expected at %s does not exist.' % path)
Is $objdir/mozilla/dist/bin the normal location for the Thunderbird binary, or should it have been in $objdir/dist/bin (which I would expect)?
It is the normal location apparently, it says so here: 
https://developer.mozilla.org/en-US/docs/Simple_Thunderbird_build#Running
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.