We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1972 - Changeset 7379 (b27c778a2bdb) breaks make process with msys+mingw (make 3.82.90)
Summary: Changeset 7379 (b27c778a2bdb) breaks make process with msys+mingw (make 3.82.90)
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 2.0
Hardware: All Windows (All)
: P2 minor
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords: target-2.0.0
Depends on:
Blocks:
 
Reported: 2013-07-14 08:59 UTC by Andreas Ertelt
Modified: 2013-08-04 12:38 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Ertelt 2013-07-14 08:59:12 UTC
With the patch applied, make is not able to find the rule for Makefile.in anymore. Removing the patch resolves the issue.
Comment 1 Sam Lantinga 2013-08-01 12:22:42 UTC
Can you investigate and find out why that is?  This patch fixes another issue and shouldn't cause problems as far as I can tell.

Is it a problem with the output of pwd on mingw?  What does srcdir get set to?
Comment 2 Andreas Ertelt 2013-08-01 14:16:09 UTC
The path is in fact correct (in my case: /c/external/SDL64/SDL). But it seems the windows build of GNU Make doesn't work well with pathnames in rules. Both the dependencies in "$(srcdir)/configure: $(srcdir)/configure.in" and "Makefile: $(srcdir)/Makefile.in" will cause rules not to be found when srcdir is defined.

The same problem occurs if the patch is removed and I supply configure with a srcdir manually. I'm not quite sure how to test this more in-depth.
Comment 3 Sam Lantinga 2013-08-04 12:38:01 UTC
Fixed, thanks!
http://hg.libsdl.org/SDL/rev/b76d8bfe9a2f