[Bug 215200] devel/git: build error with the option WRKDIRPREFIX

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Dec 10 19:59:28 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215200

            Bug ID: 215200
           Summary: devel/git: build error with the option WRKDIRPREFIX
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: garga at FreeBSD.org
          Reporter: mahara.tangata at gmail.com
             Flags: maintainer-feedback?(garga at FreeBSD.org)
          Assignee: garga at FreeBSD.org

Steps to Reproduce:
1) Mount the ports in read-only mode
I usually use mount_nfs -o ro -o nfsv4 hostname:/ports /usr/ports 
but mount_nullfs -o ro /xxx /usr/ports also work.
2) cd /usr/ports/devel/git
3) make WRKDIRPREFIX=/tmp/prt

After some time:
===>  Staging for git-2.11.0_3
===>   git-2.11.0_3 depends on shared library: libintl.so - found
(/usr/local/lib/libintl.so)
===>   Generating temporary packing list
===> Creating groups.
===> Creating users
gmake[2]: Entering directory
'/var/tmp/wloo/prt/usr/ports/devel/git/work/git-2.11.0'
Makefile:1877: warning: overriding recipe for target 'git-request-pull'
Makefile:1812: warning: ignoring old recipe for target 'git-request-pull'
gmake -C templates  SHELL_PATH='/bin/sh' PERL_PATH=''
gmake[3]: Entering directory
'/var/tmp/wloo/prt/usr/ports/devel/git/work/git-2.11.0/templates'
: no custom templates yet
gmake[3]: Leaving directory
'/var/tmp/wloo/prt/usr/ports/devel/git/work/git-2.11.0/templates'
install -d -m 755 '/tmp/prt/usr/ports/devel/git/work/stage/usr/local/bin'
install -d -m 755
'/tmp/prt/usr/ports/devel/git/work/stage/usr/local/libexec/git-core'
----------------- CUT --------------------
remote_curl_aliases="" && \
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"
gmake[2]: Leaving directory
'/var/tmp/wloo/prt/usr/ports/devel/git/work/git-2.11.0'
(cd /tmp/prt/usr/ports/devel/git/work/man1/ && /bin/sh -c '(/usr/bin/find -Ed
$0 $2 | /usr/bin/cpio -dumpl $1 >/dev/null 2>&1) &&  /usr/bin/find -Ed $0 $2 \(
  -type d -exec /bin/sh -c '\''cd '\''$1'\'' && chmod 755 "$@"'\'' -- . {} + 
-o -type f -exec /bin/sh -c '\''cd
'\''$1'\'' && chmod 444 "$@"'\'' -- . {} + \)' -- .
/tmp/prt/usr/ports/devel/git/work/stage/usr/local/man/man1)
chmod: ./git-request-pull.1: No such file or directory
chmod: ./git-remote-fd.1: No such file or directory
................. CUT (about 140 files)....................
chmod: ./git-rev-parse.1: No such file or directory
chmod: ./git-credential-cache.1: No such file or directory
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/git
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/git


------------------
Few details:
OS: FreeBSD 11.0-RELEASE-p5 amd64
Relative URL: ^/head/devel/git
Revision port: r427879

Without option WRKDIRPREFIX all is OK.
Tried other ports with this option, all work correctly.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list