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 5399 - make install is broken as it depends on missing rule `build`
Summary: make install is broken as it depends on missing rule `build`
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 2.1
Hardware: All Other
: P2 major
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-15 05:03 UTC by Stephen Broadfoot
Modified: 2020-12-16 00:33 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 Stephen Broadfoot 2020-12-15 05:03:58 UTC
I've tracked this down to the following changeset 99d8b18acf8a

https://hg.libsdl.org/SDL/diff/99d8b18acf8a/Makefile.in

this changeset renames the rule `build` to `build/.created` but the rule `install-lib` still depends on the rule `build`


This affects users who are trying to install via homebrew who are installing via source and not by the bottle as this invokes `make install`

We should fix the makefile and then update the homebrew formula on github at

https://github.com/Homebrew/homebrew-core/blob/master/Formula/sdl2.rb
Comment 1 Stephen Broadfoot 2020-12-15 05:06:29 UTC
To be clear, the error I was hitting when running make install is

make: *** No rule to make target `build', needed by `install-lib'.  Stop.
Comment 2 Sam Lantinga 2020-12-15 08:42:38 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/cf83f816421c
Comment 3 Stephen Broadfoot 2020-12-16 00:33:24 UTC
https://github.com/Homebrew/homebrew-core/pull/66971

adding the patch to homebrew formula so people can install from source