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?= <joern%uni-bielefeld.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: wiz%NetBSD.org@localhost
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
`/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/devel/glib2/work.spare4200/glib-2.18.3/docs/reference/glib'
gmake[4]: *** [install-am] Error 2
gmake[4]: Leaving directory
`/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/devel/glib2/work.spare4200/glib-2.18.3/docs/reference/glib'
gmake[3]: *** [install-recursive] Error 1
gmake[3]: Leaving directory
`/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/devel/glib2/work.spare4200/glib-2.18.3/docs/reference'
gmake[2]: *** [install-recursive] Error 1
gmake[2]: Leaving directory
`/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/devel/glib2/work.spare4200/glib-2.18.3/docs'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory
`/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/devel/glib2/work.spare4200/glib-2.18.3'
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
glib-2.18.3/docs/reference/glib/Makefile:
! 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