Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97382 - libgphoto2 && gmime dont emerge with "doc" set in useflags
Summary: libgphoto2 && gmime dont emerge with "doc" set in useflags
Status: RESOLVED DUPLICATE of bug 85108
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-29 04:54 UTC by Peter Zanner
Modified: 2005-06-29 04:58 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 Peter Zanner 2005-06-29 04:54:33 UTC
As with some other packages, libgphoto2 and gmime will not emerge with "doc" set
in useflags. Seems to be a problem within gtkdoc and/or OpenJade, but this is
not for sure (to me, at least).

Reproducible: Always
Steps to Reproduce:
1. USE="+doc" emerge libgphoto2 gmime
2.
3.

Actual Results:  
[Shortened Example from libgphoto2:]

...
Making all in doc
make[4]: Entering directory
`/var/tmp/portage/libgphoto2-2.1.6/work/libgphoto2-2.1.6/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"
... [similar errors]
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:185:40:E: character ":" is
not allowed in the value of attribute "ID"
make[4]: *** [html] Error 1
make[4]: Leaving directory
`/var/tmp/portage/libgphoto2-2.1.6/work/libgphoto2-2.1.6/libgphoto2_port/doc'
make[3]: *** [all-recursive] Error 1


Expected Results:  
Compile the .html docs from the SGML source, as far as I can see.

root@CrestV ~ # emerge --info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.4.19-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -funroll-loops -fprefetch-loop-arrays
-fomit-frame-pointer -ffast-math -pipe -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config
/usr/kde/3.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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -funroll-loops -fprefetch-loop-arrays
-fomit-frame-pointer -ffast-math -pipe -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at
http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://www.gigaload.org/gentoo.org/
http://gentoo.zie.pg.gda.pl http://gentoo.ynet.sk/pub
http://mir.zyrianes.net/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.binarycompass.org
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib acl acpi acpi4linux alsa apache2 apm arts audiofile
avi bash-completion berkdb bitmap-fonts bzip2 calendar cdparanoia cdr cpdflib
crypt cscope ctype cups curl dba dbm dbus dbx dga dio directfb divx4linux doc dv
dvd dvdr eds emacs emacs-w3 emboss encode esd ethereal evo examples exif expat
fam fastcgi fbcon fbdev ffmpeg flac flatfile foomaticdb foreign-package
foreign-sysvinit fortran ftp gcj gd gdbm gif gnome gnustep gnutls gphoto2 gpm
gstreamer gtk gtk2 hal iconv icq imagemagick imap imlib innodb ipv6 ithreads
java javascript jbig jdepend jikes jpeg junit kde kdeenablefinal ldap ldap-sasl
lesstif libcaca libedit libg++ libwww mad mailwrapper mbox mcal mikmod milter
mime mmap mmx motif mozilla mp3 mpeg mpi mpm-worker mysql mysqli ncurses nls
nocardbus nptl objc odbc ogg oggvorbis openal opengl osc oss pam pcap pcntl pcre
pdflib perl php png posix postgres ppds prelude profile pthreads python qt
quicktime readline recode ruby samba sasl scanner sdl session sharedext
sharedmem simplexml skey slang sndfile snmp soap sockets speedo speex spell spl
sqlite sse ssl svg svga symlink sysvipc szip tcltk tcpd test tetex threads tidy
tiff tokenizer transcode truetype truetype-fonts type1 type1-fonts unicode usb
vcd vhosts videos vim-with-x vorbis wifi win32codecs wxwindows x86 xface xine
xml xml2 xmms xpm xprint xsl xv xvid zlib linguas_de userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-06-29 04:58:33 UTC

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