Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 553438 - dev-vcs/git-2.4.5 with USE=cgi - No rule to make target 'gitweb/gitweb.cgi'
Summary: dev-vcs/git-2.4.5 with USE=cgi - No rule to make target 'gitweb/gitweb.cgi'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-27 20:04 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2015-07-01 14:59 UTC (History)
10 users (show)

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


Attachments
build log (git-2.4.5-build.log,203.99 KB, text/plain)
2015-06-27 20:04 UTC, Alexandre Rostovtsev (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-06-27 20:04:35 UTC
Created attachment 405870 [details]
build log

# MAKEOPTS=-j1 USE=cgi emerge git
[...]
make -j1 BLK_SHA1=YesPlease NO_FINK=YesPlease NO_DARWIN_PORTS=YesPlease INSTALL=install TAR=tar SHELL_PATH=/bin/sh SANE_TOOL_PATH= OLD_ICONV= NO_EXTERNAL_GREP= USE_LIBPCRE=yes INSTALLDIRS=vendor THREADED_DELTA_SEARCH=YesPlease ASCIIDOC8=YesPlease ASCIIDOC_NO_ROFF=YesPlease DESTDIR=/var/tmp/portage/dev-vcs/git-2.4.5/image/ 'OPTCFLAGS=-march=native -O2 -pipe -frecord-gcc-switches' 'OPTLDFLAGS=-Wl,--as-needed -Wl,-O1' OPTCC=x86_64-pc-linux-gnu-gcc OPTAR=x86_64-pc-linux-gnu-ar prefix=/usr htmldir=/usr/share/doc/git-2.4.5/html sysconfdir=/etc PYTHON_PATH=/usr/bin/python2.7 PERL_MM_OPT= GIT_TEST_OPTS=--no-color V=1 gitweb/gitweb.cgi 
make: *** No rule to make target 'gitweb/gitweb.cgi'.  Stop.
 * ERROR: dev-vcs/git-2.4.5::gentoo failed (compile phase):
 *   emake failed

Builds fine when USE=-cgi
Comment 1 edes 2015-06-27 22:14:13 UTC
exactly the same here...
Comment 2 Juergen Rose 2015-06-28 09:48:16 UTC
And here too.
Comment 3 d00p 2015-06-29 07:41:40 UTC
Same here
Comment 4 Ralf Ramsauer 2015-06-29 16:31:38 UTC
Affirmative.
Comment 5 Grant Goodyear 2015-06-29 17:06:00 UTC
It's just a version bump from 2.4.4 to 2.4.5.  'emerge =dev-vcs/git-2.4.4' worked just fine for me, so presumably something in the code has changed.

The difference in git versions is https://github.com/git/git/compare/v2.4.4...v2.4.5?diff=unified&name=v2.4.5
 
In the makefile the git-instaweb target has changed, but the gitweb target seems to be the same.  

Yep, I've got nothin'....  Sorry.
Comment 6 gentoo_bugzilla 2015-06-30 18:05:57 UTC
With old Makefile it compiles fine with cgi useflag.
Comment 7 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-07-01 09:50:27 UTC
modifying the ebuild to say:

       if use perl && use cgi ; then
                git_emake \
                        gitweb \
                        || die "emake gitweb failed"
        fi

in src_compile seems to have gotten it to build.

which is basically

- gitweb/gitweb.cgi \
+ gitweb \

with some padding.
Comment 8 Adrian Bassett 2015-07-01 14:33:12 UTC
(In reply to Kent Fredric from comment #7)
> modifying the ebuild to say:
> 
>        if use perl && use cgi ; then
>                 git_emake \
>                         gitweb \
>                         || die "emake gitweb failed"
>         fi
> 
> in src_compile seems to have gotten it to build.
> 
> which is basically
> 
> - gitweb/gitweb.cgi \
> + gitweb \
> 
> with some padding.

This works for me, thanks.
Comment 9 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-07-01 14:59:09 UTC
+  01 Jul 2015; Lars Wendler <polynomial-c@gentoo.org> git-2.4.5.ebuild:
+  Fixed compilation with cgi USE flag (bug #553438).
+