Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Feb 2014 21:03:30 GMT
From:      C Hutchinson <portmaster@bsdforge.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/186356: devel/git (git-1.8.5.2) fails during install
Message-ID:  <201402012103.s11L3UBW006693@oldred.freebsd.org>
Resent-Message-ID: <201402012110.s11LA1gG056861@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186356
>Category:       ports
>Synopsis:       devel/git (git-1.8.5.2) fails during install
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 01 21:10:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     C Hutchinson
>Release:        RELENG_8 (8.4-STABLE)
>Organization:
>Environment:
FreeBSD demon 8.4-STABLE FreeBSD 8.4-STABLE #0 r260975: Tue Jan 21 08:15:27 PST 2014     root@buildbox:/usr/obj/usr/src/sys/BUILDBOX  amd64
>Description:
devel/git fails during the make install process, with the following output:

peek-remote git-repo-config git-show git-stage git-status git-whatchanged; do \
        rm -f "$execdir/$p" && \
        test -z "" && \
        ln "$execdir/git" "$execdir/$p" 2>/dev/null || \
        ln -s "git" "$execdir/$p" 2>/dev/null || \
        cp "$execdir/git" "$execdir/$p" || exit; \
done && \
remote_curl_aliases="git-remote-https git-remote-ftp git-remote-ftps" && \
for p in $remote_curl_aliases; do \
        rm -f "$execdir/$p" && \
        test -z "" && \
        ln "$execdir/git-remote-http" "$execdir/$p" 2>/dev/null || \
        ln -s "git-remote-http" "$execdir/$p" 2>/dev/null || \
        cp "$execdir/git-remote-http" "$execdir/$p" || exit; \
done && \
./check_bindir "z$bindir" "z$execdir" "$bindir/git-add"
===> Staging rc.d startup script(s)
(cd /usr/ports/devel/git/work/man1/ && /bin/sh -c '(/usr/bin/find -d $0 $2 | /usr/bin/cpio -dumpl $1 >/dev/null  2>&1) &&  /usr/sbin/chown -Rh root:wheel $1 &&  /usr/bin/find -d $0 $2 -type d -exec chmod 755 $1/{} \; &&  /usr/bin/find -d $0 $2 -type f -exec chmod 444 $1/{} \;' -- \* /usr/local/man/man1)
(cd /usr/ports/devel/git/work/man5/ && /bin/sh -c '(/usr/bin/find -d $0 $2 | /usr/bin/cpio -dumpl $1 >/dev/null  2>&1) &&  /usr/sbin/chown -Rh root:wheel $1 &&  /usr/bin/find -d $0 $2 -type d -exec chmod 755 $1/{} \; &&  /usr/bin/find -d $0 $2 -type f -exec chmod 444 $1/{} \;' -- \* /usr/local/man/man5)
(cd /usr/ports/devel/git/work/man7/ && /bin/sh -c '(/usr/bin/find -d $0 $2 | /usr/bin/cpio -dumpl $1 >/dev/null  2>&1) &&  /usr/sbin/chown -Rh root:wheel $1 &&  /usr/bin/find -d $0 $2 -type d -exec chmod 755 $1/{} \; &&  /usr/bin/find -d $0 $2 -type f -exec chmod 444 $1/{} \;' -- \* /usr/local/man/man7)
# Manually remove the index.html symlink before installing, and then
# recreate it after. This is necessary because the distfile is
# extracted with --no-same-owner. If the distfile is extracted as a
# non-root user then the symlink will have the incorrect owner.
/bin/rm -f /usr/ports/devel/git/work/htmldocs/index.html
/bin/mkdir -p /usr/local/share/doc/git
(cd /usr/ports/devel/git/work/htmldocs/ && /bin/sh -c '(/usr/bin/find -d $0 $2 | /usr/bin/cpio -dumpl $1 >/dev/null  2>&1) &&  /usr/sbin/chown -Rh root:wheel $1 &&  /usr/bin/find -d $0 $2 -type d -exec chmod 755 $1/{} \; &&  /usr/bin/find -d $0 $2 -type f -exec chmod 444 $1/{} \;' -- \* /usr/local/share/doc/git)
/bin/ln -s /usr/local/share/doc/git/git.html /usr/local/share/doc/git/index.html
ln: /usr/local/share/doc/git/index.html: File exists
*** Error code 1

Stop in /usr/ports/devel/git.
*** Error code 1

Stop in /usr/ports/devel/git.

/usr/ports/devel/git

It appears that the "ln hack" is an issue for the STAGing process. But attempting
make -DNO_STAGE install also fails with the same output.


>How-To-Repeat:
attempt to install devel/git with the following options:


# This file is auto-generated by 'make config'.
# Options for git-1.8.5.2
_OPTIONS_READ=git-1.8.5.2
_FILE_COMPLETE_OPTIONS_LIST=CONTRIB CURL CVS ETCSHELLS GITWEB GUI HTMLDOCS ICONV NLS P4 PERL SVN
OPTIONS_FILE_SET+=CONTRIB
OPTIONS_FILE_SET+=CURL
OPTIONS_FILE_SET+=CVS
OPTIONS_FILE_SET+=ETCSHELLS
OPTIONS_FILE_SET+=GITWEB
OPTIONS_FILE_SET+=GUI
OPTIONS_FILE_SET+=HTMLDOCS
OPTIONS_FILE_SET+=ICONV
OPTIONS_FILE_SET+=NLS
OPTIONS_FILE_SET+=P4
OPTIONS_FILE_SET+=PERL
OPTIONS_FILE_UNSET+=SVN

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402012103.s11L3UBW006693>