pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/51896: make package of groff fails with options -x11 -groff-docs
>Number: 51896
>Category: pkg
>Synopsis: make package of groff fails with options -x11 -groff-docs
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 17 02:30:00 +0000 2017
>Originator: Hiroshi Hakoyama
>Release: pkgsrc
>Organization:
FRA
>Environment:
SunOS ec21 5.10 Generic_147147-26 sun4u sparc SUNW,Sun-Blade-1000
>Description:
groff with options -x11 -groff-docs can build on Solaris 10.
But, can not install.
# cd /usr/pkgsrc/textproc/groff
# bmake
# bmake package
....
=> Automatic manual page handling
pkg_create: can't stat `/usr/pkgsrc/textproc/groff/work/.destdir/usr/pkg/share/doc/groff-1.22.3/examples/mom/letter.pdf'
pkg_create: can't stat `/usr/pkgsrc/textproc/groff/work/.destdir/usr/pkg/share/doc/groff-1.22.3/examples/mom/mom-pdf.pdf'
pkg_create: can't stat `/usr/pkgsrc/textproc/groff/work/.destdir/usr/pkg/share/doc/groff-1.22.3/examples/mom/sample_docs.pdf'
pkg_create: can't stat `/usr/pkgsrc/textproc/groff/work/.destdir/usr/pkg/share/doc/groff-1.22.3/examples/mom/typesetting.pdf'
pkg_create: can't stat `/usr/pkgsrc/textproc/groff/work/.destdir/usr/pkg/share/doc/groff-1.22.3/pdf/mom-pdf.pdf'
=> Creating binary package /usr/pkgsrc/textproc/groff/work/.packages/groff-1.22.3nb4.tgz
pkg_create: can't stat `/usr/pkgsrc/textproc/groff/work/.destdir/usr/pkg/share/doc/groff-1.22.3/examples/mom/letter.pdf'
pkg_create: can't stat `/usr/pkgsrc/textproc/groff/work/.destdir/usr/pkg/share/doc/groff-1.22.3/examples/mom/mom-pdf.pdf'
pkg_create: can't stat `/usr/pkgsrc/textproc/groff/work/.destdir/usr/pkg/share/doc/groff-1.22.3/examples/mom/sample_docs.pdf'
pkg_create: can't stat `/usr/pkgsrc/textproc/groff/work/.destdir/usr/pkg/share/doc/groff-1.22.3/examples/mom/typesetting.pdf'
pkg_create: can't stat `/usr/pkgsrc/textproc/groff/work/.destdir/usr/pkg/share/doc/groff-1.22.3/pdf/mom-pdf.pdf'
pkg_create: lstat failed for file share/doc/groff-1.22.3/examples/mom/letter.pdf: No such file or directory
mv: /usr/pkgsrc/textproc/groff/work/.packages/groff-1.22.3nb4.tmp.tgz を使用できません。
*** Error code 2
Stop.
bmake[1]: stopped in /usr/pkgsrc/textproc/groff
*** Error code 1
my mk.conf is:
.ifdef BSD_PKG_MK # begin pkgsrc settings
ABI= 32
PKGSRC_COMPILER= gcc
GCCBASE= /usr/pkg/gcc49
PKG_DBDIR= /usr/pkg/pkgdb
LOCALBASE= /usr/pkg
VARBASE= /var
PKG_TOOLS_BIN= /usr/pkg/sbin
PKGINFODIR= info
PKGMANDIR= man
TOOLS_PLATFORM.install?= ${LOCALBASE}/bin/bsdinstall
TOOLS_PLATFORM.awk?= ${LOCALBASE}/bin/nawk
TOOLS_PLATFORM.sed?= ${LOCALBASE}/bin/nbsed
# TOOLS_PLATFORM.sh?= /usr/bin/bash
TOOLS_PLATFORM.sh?= ${LOCALBASE}/bin/bash
CONFIG_SHELL= ${LOCALBASE}/bin/bash
WRAPPER_SHELL= ${LOCALBASE}/bin/bash
TOOLS_PLATFORM.ar= /usr/ccs/bin/ar
TOOLS_PLATFORM.nm= /usr/ccs/bin/nm
TOOLS_PLATFORM.ranlib= /usr/ccs/bin/ranlib
USE_TOOLS+= ar nm ranlib
TOOLS_PLATFORM.flex?= ${LOCALBASE}/bin/flex
TOOLS_PLATFORM.lex?= ${LOCALBASE}/bin/flex
TOOLS_PLATFORM.find?= ${LOCALBASE}/bin/gfind
# CFLAGS+= -O2
CFLAGS+= -O3 -mcpu=ultrasparc3 -mtune=ultrasparc3
CXXFLAGS+= -O3 -mcpu=ultrasparc3 -mtune=ultrasparc3
DBG= # prevent DBG from adding default optimizer flags
# gcc49
PKG_OPTIONS.gcc49= gcc-c++ -gcc-fortran -gcc-go gcc-inplace-math -gcc-objc -gcc-objc++
# gcc5
X11_TYPE= modular
USE_INET6= no
PKG_OPTIONS.xz= -nls
PKG_OPTIONS.cvs = -kerberos
PKG_OPTIONS.groff= -x11 -groff-docs
PKG_OPTIONS.gd= -x11
IS_BUILTIN.zlib= yes
USE_BUILTIN.zlib= no
PREFER.zlib= pkgsrc
USE_BUILTIN.bzip2= no
PREFER.bzip2= pkgsrc
USE_BZIP2= yes
ACCEPTABLE_LICENSES+=vim-license
.endif # end pkgsrc settings
>How-To-Repeat:
in mk.conf, add
PKG_OPTIONS.groff= -x11 -groff-docs
# cd /usr/pkgsrc/textproc/groff
# bmake package
>Fix:
There are missing pdf files that defined in PLIST:
share/doc/${PKGNAME}/examples/mom/letter.pdf
share/doc/${PKGNAME}/examples/mom/mom-pdf.pdf
share/doc/${PKGNAME}/examples/mom/sample_docs.pdf
share/doc/${PKGNAME}/examples/mom/typesetting.pdf
share/doc/${PKGNAME}/pdf/mom-pdf.pdf
A workaround is to edit these lines.
Home |
Main Index |
Thread Index |
Old Index