pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/32062: textproc/ja-groff fails install



>Number:         32062
>Category:       pkg
>Synopsis:       textproc/ja-groff fails install
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 13 11:37:00 +0000 2005
>Originator:     NAKAJI Hiroyuki
>Release:        Solaris 11 (x86)
>Organization:
>Environment:
SunOS mokuba.heimat.gr.jp 5.11 snv_23 i86pc i386 i86pc
>Description:
Because jgroff-0.99.diff.gz has some typo, "make install" fails with an error:

install: an-wrap: No such file or directory
install: an.ja-wrap: No such file or directory
install: an.ja_JP.PCK-wrap: No such file or directory
install: an.ja_JP.UTF-8-wrap: No such file or directory
install: ansun-wrap: No such file or directory
install: ansun.ja-wrap: No such file or directory
install: ansun.ja_JP.PCK-wrap: No such file or directory
install: ansun.ja_JP.UTF-8-wrap: No such file or directory
install: bib-wrap: No such file or directory
install: m-wrap: No such file or directory
install: s-wrap: No such file or directory
install: v-wrap: No such file or directory
install: vgrind-wrap: No such file or directory
gmake[2]: *** [install_data] Error 1

I found a file whose name is very looooooooong, "work/groff-1.10/tmac/an an.ja 
an.ja_JP.PCK an.ja_JP.UTF-8 ansun ansun.ja ansun.ja_JP.PCK ansun.ja_JP.UTF-8 
bib m s v vgrind-wrap".

Because of this long name, tmac/an and so on do not exist.

>How-To-Repeat:
# cd /usr/pkgsrc/textproc/ja-groff
# bmake install

>Fix:
Remove extra '"' in tmac/Makefile.sub. I added patches/patch-am to do it. 
Update distinfo please.

--- tmac/Makefile.sub.orig      Sun Nov 13 20:21:42 2005
+++ tmac/Makefile.sub   Sun Nov 13 20:21:43 2005
@@ -53,7 +53,7 @@
 
 stamp-wrap:
        if test -n "$(tmac_wrap)"; then \
-         for m in "$(tmac_wrap)"; do \
+         for m in $(tmac_wrap); do \
            rm -f $$m-wrap; \
            echo .cp 1 >$$m-wrap; \
            echo .so $(sys_tmac_prefix)$$m >>$$m-wrap; \
@@ -63,7 +63,7 @@
 
 uninstall_sub:
        -if test -n "$(tmac_wrap)"; then \
-         for m in "$(tmac_wrap)"; do rm -f $(tmacdir)/tmac.$$m; done; \
+         for m in $(tmac_wrap); do rm -f $(tmacdir)/tmac.$$m; done; \
        fi
        -for f in $(NORMALFILES) $(STRIPFILES); do rm -f $(tmacdir)/$$f; done
        -rm -f $(tmacdir)/tmac.$(tmac_s_prefix)s




Home | Main Index | Thread Index | Old Index