pkgsrc-Bugs archive

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

Re: pkg/43915 (devel/doxygen fails to install)

On 12/25/11 02:15 AM, David Holland wrote:
  Unless you've disabled destdirs (which have been the default for a
  while now) you can test it safely by making stage-install. You can
  theoretically do this as a non-root user, too, although there are some
  signs in the package makefile that it may not work that way.

On NetBSD as root, "make stage-install" seems to work fine. On Solaris 10 as an unprivileged user, creating the PDF version of the manual fails:

Generating image form_6.png for formula
Generating image form_7.png for formula
gmake[1]: Leaving directory `/pkgsrc/source/pkgsrc/devel/doxygen/work.pkgsrc-i86/doxygen-1.6.3/doc' cp -r examples /pkgsrc/source/pkgsrc/devel/doxygen/work.pkgsrc-i86/.destdir//usr/pkgsrc/20110926/share/doc/doxygen cp -r html /pkgsrc/source/pkgsrc/devel/doxygen/work.pkgsrc-i86/.destdir//usr/pkgsrc/20110926/share/doc/doxygen
=> Automatic manual page handling
pkg_create: can't stat `/pkgsrc/source/pkgsrc/devel/doxygen/work.pkgsrc-i86/.destdir/usr/pkgsrc/20110926/share/doc/doxygen/doxygen_manual.pdf'

Right after "Leaving directory ...", on NetBSD comes

/usr/pkg/bin/gmake -C latex

which is completely missing on Solaris.

Maybe someone who is building pkgsrc on NetBSD as unprivileged user can check if this is "NetBSD vs. Solaris" or "root vs. unprivileged user".

On a side note: Would the destdir framework detect that something is missing on Solaris and refuse to install this package for real?

 Jörn Clausen                    
 Universität Bielefeld

Home | Main Index | Thread Index | Old Index