| Summary: | libgphoto2 2.1.5 and 2.1.6 fail to emerge if doc use flag is set | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | gna <gnagent2> |
| Component: | New packages | Assignee: | Alastair Tse (RETIRED) <liquidx> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | askwar, gnome, jgonzalez.openinput, liquidx, paul, sparc, text-markup+disabled |
| Priority: | Low | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | emerge log of libgphoto-2.1.5 with doc use flag set | ||
|
Description
gna
2005-07-28 19:45:04 UTC
*** Bug 100667 has been marked as a duplicate of this bug. *** Try to re-emerge openjade. If it still fails, then please attach the output of 'emerge media-libs/libgphoto2 &> emerge.log' and reopen this bug. Thanks. I re-emerged openjade-1.3.2-r1 There were no warnings or errors that I noticed. re-emerging libgphoto2-2.1.5 resulted in the same error. Created attachment 64601 [details]
emerge log of libgphoto-2.1.5 with doc use flag set
as requested
The same thing is happening for me. I also tried re-compiling openjade but it didn't help. I just wanted to confirm that it isn't exclusive to the gna's machine. Can confirm this bug for libgphoto2-2.1.6. I tracked this down further. gtkdoc-mkhtml generates loads of errors when parsing /usr/share/gtk-doc/data/gtk-doc.dsl. (See gna's attachment to comment #4.) That file appears to be incompatible with docbook-dsssl-stylesheets-1.79. Downgrading docbook-dsssl-stylesheets to 1.77-r2 made libgphoto2 build again. I don't know the best way to fix this. gtk-doc should probably depend on d-d-s-1.77-*. libgphoto2-2.1.6-r2 still fails to get installed with USE=doc.
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 described in source code comment block but does not exist -
MACRO: GP_LOG 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>
25% symbol docs coverage (32 symbols documented, 8 symbols incomplete, 97 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-result.sgml:3:19:E: ID "TOP_OF_PAGE" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:3:19: ID "TOP_OF_PAGE" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:14:20:E: ID "SYNOPSIS" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:14:20: ID "SYNOPSIS" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:15:11:E: ID "SYNOPSIS.TITLE" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:15:11: ID "SYNOPSIS.TITLE" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:52:14:E: ID "DESC" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:49:14: ID "DESC" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:53:11:E: ID "DESC.TITLE" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:50:11: ID "DESC.TITLE" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:59:14:E: ID "DETAILS" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:56:14: ID "DETAILS" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:60:11:E: ID "DETAILS.TITLE" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:57:11: ID "DETAILS.TITLE" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port-info-list.sgml:3:19:E: ID "TOP_OF_PAGE" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:3:19: ID "TOP_OF_PAGE" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port-info-list.sgml:14:20:E: ID "SYNOPSIS" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:14:20: ID "SYNOPSIS" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port-info-list.sgml:15:11:E: ID "SYNOPSIS.TITLE" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:15:11: ID "SYNOPSIS.TITLE" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port-info-list.sgml:48:14:E: ID "DESC" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:49:14: ID "DESC" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port-info-list.sgml:49:11:E: ID "DESC.TITLE" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:50:11: ID "DESC.TITLE" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port-info-list.sgml:55:14:E: ID "DETAILS" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:56:14: ID "DETAILS" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port-info-list.sgml:56:11:E: ID "DETAILS.TITLE" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:57:11: ID "DETAILS.TITLE" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port.sgml:3:19:E: ID "TOP_OF_PAGE" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:3:19: ID "TOP_OF_PAGE" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port.sgml:14:20:E: ID "SYNOPSIS" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:14:20: ID "SYNOPSIS" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port.sgml:15:11:E: ID "SYNOPSIS.TITLE" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:15:11: ID "SYNOPSIS.TITLE" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port.sgml:68:14:E: ID "DESC" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:49:14: ID "DESC" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port.sgml:69:11:E: ID "DESC.TITLE" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:50:11: ID "DESC.TITLE" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port.sgml:75:14:E: ID "DETAILS" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:56:14: ID "DETAILS" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port.sgml:76:11:E: ID "DETAILS.TITLE" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:57:11: ID "DETAILS.TITLE" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port-library.sgml:3:19:E: ID "TOP_OF_PAGE" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:3:19: ID "TOP_OF_PAGE" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port-library.sgml:14:20:E: ID "SYNOPSIS" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:14:20: ID "SYNOPSIS" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port-library.sgml:15:11:E: ID "SYNOPSIS.TITLE" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:15:11: ID "SYNOPSIS.TITLE" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port-library.sgml:41:14:E: ID "DESC" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:49:14: ID "DESC" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port-library.sgml:42:11:E: ID "DESC.TITLE" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:50:11: ID "DESC.TITLE" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port-library.sgml:48:14:E: ID "DETAILS" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:56:14: ID "DETAILS" first defined here
/usr/bin/openjade:.././sgml/gphoto2-port-library.sgml:49:11:E: ID "DETAILS.TITLE" already defined
/usr/bin/openjade:.././sgml/gphoto2-port-log.sgml:57:11: ID "DETAILS.TITLE" first defined here
make[4]: *** [html] Fehler 1
make[4]: Leaving directory `/Gentoo/Portage/build/portage/libgphoto2-2.1.6-r2/work/libgphoto2-2.1.6/libgphoto2_port/doc'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/Gentoo/Portage/build/portage/libgphoto2-2.1.6-r2/work/libgphoto2-2.1.6/libgphoto2_port'
make[2]: *** [all-recursive-am] Fehler 2
make[2]: Leaving directory `/Gentoo/Portage/build/portage/libgphoto2-2.1.6-r2/work/libgphoto2-2.1.6/libgphoto2_port'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/Gentoo/Portage/build/portage/libgphoto2-2.1.6-r2/work/libgphoto2-2.1.6'
make: *** [all-recursive-am] Fehler 2
!!! ERROR: media-libs/libgphoto2-2.1.6-r2 failed.
[ebuild R ] media-libs/libgphoto2-2.1.6-r2 USE="doc exif nls -nousb" 0 kB
alexander@blatt ~/tmp $ emerge --info
Portage 2.1_pre10-r3 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r2, 2.6.16-suspend2-r5.043.security-models i686)
=================================================================
System uname: 2.6.16-suspend2-r5.043.security-models i686 Intel(R) Celeron(R) M processor 1.50GHz
Gentoo Base System version 1.12.0_pre19
ccache version 2.4 [enabled]
dev-lang/python: 2.3.4-r1, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r1
dev-util/confcache: 0.4.2
sys-apps/sandbox: 1.2.18
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.6-r2
sys-devel/binutils: 2.16.1-r2
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/Gentoo/Portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig buildpkg ccache collision-protect confcache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS=" http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo http://distfiles.gentoo.org/ "
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
PKGDIR="/Gentoo/Portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/Gentoo/Portage/build"
PORTDIR="/Gentoo/Portage/tree"
PORTDIR_OVERLAY="/Gentoo/Portage/local-tree/misc /Gentoo/Portage/local-tree/overlays/nx /Gentoo/Portage/local-tree/overlays/gentoo-de"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 GAPING_SECURITY_HOLE X acpi alsa amd apache2 apm arts artswrappersuid async avi bash-completion bdf berkdb bitmap-fonts bluetooth bootsplash cairo caps cardbus ccache cdda cddb cdio cdparanoia cdr cdrom cle266 cli crypt css curlwrappers dbus devmap dillo divx4linux dlloader dri dvd dvdread emoticon esd exif fam fbcon fbdev firefox fping freetype gdbm gif gnokii gnome gstreamer gtk gtk2 hal hpn icc id3 idn imap imlib imlib2 insecure-drivers insecure-savers isdnlog javascript jikes jpeg kde kdeenablefinal libedit libwww linuxthreads-tls logrotate lynxkeymap mad madwifi maildir matroska mbox mmx mmxext mozilla moznoirc mozsvg mp3 mpeg mpeg2 mpeg4 mplayer multicall ncurses netboot network new-login nfs nis nls no-old-linux no-suexec noantlr nobcel nobeanutils nobsf nobsh nocd nocommonslogging nocommonsnet nodrm nogg nogulm nojsch nojython nolog4j nomac nooro nopri norhino noxalan noxerces nozaptel nptl nsplugin offensive ogg opengl openssh pam_console pam_timestamp passfile password patented pccts pcmcia pcre perl perlsuid pic player png pnp pppd qt quicktime rar readline real recode reflection reiserfs sdl sendfile sensord session sftp sms spell spf spl sse sse2 ssl startup-notification stream subp subtitles suid symlink sysfs syslog tiff transcode truetype truetype-fonts trusted type1-fonts udev underscores unichrome unicode unsafe usb utf8 uudeview vim vim-pager vlm vorbis wifi win32codecs wma123 x11vnc xinetd xml xmms xorg xpm xprint xscreensaver xv xvid xvmc zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_-synaptics kernel_linux linguas_de userland_GNU video_cards_fbdev video_cards_vesa video_cards_vga video_cards_via"
Unset: ASFLAGS, CTARGET, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
can someone still reproduce this bug ? I juste tried with libgphoto-2.2.1-r1 on an up to date ~x86 box and it compiled cleanly. I can't reproduce any of these doc bugs. Building with docs works for me with 2.1.6-r1 and 2.2.1, except 2.2.1 had a bug that made the docs install in /canon. That is now fixed with the newer version. I'm going to close this as NEEDINFO until someone can reliably reproduce this. 2.1.5 is now out of the tree. |