Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 85108

Summary: libgphoto2-2.1.5 docs compile fails
Product: Gentoo Linux Reporter: André Terpstra <andre>
Component: New packagesAssignee: Alastair Tse (RETIRED) <liquidx>
Status: RESOLVED NEEDINFO    
Severity: normal CC: gnome, luke, pz, text-markup+disabled
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description André Terpstra 2005-03-13 09:55:51 UTC
This ebuild breaks

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
make[4]: Leaving directory 
`/var/tmp/portage/libgphoto2-2.1.5/work/libgphoto2-2.1.5/libgphoto2_port/serial' 
Making all in usb 
make[4]: Entering directory 
`/var/tmp/portage/libgphoto2-2.1.5/work/libgphoto2-2.1.5/libgphoto2_port/usb' 
if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. 
-I. -I.. -I../intl -I../libgphoto2_port     -O2 -march=pentium4 
-fomit-frame-pointer -funroll-loops -pipe -fstack-protector -g -Wall 
-Wmissing-declarations -Wmissing-prototypes -MT libusb.lo -MD -MP -MF 
".deps/libusb.Tpo" \ 
  -c -o libusb.lo `test -f 'libusb.c' || echo './'`libusb.c; \ 
then mv -f ".deps/libusb.Tpo" ".deps/libusb.Plo"; \ 
else rm -f ".deps/libusb.Tpo"; exit 1; \ 
fi 
mkdir .libs 
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl 
-I../libgphoto2_port -O2 -march=pentium4 -fomit-frame-pointer -funroll-loops 
-pipe -fstack-protector-g -Wall -Wmissing-declarations -Wmissing-prototypes -MT 
libusb.lo -MD -MP -MF .deps/libusb.Tpo -c libusb.c  -fPIC -DPIC 
-o .libs/libusb.o 
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl 
-I../libgphoto2_port -O2 -march=pentium4 -fomit-frame-pointer -funroll-loops 
-pipe -fstack-protector-g -Wall -Wmissing-declarations -Wmissing-prototypes -MT 
libusb.lo -MD -MP -MF .deps/libusb.Tpo -c libusb.c -o libusb.o >/dev/null 2>&1 
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc  -O2 -march=pentium4 
-fomit-frame-pointer -funroll-loops -pipe -fstack-protector -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 
i686-pc-linux-gnu-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  
-march=pentium4 -Wl,-soname -Wl,libgphoto2_port_usb.so 
-o .libs/libgphoto2_port_usb.so 
i686-pc-linux-gnu-ar cru .libs/libgphoto2_port_usb.a  libusb.o 
i686-pc-linux-gnu-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" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:19:49:E: character ":" is 
not allowed in the value of attribute "LINKEND" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:20:50:E: character ":" is 
not allowed in the value of attribute "LINKEND" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:21:45:E: character ":" is 
not allowed in the value of attribute "LINKEND" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:22:43:E: character ":" is 
not allowed in the value of attribute "LINKEND" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:23:43:E: character ":" is 
not allowed in the value of attribute "LINKEND" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:24:38:E: character ":" is 
not allowed in the value of attribute "LINKEND" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:25:43:E: character ":" is 
not allowed in the value of attribute "LINKEND" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:26:43:E: character ":" is 
not allowed in the value of attribute "LINKEND" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:27:43:E: character ":" is 
not allowed in the value of attribute "LINKEND" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:28:51:E: character ":" is 
not allowed in the value of attribute "LINKEND" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:29:55:E: character ":" is 
not allowed in the value of attribute "LINKEND" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:30:52:E: character ":" is 
not allowed in the value of attribute "LINKEND" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:31:45:E: character ":" is 
not allowed in the value of attribute "LINKEND" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:32:48:E: character ":" is 
not allowed in the value of attribute "LINKEND" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:33:53:E: character ":" is 
not allowed in the value of attribute "LINKEND" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:34:47:E: character ":" is 
not allowed in the value of attribute "LINKEND" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:35:44:E: character ":" is 
not allowed in the value of attribute "LINKEND" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:36:48:E: character ":" is 
not allowed in the value of attribute "LINKEND" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:59:24:E: character ":" is 
not allowed in the value of attribute "ID" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:66:41:E: character ":" is 
not allowed in the value of attribute "ID" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:73:42:E: character ":" is 
not allowed in the value of attribute "ID" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:80:37:E: character ":" is 
not allowed in the value of attribute "ID" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:87:35:E: character ":" is 
not allowed in the value of attribute "ID" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:94:35:E: character ":" is 
not allowed in the value of attribute "ID" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:101:30:E: character ":" is 
not allowed in the value of attribute "ID" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:108:35:E: character ":" is 
not allowed in the value of attribute "ID" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:115:35:E: character ":" is 
not allowed in the value of attribute "ID" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:122:35:E: character ":" is 
not allowed in the value of attribute "ID" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:129:43:E: character ":" is 
not allowed in the value of attribute "ID" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:136:47:E: character ":" is 
not allowed in the value of attribute "ID" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:143:44:E: character ":" is 
not allowed in the value of attribute "ID" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:150:37:E: character ":" is 
not allowed in the value of attribute "ID" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:157:40:E: character ":" is 
not allowed in the value of attribute "ID" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:164:45:E: character ":" is 
not allowed in the value of attribute "ID" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:171:39:E: character ":" is 
not allowed in the value of attribute "ID" 
/usr/bin/openjade:.././sgml/gphoto2-port-result.sgml:178:36:E: character ":" is 
not allowed in the value of attribute "ID" 
/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.5/work/libgphoto2-2.1.5/libgphoto2_port/doc' 
make[3]: *** [all-recursive] Error 1 
make[3]: Leaving directory 
`/var/tmp/portage/libgphoto2-2.1.5/work/libgphoto2-2.1.5/libgphoto2_port' 
make[2]: *** [all] Error 2 
make[2]: Leaving directory 
`/var/tmp/portage/libgphoto2-2.1.5/work/libgphoto2-2.1.5/libgphoto2_port' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/libgphoto2-2.1.5/work/libgphoto2-2.1.5' 
make: *** [all] Error 2 
 
!!! ERROR: media-libs/libgphoto2-2.1.5 failed. 
!!! Function src_compile, Line 72, Exitcode 2 
!!! make failed 
!!! If you need support, post the topmost build error, NOT this status message. 
 


AmpersandGentooExp ~ # emerge info 
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3, 
glibc-2.3.4.20050125-r0, 2.6.11-gentoo-r3 i686) 
================================================================= 
System uname: 2.6.11-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz 
Gentoo Base System version 1.6.10 
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 17 2005, 21:33:21)] 
ccache version 2.4 [enabled] 
dev-lang/python:     2.3.5 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.8.5-r3, 1.7.9-r1, 1.9.5, 1.5, 1.6.3, 1.4_p6 
sys-devel/binutils:  2.15.92.0.2-r6 
sys-devel/libtool:   1.5.14 
virtual/os-headers:  2.6.8.1-r2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -funroll-loops -pipe 
-fstack-protector" 
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/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -funroll-loops -pipe 
-fstack-protector" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" 
GENTOO_MIRRORS="ftp://GentooMirror/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://GentooMirror/gentoo-portage" 
USE="x86 S3TC X X509 aalib acpi acpi4linux alsa apache2 apm arts 
artswrappersuid audiofile avi berkdb bitmap-fonts bootsplash bsh cdparanoia cgi 
cjk crypt cups curl dga directfb doc dvd dvdr emacs emboss encode esd fam fbcon 
flac font-server foomaticdb foreign-package foreign-sysvinit fortran freetype 
fs gdbm gif gphoto2 gpm gtk2 imagemagick imap imlib innodb ipv6 java javascript 
joystick jpeg jpeg2k kde kdeenablefinal kerberos krb4 lcd libg++ libwww mad 
md5sum memlimit mikmod mmx motif mozilla mp3 mpeg msn ncurses nls no-old-linux 
noreiserfs nptl nptlonly nvidia oav odbc offensive oggvorbis ooo-kde opengl 
openssh pam pcap pda pdf pdflib perl png pnp povray ppds python qt quicktime 
readline real samba scanner sdl skey slp snmp speedo speex spell sse ssl svg 
svga symlink tcpd theora tiff transcode truetype truetype-fonts trusted type1 
type1-fonts ucs2 unicode usb wifi wmf wxwindows xine xml2 xmms xprint 
xscreensaver xv xvid zlib" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Tristan RENAUD 2005-03-13 23:38:53 UTC
same errors here, on a amd64, with doc flag enabled, and keywords = amd64 and ~amd64.
I tried ton install everything about docbook-sgml, but didn't help.
Disabling the doc flag using : 
USE="-doc" emerge libgphoto2
works for me. But it still need to be corrected because I need docs :)
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2005-03-15 03:39:53 UTC
possibly text-markup problems?
Comment 3 Michael Prager 2005-03-18 17:12:41 UTC
I'm getting the same error.

Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.3.2, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 21 2005, 14:16:47)]
distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r6
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe -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/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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/"
LANG="de_DE@euro"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.17/portage"
USE="3dnow X Xaw3d aalib acl acpi alsa apache2 apm arts avi berkdb bitmap-fonts cdr cryptcups curl dba dga directfb doc dvb dvd emboss encode esd fam fbcon flac flash font-serverfoomaticdb fortran gd gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml imagemagick imlib ipv6 java jpeg junit kde libg++ libwww mad maildir mbox mcal mikmod mmx motif mozilla mp3 mpeg mpi mysql nas ncurses nls odbc oggvorbis opengl oss pam pda pdflib perl plotutils png python qt quicktime readline samba scanner sdl slang slp snmp spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb v4l v4l2 wmf x86 xface xinerama xml xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2005-03-21 06:23:59 UTC
try disabling docs for the moment (eg. USE="-doc") trying to figure out why the docs suddenly failed for you guys.
Comment 5 André Terpstra 2005-03-21 10:46:38 UTC
OK, I will try. Just to be sure, to prevent libgphoto2 from entering my "world" file, I have to use first:

 USE="-doc" emerge --update libgphoto2

and then continue updating my system with

 emerge --update world?
Comment 6 André Terpstra 2005-03-23 00:46:35 UTC
I haven't received an answer yet, so I proceeded as I said.

Of course, the ebuild does compile now, as already was to be expected from comment #1 (http://bugs.gentoo.org/show_bug.cgi?id=85108#c1). 

It's unclear to me how this helps solving the problem or what it even proves.
Comment 7 Alastair Tse (RETIRED) gentoo-dev 2005-03-23 06:22:13 UTC
it doesn't help the situation, just a workaround until we find out the cause of the problem.
Comment 8 foser (RETIRED) gentoo-dev 2005-03-28 04:12:53 UTC
*** Bug 86961 has been marked as a duplicate of this bug. ***
Comment 9 wiktorw 2005-04-07 11:42:19 UTC
Similar problem here. While trying to emerge kde-3.4.0 I get the error on the
libgphoto2 package. Here is the version and offending USE flags:

# emerge -pvuD kde-meta

[ebuild  N    ] media-libs/libgphoto2-2.1.4  +doc +jpeg +nls 0 kB
[ebuild  N    ] media-gfx/gphoto2-2.1.4  -aalib -debug +jpeg +ncurses +nls +readline 0 kB
...

The problem manifests itself as follows:

====
...
cd . && gtkdoc-mkdb --module=gphoto2-port --source-dir=../libgphoto2_port
WARNING: No declaration for: GP_ERROR_IO_CLOSE
WARNING: No declaration for: GP_ERROR_IO_OPEN
WARNING: No declaration for: GP_ERROR_IO_PIN
WARNING: No declaration for: GP_ERROR_IO_SERIAL_BREAK
WARNING: No declaration for: GP_ERROR_IO_SERIAL_FLUSH
WARNING: No declaration for: GP_ERROR_IO_TIMEOUT
WARNING: Parameter description missing in source code comment block -
         Func: GP_LOG Param: params....
WARNING: Parameter described in source code comment block but does not exist -
         Func: GP_LOG Param: params.
WARNING: Parameter description missing in source code comment block -
         Func: GP_DEBUG Param: params....
WARNING: Parameter described in source code comment block but does not exist -
         Func: GP_DEBUG Param: params.
WARNING: No declaration for: <TITLE>GPhoto2-Port-USB</FILE>
WARNING: No declaration for: <TITLE>GPhoto2-Port-Serial</FILE>
28% symbol docs coverage (32 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: error while loading shared libraries: libosp.so.3: cannot open shared object file: No such file or directory
make[4]: *** [html] Error 127
make[4]: Leaving directory `/var/tmp/portage/libgphoto2-2.1.4/work/libgphoto2-2.1.4/libgphoto2_port/doc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/libgphoto2-2.1.4/work/libgphoto2-2.1.4/libgphoto2_port'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/libgphoto2-2.1.4/work/libgphoto2-2.1.4/libgphoto2_port'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libgphoto2-2.1.4/work/libgphoto2-2.1.4'
make: *** [all] Error 2

!!! ERROR: media-libs/libgphoto2-2.1.4 failed.
====

So the real error was:

/usr/bin/openjade: error while loading shared libraries: libosp.so.3: cannot open shared object file: No such file or directory

Searching for an answer I've found the following:
http://forums.gentoo.org/viewtopic-t-312280.html

Doing "revdep-rebuild -p jade" I learned that openjade needed to be rebuilt,
and it needed jade itself too (a NEW package):

Calculating dependencies ...done!
[ebuild  N    ] dev-java/jade-3.2
[ebuild   R   ] app-text/openjade-1.3.2-r1

Running "revdep-rebuild jade" helped a lot, so I was able to emerge libgphoto2 with documentation safely. I suspect that I could as well do "revdep-rebuild -p openjade", but I wanted to install jade anyway.

So, this solved my problem. Maybe this may help solve this bug too.

Friendly,
Wiktor Wandachowicz
Comment 10 André Terpstra 2005-04-10 23:13:46 UTC
revdep-rebuild (open)jade doesn't work for me. I haven't tried building jade.
Comment 11 Alastair Tse (RETIRED) gentoo-dev 2005-06-24 08:22:22 UTC
i cant reproduce this for 2.1.5 or 2.1.6. could you please try out 2.1.6 to see if it is any better? thanks
Comment 12 André Terpstra 2005-06-25 02:59:05 UTC
I have now compiled 2.1.5 without problems, but on a different system (stable 
branch). I don't have the implemntation anymore I reported the error on so I 
can't try it with ~x86 on. Maybe we should close this bug? 
Comment 13 Alastair Tse (RETIRED) gentoo-dev 2005-06-25 05:04:41 UTC
the original report was for 2.1.5 though. but i did try it on an unstable machine as well. if we can't 
reproduce it, then we'll have to close it and wait for it to be reopened when we can reproduce it again, 
unfortuantely.
Comment 14 André Terpstra 2005-06-26 07:10:30 UTC
OK, I agree.
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2005-06-29 04:58:33 UTC
*** Bug 97382 has been marked as a duplicate of this bug. ***