Bug 53572 - scons: *** Two environments with different actions were specified for the same target: mesa/src/glsl/glcpp/pp.o
Summary: scons: *** Two environments with different actions were specified for the sam...
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium blocker
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-16 06:06 UTC by Vinson Lee
Modified: 2017-09-19 08:35 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2012-08-16 06:06:32 UTC
$ scons platform=windows toolchain=crossmingw
scons: Reading SConscript files ...
Mkdir("build/windows-x86-debug")
Checking for X11 (x11 xext xdamage xfixes)... no
Checking for XCB (x11-xcb xcb-glx >= 1.8.1)... no
Checking for XF86VIDMODE (xxf86vm)... no
Checking for DRM (libdrm >= 2.4.24)... no
Checking for DRM_INTEL (libdrm_intel >= 2.4.30)... no
Checking for DRM_RADEON (libdrm_radeon >= 2.4.31)... no
Checking for XORG (xorg-server >= 1.6.0)... no
Checking for KMS (libkms >= 2.4.24)... no
Checking for UDEV (libudev > 150)... no
Mkdir("build/linux-x86_64-debug")
Checking for X11 (x11 xext xdamage xfixes)... yes
Checking for XCB (x11-xcb xcb-glx >= 1.8.1)... yes
Checking for XF86VIDMODE (xxf86vm)... yes
Checking for DRM (libdrm >= 2.4.24)... yes
Checking for DRM_INTEL (libdrm_intel >= 2.4.30)... yes
Checking for DRM_RADEON (libdrm_radeon >= 2.4.31)... yes
Checking for XORG (xorg-server >= 1.6.0)... yes
Checking for KMS (libkms >= 2.4.24)... no
Checking for UDEV (libudev > 150)... yes

scons: *** Two environments with different actions were specified for the same target: mesa/src/glsl/glcpp/pp.o
File "mesa/src/glsl/SConscript", line 102, in <module>


77a3efc6b907943903190b385fdf107c4acfcdca is the first bad commit
commit 77a3efc6b907943903190b385fdf107c4acfcdca
Author: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Date:   Thu Jul 19 12:30:10 2012 +1000

    build/glsl: fix location of generated files.
    
    Like in src/mesa, use GLSL_BUILDDIR/GLSL_SRCDIR to unambiguously
    distinguish between in-tree and generated files.
    
    Reviewed-by: Eric Anholt <eric@anholt.net>
    Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>

:040000 040000 adb4f21cb3a3a8eda9e2ea0cedbcf9df5475da38 517c2ddd643e88aa526df665df49d2f19ae5c994 M	src
bisect run success
Comment 1 Jose Fonseca 2012-08-16 18:13:30 UTC
I think this was fixed with


commit 50dec637909cfe8fa53582f2f64ab261b123f092
Author: José Fonseca <jfonseca@vmware.com>
Date:   Wed Aug 15 19:24:58 2012 +0100

    scons: Fix MinGW cross compilation.
    
    Compensate for the recent changes and assumptions added to
    Makefiles.sources


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.