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 505068 - release tarball uses gtk-doc 1.9
release tarball uses gtk-doc 1.9
Status: RESOLVED DUPLICATE of bug 506506
Product: libgoffice
Classification: Other
Component: General
0.6.x
Other All
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2007-12-22 16:44 UTC by Gilles Dartiguelongue
Modified: 2008-01-04 23:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gilles Dartiguelongue 2007-12-22 16:44:08 UTC
0.6.1 has been release with gtk-doc.make from 1.9
It makes installation fail when gtk-doc is absent from the box and changes from previous behavior in that even if you have passed --disable-gtk-doc and that you don't care about doc regeneration, cross-linking and whatnot, and you just want the doc verbatim from the tar, you're screwed.

The configure.ac still states >=gtk-doc-1.4 should work but given the above, please either raise this check to 1.9 or release tarballs with previous version of gtk-doc-1.9

I understand that this might be more of a gtk-doc bug but I thought it was still a dev branch while goffice-0.6 is a stable branch.

Thanks for considering.
Comment 1 Markus Kanet 2007-12-30 05:49:32 UTC
I can confirm this bug: I do not have gtk-doc and tried to compile goffice 0.6.1 with --disable-gtk-doc. Configure does not find gtkdoc and disables docs:
|| checking whether to build gtk-doc documentation... no
|| checking for gtkdoc-check... no
But build fails because of missing gtkdoc-rebase...


Here is the configure...

checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/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 style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for intltool >= 0.35.0... 0.36.3 found
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/x86_64-pc-linux/bin/ld
checking if the linker (/usr/x86_64-pc-linux/bin/ld) is GNU ld... yes
checking for /usr/x86_64-pc-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/x86_64-pc-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/x86_64-pc-linux/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/x86_64-pc-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/x86_64-pc-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/x86_64-pc-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... yes
checking for GNOME... yes
checking for GOFFICE... yes
checking for XRenderFindFormat in -lXrender... yes
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking for pcre_compile2 in -lpcre... yes
checking for UTF-8 support in pcre... yes
checking for Win32 platform... no
checking for Win32 platform with no Cygwin... no
checking for glib-genmarshal... glib-genmarshal
checking for gdk-pixbuf-csource... gdk-pixbuf-csource
checking what warning flags to pass to the C compiler... -Wall -Wmissing-prototypes
checking what language compliance flags to pass to the C compiler... 
checking whether gcc understands -Wsign-compare... yes
checking whether gcc understands -Wpointer-arith... yes
checking whether gcc understands -Wnested-externs... yes
checking whether gcc understands -Wchar-subscripts... yes
checking whether gcc understands -Wwrite-strings... yes
checking whether gcc understands -Wdeclaration-after-statement... yes
checking whether gcc understands -Wmissing-noreturn... yes
checking whether gcc understands -Wstrict-prototypes... yes
checking whether gcc understands -Wmissing-prototypes... yes
checking whether gcc understands -Wmissing-declarations... yes
checking whether gcc understands -Wformat... yes
checking whether gcc understands -Wmissing-format-attribute... yes
checking whether gcc understands -Wno-pointer-sign... yes
checking whether fdopen is declared... yes
checking whether struct timeval is available... yes
checking for gettimeofday... yes
checking whether M_PI is available... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking ieee754.h usability... yes
checking ieee754.h presence... yes
checking for ieee754.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking for random... yes
checking for drand48... yes
checking for finite... yes
checking for memmove... yes
checking for mkdtemp... yes
checking for uname... yes
checking for times... yes
checking for sysconf... yes
checking for bind_textdomain_codeset... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for log... no
checking for log in -lm... yes
checking for cairo_surface_set_fallback_resolution... yes
checking for g_chmod... yes
checking for g_access... yes
checking for gtk_dialog_get_response_for_widget... yes
checking for gtk_widget_set_tooltip_text... yes
checking for gtk_tool_item_set_tooltip_text... yes
checking for gdk_cairo_set_source_pixbuf... yes
checking for log1p... yes
checking for expm1... yes
checking for asinh... yes
checking for acosh... yes
checking for atanh... yes
checking for long double with more range or precision than double... yes
checking for fabsl... yes
checking for logl... yes
checking for log10l... yes
checking for ceill... yes
checking for floorl... yes
checking for powl... yes
checking for isnanl... yes
checking for finitel... yes
checking for modfl... yes
checking for ldexpl... yes
checking for frexpl... yes
checking for strtold... yes
checking if we must prototype strtold ourselves... yes
checking whether to build gtk-doc documentation... no
checking for gtkdoc-check... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libgoffice.pc
config.status: creating goffice/Makefile
config.status: creating goffice/app/Makefile
config.status: creating goffice/utils/Makefile
config.status: creating goffice/data/Makefile
config.status: creating goffice/gtk/Makefile
config.status: creating goffice/graph/Makefile
config.status: creating goffice/drawing/Makefile
config.status: creating goffice/math/Makefile
config.status: creating goffice/ms-compat/Makefile
config.status: creating goffice/component/Makefile
config.status: creating goffice/cut-n-paste/Makefile
config.status: creating goffice/cut-n-paste/foocanvas/Makefile
config.status: creating plugins/Makefile
config.status: creating plugins/plot_barcol/Makefile
config.status: creating plugins/plot_pie/Makefile
config.status: creating plugins/plot_radar/Makefile
config.status: creating plugins/plot_xy/Makefile
config.status: creating plugins/plot_surface/Makefile
config.status: creating plugins/plot_boxes/Makefile
config.status: creating plugins/reg_linear/Makefile
config.status: creating plugins/reg_logfit/Makefile
config.status: creating plugins/smoothing/Makefile
config.status: creating pixmaps/Makefile
config.status: creating po/Makefile.in
config.status: creating tests/Makefile
config.status: creating tools/Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating docs/reference/version.xml
config.status: creating goffice/goffice-config.h
config.status: creating goffice/goffice-features.h
config.status: goffice/goffice-features.h is unchanged
config.status: executing depfiles commands
config.status: executing intltool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands


Configuration:

	Source code location:	.
	Compiler:		gcc
	Compiler flags:		-O2 -fPIC -Wall -Wmissing-prototypes  -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wwrite-strings -Wdeclaration-after-statement -Wmissing-noreturn -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wformat -Wmissing-format-attribute -Wno-pointer-sign
	Long double support:	yes

	UI:			Gnome




Here is the part of make that causes the error:
Making install in docs
make[1]: Entering directory `/root/test/libgoffice0.6/source-libgoffice0.6/goffice-0.6.1/docs'
Making install in reference
make[2]: Entering directory `/root/test/libgoffice0.6/source-libgoffice0.6/goffice-0.6.1/docs/reference'
make[3]: Entering directory `/root/test/libgoffice0.6/source-libgoffice0.6/goffice-0.6.1/docs/reference'
make[3]: Nothing to be done for `install-exec-am'.
installfiles=`echo ./html/*`; \
	if test "$installfiles" = './html/*'; \
	then echo '-- Nothing to install' ; \
	else \
	  /bin/sh ../../mkinstalldirs /root/test/libgoffice0.6/package-libgoffice0.6/usr/share/gtk-doc/html/goffice; \
	  for i in $installfiles; do \
	    echo '-- Installing '$i ; \
	    /usr/bin/ginstall -c -m 644 $i /root/test/libgoffice0.6/package-libgoffice0.6/usr/share/gtk-doc/html/goffice; \
	  done; \
	  echo '-- Installing ./html/index.sgml' ; \
	  /usr/bin/ginstall -c -m 644 ./html/index.sgml /root/test/libgoffice0.6/package-libgoffice0.6/usr/share/gtk-doc/html/goffice || :; \
	  which gtkdoc-rebase >/dev/null && \
	    gtkdoc-rebase --relative --dest-dir=/root/test/libgoffice0.6/package-libgoffice0.6 --html-dir=/root/test/libgoffice0.6/package-libgoffice0.6/usr/share/gtk-doc/html/goffice ; \
	fi
mkdir -p -- /root/test/libgoffice0.6/package-libgoffice0.6/usr/share/gtk-doc/html/goffice
-- Installing ./html/GOData.html
-- Installing ./html/GODataMatrix.html
-- Installing ./html/GODataScalar.html
-- Installing ./html/GODataVector.html
-- Installing ./html/GogAxis.html
-- Installing ./html/GogAxisLine.html
-- Installing ./html/GogChart.html
-- Installing ./html/GogDataAllocator.html
-- Installing ./html/GogDataset.html
-- Installing ./html/GogErrorBar.html
-- Installing ./html/GogGraph.html
-- Installing ./html/GogGrid.html
-- Installing ./html/GogGridLine.html
-- Installing ./html/GogLabel.html
-- Installing ./html/GogLegend.html
-- Installing ./html/GogObject.html
-- Installing ./html/GogOutlinedObject.html
-- Installing ./html/GogPersist.html
-- Installing ./html/GogPlot.html
-- Installing ./html/GogRegCurve.html
-- Installing ./html/GogRegEqn.html
-- Installing ./html/GogRenderer.html
-- Installing ./html/GogSeries.html
-- Installing ./html/GogSeriesLines.html
-- Installing ./html/GogSmoothedCurve.html
-- Installing ./html/GogStyle.html
-- Installing ./html/GogStyledObject.html
-- Installing ./html/GogTheme.html
-- Installing ./html/GogTrendLine.html
-- Installing ./html/GogView.html
-- Installing ./html/ch01.html
-- Installing ./html/ch02.html
-- Installing ./html/ch03.html
-- Installing ./html/ch04.html
-- Installing ./html/ch05.html
-- Installing ./html/ch06.html
-- Installing ./html/ch07.html
-- Installing ./html/ch08.html
-- Installing ./html/ch09.html
-- Installing ./html/ch10.html
-- Installing ./html/ch11.html
-- Installing ./html/ch12.html
-- Installing ./html/ch13.html
-- Installing ./html/goffice-GOCairo.html
-- Installing ./html/goffice-GOComponent.html
-- Installing ./html/goffice-GODoc.html
-- Installing ./html/goffice-GODocControl.html
-- Installing ./html/goffice-GOPluginLoader.html
-- Installing ./html/goffice-GOPluginService.html
-- Installing ./html/goffice-GOService.html
-- Installing ./html/goffice-GoApp.html
-- Installing ./html/goffice-GoCharmapSel.html
-- Installing ./html/goffice-GoCmdContext.html
-- Installing ./html/goffice-GoColor.html
-- Installing ./html/goffice-GoComboBox.html
-- Installing ./html/goffice-GoComboColor.html
-- Installing ./html/goffice-GoComboPixmaps.html
-- Installing ./html/goffice-GoComboText.html
-- Installing ./html/goffice-GoComplex.html
-- Installing ./html/goffice-GoComponentFactory.html
-- Installing ./html/goffice-GoFft.html
-- Installing ./html/goffice-GoFile.html
-- Installing ./html/goffice-GoFileOpener.html
-- Installing ./html/goffice-GoFileSaver.html
-- Installing ./html/goffice-GoFont.html
-- Installing ./html/goffice-GoFontSel.html
-- Installing ./html/goffice-GoFormat.html
-- Installing ./html/goffice-GoFormatSel.html
-- Installing ./html/goffice-GoGeometry.html
-- Installing ./html/goffice-GoGlibExtras.html
-- Installing ./html/goffice-GoGradient.html
-- Installing ./html/goffice-GoLibxmlExtras.html
-- Installing ./html/goffice-GoLine.html
-- Installing ./html/goffice-GoLocaleSel.html
-- Installing ./html/goffice-GoMarker.html
-- Installing ./html/goffice-GoMath.html
-- Installing ./html/goffice-GoObject.html
-- Installing ./html/goffice-GoOptionMenu.html
-- Installing ./html/goffice-GoPalette.html
-- Installing ./html/goffice-GoPath.html
-- Installing ./html/goffice-GoPattern.html
-- Installing ./html/goffice-GoPluginLoaderModule.html
-- Installing ./html/goffice-GoReg.html
-- Installing ./html/goffice-GoRegression.html
-- Installing ./html/goffice-GoRotationSel.html
-- Installing ./html/goffice-GoSearchReplace.html
-- Installing ./html/goffice-GoSelector.html
-- Installing ./html/goffice-GoUndo.html
-- Installing ./html/goffice-GoUrl.html
-- Installing ./html/goffice-GogAxisMap.html
-- Installing ./html/goffice-GogChartMap.html
-- Installing ./html/goffice-GogControlFooCanvas.html
-- Installing ./html/goffice-GogEditor.html
-- Installing ./html/goffice-GogGuru.html
-- Installing ./html/goffice-GogPlotEngine.html
-- Installing ./html/goffice-GogTool.html
-- Installing ./html/goffice-Units.html
-- Installing ./html/goffice-go-plugin.html
-- Installing ./html/goffice.devhelp
-- Installing ./html/goffice.devhelp2
-- Installing ./html/home.png
-- Installing ./html/index.html
-- Installing ./html/index.sgml
-- Installing ./html/left.png
-- Installing ./html/pt01.html
-- Installing ./html/pt02.html
-- Installing ./html/pt03.html
-- Installing ./html/right.png
-- Installing ./html/style.css
-- Installing ./html/up.png
-- Installing ./html/index.sgml
which: no gtkdoc-rebase in (/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin:/usr/lib/qt/bin:/usr/share/texmf/bin)
make[3]: *** [install-data-local] Error 1
make[3]: Leaving directory `/root/test/libgoffice0.6/source-libgoffice0.6/goffice-0.6.1/docs/reference'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/root/test/libgoffice0.6/source-libgoffice0.6/goffice-0.6.1/docs/reference'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/root/test/libgoffice0.6/source-libgoffice0.6/goffice-0.6.1/docs'
make: *** [install-recursive] Error 1
Comment 2 Morten Welinder 2008-01-04 18:15:23 UTC
See also bug 502005.
Comment 3 Morten Welinder 2008-01-04 23:58:54 UTC

*** This bug has been marked as a duplicate of 506506 ***