ports/151929: [PATCH] devel/mercurial 1.7 fails to install

Raphael Kubo da Costa kubito at gmail.com
Thu Nov 4 02:50:08 UTC 2010


>Number:         151929
>Category:       ports
>Synopsis:       [PATCH] devel/mercurial 1.7 fails to 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:   Thu Nov 04 02:50:07 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Raphael Kubo da Costa
>Release:        FreeBSD 8.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD gibbon 8.1-STABLE FreeBSD 8.1-STABLE #17: Tue Oct 19 17:12:37 BRST 2010 root at gibbon:/usr/obj/usr/src/sys/GIBBON amd64
>Description:
devel/mercurial fails when executing the 'install' target:

for f in bash_completion  convert-repo  debugshell.py  dumprevlog  hg-ssh  hgfixes/__init__.py  hgfixes/fix_bytes.py  hgfixes/fix_bytesmod.py  hgfixes/fix_leftover_imports.py  hgk  logo-droplets.svg  memory.py  mercurial.el  mergetools.hgrc  mq.el  perf.py  pylintrc  python-hook-examples.py  sample.hgrc  setup3k.py  shrink-revlog.py  simplemerge  tcsh_completion  tcsh_completion_build.sh  tmplrewrite.py  undumprevlog  zsh_completion  hgsh/Makefile  hgsh/hgsh.c  vim/HGAnnotate.vim  vim/hg-menu.vim  vim/hgcommand.vim  vim/hgtest.vim  vim/patchreview.txt  vim/patchreview.vim; do  /bin/cp -p /usr/ports/devel/mercurial/work/mercurial-1.7/contrib/${f} /usr/local/share/mercurial/contrib/${f};  done
cp: /usr/local/share/mercurial/contrib/hgfixes/__init__.py: No such file or directory
*** Error code 1

Stop in /usr/ports/devel/mercurial.
>How-To-Repeat:
	cd /usr/ports/devel/mercurial && make && make install
>Fix:
	The diff below should fix the issue.

--- fix-mercurial-1.7-install begins here ---
diff -uprN /usr/ports/devel/mercurial~/Makefile /usr/ports/devel/mercurial/Makefile
--- /usr/ports/devel/mercurial~/Makefile 2010-11-03 20:20:33.000000000 -0200
+++ /usr/ports/devel/mercurial/Makefile  2010-11-04 00:42:39.000000000 -0200
@@ -85,6 +85,7 @@ post-install:
 .if !defined(NOPORTDATA)
        ${MKDIR} ${DATADIR}
        ${MKDIR} ${DATADIR}/contrib
+       ${MKDIR} ${DATADIR}/contrib/hgfixes
        ${MKDIR} ${DATADIR}/contrib/hgsh
        ${MKDIR} ${DATADIR}/contrib/vim
        for f in ${CONTRIB_FILES}; do \
--- fix-mercurial-1.7-install ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list