Closed
Bug 756808
Opened 13 years ago
Closed 13 years ago
Build failure: |Error remaking makefiles (ignored)| followed by |No rule to remake missing include file ../../../../../config/rules.mk|
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla15
People
(Reporter: jaws, Assigned: Ms2ger)
References
Details
Attachments
(1 file, 1 obsolete file)
|
3.17 KB,
patch
|
ayg
:
review+
|
Details | Diff | Splinter Review |
Last night I saw this after a clobber build with d55df2c9c037 at the tip:
> nsIIDBIndex.idl
> nsIIndexedDatabaseManager.idl
> nsIWorkerTest.idl
> creating dom/tests/mochitest/webapps/Makefile
> creating dom/tests/mochitest/browser-frame/Makefile
> creating dom/tests/mochitest/pointerlock/Makefile
> creating dom/tests/mochitest/webapps/apps/Makefile
> creating dom/imptests/html/tests/submission/Mozilla/Makefile
> creating dom/imptests/failures/webapps/WebStorage/tests/submissions/Infraware/Makefile
> creating dom/imptests/webapps/WebStorage/tests/submissions/Makefile
> creating dom/imptests/failures/editing/selecttest/Makefile
> creating dom/imptests/failures/webapps/WebStorage/tests/submissions/Ms2ger/Makefile
> creating dom/imptests/failures/editing/conformancetest/Makefile
> creating dom/imptests/editing//Makefilecreating dom/imptests/webapps/DOMCore/tests/submissions/Opera/Makefile
>
> creating dom/imptests/failures/webapps/DOMCore/tests/submissions/Opera/Makefile
> Error remaking makefiles (ignored)
> No rule to remake missing include file ../../../../../config/rules.mk
> c:\mc\config\makefiles\target_export.mk:67:0: command 'c:/mozilla-build/python/python.exe c:/mc/build/pymake/pymake/../make.py -C editing/ export' failed, return code 2
> c:\mc\config\makefiles\target_export.mk:67:0: command 'c:/mozilla-build/python/python.exe c:/mc/build/pymake/pymake/../make.py -C imptests export' failed, return code 2
> c:\mc\config\makefiles\target_export.mk:54:0: command 'c:/mozilla-build/python/python.exe c:/mc/build/pymake/pymake/../make.py -C dom export' failed, return code 2
> c:\mc\config\rules.mk:609:0: command 'c:/mozilla-build/python/python.exe c:/mc/build/pymake/pymake/../make.py export_tier_platform' failed, return code 2
> c:\mc\config\rules.mk:575:0: command 'c:/mozilla-build/python/python.exe c:/mc/build/pymake/pymake/../make.py tier_platform' failed, return code 2
| Reporter | ||
Comment 1•13 years ago
|
||
Another clobber-rebuild shows this similar error, although with slightly different timing:
> Creating library js.lib and object js.exp
> tools_tier_js
> tier_platform: xpcom modules/zlib modules/libpref intl netwerk extensions/auth media/libjpeg modules/libbz2 other-licenses/bsdiff gfx/qcms ipc js/ipc hal js/xpconnect intl/chardet modules/libjar st
> orage extensions/cookie extensions/permissions rdf js/jsd media/libvorbis media/libopus media/libnestegg media/libvpx media/libogg media/libtheora media/libsydneyaudio media/libspeex_resampler
> media/libcubeb media/libpng uriloader caps parser gfx image dom view widget content editor layout docshell embedding xpfe/appshell extensions/universalchardet accessible profile tools/profiler xpfe/
> components extensions/spellcheck security/manager modules/libmar toolkit extensions/pref services/crypto/component startupcache js/ductwork/debugger other-licenses/snappy toolkit/library xpcom/stub te
> sting/mochitest testing/xpcshell testing/tools/screenshot testing/peptest testing/mozbase
> export_tier_platform
> Generating LALR tables
> WARNING:pymake.data:httpserver XPI_NAME=
> Error remaking makefiles (ignored)
> No rule to remake missing include file ../../../../../config/rules.mk
> c:\mc\config\makefiles\target_export.mk:67:0: command 'c:/mozilla-build/python/python.exe c:/mc/build/pymake/pymake/../make.py -C editing/ export' failed, return code 2
> c:\mc\config\makefiles\target_export.mk:67:0: command 'c:/mozilla-build/python/python.exe c:/mc/build/pymake/pymake/../make.py -C imptests export' failed, return code 2
> c:\mc\config\makefiles\target_export.mk:54:0: command 'c:/mozilla-build/python/python.exe c:/mc/build/pymake/pymake/../make.py -C dom export' failed, return code 2
> c:\mc\config\rules.mk:609:0: command 'c:/mozilla-build/python/python.exe c:/mc/build/pymake/pymake/../make.py export_tier_platform' failed, return code 2
> c:\mc\config\rules.mk:575:0: command 'c:/mozilla-build/python/python.exe c:/mc/build/pymake/pymake/../make.py tier_platform' failed, return code 2
Comment 2•13 years ago
|
||
I started getting this too, also on Windows/pymake - so presumably it's another pymake issue.
Comment 3•13 years ago
|
||
This will have been caused by bug 751842. I probably messed up the makefiles somehow -- I had no idea what I was doing. This line strikes me as fishy, at a glance:
(In reply to Jared Wein [:jaws] from comment #0)
> > creating dom/imptests/editing//Makefilecreating dom/imptests/webapps/DOMCore/tests/submissions/Opera/Makefile
Notice the double slash after "editing". What happens if you change dom/imptests/editing.mk from
DIRS += \
editing/ \
$(NULL)
to
DIRS += \
editing \
$(NULL)
i.e., removing the trailing slash after "editing"? This is a total shot in the dark, but who knows, it might be right . . .
Depends on: 751842
Comment 4•13 years ago
|
||
Yep, that was it.
(Oh god, how did I get here, I'm not good with /dom/)
| Assignee | ||
Comment 5•13 years ago
|
||
Comment on attachment 625464 [details] [diff] [review]
Patch v1
Review of attachment 625464 [details] [diff] [review]:
-----------------------------------------------------------------
No, this is a generated file...
Attachment #625464 -
Flags: review?(Ms2ger) → review-
| Assignee | ||
Comment 6•13 years ago
|
||
Assignee: bmcbride → Ms2ger
Attachment #625464 -
Attachment is obsolete: true
Attachment #625470 -
Flags: review?(ayg)
Comment 7•13 years ago
|
||
Comment on attachment 625470 [details] [diff] [review]
Patch v2
LGTM.
Attachment #625470 -
Flags: review?(ayg) → review+
| Assignee | ||
Comment 8•13 years ago
|
||
OS: Windows 7 → All
Hardware: x86_64 → All
Target Milestone: --- → mozilla15
Comment 9•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 10•13 years ago
|
||
My build is still failing with the patch that landed here... I get:
make[3]: Entering directory `/home/jst/fast/work/tip/fb-rel/dom/imptests/editing'
Makefile:17: ../../../../../mozilla/config/rules.mk: No such file or directory
make[3]: *** No rule to make target `../../../../../mozilla/config/rules.mk'. Stop.
make[3]: Leaving directory `/home/jst/fast/work/tip/fb-rel/dom/imptests/editing'
make[2]: *** [export] Error 2
make[2]: Leaving directory `/home/jst/fast/work/tip/fb-rel/dom/imptests'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/home/jst/fast/work/tip/fb-rel/dom'
make: *** [default] Error 2
The reason being that there's one to many ../'s in the path to rules.mk. Why, I can't tell, but my builds fail nonetheless :(
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 11•13 years ago
|
||
(In reply to Johnny Stenback (:jst, jst@mozilla.com) from comment #10)
> My build is still failing with the patch that landed here... I get:
>
> make[3]: Entering directory
> `/home/jst/fast/work/tip/fb-rel/dom/imptests/editing'
> Makefile:17: ../../../../../mozilla/config/rules.mk: No such file or
> directory
> make[3]: *** No rule to make target
>
> The reason being that there's one to many ../'s in the path to rules.mk.
> Why, I can't tell, but my builds fail nonetheless :(
This looks like the build thinks it is trying to build a comm-central based app and not Firefox.
(which means it has ../mozilla/ by mistake) No idea why though, just figured I would point that out.
Comment 12•13 years ago
|
||
No, I don't think that's it. The trailing slash on editing/ was incorrect, but because of how we remake makefiles, I think you need to clobber that makefile. You should be able to `rm objdir/dom/imptests/Makefile` and rebuild.
Comment 13•13 years ago
|
||
Thanks bsmedberg! Clobbering that makefile fixed the problem here! Marking this fixed again, and sorry for the confusion...
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•