Subject: pkg/33468: [Solaris] Problem with man pages handling in elvis package
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <frederic.touboul@gmail.com>
List: pkgsrc-bugs
Date: 05/12/2006 11:35:00
>Number:         33468
>Category:       pkg
>Synopsis:       [Solaris] Problem with man pages handling in elvis package
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 12 11:35:00 +0000 2006
>Originator:     Frederic Touboul
>Release:        
>Organization:
>Environment:
SunOS basp 5.9 Generic_118558-26 sun4u sparc SUNW,Ultra-250
>Description:
When trying to build an elvis package, the following errors occurs:

-----
===> [Automatic manual page handling]
===========================================================================
Installing files needed by elvis-2.2.0nb1:

        /usr/pkg/etc/elvis/elvis.rc
            [/usr/pkg/share/elvis/elvis.rc]

===========================================================================
/usr/pkg/man/man1/elvfmt.1: No such file or directory
/usr/pkg/man/man1/elvis.1: No such file or directory
/usr/pkg/man/man1/elvtags.1: No such file or directory
/usr/pkg/man/man1/ref.1: No such file or directory
===> Registering installation for elvis-2.2.0nb1
pkg_create: can't stat `/usr/pkg/man/man1/elvfmt.1'
pkg_create: can't stat `/usr/pkg/man/man1/elvis.1'
pkg_create: can't stat `/usr/pkg/man/man1/elvtags.1'
pkg_create: can't stat `/usr/pkg/man/man1/ref.1'
===> Packaging elvis-2.2.0nb1
===> Building binary package for elvis-2.2.0nb1
Creating package /usr/pkgsrc/packages/All/elvis-2.2.0nb1.tgz
Using SrcDir value of /usr/pkg
Registering depends:.
Registering conflicts: elvis-x11[0-9]*.
pkg_create: can't stat `/usr/pkg/man/man1/elvfmt.1'
pkg_create: can't stat `/usr/pkg/man/man1/elvis.1'
pkg_create: can't stat `/usr/pkg/man/man1/elvtags.1'
pkg_create: can't stat `/usr/pkg/man/man1/ref.1'
tar: Unable to access man/man1/elvfmt.1 (No such file or directory)
tar: Unable to access man/man1/elvis.1 (No such file or directory)
tar: Unable to access man/man1/elvtags.1 (No such file or directory)
tar: Unable to access man/man1/ref.1 (No such file or directory)
tar: WARNING! These file names were not selected:
man/man1/elvfmt.1
man/man1/elvis.1
man/man1/elvtags.1
man/man1/ref.1
pkg_create: /usr/pkg/bin/tar command failed with code 1
(pkg_create: exitcode 2)
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/editors/elvis
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/editors/elvis
*** Error code 1

Stop.
-----

It seems that the man page files expected by pkgsrc are:
man/man1/elvfmt.1
man/man1/elvis.1
man/man1/elvtags.1
man/man1/ref.1

whereas the ones created during the build are:
man/manl/elvfmt.1
man/manl/elvis.1
man/manl/elvtags.1
man/manl/ref.1

Using pkgsrc-current from ftp://ftp.netbsd.org/pub/NetBSD/packages/

>How-To-Repeat:
Build the editors/elvis package from pkgsrc
>Fix: