pkgsrc-Bugs archive

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

pkg/32966: textproc/groff PLIST problem



>Number:         32966
>Category:       pkg
>Synopsis:       textproc/groff PLIST problem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 02 12:35:00 +0000 2006
>Originator:     Neil Hoggarth
>Release:        Solaris 9
>Organization:
University of Oxford
>Environment:
SunOS saros 5.9 Generic_118558-19 sun4u sparc SUNW,Ultra-30
>Description:
groff-1.19.2nb2 does not install cleanly. The problem appears to be that
the install phase installs a number of files with a "g" prefix, presumably
to prevent name clashes with system native utilities ("geqn" rather than 
"eqn", "gnroff" rather than "nroff", etc), whereas the PLIST seems to 
assume that the names will *not* be prefixed. This leads to the following 
errors on "bmake install", and prevents "bmake package" from finding
all the files it expects.

===> [Automatic manual page handling]
/usr/pkg/bin/eqn: No such file or directory
/usr/pkg/bin/grn: No such file or directory
/usr/pkg/bin/indxbib: No such file or directory
/usr/pkg/bin/lookbib: No such file or directory
/usr/pkg/bin/neqn: No such file or directory
/usr/pkg/bin/nroff: No such file or directory
/usr/pkg/bin/pic: No such file or directory
/usr/pkg/bin/refer: No such file or directory
/usr/pkg/bin/soelim: No such file or directory
/usr/pkg/bin/tbl: No such file or directory
/usr/pkg/bin/troff: No such file or directory
/usr/pkg/man/man1/eqn.1: No such file or directory
/usr/pkg/man/man1/grn.1: No such file or directory
/usr/pkg/man/man1/indxbib.1: No such file or directory
/usr/pkg/man/man1/lookbib.1: No such file or directory
/usr/pkg/man/man1/neqn.1: No such file or directory
/usr/pkg/man/man1/nroff.1: No such file or directory
/usr/pkg/man/man1/pic.1: No such file or directory
/usr/pkg/man/man1/refer.1: No such file or directory
/usr/pkg/man/man1/soelim.1: No such file or directory
/usr/pkg/man/man1/tbl.1: No such file or directory
/usr/pkg/man/man1/troff.1: No such file or directory
/usr/pkg/share/groff/1.19.2/tmac/an.tmac: No such file or directory
/usr/pkg/share/groff/1.19.2/tmac/m.tmac: No such file or directory
/usr/pkg/share/groff/1.19.2/tmac/mm.tmac: No such file or directory
/usr/pkg/share/groff/1.19.2/tmac/mmse.tmac: No such file or directory
/usr/pkg/share/groff/1.19.2/tmac/mse.tmac: No such file or directory
/usr/pkg/share/groff/1.19.2/tmac/s.tmac: No such file or directory
===> Registering installation for groff-1.19.2nb2
pkg_create: can't stat `/usr/pkg/bin/eqn'
pkg_create: can't stat `/usr/pkg/bin/grn'
pkg_create: can't stat `/usr/pkg/bin/indxbib'
pkg_create: can't stat `/usr/pkg/bin/lookbib'
pkg_create: can't stat `/usr/pkg/bin/neqn'
pkg_create: can't stat `/usr/pkg/bin/nroff'
pkg_create: can't stat `/usr/pkg/bin/pic'
pkg_create: can't stat `/usr/pkg/bin/refer'
pkg_create: can't stat `/usr/pkg/bin/soelim'
pkg_create: can't stat `/usr/pkg/bin/tbl'
pkg_create: can't stat `/usr/pkg/bin/troff'
pkg_create: can't stat `/usr/pkg/man/man1/eqn.1'
pkg_create: can't stat `/usr/pkg/man/man1/grn.1'
pkg_create: can't stat `/usr/pkg/man/man1/indxbib.1'
pkg_create: can't stat `/usr/pkg/man/man1/lookbib.1'
pkg_create: can't stat `/usr/pkg/man/man1/neqn.1'
pkg_create: can't stat `/usr/pkg/man/man1/nroff.1'
pkg_create: can't stat `/usr/pkg/man/man1/pic.1'
pkg_create: can't stat `/usr/pkg/man/man1/refer.1'
pkg_create: can't stat `/usr/pkg/man/man1/soelim.1'
pkg_create: can't stat `/usr/pkg/man/man1/tbl.1'
pkg_create: can't stat `/usr/pkg/man/man1/troff.1'
pkg_create: can't stat `/usr/pkg/share/groff/1.19.2/tmac/an.tmac'
pkg_create: can't stat `/usr/pkg/share/groff/1.19.2/tmac/m.tmac'
pkg_create: can't stat `/usr/pkg/share/groff/1.19.2/tmac/mm.tmac'
pkg_create: can't stat `/usr/pkg/share/groff/1.19.2/tmac/mmse.tmac'
pkg_create: can't stat `/usr/pkg/share/groff/1.19.2/tmac/mse.tmac'
pkg_create: can't stat `/usr/pkg/share/groff/1.19.2/tmac/s.tmac'
groff-1.19.2nb2 requires installed package gcc3-c++-3.3.5nb1
groff-1.19.2nb2 requires installed package gcc3-c-3.3.5nb1
groff-1.19.2nb2 requires installed package ghostscript-gnu-8.15nb1
groff-1.19.2nb2 requires installed package netpbm-10.32
groff-1.19.2nb2 requires installed package perl-5.8.7nb8
groff-1.19.2nb2 requires installed package pkg_install-info-4.5nb3
groff-1.19.2nb2 requires installed package psutils-1.17nb1

>How-To-Repeat:
cd /usr/pkgsrc/textproc/groff && bmake clean && bmake install

>Fix:
This diff illustrates the manual changes that I maked to the PLIST in
order to get the package to install/deinstall/package cleanly:

--- PLIST.~1.9.~        Wed Dec  7 17:51:51 2005
+++ PLIST       Thu Mar  2 12:16:51 2006
@@ -1,11 +1,11 @@
 @comment $NetBSD: PLIST,v 1.9 2005/12/07 17:51:51 wiz Exp $
 bin/addftinfo
 bin/afmtodit
-bin/eqn
+bin/geqn
 bin/eqn2graph
 bin/gdiffmk
 bin/grap2graph
-bin/grn
+bin/ggrn
 bin/grodvi
 bin/groff
 bin/groffer
@@ -15,31 +15,31 @@
 bin/grops
 bin/grotty
 bin/hpftodit
-bin/indxbib
+bin/gindxbib
 bin/lkbib
-bin/lookbib
+bin/glookbib
 bin/mmroff
-bin/neqn
-bin/nroff
+bin/gneqn
+bin/gnroff
 bin/pdfroff
 bin/pfbtops
-bin/pic
+bin/gpic
 bin/pic2graph
 bin/post-grohtml
 bin/pre-grohtml
-bin/refer
-bin/soelim
-bin/tbl
+bin/grefer
+bin/gsoelim
+bin/gtbl
 bin/tfmtodit
-bin/troff
+bin/gtroff
 lib/groff/groffer/groffer2.sh
 man/man1/addftinfo.1
 man/man1/afmtodit.1
-man/man1/eqn.1
+man/man1/geqn.1
 man/man1/eqn2graph.1
 man/man1/gdiffmk.1
 man/man1/grap2graph.1
-man/man1/grn.1
+man/man1/ggrn.1
 man/man1/grodvi.1
 man/man1/groff.1
 man/man1/groffer.1
@@ -50,21 +50,21 @@
 man/man1/grops.1
 man/man1/grotty.1
 man/man1/hpftodit.1
-man/man1/indxbib.1
+man/man1/gindxbib.1
 man/man1/lkbib.1
-man/man1/lookbib.1
+man/man1/glookbib.1
 man/man1/mmroff.1
-man/man1/neqn.1
-man/man1/nroff.1
+man/man1/gneqn.1
+man/man1/gnroff.1
 man/man1/pdfroff.1
 man/man1/pfbtops.1
-man/man1/pic.1
+man/man1/gpic.1
 man/man1/pic2graph.1
-man/man1/refer.1
-man/man1/soelim.1
-man/man1/tbl.1
+man/man1/grefer.1
+man/man1/gsoelim.1
+man/man1/gtbl.1
 man/man1/tfmtodit.1
-man/man1/troff.1
+man/man1/gtroff.1
 man/man5/groff_font.5
 man/man5/groff_out.5
 man/man5/groff_tmac.5
@@ -407,7 +407,7 @@
 share/groff/${PKGVERSION}/tmac/Xps.tmac
 share/groff/${PKGVERSION}/tmac/a4.tmac
 share/groff/${PKGVERSION}/tmac/an-old.tmac
-share/groff/${PKGVERSION}/tmac/an.tmac
+share/groff/${PKGVERSION}/tmac/gan.tmac
 share/groff/${PKGVERSION}/tmac/andoc.tmac
 share/groff/${PKGVERSION}/tmac/composite.tmac
 share/groff/${PKGVERSION}/tmac/cp1047.tmac
@@ -428,7 +428,7 @@
 share/groff/${PKGVERSION}/tmac/latin9.tmac
 share/groff/${PKGVERSION}/tmac/lbp.tmac
 share/groff/${PKGVERSION}/tmac/lj4.tmac
-share/groff/${PKGVERSION}/tmac/m.tmac
+share/groff/${PKGVERSION}/tmac/gm.tmac
 share/groff/${PKGVERSION}/tmac/man.tmac
 share/groff/${PKGVERSION}/tmac/mandoc.tmac
 share/groff/${PKGVERSION}/tmac/mdoc.tmac
@@ -437,7 +437,7 @@
 share/groff/${PKGVERSION}/tmac/mdoc/doc-nroff
 share/groff/${PKGVERSION}/tmac/mdoc/doc-syms
 share/groff/${PKGVERSION}/tmac/me.tmac
-share/groff/${PKGVERSION}/tmac/mm.tmac
+share/groff/${PKGVERSION}/tmac/gmm.tmac
 share/groff/${PKGVERSION}/tmac/mm/0.MT
 share/groff/${PKGVERSION}/tmac/mm/4.MT
 share/groff/${PKGVERSION}/tmac/mm/5.MT
@@ -445,10 +445,10 @@
 share/groff/${PKGVERSION}/tmac/mm/ms.cov
 share/groff/${PKGVERSION}/tmac/mm/se_locale
 share/groff/${PKGVERSION}/tmac/mm/se_ms.cov
-share/groff/${PKGVERSION}/tmac/mmse.tmac
+share/groff/${PKGVERSION}/tmac/gmmse.tmac
 share/groff/${PKGVERSION}/tmac/mom.tmac
 share/groff/${PKGVERSION}/tmac/ms.tmac
-share/groff/${PKGVERSION}/tmac/mse.tmac
+share/groff/${PKGVERSION}/tmac/gmse.tmac
 share/groff/${PKGVERSION}/tmac/om.tmac
 share/groff/${PKGVERSION}/tmac/papersize.tmac
 share/groff/${PKGVERSION}/tmac/pdfmark.tmac
@@ -457,7 +457,7 @@
 share/groff/${PKGVERSION}/tmac/psatk.tmac
 share/groff/${PKGVERSION}/tmac/psold.tmac
 share/groff/${PKGVERSION}/tmac/pspic.tmac
-share/groff/${PKGVERSION}/tmac/s.tmac
+share/groff/${PKGVERSION}/tmac/gs.tmac
 share/groff/${PKGVERSION}/tmac/safer.tmac
 share/groff/${PKGVERSION}/tmac/spdf.tmac
 share/groff/${PKGVERSION}/tmac/trace.tmac





Home | Main Index | Thread Index | Old Index