Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Nov 2010 19:44:23 -0700 (PDT)
From:      Raphael Kubo da Costa <kubito@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/151929: [PATCH] devel/mercurial 1.7 fails to install
Message-ID:  <4cd21e07.0837640a.5e20.27aa@mx.google.com>
Resent-Message-ID: <201011040250.oA42o7uf047488@freefall.freebsd.org>

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

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4cd21e07.0837640a.5e20.27aa>