Closed Bug 755277 Opened 13 years ago Closed 13 years ago

Build bustage (MSVC10, pymake): Target 'pixman-mmx.obj' has multiple rules with commands | Target 'transform-sse2.obj' has multiple rules with commands

Categories

(Core :: Graphics, defect)

All
Windows 7
defect
Not set
blocker

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: mayhemer, Assigned: glandium)

References

Details

Attachments

(1 file)

when building gfx, clobber, up to this date repo. $mozilla-central/_obj: pymake -C gfx ........ pixman-utils.c c:\Mozilla\src\mozilla-central\config\rules.mk:1116:0$ c:/Mozilla/mozilla-build/python/python2.7.exe -O c:/Mozilla/src/mozilla-central/build/cl.py cl -Fopixma n-utils.obj -c -DPIXMAN_NO_TLS -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL _NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -Ic:/Mozilla/src/mozilla-central/gfx/cairo/libpixman/src -Ic:/Mozilla/src/mozilla-central/gfx/cairo/libp ixman/src/../../cairo/src -Ic:/Mozilla/src/mozilla-central/gfx/cairo/libpixman/src -I. -I../../../../dist/include -I../../../../dist/include/nsprpub -Ic:/Moz illa/src/mozilla-central/_obj-browser-debug/dist/include/nspr -Ic:/Mozilla/src/mozilla-central/_obj-browser-debug/dist/include/nss -TC -nologo -W3 -Gy -Fdgenerated.pdb -we4553 -DDEBUG -D_DEBUG -DTRACING -Zi -Oy- -DPACKAGE="mozpixman" -D_USE_MATH_DEFINES -MDd -FI ../../../../dist/include/mozilla-co nfig.h -DMOZILLA_CLIENT c:/Mozilla/src/mozilla-central/gfx/cairo/libpixman/src/pixman-utils.c pixman-utils.c c:/Mozilla/src/mozilla-central/gfx/cairo/libpixman/src/pixman-utils.c(272) : warning C4244: 'initializing' : conversion from 'const uint64_t' to 'const uint8_ t', possible loss of data c:/Mozilla/src/mozilla-central/gfx/cairo/libpixman/src/pixman-utils.c(273) : warning C4244: 'initializing' : conversion from 'const uint64_t' to 'const uint8_ t', possible loss of data c:/Mozilla/src/mozilla-central/gfx/cairo/libpixman/src/pixman-utils.c(274) : warning C4244: 'initializing' : conversion from 'const uint64_t' to 'const uint8_ t', possible loss of data > Target 'pixman-mmx.obj' has multiple rules with commands. c:\Mozilla\src\mozilla-central\config\makefiles\target_libs.mk:139:0: command 'c:/Mozilla/mozilla-build/python/python.exe c:/mozilla/src/mozilla-central/build /pymake/pymake/../make.py -C libpixman/src libs' failed, return code 2 c:\Mozilla\src\mozilla-central\config\makefiles\target_libs.mk:139:0: command 'c:/Mozilla/mozilla-build/python/python.exe c:/mozilla/src/mozilla-central/build /pymake/pymake/../make.py -C cairo libs' failed, return code 2 c:\Mozilla\src\mozilla-central\config\rules.mk:682:0: command 'c:/Mozilla/mozilla-build/python/python.exe c:/mozilla/src/mozilla-central/build/pymake/pymake/. ./make.py libs' failed, return code 2 I don't see any recent changes. Going to bisect...
A clobber pymake win32 build using inbound tip (c14773057d57) and MozillaBuild 1.6 is failing for me with: { Target 'transform-sse2.obj' has multiple rules with commands. Target 'transform-sse1.obj' has multiple rules with commands. <mozqcms.lib.desc>: Found error <mozqcms.lib.desc>: Found error <libs>: Found error d:\srcdirs\inbound\config\makefiles\target_libs.mk:54:0: command 'c:/mozilla-build/python/python.exe d:/srcdirs/inbound/build/pymake/pymake/../make.py -C gfx/qcms libs' failed, return code 2 d:\srcdirs\inbound\config\rules.mk:709:0: command 'c:/mozilla-build/python/python.exe d:/srcdirs/inbound/build/pymake/pymake/../make.py libs_tier_platform' failed, return code 2 d:\srcdirs\inbound\config\rules.mk:674:0: command 'c:/mozilla-build/python/python.exe d:/srcdirs/inbound/build/pymake/pymake/../make.py tier_platform' failed, return code 2 d:\srcdirs\inbound\client.mk:381:0: command 'c:/mozilla-build/python/python.exe d:/srcdirs/inbound/build/pymake/pymake/../make.py -j12 -C d:/obj-inbound' failed, return code 2 d:\srcdirs\inbound\client.mk:181:0: command 'c:/mozilla-build/python/python.exe d:/srcdirs/inbound/build/pymake/pymake/../make.py -f d:/srcdirs/inbound/client.mk realbuild' failed, return code 2 } Mozconfig: { mk_add_options MOZ_OBJDIR=d:/obj-inbound mk_add_options MOZ_MAKE_FLAGS=-j12 ac_add_options --disable-optimize ac_add_options --disable-debug-symbols ac_add_options --disable-angle }
Sorry meant to add: MSVC2010 Windows SDK version: 7.0A
Severity: normal → blocker
Hardware: x86_64 → All
Summary: Build bustage (MSVC10, pymake): Target 'pixman-mmx.obj' has multiple rules with commands → Build bustage (MSVC10, pymake): Target 'pixman-mmx.obj' has multiple rules with commands | Target 'transform-sse2.obj' has multiple rules with commands
Ted thinks maybe bug 748001?
Ah, I guess GNU make just uses the new one and only warns about the override
Assignee: nobody → mh+mozilla
Blocks: 748001
So, I'd say it's a pymake bug, but it actually is good, because it makes these "duplicated" more easily detectable, and allows for some cleanup.
Confirmed: /e/builds/moz2_slave/m-cen-w32/build/config/rules.mk:1114: warning: ignoring old commands for target `transform-sse1.obj' /e/builds/moz2_slave/m-cen-w32/build/config/rules.mk:1114: warning: ignoring old commands for target `transform-sse2.obj' Found 2 more: /e/builds/moz2_slave/m-cen-w32/build/config/rules.mk:1114: warning: ignoring old commands for target `pixman-mmx.obj' /e/builds/moz2_slave/m-cen-w32/build/config/rules.mk:1114: warning: ignoring old commands for target `pixman-sse2.obj'
Attachment #624057 - Flags: review?(ted.mielczarek)
Comment on attachment 624057 [details] [diff] [review] Avoid duplicate rules after bug 748001 Confirming this fixes the build for me. Thanks.
Attachment #624057 - Flags: review?(ted.mielczarek) → review+
I'm still running into this problem with the above patch applied. Normal build: "pymake -f client.mk" http://pastebin.mozilla.org/1640417 Mozconfig: { mk_add_options MOZ_MAKE_FLAGS=-j6 ac_add_options --disable-optimize } MSVC9 Windows SDK 7.0
Ignore the above pastebin, this is the correct "error-log": http://pastebin.mozilla.org/1640450
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: