Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 471490 - www-apps/cgit-0.9.2 - No rule to make target `GIT-LDFLAGS', needed by `../cgit'. Stop.
Summary: www-apps/cgit-0.9.2 - No rule to make target `GIT-LDFLAGS', needed by `../cgi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lance Albertson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-27 23:09 UTC by Manuel Rüger (RETIRED)
Modified: 2013-05-30 20:37 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (file_471490.txt,1.67 KB, text/plain)
2013-05-27 23:09 UTC, Manuel Rüger (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Rüger (RETIRED) gentoo-dev 2013-05-27 23:09:55 UTC
Created attachment 349410 [details]
build.log

Fails to build, see attached build.log

make[1]: *** No rule to make target `GIT-LDFLAGS', needed by `../cgit'.  Stop.
Comment 1 Manuel Rüger (RETIRED) gentoo-dev 2013-05-27 23:16:12 UTC
Quick fix:

-GIT_V="1.7.4"
+GIT_V="1.8.3" 

I think this was missed during bumping the ebuild version.
Comment 2 poletti.marco 2013-05-29 08:31:39 UTC
I'm getting a different error with -j1:

CGIT_VERSION = v0.9.2
GIT_VERSION = 1.7.4
    * new build flags or prefix
    * new CGit build flags
    CC ../cgit.o
In file included from ../cgit.c:10:0:
../cgit.h:14:24: fatal error: argv-array.h: No such file or directory

argv-array.h appeared in git 1.7.8, so bumping GIT_V as Manuel suggests should fix both problems.
Comment 3 Daniel M. Weeks 2013-05-30 19:39:27 UTC
I'm seeing this same behavior as both Manuel and Marco (-j1).

For those that haven't had the time to dig deeper: The Makefile for cgit has an internal mechanism for downloading git since it shares some code. The required version changed to 1.8.3 with the 0.9.2 release of cgit. The ebuild mirrors this functionality by listing the same version of git in the SRC_URI.

I agree with Manuel's suggested fix.
Comment 4 Jason A. Donenfeld gentoo-dev 2013-05-30 20:37:58 UTC
+  30 May 2013; Jason A. Donenfeld <zx2c4@gentoo.org> cgit-0.9.2.ebuild:
+  Dont forget to bump the git version too.
+