Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 2002 05:19:21 -0400 (EDT)
From:      parv <parv@pair.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/38602: x11-wm/tvtwm is confused about PREFIX
Message-ID:  <20020527091921.0577450CCE@moo.holy.cow>

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

>Number:         38602
>Category:       ports
>Synopsis:       x11-wm/tvtwm is confused about PREFIX
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 27 02:20:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     parv
>Release:        FreeBSD 4.6-RC i386
>Organization:
>Environment:
System: FreeBSD moo.holy.cow 4.6-RC



>Description:

x11-wm/tvtwm port creates plist w/ $PREFIX but does not install there...

===>  Installing for tvtwm-pl11
===>   tvtwm-pl11 depends on executable: mkhtmlindex - found
/usr/bin/install -c -s  tvtwm /usr/X11R6/bin/tvtwm
install in . done
+ /usr/bin/install -c -m 0444 tvtwm.1.html /usr/X11R6/lib/X11/doc/html/tvtwm.1.html
rm -f /usr/X11R6/man/man1/tvtwm.1*
/usr/bin/install -c -m 0444 tvtwm._man  /usr/X11R6/man/man1/tvtwm.1
gzip -n /usr/X11R6/man/man1/tvtwm.1
install.man in . done
===>   Generating temporary packing list
===>   Registering installation for tvtwm-pl11
===>  Building package for tvtwm-pl11
tar: can't add file man/man1/tvtwm.1.gz : No such file or directory
tar: can't add file lib/X11/doc/html/tvtwm.1.html : No such file or directory
tar: can't add file bin/tvtwm : No such file or directory
pkg_create: make_dist: tar command failed with code 256
Creating package /source/ports/x11-wm/tvtwm/tvtwm-pl11.tgz


i specified PREFIX=/usr/X11R6/wm/tvtwm...

#  pkg_info -L /var/db/pkg/tvtwm-pl11/+CONTENTS | fgrep /usr
/usr/X11R6/wm/tvtwm/man/man1/tvtwm.1.gz
/usr/X11R6/wm/tvtwm/lib/X11/doc/html/tvtwm.1.html
/usr/X11R6/wm/tvtwm/bin/tvtwm

#  pkg_info -L /var/db/pkg/tvtwm-pl11/+CONTENTS | fgrep /usr | xargs ls -l
ls: /usr/X11R6/wm/tvtwm/bin/tvtwm: No such file or directory
ls: /usr/X11R6/wm/tvtwm/lib/X11/doc/html/tvtwm.1.html: No such file or directory
ls: /usr/X11R6/wm/tvtwm/man/man1/tvtwm.1.gz: No such file or directory

#  pkg_info -L /var/db/pkg/tvtwm-pl11/+CONTENTS | fgrep /usr | sed 's#wm/tvtwm/##' | xargs ls -l
-rwxr-xr-x  1 root  wheel  181544 May 27 05:00 /usr/X11R6/bin/tvtwm
-r--r--r--  1 root  wheel   90744 May 27 05:00 /usr/X11R6/lib/X11/doc/html/tvtwm.1.html
-r--r--r--  1 root  wheel   22421 May 27 05:00 /usr/X11R6/man/man1/tvtwm.1.gz

>How-To-Repeat:

try to create package w/ PREFIX other than /usr/X11R6.  or, after
installing w/ alternative PREFIX, run the following command to see
error message like above...

pkg_info -L /var/db/pkg/tvtwm-pl11/+CONTENTS | \
fgrep /usr | xargs ls -l

>Fix:

>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?20020527091921.0577450CCE>