After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 571300 - Gnome-Doc-Utils check is silent (Origanly a GTK-Doc issue)
Gnome-Doc-Utils check is silent (Origanly a GTK-Doc issue)
Status: RESOLVED FIXED
Product: gnome-doc-utils
Classification: Deprecated
Component: build utils
0.16.x
Other All
: Normal normal
: ---
Assigned To: gnome-doc-utils maintainers
gnome-doc-utils maintainers
Depends on:
Blocks:
 
 
Reported: 2009-02-11 12:52 UTC by William Immendorf
Modified: 2009-08-04 18:34 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
Check fix for gnome-doc-utils (785 bytes, patch)
2009-06-07 15:17 UTC, William Immendorf
none Details | Review

Description William Immendorf 2009-02-11 12:52:35 UTC
Please describe the problem:
Trying to run configure without Gnome-Doc-Utils yeilds this:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: error: gnome-doc-utils >= 0.3.2 not found

For some reason (plob. a bug), a "checking for gnome-doc-utils >= 0.3.2" message does not appear. I ran this on a real 6.4 LFS system with all the other deps installed. Another LFSer noted, that at line 2626, the check is there, but no message. Hmmph, reporting upstream. Mabe a modifaction to configure?

Steps to reproduce:
1. Just run configure without gnome-doc-utils.


Actual results:
This happened:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: error: gnome-doc-utils >= 0.3.2 not found

Expected results:
Expecting this message to pop up near the gnome-doc-utils check error message:

checking for gnome-doc-utils >= 0.3.2... no

Does this happen every time?
Yes, unless I install gnome-doc-utils.

Other information:
Be sure to alter configure.in and regenerate configure!
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2009-02-13 21:06:30 UTC
This needs to be fixed in GNOME_DOC_INIT from gnome-doc-utils.
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2009-02-13 21:14:43 UTC
something like this pseude-patch (PKG_CHECK_EXISTS is the silent version that also sets no vars).

  AC_DEFUN([GNOME_DOC_INIT],
  [
  ifelse([$1],,[gdu_cv_version_required=0.3.2],[gdu_cv_version_required=$1])
  
+ AC_MSG_CHECKING([gnome-doc-utils >= $gdu_cv_version_required])
  PKG_CHECK_EXISTS([gnome-doc-utils >= $gdu_cv_version_required],
	  [gdu_cv_have_gdu=yes],[gdu_cv_have_gdu=no])
  
  if test "$gdu_cv_have_gdu" = "yes"; then
+         AC_MSG_RESULT([yes])
	  ifelse([$2],,[:],[$2])
  else
+         AC_MSG_RESULT([no])
	  ifelse([$3],,[AC_MSG_ERROR([gnome-doc-utils >= $gdu_cv_version_required   not found])],[$3])
  fi
  
  GNOME_DOC_DEFINES
  ])
Comment 3 William Immendorf 2009-03-15 19:51:55 UTC
REMEMBER: This is a GTK-Doc issue, not a gnome-doc-utils issue.
Comment 4 Stefan Sauer (gstreamer, gtkdoc dev) 2009-03-15 21:59:27 UTC
William, it is not. The bahaviour you arking for would require changes in a m4 file that is part of gnome-doc-utils.

Please care to explain why you think otherwise
Comment 5 William Immendorf 2009-03-15 22:07:03 UTC
(In reply to comment #4)
> William, it is not. The bahaviour you arking for would require changes in a m4
> file that is part of gnome-doc-utils.
> 
> Please care to explain why you think otherwise
> 
Oops, diddn't see that. I thought otherwise because of that you said gibbersh when you moved it as a gnome-doc-utils issue.
Comment 6 William Immendorf 2009-05-31 22:53:28 UTC
This still applies to 2.26. Please fix this issue soon.
Comment 7 William Immendorf 2009-06-07 15:17:36 UTC
Created attachment 136093 [details] [review]
Check fix for gnome-doc-utils

This is a patch that fixes the bug. Hope you like it.

This patch applies for 0.16.1, and needs to be applied with -Np1.
Comment 8 Shaun McCance 2009-08-04 18:34:32 UTC
Committed to master.  Thanks for the patch.