Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86961 - libgphoto2 ebuild fails while building documentation
Summary: libgphoto2 ebuild fails while building documentation
Status: RESOLVED DUPLICATE of bug 85108
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-28 03:31 UTC by Luke Reeves
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke Reeves 2005-03-28 03:31:41 UTC
When the "doc" USE flag is set, the ebuild for libgphoto2 fails with SGML errors:

/bin/sh ../libtool --mode=link gcc  -O2 -mtune=pentium-m -fomit-frame-pointer -g -Wall -Wmissing-declarations -Wmissing-prototypes  -g -Wall -o libgphoto2_port_usb.la -rpath /usr/lib/gphoto2_port/0.5.1 -module -avoid-version libusb.lo -L/usr/lib -lusb ../libgphoto2_port/libgphoto2_port.la 
gcc -shared  .libs/libusb.o  -Wl,--rpath -Wl,/var/tmp/portage/libgphoto2-2.1.5/work/libgphoto2-2.1.5/libgphoto2_port/libgphoto2_port/.libs -L/usr/lib /usr/lib/libusb.so ../libgphoto2_port/.libs/libgphoto2_port.so  -mtune=pentium-m -Wl,-soname -Wl,libgphoto2_port_usb.so -o .libs/libgphoto2_port_usb.so
ar cru .libs/libgphoto2_port_usb.a  libusb.o
ranlib .libs/libgphoto2_port_usb.a
creating libgphoto2_port_usb.la
(cd .libs && rm -f libgphoto2_port_usb.la && ln -s ../libgphoto2_port_usb.la libgphoto2_port_usb.la)
make[4]: Leaving directory `/var/tmp/portage/libgphoto2-2.1.5/work/libgphoto2-2.1.5/libgphoto2_port/usb'
Making all in doc
make[4]: Entering directory `/var/tmp/portage/libgphoto2-2.1.5/work/libgphoto2-2.1.5/libgphoto2_port/doc'
cd . && gtkdoc-scan --module=gphoto2-port --source-dir=../libgphoto2_port
cd . && gtkdoc-mktmpl --module=gphoto2-port
WARNING: No declaration found for: gp_port_get_error
###Can't parse args for function gp_port_set_error: ...)#ifdef __GNUC____attribute__((__format__(printf,2,3)))#endif;const char *gp_port_get_error (GPPort *port

WARNING: No declaration found for: GP_ERROR_IO_CLOSE
WARNING: No declaration found for: GP_ERROR_IO_OPEN
WARNING: No declaration found for: GP_ERROR_IO_PIN
WARNING: No declaration found for: GP_ERROR_IO_SERIAL_BREAK
WARNING: No declaration found for: GP_ERROR_IO_SERIAL_FLUSH
WARNING: No declaration found for: GP_ERROR_IO_TIMEOUT
###Can't parse args for function gp_log: ...)#ifdef __GNUC____attribute__((__format__(printf,3,4)))#endif;void gp_logv     (GPLogLevel level, const char *domain, const char *format,va_list args)#ifdef __GNUC____attribute__((__format__(printf,3,0)))#endif;void gp_log_data (const char *domain, const char *data, unsigned int size

WARNING: No declaration found for: <TITLE>GPhoto2-Port-USB</FILE>
WARNING: No declaration found for: <TITLE>GPhoto2-Port-Serial</FILE>
=============================================================================
WARNING: 61 unused declarations.
  These can be found in gphoto2-port-unused.txt.
  They should be added to gphoto2-port-sections.txt in the appropriate place.
=============================================================================
cd . && gtkdoc-mkdb --module=gphoto2-port --source-dir=../libgphoto2_port
WARNING: Parameter described in source code comment block but does not exist -
         FUNCTION: gp_port_set_error Parameter: Varargs.
WARNING: No declaration found for: gp_port_get_error
###Can't parse args for function gp_port_set_error: ...)#ifdef __GNUC____attribute__((__format__(printf,2,3)))#endif;const char *gp_port_get_error (GPPort *port

WARNING: No declaration found for: GP_ERROR_IO_CLOSE
WARNING: No declaration found for: GP_ERROR_IO_OPEN
WARNING: No declaration found for: GP_ERROR_IO_PIN
WARNING: No declaration found for: GP_ERROR_IO_SERIAL_BREAK
WARNING: No declaration found for: GP_ERROR_IO_SERIAL_FLUSH
WARNING: No declaration found for: GP_ERROR_IO_TIMEOUT
WARNING: Parameter described in source code comment block but does not exist -
         FUNCTION: gp_log Parameter: Varargs.
WARNING: Parameter description missing in source code comment block -
         MACRO: GP_LOG Parameter: params....
WARNING: Parameter described in source code comment block but does not exist -
         MACRO: GP_LOG Parameter: params.
WARNING: Parameter description missing in source code comment block -
         MACRO: GP_DEBUG Parameter: params....
WARNING: Parameter described in source code comment block but does not exist -
         MACRO: GP_DEBUG Parameter: params.
###Can't parse args for function gp_log: ...)#ifdef __GNUC____attribute__((__format__(printf,3,4)))#endif;void gp_logv     (GPLogLevel level, const char *domain, const char *format,va_list args)#ifdef __GNUC____attribute__((__format__(printf,3,0)))#endif;void gp_log_data (const char *domain, const char *data, unsigned int size

WARNING: No declaration found for: <TITLE>GPhoto2-Port-USB</FILE>
WARNING: No declaration found for: <TITLE>GPhoto2-Port-Serial</FILE>
27% symbol docs coverage (31 symbols documented, 84 not documented)
See gphoto2-port-undocumented.txt for a list of missing docs.
The doc coverage percentage doesn't include intro sections.
if ! test -d html ; then mkdir html ; fi
cd html && gtkdoc-mkhtml gphoto2-port .././gphoto2-port-api.sgml
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:33:33:E: character ":" is not allowed in the value of attribute "LINKEND"
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:34:35:E: character ":" is not allowed in the value of attribute "LINKEND"
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:199:25:E: character ":" is not allowed in the value of attribute "ID"
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:204:47:E: character ":" is not allowed in the value of attribute "LINKEND"
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:221:27:E: character ":" is not allowed in the value of attribute "ID"
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:224:53:E: character ":" is not allowed in the value of attribute "LINKEND"
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:227:43:E: character ":" is not allowed in the value of attribute "LINKEND"
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:18:32:E: character ":" is not allowed in the value of attribute "LINKEND"...

The emerge info:
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 Intel(R) Pentium(R) M processor 1000MHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 24 2005, 22:20:16)]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.9.5, 1.7.9-r1, 1.4_p6, 1.6.3
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mtune=pentium-m -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=pentium-m -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa avi berkdb bitmap-fonts canna cdr cjk crypt curl divx4linux doc dvd dvdread emboss encode ffmpeg flac foomaticdb fortran freewnn gdbm gif glut gnome gstreamer gtk gtk2 hal i8x0 imagemagick imap imlib jpeg kde libg++ libwww mad matroska mikmod mime mmx motif mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis opengl pam pcmcia pcre pdflib perl png python qt quicktime readline rpm samba sdl slang socks5 spell sse sse2 ssl svg tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb vcd xine xml xml2 xmms xpm xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 foser (RETIRED) gentoo-dev 2005-03-28 04:12:53 UTC
search

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