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



  .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.)

I removed the two occurrences of '${OPSYS} == "SunOS"' and the package now builds for me. And "man pkgdepgraph" shows a readable man-page.

  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.

Maybe, in a way...

There is /usr/share/lib/tmac/an which seems to be found by Solaris' "/usr/bin/nroff" (which is probably the native SysV thing), and there is /usr/share/groff/1.19.2/tmac/an-old.tmac, which seems to be used by the preinstalled groff.

As I wrote earlier, the toolwrapper decides to use /usr/bin/gnroff as nroff and so ends up using groff.

OTOH, "/usr/bin/nroff -man files/pkgdepgraph.1" does not result in a formatted man-page, just a block of aligned text.

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

I'll open a separate PR...

--
Jörn Clausen
Plattformen & Serverdienste
Hochschulrechenzentrum

Universität Bielefeld
Universitätsstraße 25
33615 Bielefeld
Telefon: +49 521 106-12601
E-Mail: joern.clausen%uni-bielefeld.de@localhost

http://www.uni-bielefeld.de/hrz


Home | Main Index | Thread Index | Old Index