Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2012 05:53:11 GMT
From:      Seiji Ohashi <sayzbrdg@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/173437: japanese/ddskk installation fails
Message-ID:  <201211070553.qA75rBkg058575@red.freebsd.org>
Resent-Message-ID: <201211070600.qA7601bV005793@freefall.freebsd.org>

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

>Number:         173437
>Category:       ports
>Synopsis:       japanese/ddskk installation fails
>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:   Wed Nov 07 06:00:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Seiji Ohashi
>Release:        FreeBSD 9.1-PRERELEASE amd64
>Organization:
>Environment:
daisy.pa.crunchfuzz.net 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #60: Sat Oct 20 17:42:07 JST 2012 sayz@daisy.pa.crunchfuzz.net:/usr/obj/usr/src/sys/DAISY amd64
>Description:
ddskk installation fails, if "/usr/local/share/info" directory exists.
The reason for the failure, that directory priority is higher than "/usr/local/info" directory.

make install log:
skk.info -> /usr/local/share/info

Wrote /usr/local/share/info/dir
Wrote /usr/local/share/info/dir
install  -o root -g wheel -m 444 /usr/ports/japanese/ddskk/work/ddskk-14.3/skk-jisx0213.el /usr/local/share/emacs/24.2/site-lisp/skk
install  -o root -g wheel -m 444 /usr/ports/japanese/ddskk/work/ddskk-14.3/skk-lookup.el /usr/local/share/emacs/24.2/site-lisp/skk
/bin/mkdir -p /usr/local/share/doc/ddskk
install  -o root -g wheel -m 444 /usr/ports/japanese/ddskk/work/ddskk-14.3/READMEs/AUTHORS.ja /usr/local/share/doc/ddskk
install  -o root -g wheel -m 444 /usr/ports/japanese/ddskk/work/ddskk-14.3/READMEs/CODENAME.ja /usr/local/share/doc/ddskk
install  -o root -g wheel -m 444 /usr/ports/japanese/ddskk/work/ddskk-14.3/READMEs/Contributors /usr/local/share/doc/ddskk
install  -o root -g wheel -m 444 /usr/ports/japanese/ddskk/work/ddskk-14.3/READMEs/FAQ.ja /usr/local/share/doc/ddskk
install  -o root -g wheel -m 444 /usr/ports/japanese/ddskk/work/ddskk-14.3/READMEs/NEWS.ja /usr/local/share/doc/ddskk
install  -o root -g wheel -m 444 /usr/ports/japanese/ddskk/work/ddskk-14.3/READMEs/README /usr/local/share/doc/ddskk
/bin/mkdir -p /usr/local/share/examples/ddskk
install  -o root -g wheel -m 444        /usr/ports/japanese/ddskk/work/ddskk-14.3/etc/Emacs.ad /usr/local/share/examples/ddskk
install  -o root -g wheel -m 444        /usr/ports/japanese/ddskk/work/ddskk-14.3/etc/dot.emacs /usr/local/share/examples/ddskk
install  -o root -g wheel -m 444        /usr/ports/japanese/ddskk/work/ddskk-14.3/etc/dot.skk /usr/local/share/examples/ddskk
install-info --quiet /usr/local/info/skk.info /usr/local/info/dir
install-info: No such file or directory for /usr/local/info/skk.info
*** [add-plist-info] Error code 1

Stop in /usr/ports/japanese/ddskk.
*** [/usr/ports/japanese/ddskk/work/.install_done.ddskk._usr_local] Error code 1

>How-To-Repeat:
mkdir -p /usr/local/share/info
cd /usr/port/japanese/ddskk
make install
>Fix:


Patch attached with submission follows:

diff -ur ddskk.orig/Makefile ddskk/Makefile
--- ddskk.orig/Makefile	2012-09-05 02:05:43.000000000 +0900
+++ ddskk/Makefile	2012-11-07 14:31:18.000000000 +0900
@@ -7,7 +7,7 @@
 
 PORTNAME=	ddskk
 PORTVERSION=	14.3
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	japanese elisp
 MASTER_SITES=	http://openlab.ring.gr.jp/skk/maintrunk/ \
 		ftp://ftp.ring.gr.jp/pub/elisp/skk/maintrunk/ \
@@ -26,7 +26,7 @@
 PORTEXAMPLES=	Emacs.ad dot.emacs dot.skk
 
 ALL_TARGET=	elc info
-MAKE_ARGS+=	SKK_LISPDIR=${PREFIX}/${SKK_LISPDIR}
+MAKE_ARGS+=	SKK_LISPDIR=${PREFIX}/${SKK_LISPDIR} SKK_INFODIR=${PREFIX}/${INFO_PATH}
 
 pre-install:
 	# required for non-standard PREFIX
diff -ur ddskk.orig/files/patch-Makefile ddskk/files/patch-Makefile
--- ddskk.orig/files/patch-Makefile	2011-09-27 03:04:43.000000000 +0900
+++ ddskk/files/patch-Makefile	2012-11-07 01:41:36.000000000 +0900
@@ -5,7 +5,7 @@
  EMACS	  = emacs
  ETAGS	  = etags
 -FLAGS     = -batch -q -no-site-file -l SKK-MK
-+FLAGS     = -batch -q -no-site-file --eval '(setq PREFIX "${PREFIX}")' --eval '(setq SKK_LISPDIR "${SKK_LISPDIR}")' -l SKK-MK
++FLAGS     = -batch -q -no-site-file --eval '(setq PREFIX "${PREFIX}")' --eval '(setq SKK_LISPDIR "${SKK_LISPDIR}")' --eval '(setq SKK_INFODIR "${SKK_INFODIR}")' -l SKK-MK
  GZIP      = gzip -9
  MD5	  = md5
  RM	  = /bin/rm -f


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



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