Remove SYSTEM_MAKEDEPEND and MOZ_NATIVE_MAKEDEPEND and associated crap

RESOLVED FIXED in mozilla18

Status

()

Core
Build Config
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: ted, Assigned: sid0)

Tracking

Trunk
mozilla18
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 3 obsolete attachments)

(Reporter)

Description

5 years ago
All of our officially-supported platforms don't use mkdepend at all (GCC, VC++, probably clang). Even if we were going to use mkdepend, we have an in-tree copy, so it doesn't seem worth carrying around the baggage to handle system mkdepend for those few cases where someone might want to use it. catlee hit a build error related to this because he didn't have a system mkdepend installed, apparently.
the specific error was in 'make maybe_cleanup_profiledbuild' and make would forkbomb itself trying to cleanup objdir/config/mkdepend early in the 2nd pass of a PGO build

installing a system 'makedepend' has fixed this for me.
While at it, we can probably get rid of makedep.

Updated

5 years ago
Blocks: 717947
(Assignee)

Updated

5 years ago
Blocks: 593585
(Assignee)

Comment 3

5 years ago
Created attachment 651854 [details] [diff] [review]
remove all the things

I've removed all references to
- COMPILER_DEPEND
- MOZ_NATIVE_MAKEDEPEND
- SYSTEM_MAKEDEPEND
- MKDEPEND

except those that are part of NSS.

I've pushed this to try: https://tbpl.mozilla.org/?tree=Try&rev=9112e63ad6b3
Assignee: nobody → sagarwal
Status: NEW → ASSIGNED
Attachment #651854 - Flags: review?(ted.mielczarek)
(Assignee)

Comment 4

5 years ago
Created attachment 651856 [details] [diff] [review]
fixed patch

Fixed a mistake in js/src/configure.in.

Pushed to try: https://tbpl.mozilla.org/?tree=Try&rev=2f2f763a437d
Attachment #651854 - Attachment is obsolete: true
Attachment #651854 - Flags: review?(ted.mielczarek)
Attachment #651856 - Flags: review?(ted.mielczarek)
(Assignee)

Updated

5 years ago
Depends on: 782759
(Assignee)

Updated

5 years ago
No longer blocks: 593585
(Assignee)

Comment 5

5 years ago
Created attachment 651865 [details] [diff] [review]
remove MOZ_AUTO_DEPS as well

Ted was of the opinion that MOZ_AUTO_DEPS should go as well.

This needs bug 782759.
Attachment #651856 - Attachment is obsolete: true
Attachment #651856 - Flags: review?(ted.mielczarek)
Attachment #651865 - Flags: review?(ted.mielczarek)
(Assignee)

Comment 6

5 years ago
My try push (builds only, on all platforms) was all green.
(Assignee)

Comment 7

5 years ago
Created attachment 653960 [details] [diff] [review]
updated for bitrot
Attachment #651865 - Attachment is obsolete: true
Attachment #651865 - Flags: review?(ted.mielczarek)
Attachment #653960 - Flags: review?(ted.mielczarek)
(Reporter)

Comment 8

5 years ago
Comment on attachment 653960 [details] [diff] [review]
updated for bitrot

Review of attachment 653960 [details] [diff] [review]:
-----------------------------------------------------------------

::: configure.in
@@ +7686,1 @@
>  AC_SUBST(MDDEPDIR)

We could probably just move MDDEPDIR to config.mk.

::: js/src/config/Makefile.in
@@ +62,5 @@
>  endif
>  
>  GARBAGE += $(srcdir)/*.pyc *.pyc
>  
>  FORCE:

What is this nonsense doing here? Don't we have FORCE listed as PHONY somewhere?
Attachment #653960 - Flags: review?(ted.mielczarek) → review+
Depends on: 785336
(Assignee)

Comment 9

5 years ago
(In reply to Ted Mielczarek [:ted] from comment #8)
> 
> ::: js/src/config/Makefile.in
> @@ +62,5 @@
> >  endif
> >  
> >  GARBAGE += $(srcdir)/*.pyc *.pyc
> >  
> >  FORCE:
> 
> What is this nonsense doing here? Don't we have FORCE listed as PHONY
> somewhere?

Indeed. Filed bug 786002.
https://hg.mozilla.org/mozilla-central/rev/8ac55d26cf22
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18

Updated

5 years ago
Blocks: 806616
You need to log in before you can comment on or make changes to this bug.