pkgsrc-Bugs archive

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

Re: pkg/40031 (devel/glib2 depends on textproc/gtk-doc)

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

From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <>
Subject: Re: pkg/40031 (devel/glib2 depends on textproc/gtk-doc)
Date: Mon, 22 Dec 2008 10:30:06 +0100

 Sorry, can you tell me, which revision should contain the fix?
 Anyway: After removing the manually installed package textproc/gtk-doc, 
 (re)installing devel/glib2 still fails with
 -- Installing ./html/tools.html
 -- Installing ./html/up.png
 /usr/local/pkgsrc/pkgsrc-cvs/bin/pdksh: gtkdoc-rebase: not found
 gmake[5]: *** [install-data-local] Error 127
 gmake[5]: Leaving directory 
 gmake[4]: *** [install-am] Error 2
 gmake[4]: Leaving directory 
 gmake[3]: *** [install-recursive] Error 1
 gmake[3]: Leaving directory 
 gmake[2]: *** [install-recursive] Error 1
 gmake[2]: Leaving directory 
 gmake[1]: *** [install-recursive] Error 1
 gmake[1]: Leaving directory 
 gmake: *** [install] Error 2
 *** Error code 2
 Tim Zingelman explained to me, that the real problem is Solaris' 
 /usr/bin/which, which does not set its return code to indicate the 
 requested program not to be found. So the culprit is this line from 
            ! which gtkdoc-rebase >/dev/null 2>&1 || \
              gtkdoc-rebase --relative --dest-dir=$(DESTDIR) 
 --html-dir=$${installdir} ; \
 The code from glib 2.18.0 seems to be better suited for Solaris:
            which gtkdoc-rebase >/dev/null && \
              gtkdoc-rebase --relative --dest-dir=$(DESTDIR) 
 --html-dir=$(DESTDIR)$(TARGET_DIR) ; \

Home | Main Index | Thread Index | Old Index