Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Nov 2002 17:50:41 -0800 (PST)
From:      Norihiro KUMAGAI <kumagai@attbi.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/45358: ports japanese/xjman fails while installing
Message-ID:  <200211170150.gAH1ofnG040774@sho3.camas-udon.homeunix.com>

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

>Number:         45358
>Category:       ports
>Synopsis:       ports japanese/xjman fails while installing
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 16 19:00:09 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Norihiro KUMAGAI
>Release:        FreeBSD 5.0-CURRENT-20021110-JPSNAP i386
>Organization:
FreeBSD Japanese manual translation project (jpman)
>Environment:
System: FreeBSD sho3.camas-udon.homeunix.com 5.0-CURRENT-20021110-JPSNAP FreeBSD 5.0-CURRENT-20021110-JPSNAP #8: Mon Nov 11 01:59:03 PST 2002 root@sho3.camas-udon.homeunix.com:/usr/src/sys/i386/compile/PC_MT1 i386


	5.0-CURRENT-2002111-JPSNAP, picked from snapshots.jp.freebsd.org

>Description:

	'make install' fails, as follows:

install -o root -g wheel -m 444 xvidtune.1.gz  /usr/local/man/ja/man1
install -o root -g wheel -m 444 xvinfo.1.gz  /usr/local/man/ja/man1
install -o root -g wheel -m 444 xwd.1.gz  /usr/local/man/ja/man1
install -o root -g wheel -m 444 xwininfo.1.gz  /usr/local/man/ja/man1
install -o root -g wheel -m 444 xwud.1.gz  /usr/local/man/ja/man1
/usr/local/man/ja/man1/atobm.1.gz -> /usr/local/man/ja/man1/bitmap.1x.gz
ln: /usr/local/man/ja/man1/bitmap.1x.gz: No such file or directory
*** Error code 1

Stop in /usr/ports/japanese/xjman/work/xjman/man1.
*** Error code 1

Stop in /usr/ports/japanese/xjman/work/xjman.
*** Error code 1

Stop in /usr/ports/japanese/xjman.

	atobm.1 shuold have been linked to 'bitmap.1.gz', not to 'bitmap.1x.gz'.
	In xjman/man1/Makefile, several insuffcient MLINK definitions are found.

	Note that these MLINK definitions are made from '.so'-only files, 
	it seems to fails to rewrite .so-only files.

	This rewrite occurs in the target 'post-extract'.
	The following sed command seems to be strange.
	-e 's/^(\.so .*)x$$/$$1/'. 
	I feel it would be more suitable to perl. Maybe,
	-e 's/^\(\.so .*\)x$$/\1/' would be better.

>How-To-Repeat:

	cd /usr/ports/japanese/xjman
	make install

>Fix:


--- Makefile-org	Tue Nov  5 11:35:48 2002
+++ Makefile	Sat Nov 16 17:39:34 2002
@@ -33,7 +33,7 @@
 .for sec in ${MANSECS}
 	(cd ${WRKSRC}/man${sec}; \
 	for f in *.${sec}x; do ${CP} $$f $${f%x}; done; \
-	${REINPLACE_CMD} -e 's/^(\.so .*)x$$/$$1/' *.${sec})
+	${REINPLACE_CMD} -e 's/^\(\.so .*\)x$$/\1/' *.${sec})
 .endfor
 
 post-build:

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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