wangyu5 / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

duplicated flags in scons causing build failure #78

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
chromium started to fail to build on hardy with lots of:
<command-line>: error: "__STDC_FORMAT_MACROS" redefined
<command-line>: error: this is the location of the previous definition

http://launchpadlibrarian.net/31805087/buildlog_ubuntu-hardy-i386.chromium-brows
er_4.0.209.0~svn20090914r26159-0ubuntu1~ucd1~hardy_FAILEDTOBUILD.txt.gz

A generated scons file now looks like this: http://pastebin.com/f64c36196

I build with SYMBOLS=1, so I end up with each CCFLAGS/DEFINE used twice,
like this: http://paste.ubuntu.com/271181/

I noticed it appeared in chromium between r25615 (Sep 8th) and r25893 (Sep
10th)

strangely, it only affects Ubuntu hardy, not intrepid/jaunty/karmic.

Original issue reported on code.google.com by f...@sofaraway.org on 14 Sep 2009 at 11:44

GoogleCodeExporter commented 9 years ago
oh, it's clearly a regression. I've been using SYMBOLS=1 for a long time.
If it rebuild on hardy without it, it succeeds.

Original comment by f...@sofaraway.org on 14 Sep 2009 at 11:50

GoogleCodeExporter commented 9 years ago

Original comment by sgk@chromium.org on 15 Sep 2009 at 8:28

GoogleCodeExporter commented 9 years ago

Original comment by sgk@chromium.org on 15 Sep 2009 at 8:28

GoogleCodeExporter commented 9 years ago
Fixed in GYP r651.  Rolled into the Chromium build in r26326.

Original comment by sgk@chromium.org on 16 Sep 2009 at 4:57