Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Dec 2016 19:59:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 215200] devel/git: build error with the option WRKDIRPREFIX
Message-ID:  <bug-215200-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215200

            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@FreeBSD.org
          Reporter: mahara.tangata@gmail.com
             Flags: maintainer-feedback?(garga@FreeBSD.org)
          Assignee: garga@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=20
but mount_nullfs -o ro /xxx /usr/ports also work.
2) cd /usr/ports/devel/git
3) make WRKDIRPREFIX=3D/tmp/prt

After some time:
=3D=3D=3D>  Staging for git-2.11.0_3
=3D=3D=3D>   git-2.11.0_3 depends on shared library: libintl.so - found
(/usr/local/lib/libintl.so)
=3D=3D=3D>   Generating temporary packing list
=3D=3D=3D> Creating groups.
=3D=3D=3D> 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=3D'/bin/sh' PERL_PATH=3D''
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=3D"" && \
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 "$@"'\'' -- . {} =
+=20
-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.

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



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