Closed Bug 927880 Opened 6 years ago Closed 6 years ago

c-c build fails with mozmake.exe

Categories

(MailNews Core :: Build Config, defect)

x86_64
Windows 7
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 27.0

People

(Reporter: Paenglab, Assigned: Paenglab)

Details

Attachments

(1 file)

With mozmake.exe the build fails with:

z:/Mozilla/comm-central/config/baseconfig.mk:20: *** Windows-style srcdir being used with GNU make. Did you mean to run z:/Mozilla/comm-central/build/pymake/make.py instead? [see-also:     https://developer.mozilla.org/en/Gmake_vs._Pymake].  Stop.
client.mk:391: recipe for target 'build' failed
This patch fixes the baseconfig.mk error and Thunderbird is working after build. But no extensions are built.
This are the errors I get:

40:23.09 Embedding manifest from z:/Mozilla/comm-central/mail/app/thunderbird.exe.manifest
40:25.29 mozmake.EXE[6]: *** No rule to make target 'binaries'.  Stop.
40:25.30 z:/Mozilla/comm-central/mozilla/config/recurse.mk:99: recipe for target '../db/binaries' failed
40:25.30 mozmake.EXE[5]: *** [../db/binaries] Error 2
40:25.31 mozmake.EXE[5]: *** Waiting for unfinished jobs....
40:25.31 mozmake.EXE[6]: *** No rule to make target 'binaries'.  Stop.
40:25.31 z:/Mozilla/comm-central/mozilla/config/recurse.mk:99: recipe for target '../ldap/xpcom/binaries' failed
40:25.31 mozmake.EXE[5]: *** [../ldap/xpcom/binaries] Error 2
40:25.31 mozmake.EXE[6]: *** No rule to make target 'binaries'.  Stop.
40:25.32 z:/Mozilla/comm-central/mozilla/config/recurse.mk:99: recipe for target '../ldap/binaries' failed
40:25.32 mozmake.EXE[5]: *** [../ldap/binaries] Error 2
40:25.32 mozmake.EXE[6]: *** No rule to make target 'binaries'.  Stop.
40:25.32 z:/Mozilla/comm-central/mozilla/config/recurse.mk:99: recipe for target '../mail/components/binaries' failed
40:25.32 mozmake.EXE[5]: *** [../mail/components/binaries] Error 2
40:25.33 mozmake.EXE[6]: *** No rule to make target 'binaries'.  Stop.
40:25.33 z:/Mozilla/comm-central/mozilla/config/recurse.mk:99: recipe for target '../editor/ui/binaries' failed
40:25.33 mozmake.EXE[5]: *** [../editor/ui/binaries] Error 2
40:25.37 mozmake.EXE[6]: *** No rule to make target 'binaries'.  Stop.
40:25.37 z:/Mozilla/comm-central/mozilla/config/recurse.mk:99: recipe for target '../mailnews/binaries' failed
40:25.37 mozmake.EXE[5]: *** [../mailnews/binaries] Error 2
40:25.37 mozmake.EXE[6]: *** No rule to make target 'binaries'.  Stop.
40:25.37 z:/Mozilla/comm-central/mozilla/config/recurse.mk:99: recipe for target '../mail/branding/nightly/binaries' fai
led
40:25.37 mozmake.EXE[5]: *** [../mail/branding/nightly/binaries] Error 2

and

40:25.88 Embedding manifest from z:/Mozilla/comm-central/mozilla/ipc/app/plugin-container.exe.manifest
40:25.94 mozmake.EXE[6]: *** No rule to make target 'binaries'.  Stop.
40:25.95 z:/Mozilla/comm-central/mozilla/config/recurse.mk:99: recipe for target '../calendar/lightning/binaries' failed

40:25.95 mozmake.EXE[5]: *** [../calendar/lightning/binaries] Error 2
40:26.19 z:/Mozilla/comm-central/mozilla/config/recurse.mk:126: recipe for target 'recurse_libs' failed
40:26.19 mozmake.EXE[4]: *** [recurse_libs] Error 2
40:26.19 z:/Mozilla/comm-central/mozilla/config/recurse.mk:39: recipe for target 'libs' failed
40:26.19 mozmake.EXE[3]: *** [libs] Error 2
40:26.20 z:/Mozilla/comm-central/mozilla/config/rules.mk:691: recipe for target 'default' failed
40:26.20 mozmake.EXE[2]: *** [default] Error 2
40:26.20 Makefile:52: recipe for target 'default' failed
40:26.20 mozmake.EXE[1]: *** [default] Error 2
40:26.20 client.mk:391: recipe for target 'build' failed
40:26.20 mozmake.EXE: *** [build] Error 2
Joshua, do you know what is still needed to work properly? This is beyond my knowledge of build config.
Flags: needinfo?(Pidgeot18)
(In reply to Richard Marti [:Paenglab] from comment #1)
> Created attachment 818469 [details] [diff] [review]
> patch for first failure
> 
> This patch fixes the baseconfig.mk error and Thunderbird is working after
> build. But no extensions are built.
> This are the errors I get:
> 
> 40:23.09 Embedding manifest from
> z:/Mozilla/comm-central/mail/app/thunderbird.exe.manifest
> 40:25.29 mozmake.EXE[6]: *** No rule to make target 'binaries'.  Stop.
> 40:25.30 z:/Mozilla/comm-central/mozilla/config/recurse.mk:99: recipe for
> target '../db/binaries' failed

This sounds like the MOZ_PSEUDO_DERECURSE environment variable from configure.in is not getting picked up...
Flags: needinfo?(Pidgeot18)
Mike, Joshua proposed asking you if you know what is needed here for c-c to work with mozmake.
Flags: needinfo?(mh+mozilla)
Don't enable MOZ_PSEUDO_RERECURSE, it's not supported in c-c. Mozmake should still work without. It won't give you a lot of benefits, though.
Flags: needinfo?(mh+mozilla)
Comment on attachment 818469 [details] [diff] [review]
patch for first failure

(In reply to Mike Hommey [:glandium] from comment #5)
> Don't enable MOZ_PSEUDO_RERECURSE, it's not supported in c-c. Mozmake should
> still work without. It won't give you a lot of benefits, though.

Ah right, without enabling MOZ_PSEUDO_RERECURSE it builds to the end like pymake.

Gregory, this patch for c-c's baseconfig.mk is a copy of the patch from bug 925605.
Attachment #818469 - Flags: review?(gps)
Attachment #818469 - Flags: review?(gps) → review+
Keywords: checkin-needed
https://hg.mozilla.org/comm-central/rev/a5d2ef578b5e
Assignee: nobody → richard.marti
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: in-testsuite-
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 27.0
You need to log in before you can comment on or make changes to this bug.