pkgsrc-Bugs archive

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

Re: pkg/50040: building pkgtools/pkgdepgraph fails on Solaris 11.2



The following reply was made to PR pkg/50040; it has been noted by GNATS.

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/50040: building pkgtools/pkgdepgraph fails on Solaris 11.2
Date: Thu, 9 Jul 2015 17:08:13 +0000

 On Wed, Jul 08, 2015 at 08:40:00AM +0000, joern.clausen%uni-bielefeld.de@localhost wrote:
  > Building pkgtools/pkgdepgraph on Solaris 11.2 fails with:
  > 
  > nroff -man /opt/pkgsrc/pkg-hrz/pkgsrc/pkgtools/pkgdepgraph/work.pkgsrc-sol11i86/pkgdepgraph.1 > /opt/pkgsrc/pkg-hrz/pkgsrc/pkgtools/pkgdepgraph/work.pkgsrc-sol11i86/pkgdepgraph.0
  > gtroff: fatal error: can't find macro file an
  > *** Error code 1
  > 
  > work/.tools/bin/nroff is a symlink to /usr/bin/gnroff
  > 
  > ... which is a symlink to /usr/gnu/bin/nroff
  > 
  > ... which is a shell script calling /usr/bin/groff
  > 
  > Why is *roff called instead of using the preformatted manpage from
  > the files directory in the first place?
 
 .if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX"
         # the pre-generated man-pages are 'mandoc';  these OS need 'man'
         nroff -man ${WRKSRC}/pkgdepgraph.1 > ${WRKSRC}/pkgdepgraph.0
 .endif
 
 I suspect adding a matching USE_TOOLS+=nroff will make it work. Or
 dumping this. (Or making it match only solaris<=10, or something like
 that.)
 
 It is bizarre that any roff shipped in the last 35+ years wouldn't
 understand -man, so I expect the pkgsrc environment is breaking it.
 
  > BTW: Building textproc/groff to get a groff that knows about "-man" fails with
  > 
  > checking that header files support C++... no
  > configure: error: header files do not support C++
  >                    (if you are using a version of gcc/g++ earlier than 2.5,
  >                    you should install libg++)
  > *** Error code 1
 
 charming... can you check config.log?
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index