-
Notifications
You must be signed in to change notification settings - Fork 316
Build fails with syntax error on git.rc #14
Comments
Please copy & paste the exact error message here, and comment on whether you're using GCC or MSVC to compile (we are aware that the latter is currently broken with respect to adding the version information to the RC file; patches welcome). |
I'm getting the following when running msysGit-netinstall-1.7.10-preview20120409:
When I remove these lines from git.rc and run msys.bat, the build completes:
I can submit a patch with those lines removed but not sure if that completely solves the problem. Are those just MSVC artifacts? |
@mcknz no. Something else is going on on your side. MAJOR, MINOR and PATCH are expected to be replaced by the make process. You need to dig much deeper, probably using "make V=1". |
thanks -- will dig. |
Try |
@mcknz Thanks, very very much appreciated! |
I'm a newbie, sorry if this is not very relevant. $ make V=1 git.res (I downloaded msysGit-netinstall-1.7.10-preview20120409.exe earlier today; building on Windows 7). |
@postiffm I think you identified the problem, alright. Could you replace the line in the Makefile with this and test again? Thanks! |
Actually, I take that back... ;-) I just tested here and the GIT_VERSION is '1.7.11.rc0.6836.gdf573d9' as for you, which $(wordlist ...) should interpret as the (1/7/11) triplet that windres needs. How did your GIT_VERSION become '1.7.11-rc0' (note the dash)? |
Hi--I don't know how the '-rc0' got into the GIT_VERSION. All I did was On 5/31/2012 2:40 AM, dscho wrote:
|
Reported by postiffm as issue #14. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@dscho Thanks. I tested by doing another from-scratch install and it worked. I noticed during the build process: Building and Installing GitGIT_VERSION = 1.7.11-rc0 during the build, my GIT-VERSION-FILE has GIT_VERSION = 1.7.11-rc0 but after the build, it has $ cat GIT-VERSION-FILE and $ git --version So is the bug /really/ fixed? |
@postiffm yep, I think this is due to Git not being installed yet when the initial build is running. |
Evidently the shell script GIT-VERSION-GEN uses the DEF_VER during the The script doesn't find a 'version' file, and it has no git to run for
to remove the dash from the version number. Or just change DEF_VER...but I really don't know what I'm talking about --Matt On 5/31/2012 4:03 PM, dscho wrote:
|
@postiffm I went the path of less resistance (instead of changing things that we might eventually get into upstream git.git where such small changes are usually met with fiercely clenched fists ;-): I changed the way we munge the version when compiling the resources. (See the link I posted in my closing comment.) |
Reported by postiffm as issue #14. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Reported by postiffm as issue #14. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Reported by postiffm as issue #14. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Reported by postiffm as issue #14. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Reported by postiffm as issue #14. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Reported by postiffm as issue #14. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Reported by postiffm as issue #14. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Reported by postiffm as issue #14. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Reported by postiffm as issue #14. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Reported by postiffm as issue #14. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Reported by postiffm as issue #14. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Adjust README.md to reflect the new Git for Windows home
Adjust README.md to reflect the new Git for Windows home
Adjust README.md to reflect the new Git for Windows home
Appears to be related to issue #10 bd81699 -- not sure what the issue is, but I just commented out lines 2 and 3 and it built fine on Windows 8 x64.
The text was updated successfully, but these errors were encountered: